Compare 1a6de35 ... +249 ... a196b73

Coverage Reach
packages/babel-parser/src/plugins/flow.js packages/babel-parser/src/plugins/typescript/index.js packages/babel-parser/src/plugins/typescript/scope.js packages/babel-parser/src/plugins/jsx/index.js packages/babel-parser/src/plugins/jsx/xhtml.js packages/babel-parser/src/plugins/estree.js packages/babel-parser/src/plugins/placeholders.js packages/babel-parser/src/plugins/v8intrinsic.js packages/babel-parser/src/parser/expression.js packages/babel-parser/src/parser/statement.js packages/babel-parser/src/parser/lval.js packages/babel-parser/src/parser/comments.js packages/babel-parser/src/parser/util.js packages/babel-parser/src/parser/node.js packages/babel-parser/src/parser/index.js packages/babel-parser/src/parser/error.js packages/babel-parser/src/parser/base.js packages/babel-parser/src/parser/error-message.js packages/babel-parser/src/tokenizer/index.js packages/babel-parser/src/tokenizer/context.js packages/babel-parser/src/tokenizer/state.js packages/babel-parser/src/tokenizer/types.js packages/babel-parser/src/util/scope.js packages/babel-parser/src/util/class-scope.js packages/babel-parser/src/util/scopeflags.js packages/babel-parser/src/util/whitespace.js packages/babel-parser/src/util/production-parameter.js packages/babel-parser/src/util/location.js packages/babel-parser/src/util/identifier.js packages/babel-parser/src/plugin-utils.js packages/babel-parser/src/index.js packages/babel-parser/src/options.js packages/babel-traverse/src/path/inference/inferers.js packages/babel-traverse/src/path/inference/inferer-reference.js packages/babel-traverse/src/path/inference/index.js packages/babel-traverse/src/path/conversion.js packages/babel-traverse/src/path/evaluation.js packages/babel-traverse/src/path/introspection.js packages/babel-traverse/src/path/lib/hoister.js packages/babel-traverse/src/path/lib/virtual-types.js packages/babel-traverse/src/path/lib/removal-hooks.js packages/babel-traverse/src/path/family.js packages/babel-traverse/src/path/context.js packages/babel-traverse/src/path/replacement.js packages/babel-traverse/src/path/modification.js packages/babel-traverse/src/path/index.js packages/babel-traverse/src/path/ancestry.js packages/babel-traverse/src/path/removal.js packages/babel-traverse/src/path/comments.js packages/babel-traverse/src/scope/index.js packages/babel-traverse/src/scope/lib/renamer.js packages/babel-traverse/src/scope/binding.js packages/babel-traverse/src/visitors.js packages/babel-traverse/src/context.js packages/babel-traverse/src/index.js packages/babel-traverse/src/cache.js packages/babel-traverse/src/hub.js packages/babel-generator/src/generators/typescript.js packages/babel-generator/src/generators/flow.js packages/babel-generator/src/generators/statements.js packages/babel-generator/src/generators/expressions.js packages/babel-generator/src/generators/modules.js packages/babel-generator/src/generators/types.js packages/babel-generator/src/generators/classes.js packages/babel-generator/src/generators/methods.js packages/babel-generator/src/generators/jsx.js packages/babel-generator/src/generators/base.js packages/babel-generator/src/generators/template-literals.js packages/babel-generator/src/node/parentheses.js packages/babel-generator/src/node/whitespace.js packages/babel-generator/src/node/index.js packages/babel-generator/src/printer.js packages/babel-generator/src/buffer.js packages/babel-generator/src/source-map.js packages/babel-generator/src/index.js packages/babel-core/src/config/validation/option-assertions.js packages/babel-core/src/config/validation/options.js packages/babel-core/src/config/validation/plugins.js packages/babel-core/src/config/config-chain.js packages/babel-core/src/config/files/configuration.js packages/babel-core/src/config/files/plugins.js packages/babel-core/src/config/files/module-types.js packages/babel-core/src/config/files/package.js packages/babel-core/src/config/files/index-browser.js packages/babel-core/src/config/files/utils.js packages/babel-core/src/config/files/import.js packages/babel-core/src/config/files/index.js packages/babel-core/src/config/caching.js packages/babel-core/src/config/full.js packages/babel-core/src/config/config-descriptors.js packages/babel-core/src/config/partial.js packages/babel-core/src/config/printer.js packages/babel-core/src/config/helpers/config-api.js packages/babel-core/src/config/helpers/environment.js packages/babel-core/src/config/item.js packages/babel-core/src/config/util.js packages/babel-core/src/config/pattern-to-regex.js packages/babel-core/src/config/index.js packages/babel-core/src/config/resolve-targets.js packages/babel-core/src/config/plugin.js packages/babel-core/src/config/resolve-targets-browser.js packages/babel-core/src/transformation/file/merge-map.js packages/babel-core/src/transformation/file/file.js packages/babel-core/src/transformation/file/generate.js packages/babel-core/src/transformation/normalize-file.js packages/babel-core/src/transformation/index.js packages/babel-core/src/transformation/plugin-pass.js packages/babel-core/src/transformation/block-hoist-plugin.js packages/babel-core/src/transformation/normalize-opts.js packages/babel-core/src/tools/build-external-helpers.js packages/babel-core/src/gensync-utils/async.js packages/babel-core/src/gensync-utils/fs.js packages/babel-core/src/parser/index.js packages/babel-core/src/parser/util/missing-plugin-helper.js packages/babel-core/src/transform-ast.js packages/babel-core/src/parse.js packages/babel-core/src/transform.js packages/babel-core/src/transform-file.js packages/babel-core/src/transform-file-browser.js packages/babel-core/src/index.js packages/babel-types/src/definitions/core.js packages/babel-types/src/definitions/utils.js packages/babel-types/src/definitions/flow.js packages/babel-types/src/definitions/typescript.js packages/babel-types/src/definitions/experimental.js packages/babel-types/src/definitions/jsx.js packages/babel-types/src/definitions/placeholders.js packages/babel-types/src/definitions/index.js packages/babel-types/src/definitions/misc.js packages/babel-types/src/validators/isReferenced.js packages/babel-types/src/validators/isNodesEquivalent.js packages/babel-types/src/validators/matchesPattern.js packages/babel-types/src/validators/isBinding.js packages/babel-types/src/validators/validate.js packages/babel-types/src/validators/is.js packages/babel-types/src/validators/isType.js packages/babel-types/src/validators/isValidIdentifier.js packages/babel-types/src/validators/isPlaceholderType.js packages/babel-types/src/validators/isImmutable.js packages/babel-types/src/validators/isScope.js packages/babel-types/src/validators/isLet.js packages/babel-types/src/validators/buildMatchMemberExpression.js packages/babel-types/src/validators/isSpecifierDefault.js packages/babel-types/src/validators/react/isCompatTag.js packages/babel-types/src/validators/react/isReactComponent.js packages/babel-types/src/validators/isValidES3Identifier.js packages/babel-types/src/validators/isVar.js packages/babel-types/src/validators/isNode.js packages/babel-types/src/validators/isBlockScoped.js packages/babel-types/src/converters/gatherSequenceExpressions.js packages/babel-types/src/converters/valueToNode.js packages/babel-types/src/converters/toStatement.js packages/babel-types/src/converters/toKeyAlias.js packages/babel-types/src/converters/toExpression.js packages/babel-types/src/converters/toBlock.js packages/babel-types/src/converters/toIdentifier.js packages/babel-types/src/converters/toSequenceExpression.js packages/babel-types/src/converters/toBindingIdentifierName.js packages/babel-types/src/converters/toComputedKey.js packages/babel-types/src/converters/ensureBlock.js packages/babel-types/src/modifications/flow/removeTypeDuplicates.js packages/babel-types/src/modifications/typescript/removeTypeDuplicates.js packages/babel-types/src/modifications/removeProperties.js packages/babel-types/src/modifications/inherits.js packages/babel-types/src/modifications/appendToMemberExpression.js packages/babel-types/src/modifications/removePropertiesDeep.js packages/babel-types/src/modifications/prependToMemberExpression.js packages/babel-types/src/clone/cloneNode.js packages/babel-types/src/clone/cloneWithoutLoc.js packages/babel-types/src/clone/cloneDeep.js packages/babel-types/src/clone/cloneDeepWithoutLoc.js packages/babel-types/src/clone/clone.js packages/babel-types/src/builders/flow/createTypeAnnotationBasedOnTypeof.js packages/babel-types/src/builders/flow/createFlowUnionType.js packages/babel-types/src/builders/builder.js packages/babel-types/src/builders/react/buildChildren.js packages/babel-types/src/builders/typescript/createTSUnionType.js packages/babel-types/src/traverse/traverse.js packages/babel-types/src/traverse/traverseFast.js packages/babel-types/src/retrievers/getBindingIdentifiers.js packages/babel-types/src/retrievers/getOuterBindingIdentifiers.js packages/babel-types/src/utils/react/cleanJSXElementLiteralChild.js packages/babel-types/src/utils/shallowEqual.js packages/babel-types/src/utils/inherit.js packages/babel-types/src/comments/addComments.js packages/babel-types/src/comments/inheritsComments.js packages/babel-types/src/comments/removeComments.js packages/babel-types/src/comments/addComment.js packages/babel-types/src/comments/inheritLeadingComments.js packages/babel-types/src/comments/inheritInnerComments.js packages/babel-types/src/comments/inheritTrailingComments.js packages/babel-types/src/constants/index.js packages/babel-types/src/asserts/assertNode.js packages/babel-types/src/index.js packages/babel-preset-env/src/polyfills/corejs3/usage-plugin.js packages/babel-preset-env/src/polyfills/corejs3/entry-plugin.js packages/babel-preset-env/src/polyfills/corejs3/built-in-definitions.js packages/babel-preset-env/src/polyfills/corejs2/usage-plugin.js packages/babel-preset-env/src/polyfills/corejs2/entry-plugin.js packages/babel-preset-env/src/polyfills/corejs2/get-platform-specific-default.js packages/babel-preset-env/src/polyfills/corejs2/built-in-definitions.js packages/babel-preset-env/src/polyfills/regenerator/entry-plugin.js packages/babel-preset-env/src/polyfills/regenerator/usage-plugin.js packages/babel-preset-env/src/index.js packages/babel-preset-env/src/normalize-options.js packages/babel-preset-env/src/utils.js packages/babel-preset-env/src/debug.js packages/babel-preset-env/src/plugins-compat-data.js packages/babel-preset-env/src/get-option-specific-excludes.js packages/babel-preset-env/src/options.js packages/babel-preset-env/src/filter-items.js packages/babel-helper-create-class-features-plugin/src/fields.js packages/babel-helper-create-class-features-plugin/src/index.js packages/babel-helper-create-class-features-plugin/src/decorators.js packages/babel-helper-create-class-features-plugin/src/misc.js packages/babel-helper-create-class-features-plugin/src/features.js packages/babel-helper-create-class-features-plugin/src/typescript.js packages/babel-helper-module-transforms/src/normalize-and-load-metadata.js packages/babel-helper-module-transforms/src/rewrite-live-references.js packages/babel-helper-module-transforms/src/index.js packages/babel-helper-module-transforms/src/get-module-name.js packages/babel-helper-module-transforms/src/rewrite-this.js packages/babel-plugin-transform-typescript/src/index.js packages/babel-plugin-transform-typescript/src/enum.js packages/babel-plugin-transform-typescript/src/namespace.js packages/babel-plugin-transform-block-scoping/src/index.js packages/babel-plugin-transform-block-scoping/src/tdz.js packages/babel-cli/src/babel/options.js packages/babel-cli/src/babel/dir.js packages/babel-cli/src/babel/file.js packages/babel-cli/src/babel/util.js packages/babel-cli/src/babel/index.js packages/babel-cli/src/babel-external-helpers.js packages/babel-helper-builder-react-jsx-experimental/src/index.js packages/babel-template/src/parse.js packages/babel-template/src/populate.js packages/babel-template/src/builder.js packages/babel-template/src/options.js packages/babel-template/src/literal.js packages/babel-template/src/formatters.js packages/babel-template/src/string.js packages/babel-template/src/index.js packages/babel-plugin-transform-classes/src/transformClass.js packages/babel-plugin-transform-classes/src/index.js packages/babel-plugin-transform-classes/src/inline-createSuper-helpers.js packages/babel-plugin-transform-destructuring/src/index.js packages/babel-plugin-proposal-object-rest-spread/src/index.js packages/babel-plugin-transform-parameters/src/rest.js packages/babel-plugin-transform-parameters/src/params.js packages/babel-plugin-transform-parameters/src/index.js packages/babel-plugin-transform-modules-systemjs/src/index.js packages/babel-helper-module-imports/src/import-injector.js packages/babel-helper-module-imports/src/import-builder.js packages/babel-helper-module-imports/src/index.js packages/babel-helper-module-imports/src/is-module.js packages/babel-helpers/src/index.js packages/babel-helpers/src/helpers.js packages/babel-helper-compilation-targets/src/index.js packages/babel-helper-compilation-targets/src/filter-items.js packages/babel-helper-compilation-targets/src/utils.js packages/babel-helper-compilation-targets/src/pretty.js packages/babel-helper-compilation-targets/src/debug.js packages/babel-helper-compilation-targets/src/targets.js packages/babel-helper-compilation-targets/src/options.js packages/babel-plugin-transform-runtime/src/index.js packages/babel-plugin-transform-runtime/src/helpers.js packages/babel-plugin-transform-runtime/src/get-runtime-path/index.js packages/babel-plugin-transform-runtime/src/get-runtime-path/browser.js packages/babel-plugin-transform-runtime/src/runtime-corejs2-definitions.js packages/babel-plugin-transform-runtime/src/runtime-corejs3-definitions.js packages/babel-helper-transform-fixture-test-runner/src/index.js packages/babel-helper-transform-fixture-test-runner/src/helpers.js packages/babel-standalone/src/transformScriptTags.js packages/babel-standalone/src/index.js packages/babel-standalone/src/preset-es2015.js packages/babel-standalone/src/preset-stage-0.js packages/babel-standalone/src/preset-stage-1.js packages/babel-standalone/src/preset-stage-2.js packages/babel-standalone/src/preset-stage-3.js packages/babel-standalone/src/generated/plugins.js packages/babel-standalone/src/babel-package-shim.js packages/babel-helper-member-expression-to-functions/src/index.js packages/babel-plugin-transform-for-of/src/index.js packages/babel-plugin-transform-for-of/src/no-helper-implementation.js packages/babel-node/src/_babel-node.js packages/babel-node/src/babel-node.js packages/babel-plugin-transform-flow-comments/src/index.js packages/babel-helper-fixtures/src/index.js packages/babel-plugin-proposal-decorators/src/transformer-legacy.js packages/babel-plugin-proposal-decorators/src/index.js packages/babel-helper-builder-react-jsx/src/index.js packages/babel-register/src/node.js packages/babel-register/src/cache.js packages/babel-register/src/index.js packages/babel-register/src/browser.js packages/babel-helper-replace-supers/src/index.js packages/babel-plugin-proposal-optional-chaining/src/index.js packages/babel-plugin-transform-modules-commonjs/src/index.js packages/babel-code-frame/src/index.js packages/babel-helper-create-regexp-features-plugin/src/index.js packages/babel-helper-create-regexp-features-plugin/src/util.js packages/babel-helper-create-regexp-features-plugin/src/features.js packages/babel-plugin-transform-react-jsx/src/transform-classic.js packages/babel-plugin-transform-react-jsx/src/transform-automatic.js packages/babel-plugin-transform-react-jsx/src/index.js packages/babel-helper-define-map/src/index.js packages/babel-helper-function-name/src/index.js packages/babel-plugin-transform-spread/src/index.js packages/babel-plugin-transform-computed-properties/src/index.js packages/babel-plugin-transform-flow-strip-types/src/index.js packages/babel-plugin-transform-modules-umd/src/index.js packages/babel-plugin-proposal-pipeline-operator/src/buildOptimizedSequenceExpression.js packages/babel-plugin-proposal-pipeline-operator/src/smartVisitor.js packages/babel-plugin-proposal-pipeline-operator/src/fsharpVisitor.js packages/babel-plugin-proposal-pipeline-operator/src/minimalVisitor.js packages/babel-plugin-proposal-pipeline-operator/src/index.js packages/babel-plugin-transform-template-literals/src/index.js packages/babel-helper-validator-identifier/src/identifier.js packages/babel-helper-validator-identifier/src/keyword.js packages/babel-plugin-transform-modules-amd/src/index.js packages/babel-plugin-transform-unicode-escapes/src/index.js packages/babel-plugin-proposal-async-generator-functions/src/index.js packages/babel-plugin-proposal-async-generator-functions/src/for-await.js packages/babel-plugin-transform-react-constant-elements/src/index.js packages/babel-plugin-transform-react-display-name/src/index.js packages/babel-helper-wrap-function/src/index.js packages/babel-highlight/src/index.js packages/babel-plugin-proposal-partial-application/src/index.js packages/babel-helper-validator-option/src/validator.js packages/babel-helper-validator-option/src/find-suggestion.js packages/babel-helper-split-export-declaration/src/index.js packages/babel-plugin-transform-react-inline-elements/src/index.js packages/babel-plugin-transform-typeof-symbol/src/index.js packages/babel-plugin-transform-duplicate-keys/src/index.js packages/babel-plugin-transform-proto-to-assign/src/index.js packages/babel-helper-plugin-utils/src/index.js packages/babel-helper-remap-async-to-generator/src/index.js packages/babel-helper-simple-access/src/index.js packages/babel-helper-explode-assignable-expression/src/index.js packages/babel-plugin-transform-react-jsx-source/src/index.js packages/babel-plugin-proposal-function-bind/src/index.js packages/babel-helper-call-delegate/src/index.js packages/babel-plugin-transform-new-target/src/index.js packages/babel-plugin-proposal-function-sent/src/index.js packages/babel-helper-explode-class/src/index.js packages/babel-plugin-transform-react-pure-annotations/src/index.js packages/babel-plugin-proposal-class-static-block/src/index.js packages/babel-plugin-proposal-logical-assignment-operators/src/index.js packages/babel-plugin-transform-react-jsx-development/src/index.js packages/babel-plugin-transform-block-scoped-functions/src/index.js packages/babel-preset-react/src/index.js packages/babel-helper-hoist-variables/src/index.js packages/babel-plugin-proposal-export-namespace-from/src/index.js packages/babel-plugin-syntax-typescript/src/index.js packages/babel-plugin-transform-property-mutators/src/index.js packages/babel-plugin-syntax-decorators/src/index.js packages/babel-plugin-proposal-nullish-coalescing-operator/src/index.js packages/babel-plugin-external-helpers/src/index.js packages/babel-plugin-transform-instanceof/src/index.js packages/babel-plugin-transform-async-to-generator/src/index.js packages/babel-helper-bindify-decorators/src/index.js packages/babel-preset-typescript/src/index.js packages/babel-plugin-transform-object-super/src/index.js packages/babel-plugin-proposal-export-default-from/src/index.js packages/babel-helper-builder-binary-assignment-operator-visitor/src/index.js packages/babel-plugin-syntax-flow/src/index.js packages/babel-plugin-transform-shorthand-properties/src/index.js packages/babel-plugin-transform-function-name/src/index.js packages/babel-plugin-proposal-json-strings/src/index.js packages/babel-plugin-proposal-dynamic-import/src/index.js packages/babel-helper-skip-transparent-expression-wrappers/src/index.js packages/babel-plugin-transform-react-jsx-self/src/index.js packages/babel-plugin-transform-member-expression-literals/src/index.js packages/babel-plugin-transform-react-jsx-compat/src/index.js packages/babel-plugin-transform-property-literals/src/index.js packages/babel-plugin-transform-literals/src/index.js packages/babel-helper-annotate-as-pure/src/index.js packages/babel-helper-optimise-call-expression/src/index.js packages/babel-plugin-syntax-jsx/src/index.js packages/babel-plugin-transform-strict-mode/src/index.js packages/babel-plugin-proposal-do-expressions/src/index.js packages/babel-plugin-proposal-throw-expressions/src/index.js packages/babel-plugin-proposal-optional-catch-binding/src/index.js packages/babel-plugin-syntax-pipeline-operator/src/index.js packages/babel-helper-regex/src/index.js packages/babel-plugin-transform-sticky-regex/src/index.js packages/babel-helper-get-function-arity/src/index.js packages/babel-plugin-proposal-numeric-separator/src/index.js packages/babel-plugin-transform-jscript/src/index.js packages/babel-plugin-transform-arrow-functions/src/index.js packages/babel-plugin-syntax-record-and-tuple/src/index.js packages/babel-plugin-transform-reserved-words/src/index.js packages/babel-plugin-proposal-unicode-property-regex/src/index.js packages/babel-plugin-transform-object-assign/src/index.js packages/babel-plugin-transform-object-set-prototype-of-to-assign/src/index.js packages/babel-plugin-syntax-partial-application/src/index.js packages/babel-plugin-syntax-class-static-block/src/index.js packages/babel-plugin-transform-named-capturing-groups-regex/src/index.js packages/babel-plugin-syntax-function-sent/src/index.js packages/babel-plugin-syntax-decimal/src/index.js packages/babel-plugin-proposal-class-properties/src/index.js packages/babel-plugin-syntax-import-assertions/src/index.js packages/babel-plugin-transform-exponentiation-operator/src/index.js packages/babel-plugin-syntax-throw-expressions/src/index.js packages/babel-plugin-syntax-do-expressions/src/index.js packages/babel-plugin-proposal-private-property-in-object/src/index.js packages/babel-plugin-syntax-export-default-from/src/index.js packages/babel-plugin-syntax-function-bind/src/index.js packages/babel-plugin-syntax-module-string-names/src/index.js packages/babel-plugin-syntax-class-properties/src/index.js packages/babel-plugin-syntax-top-level-await/src/index.js packages/babel-plugin-proposal-private-methods/src/index.js packages/babel-plugin-transform-unicode-regex/src/index.js packages/babel-polyfill/src/index.js packages/babel-helper-plugin-test-runner/src/index.js packages/babel-preset-flow/src/index.js packages/babel-plugin-transform-dotall-regex/src/index.js eslint/babel-eslint-parser/src/convert/convertTokens.js eslint/babel-eslint-parser/src/convert/convertAST.js eslint/babel-eslint-parser/src/convert/convertComments.js eslint/babel-eslint-parser/src/convert/index.js eslint/babel-eslint-parser/src/analyze-scope.js eslint/babel-eslint-parser/src/index.js eslint/babel-eslint-parser/src/configuration.js eslint/babel-eslint-parser/src/visitor-keys.js eslint/babel-eslint-plugin-development/src/utils/get-reference-origin.js eslint/babel-eslint-plugin-development/src/utils/is-from-babel-types.js eslint/babel-eslint-plugin-development/src/utils/get-export-name.js eslint/babel-eslint-plugin-development/src/utils/is-babel-plugin-factory.js eslint/babel-eslint-plugin-development/src/rules/plugin-name.js eslint/babel-eslint-plugin-development/src/rules/no-undefined-identifier.js eslint/babel-eslint-plugin-development/src/rules/no-deprecated-clone.js eslint/babel-eslint-plugin-development/src/index.js eslint/babel-eslint-plugin/src/rules/semi.js eslint/babel-eslint-plugin/src/rules/no-unused-expressions.js eslint/babel-eslint-plugin/src/rules/no-invalid-this.js eslint/babel-eslint-plugin/src/rules/object-curly-spacing.js eslint/babel-eslint-plugin/src/rules/new-cap.js eslint/babel-eslint-plugin/src/index.js eslint/babel-eslint-plugin-development-internal/src/rules/dry-error-messages.js eslint/babel-eslint-plugin-development-internal/src/index.js codemods/babel-plugin-codemod-object-assign-to-object-spread/src/index.js codemods/babel-plugin-codemod-optional-catch-binding/src/index.js

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 68 of 300 files from the diff.
Other files ignored by Codecov
.gitignore has changed.
jest.config.js has changed.
doc/ast/spec.md has changed.
.travis.yml has changed.
package.json has changed.
CONTRIBUTING.md has changed.
babel.config.js has changed.
lerna.json has changed.
Makefile has changed.
.yarnrc is new.
README.md has changed.
.eslintrc.js has changed.
.flowconfig has changed.
Gulpfile.js has changed.
CHANGELOG.md has changed.

