Skip to content

Commit

Permalink
corejs.proposals should not imply shipped proposals
Browse files Browse the repository at this point in the history
  • Loading branch information
Wetinee committed Feb 22, 2020
1 parent 5febab5 commit 63e662d
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 18 deletions.
11 changes: 5 additions & 6 deletions packages/babel-preset-env/src/normalize-options.js
Expand Up @@ -267,12 +267,11 @@ export default function normalizeOptions(opts: Options) {

checkDuplicateIncludeExcludes(include, exclude);

const shippedProposals =
validateBoolOption(
TopLevelOptions.shippedProposals,
opts.shippedProposals,
false,
) || corejs.proposals;
const shippedProposals = validateBoolOption(
TopLevelOptions.shippedProposals,
opts.shippedProposals,
false,
);

return {
configPath: validateConfigPathOption(opts.configPath),
Expand Down
Expand Up @@ -14,7 +14,6 @@ Using plugins:
syntax-optional-catch-binding { "chrome":"71" }
syntax-async-generators { "chrome":"71" }
syntax-object-rest-spread { "chrome":"71" }
proposal-numeric-separator { "chrome":"71" }
transform-modules-commonjs { "chrome":"71" }
proposal-dynamic-import { "chrome":"71" }

Expand Down
Expand Up @@ -37,7 +37,6 @@ Using plugins:
transform-typeof-symbol {}
transform-new-target {}
transform-regenerator {}
proposal-numeric-separator {}
transform-member-expression-literals {}
transform-property-literals {}
transform-reserved-words {}
Expand Down
Expand Up @@ -14,7 +14,6 @@ Using plugins:
syntax-optional-catch-binding { "chrome":"71" }
syntax-async-generators { "chrome":"71" }
syntax-object-rest-spread { "chrome":"71" }
proposal-numeric-separator { "chrome":"71" }
transform-modules-commonjs { "chrome":"71" }
proposal-dynamic-import { "chrome":"71" }

Expand Down
Expand Up @@ -37,7 +37,6 @@ Using plugins:
transform-typeof-symbol {}
transform-new-target {}
transform-regenerator {}
proposal-numeric-separator {}
transform-member-expression-literals {}
transform-property-literals {}
transform-reserved-words {}
Expand Down
Expand Up @@ -40,7 +40,6 @@ Using plugins:
transform-typeof-symbol { "ie":"11" }
transform-new-target { "ie":"11" }
transform-regenerator { "firefox":"50", "ie":"11" }
proposal-numeric-separator { "chrome":"52", "firefox":"50", "ie":"11" }
transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" }
proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" }

Expand Down
Expand Up @@ -40,7 +40,6 @@ Using plugins:
transform-typeof-symbol { "ie":"11" }
transform-new-target { "ie":"11" }
transform-regenerator { "firefox":"50", "ie":"11" }
proposal-numeric-separator { "chrome":"52", "firefox":"50", "ie":"11" }
transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" }
proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" }

Expand Down
Expand Up @@ -14,7 +14,6 @@ Using plugins:
syntax-optional-catch-binding { "chrome":"71" }
syntax-async-generators { "chrome":"71" }
syntax-object-rest-spread { "chrome":"71" }
proposal-numeric-separator { "chrome":"71" }
transform-modules-commonjs { "chrome":"71" }
proposal-dynamic-import { "chrome":"71" }

Expand Down
Expand Up @@ -14,7 +14,6 @@ Using plugins:
syntax-optional-catch-binding { "chrome":"71" }
syntax-async-generators { "chrome":"71" }
syntax-object-rest-spread { "chrome":"71" }
proposal-numeric-separator { "chrome":"71" }
transform-modules-commonjs { "chrome":"71" }
proposal-dynamic-import { "chrome":"71" }

Expand Down
Expand Up @@ -40,7 +40,6 @@ Using plugins:
transform-typeof-symbol { "ie":"11" }
transform-new-target { "ie":"11" }
transform-regenerator { "firefox":"50", "ie":"11" }
proposal-numeric-separator { "chrome":"52", "firefox":"50", "ie":"11" }
transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" }
proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" }

Expand Down
Expand Up @@ -40,7 +40,6 @@ Using plugins:
transform-typeof-symbol { "ie":"11" }
transform-new-target { "ie":"11" }
transform-regenerator { "firefox":"50", "ie":"11" }
proposal-numeric-separator { "chrome":"52", "firefox":"50", "ie":"11" }
transform-modules-commonjs { "chrome":"52", "firefox":"50", "ie":"11" }
proposal-dynamic-import { "chrome":"52", "firefox":"50", "ie":"11" }

Expand Down
Expand Up @@ -14,7 +14,6 @@ Using plugins:
syntax-optional-catch-binding { "chrome":"71" }
syntax-async-generators { "chrome":"71" }
syntax-object-rest-spread { "chrome":"71" }
proposal-numeric-separator { "chrome":"71" }
transform-modules-commonjs { "chrome":"71" }
proposal-dynamic-import { "chrome":"71" }

Expand Down
Expand Up @@ -14,7 +14,6 @@ Using plugins:
syntax-optional-catch-binding { "chrome":"71" }
syntax-async-generators { "chrome":"71" }
syntax-object-rest-spread { "chrome":"71" }
proposal-numeric-separator { "chrome":"71" }
transform-modules-commonjs { "chrome":"71" }
proposal-dynamic-import { "chrome":"71" }

Expand Down

0 comments on commit 63e662d

Please sign in to comment.