@@ -6,11 +6,11 @@
Loading
6 6
7 7
const id = x => x;
8 8
9 -
const runGenerator = gensync(function*(item) {
9 +
const runGenerator = gensync(function* (item) {
10 10
  return yield* item;
11 11
});
12 12
13 -
// This Gensync returns true if the current execution contect is
13 +
// This Gensync returns true if the current execution context is
14 14
// asynchronous, otherwise it returns false.
15 15
export const isAsync = gensync<[], boolean>({
16 16
  sync: () => false,
@@ -76,10 +76,10 @@
Loading
76 76
export const onFirstPause = (gensync<[any, any], any>({
77 77
  name: "onFirstPause",
78 78
  arity: 2,
79 -
  sync: function(item) {
79 +
  sync: function (item) {
80 80
    return runGenerator.sync(item);
81 81
  },
82 -
  errback: function(item, firstPause, cb) {
82 +
  errback: function (item, firstPause, cb) {
83 83
    let completed = false;
84 84
85 85
    runGenerator.errback(item, (err, value) => {

@@ -19,3 +19,8 @@
Loading
19 19
  },
20 20
  errback: (path, cb) => fs.access(path, undefined, err => cb(null, !err)),
21 21
});
22 +
23 +
export const stat = gensync<[string], *>({
24 +
  sync: fs.statSync,
25 +
  errback: fs.stat,
26 +
});

@@ -57,13 +57,13 @@
Loading
57 57
  if (!missing) {
58 58
    message = "Missing semicolon.";
59 59
    loc = loc.end;
60 -
    fix = function(fixer) {
60 +
    fix = function (fixer) {
61 61
      return fixer.insertTextAfter(lastToken, ";");
62 62
    };
63 63
  } else {
64 64
    message = "Extra semicolon.";
65 65
    loc = loc.start;
66 -
    fix = function(fixer) {
66 +
    fix = function (fixer) {
67 67
      return fixer.remove(lastToken);
68 68
    };
69 69
  }
@@ -79,7 +79,7 @@
Loading
79 79
export default ruleComposer.joinReports([
80 80
  rule,
81 81
  context => ({
82 -
    ClassProperty(node) {
82 +
    "ClassProperty, ClassPrivateProperty"(node) {
83 83
      const options = context.options[1];
84 84
      const exceptOneLine = options && options.omitLastInOneLineBlock === true;
85 85
      const sourceCode = context.getSourceCode();

@@ -175,7 +175,7 @@
Loading
175 175
 * Create a code frame, adding line numbers, code highlighting, and pointing to a given position.
176 176
 */
177 177
178 -
export default function(
178 +
export default function (
179 179
  rawLines: string,
180 180
  lineNumber: number,
181 181
  colNumber: ?number,

@@ -0,0 +1,22 @@
Loading
1 +
// @flow
2 +
3 +
import type { ValidatedOptions } from "./validation/options";
4 +
import getTargets, { type Targets } from "@babel/helper-compilation-targets";
5 +
6 +
export function resolveTargets(
7 +
  options: ValidatedOptions,
8 +
  // eslint-disable-next-line no-unused-vars
9 +
  root: string,
10 +
  // eslint-disable-next-line no-unused-vars
11 +
  filename: string | void,
12 +
): Targets {
13 +
  let { targets } = options;
14 +
  if (typeof targets === "string" || Array.isArray(targets)) {
15 +
    targets = { browsers: targets };
16 +
  }
17 +
18 +
  return getTargets((targets: any), {
19 +
    ignoreBrowserslistConfig: true,
20 +
    browserslistEnv: options.browserslistEnv,
21 +
  });
22 +
}

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Learn more Showing 97 files with coverage changes found.

Changes in packages/babel-types/src/modifications/appendToMemberExpression.js
-6
+6
Loading file...
Changes in packages/babel-helper-transform-fixture-test-runner/src/helpers.js
-2
+2
Loading file...
Changes in packages/babel-core/src/config/helpers/config-api.js
-1
+1
Loading file...
Changes in eslint/babel-eslint-parser/src/configuration.js
+5
+1
Loading file...
Changes in packages/babel-helper-create-class-features-plugin/src/index.js
+2
+3
Loading file...
Changes in packages/babel-parser/src/plugin-utils.js
+1
+1
Loading file...
Changes in packages/babel-traverse/src/path/family.js
+12
+4
Loading file...
Changes in packages/babel-preset-typescript/src/index.js
+2
+1
Loading file...
Changes in eslint/babel-eslint-parser/src/analyze-scope.js
-2
+2
Loading file...
Changes in packages/babel-core/src/config/index.js
-1
Loading file...
Changes in packages/babel-helper-replace-supers/src/index.js
+1
Loading file...
Changes in packages/babel-plugin-transform-typescript/src/index.js
+17
+1
Loading file...
Changes in packages/babel-core/src/config/files/configuration.js
-2
Loading file...
Changes in packages/babel-plugin-transform-block-scoping/src/index.js
-14
+1
Loading file...
Changes in packages/babel-plugin-transform-modules-systemjs/src/index.js
+23
+1
Loading file...
Changes in packages/babel-parser/src/plugins/estree.js
-5
Loading file...
Changes in packages/babel-traverse/src/scope/index.js
-2
Loading file...
Changes in packages/babel-plugin-transform-spread/src/index.js
-1
Loading file...
Changes in packages/babel-parser/src/plugins/flow.js
+25
+1
Loading file...
Changes in packages/babel-generator/src/node/parentheses.js
-3
Loading file...
Changes in packages/babel-generator/src/generators/flow.js
-1
Loading file...
Changes in packages/babel-helper-module-transforms/src/rewrite-this.js
-7
Loading file...
Changes in packages/babel-plugin-proposal-logical-assignment-operators/src/index.js
+1
Loading file...
Changes in packages/babel-standalone/src/generated/plugins.js
New
Loading file...
Changes in packages/babel-core/src/transform-file.js
+4
Loading file...
Changes in packages/babel-core/src/config/partial.js
New
Loading file...
Changes in packages/babel-traverse/src/path/context.js
New
Loading file...
Changes in packages/babel-plugin-transform-runtime/src/index.js
New
Loading file...
Changes in packages/babel-plugin-proposal-partial-application/src/index.js
New
Loading file...
Changes in packages/babel-types/src/utils/inherit.js
New
Loading file...
Changes in packages/babel-plugin-proposal-nullish-coalescing-operator/src/index.js
+4
Loading file...
Changes in packages/babel-generator/src/node/whitespace.js
New
Loading file...
Changes in packages/babel-standalone/src/preset-stage-1.js
-1
Loading file...
Changes in packages/babel-types/src/definitions/index.js
New
Loading file...
Changes in packages/babel-traverse/src/path/introspection.js
New
Loading file...
Changes in packages/babel-parser/src/tokenizer/context.js
-1
Loading file...
Changes in packages/babel-helper-fixtures/src/index.js
New
Loading file...
Changes in packages/babel-core/src/config/config-descriptors.js
New
Loading file...
Changes in packages/babel-plugin-proposal-function-bind/src/index.js
+2
Loading file...
Changes in packages/babel-helper-create-class-features-plugin/src/misc.js
+4
Loading file...
Changes in packages/babel-parser/src/tokenizer/state.js
+1
Loading file...
Changes in packages/babel-types/src/validators/isScope.js
-2
Loading file...
Changes in packages/babel-parser/src/util/production-parameter.js
+3
Loading file...
Changes in packages/babel-helpers/src/helpers.js
New
Loading file...
Changes in packages/babel-parser/src/plugins/jsx/index.js
New
Loading file...
Changes in packages/babel-types/src/definitions/typescript.js
+1
Loading file...
Changes in packages/babel-generator/src/generators/modules.js
+2
Loading file...
Changes in packages/babel-traverse/src/index.js
New
Loading file...
Changes in packages/babel-plugin-proposal-optional-chaining/src/index.js
+21
Loading file...
Changes in packages/babel-cli/src/babel/dir.js
-3
+1
Loading file...
Changes in packages/babel-parser/src/parser/lval.js
New
Loading file...
packages/babel-plugin-syntax-numeric-separator/src/index.js
Loading file...
packages/babel-types/src/definitions/es2015.js
Loading file...
packages/babel-plugin-syntax-logical-assignment-operators/src/index.js
Loading file...
packages/babel-plugin-syntax-import-meta/src/index.js
Loading file...
packages/babel-plugin-syntax-module-attributes/src/index.js
Loading file...
New file packages/babel-core/src/config/resolve-targets.js
New
Loading file...
New file packages/babel-helper-skip-transparent-expression-wrappers/src/index.js
New
Loading file...
New file packages/babel-helper-validator-option/src/validator.js
New
Loading file...
New file packages/babel-helper-validator-option/src/find-suggestion.js
New
Loading file...
New file eslint/babel-eslint-plugin-development-internal/src/rules/dry-error-messages.js
New
Loading file...
New file packages/babel-plugin-syntax-decimal/src/index.js
New
Loading file...
New file eslint/babel-eslint-plugin-development-internal/src/index.js
New
Loading file...
New file packages/babel-plugin-syntax-class-static-block/src/index.js
New
Loading file...
New file eslint/babel-eslint-plugin-development/src/index.js
New
Loading file...
New file packages/babel-plugin-syntax-import-assertions/src/index.js
New
Loading file...
New file packages/babel-plugin-proposal-class-static-block/src/index.js
New
Loading file...
New file packages/babel-core/src/config/printer.js
New
Loading file...
New file packages/babel-plugin-syntax-module-string-names/src/index.js
New
Loading file...
New file packages/babel-core/src/config/resolve-targets-browser.js
New
Loading file...
Changes in packages/babel-helper-create-class-features-plugin/src/fields.js
+1
Loading file...
Changes in packages/babel-parser/src/tokenizer/index.js
+10
Loading file...
Changes in packages/babel-preset-env/src/normalize-options.js
-25
-1
Loading file...
Changes in packages/babel-parser/src/plugins/placeholders.js
+1
Loading file...
Changes in packages/babel-plugin-transform-typescript/src/namespace.js
+1
Loading file...
Changes in packages/babel-helper-module-transforms/src/rewrite-live-references.js
+5
Loading file...
Changes in packages/babel-helper-module-transforms/src/normalize-and-load-metadata.js
+11
+1
Loading file...
Changes in packages/babel-types/src/converters/gatherSequenceExpressions.js
+2
Loading file...
Changes in packages/babel-traverse/src/visitors.js
+4
Loading file...
Changes in packages/babel-helper-member-expression-to-functions/src/index.js
+17
Loading file...
Changes in packages/babel-plugin-proposal-export-namespace-from/src/index.js
+1
Loading file...
Changes in packages/babel-helper-builder-react-jsx-experimental/src/index.js
-1
+1
Loading file...
Changes in packages/babel-helper-module-transforms/src/index.js
+12
Loading file...
Changes in packages/babel-parser/src/parser/statement.js
-5
+74
Loading file...
Changes in packages/babel-core/src/config/validation/option-assertions.js
-1
+1
Loading file...
Changes in packages/babel-parser/src/plugins/typescript/index.js
-7
+89
Loading file...
Changes in packages/babel-parser/src/parser/util.js
-6
-1
Loading file...
Changes in packages/babel-helper-compilation-targets/src/utils.js
+1
Loading file...
Changes in packages/babel-traverse/src/path/evaluation.js
-2
+2
Loading file...
Changes in packages/babel-types/src/definitions/experimental.js
-14
-2
Loading file...
Changes in packages/babel-parser/src/parser/expression.js
-11
+51
Loading file...
Changes in packages/babel-preset-env/src/index.js
+22
Loading file...
Changes in packages/babel-helper-compilation-targets/src/index.js
-1
+6
Loading file...
Changes in packages/babel-types/src/definitions/core.js
+71
+1
+31
Loading file...
Changes in packages/babel-helper-transform-fixture-test-runner/src/index.js
+21
Loading file...
Changes in packages/babel-core/src/parser/util/missing-plugin-helper.js
+3
Loading file...
Changes in packages/babel-traverse/src/path/index.js
-7
+7
Loading file...

251 Commits

Hiding 3 contexual commits
+2
+2
+3
+3
-13
-14
+1
+13
+14
-1
Hiding 2 contexual commits
-12
-13
+1
+54
+55
-1
+1
+1
Hiding 1 contexual commits
+2 Files
+59
+55
+1
+3
+6
+6
+2
+2
+10
+10
+7
+7
+11
+10
+1
+3
+3
+12
+13
-1
+1 Files
+69
+67
+2
Hiding 1 contexual commits
+32
+33
-2
+1
-1
-1
-3 Files
-15
-15
+5
+4
+1
Hiding 1 contexual commits
+2
+1
+1
+26
+26
new
-6
-6
+1
+1
+7
+7
+2
+2
+1
-1
+1
+1
+2 Files
+21
+27
-6
+4
-4
+7
+7
+4
+6
-2
+1
-1
-7
-5
-2
+11
+11
+16
+12
+4
+2
+2
+2
+2
-1
+1