@babel/preset-env
Advanced tools
Comparing version 7.25.4 to 7.25.7
@@ -182,3 +182,3 @@ "use strict"; | ||
} | ||
function getLocalTargets(optionsTargets, ignoreBrowserslistConfig, configPath, browserslistEnv) { | ||
function getLocalTargets(optionsTargets, ignoreBrowserslistConfig, configPath, browserslistEnv, api) { | ||
if (optionsTargets != null && optionsTargets.esmodules && optionsTargets.browsers) { | ||
@@ -193,3 +193,6 @@ console.warn(` | ||
configPath, | ||
browserslistEnv | ||
browserslistEnv, | ||
onBrowserslistConfigFound(config) { | ||
api.addExternalDependency(config); | ||
} | ||
}); | ||
@@ -247,3 +250,3 @@ } | ||
} | ||
targets = getLocalTargets(optionsTargets, ignoreBrowserslistConfig, configPath, browserslistEnv); | ||
targets = getLocalTargets(optionsTargets, ignoreBrowserslistConfig, configPath, browserslistEnv, api); | ||
} | ||
@@ -250,0 +253,0 @@ const transformTargets = forceAllTransforms || hasUglifyTarget ? {} : targets; |
130
package.json
{ | ||
"name": "@babel/preset-env", | ||
"version": "7.25.4", | ||
"version": "7.25.7", | ||
"description": "A Babel preset for each environment.", | ||
@@ -19,11 +19,11 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"dependencies": { | ||
"@babel/compat-data": "^7.25.4", | ||
"@babel/helper-compilation-targets": "^7.25.2", | ||
"@babel/helper-plugin-utils": "^7.24.8", | ||
"@babel/helper-validator-option": "^7.24.8", | ||
"@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.25.3", | ||
"@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.25.0", | ||
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.25.0", | ||
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.24.7", | ||
"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.25.0", | ||
"@babel/compat-data": "^7.25.7", | ||
"@babel/helper-compilation-targets": "^7.25.7", | ||
"@babel/helper-plugin-utils": "^7.25.7", | ||
"@babel/helper-validator-option": "^7.25.7", | ||
"@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.25.7", | ||
"@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.25.7", | ||
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.25.7", | ||
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.25.7", | ||
"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.25.7", | ||
"@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", | ||
@@ -35,4 +35,4 @@ "@babel/plugin-syntax-async-generators": "^7.8.4", | ||
"@babel/plugin-syntax-export-namespace-from": "^7.8.3", | ||
"@babel/plugin-syntax-import-assertions": "^7.24.7", | ||
"@babel/plugin-syntax-import-attributes": "^7.24.7", | ||
"@babel/plugin-syntax-import-assertions": "^7.25.7", | ||
"@babel/plugin-syntax-import-attributes": "^7.25.7", | ||
"@babel/plugin-syntax-import-meta": "^7.10.4", | ||
@@ -49,51 +49,51 @@ "@babel/plugin-syntax-json-strings": "^7.8.3", | ||
"@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", | ||
"@babel/plugin-transform-arrow-functions": "^7.24.7", | ||
"@babel/plugin-transform-async-generator-functions": "^7.25.4", | ||
"@babel/plugin-transform-async-to-generator": "^7.24.7", | ||
"@babel/plugin-transform-block-scoped-functions": "^7.24.7", | ||
"@babel/plugin-transform-block-scoping": "^7.25.0", | ||
"@babel/plugin-transform-class-properties": "^7.25.4", | ||
"@babel/plugin-transform-class-static-block": "^7.24.7", | ||
"@babel/plugin-transform-classes": "^7.25.4", | ||
"@babel/plugin-transform-computed-properties": "^7.24.7", | ||
"@babel/plugin-transform-destructuring": "^7.24.8", | ||
"@babel/plugin-transform-dotall-regex": "^7.24.7", | ||
"@babel/plugin-transform-duplicate-keys": "^7.24.7", | ||
"@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.25.0", | ||
"@babel/plugin-transform-dynamic-import": "^7.24.7", | ||
"@babel/plugin-transform-exponentiation-operator": "^7.24.7", | ||
"@babel/plugin-transform-export-namespace-from": "^7.24.7", | ||
"@babel/plugin-transform-for-of": "^7.24.7", | ||
"@babel/plugin-transform-function-name": "^7.25.1", | ||
"@babel/plugin-transform-json-strings": "^7.24.7", | ||
"@babel/plugin-transform-literals": "^7.25.2", | ||
"@babel/plugin-transform-logical-assignment-operators": "^7.24.7", | ||
"@babel/plugin-transform-member-expression-literals": "^7.24.7", | ||
"@babel/plugin-transform-modules-amd": "^7.24.7", | ||
"@babel/plugin-transform-modules-commonjs": "^7.24.8", | ||
"@babel/plugin-transform-modules-systemjs": "^7.25.0", | ||
"@babel/plugin-transform-modules-umd": "^7.24.7", | ||
"@babel/plugin-transform-named-capturing-groups-regex": "^7.24.7", | ||
"@babel/plugin-transform-new-target": "^7.24.7", | ||
"@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7", | ||
"@babel/plugin-transform-numeric-separator": "^7.24.7", | ||
"@babel/plugin-transform-object-rest-spread": "^7.24.7", | ||
"@babel/plugin-transform-object-super": "^7.24.7", | ||
"@babel/plugin-transform-optional-catch-binding": "^7.24.7", | ||
"@babel/plugin-transform-optional-chaining": "^7.24.8", | ||
"@babel/plugin-transform-parameters": "^7.24.7", | ||
"@babel/plugin-transform-private-methods": "^7.25.4", | ||
"@babel/plugin-transform-private-property-in-object": "^7.24.7", | ||
"@babel/plugin-transform-property-literals": "^7.24.7", | ||
"@babel/plugin-transform-regenerator": "^7.24.7", | ||
"@babel/plugin-transform-reserved-words": "^7.24.7", | ||
"@babel/plugin-transform-shorthand-properties": "^7.24.7", | ||
"@babel/plugin-transform-spread": "^7.24.7", | ||
"@babel/plugin-transform-sticky-regex": "^7.24.7", | ||
"@babel/plugin-transform-template-literals": "^7.24.7", | ||
"@babel/plugin-transform-typeof-symbol": "^7.24.8", | ||
"@babel/plugin-transform-unicode-escapes": "^7.24.7", | ||
"@babel/plugin-transform-unicode-property-regex": "^7.24.7", | ||
"@babel/plugin-transform-unicode-regex": "^7.24.7", | ||
"@babel/plugin-transform-unicode-sets-regex": "^7.25.4", | ||
"@babel/plugin-transform-arrow-functions": "^7.25.7", | ||
"@babel/plugin-transform-async-generator-functions": "^7.25.7", | ||
"@babel/plugin-transform-async-to-generator": "^7.25.7", | ||
"@babel/plugin-transform-block-scoped-functions": "^7.25.7", | ||
"@babel/plugin-transform-block-scoping": "^7.25.7", | ||
"@babel/plugin-transform-class-properties": "^7.25.7", | ||
"@babel/plugin-transform-class-static-block": "^7.25.7", | ||
"@babel/plugin-transform-classes": "^7.25.7", | ||
"@babel/plugin-transform-computed-properties": "^7.25.7", | ||
"@babel/plugin-transform-destructuring": "^7.25.7", | ||
"@babel/plugin-transform-dotall-regex": "^7.25.7", | ||
"@babel/plugin-transform-duplicate-keys": "^7.25.7", | ||
"@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.25.7", | ||
"@babel/plugin-transform-dynamic-import": "^7.25.7", | ||
"@babel/plugin-transform-exponentiation-operator": "^7.25.7", | ||
"@babel/plugin-transform-export-namespace-from": "^7.25.7", | ||
"@babel/plugin-transform-for-of": "^7.25.7", | ||
"@babel/plugin-transform-function-name": "^7.25.7", | ||
"@babel/plugin-transform-json-strings": "^7.25.7", | ||
"@babel/plugin-transform-literals": "^7.25.7", | ||
"@babel/plugin-transform-logical-assignment-operators": "^7.25.7", | ||
"@babel/plugin-transform-member-expression-literals": "^7.25.7", | ||
"@babel/plugin-transform-modules-amd": "^7.25.7", | ||
"@babel/plugin-transform-modules-commonjs": "^7.25.7", | ||
"@babel/plugin-transform-modules-systemjs": "^7.25.7", | ||
"@babel/plugin-transform-modules-umd": "^7.25.7", | ||
"@babel/plugin-transform-named-capturing-groups-regex": "^7.25.7", | ||
"@babel/plugin-transform-new-target": "^7.25.7", | ||
"@babel/plugin-transform-nullish-coalescing-operator": "^7.25.7", | ||
"@babel/plugin-transform-numeric-separator": "^7.25.7", | ||
"@babel/plugin-transform-object-rest-spread": "^7.25.7", | ||
"@babel/plugin-transform-object-super": "^7.25.7", | ||
"@babel/plugin-transform-optional-catch-binding": "^7.25.7", | ||
"@babel/plugin-transform-optional-chaining": "^7.25.7", | ||
"@babel/plugin-transform-parameters": "^7.25.7", | ||
"@babel/plugin-transform-private-methods": "^7.25.7", | ||
"@babel/plugin-transform-private-property-in-object": "^7.25.7", | ||
"@babel/plugin-transform-property-literals": "^7.25.7", | ||
"@babel/plugin-transform-regenerator": "^7.25.7", | ||
"@babel/plugin-transform-reserved-words": "^7.25.7", | ||
"@babel/plugin-transform-shorthand-properties": "^7.25.7", | ||
"@babel/plugin-transform-spread": "^7.25.7", | ||
"@babel/plugin-transform-sticky-regex": "^7.25.7", | ||
"@babel/plugin-transform-template-literals": "^7.25.7", | ||
"@babel/plugin-transform-typeof-symbol": "^7.25.7", | ||
"@babel/plugin-transform-unicode-escapes": "^7.25.7", | ||
"@babel/plugin-transform-unicode-property-regex": "^7.25.7", | ||
"@babel/plugin-transform-unicode-regex": "^7.25.7", | ||
"@babel/plugin-transform-unicode-sets-regex": "^7.25.7", | ||
"@babel/preset-modules": "0.1.6-no-external-plugins", | ||
@@ -103,3 +103,3 @@ "babel-plugin-polyfill-corejs2": "^0.4.10", | ||
"babel-plugin-polyfill-regenerator": "^0.6.1", | ||
"core-js-compat": "^3.37.1", | ||
"core-js-compat": "^3.38.1", | ||
"semver": "^6.3.1" | ||
@@ -111,6 +111,6 @@ }, | ||
"devDependencies": { | ||
"@babel/core": "^7.25.2", | ||
"@babel/core": "^7.25.7", | ||
"@babel/core-7.12": "npm:@babel/core@7.12.9", | ||
"@babel/helper-plugin-test-runner": "^7.24.7", | ||
"@babel/traverse": "^7.25.4" | ||
"@babel/helper-plugin-test-runner": "^7.25.7", | ||
"@babel/traverse": "^7.25.7" | ||
}, | ||
@@ -117,0 +117,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
241998
1226
+ Addedcaniuse-lite@1.0.30001669(transitive)
+ Addedelectron-to-chromium@1.5.41(transitive)
+ Addedpicocolors@1.1.1(transitive)
- Removedcaniuse-lite@1.0.30001668(transitive)
- Removedelectron-to-chromium@1.5.38(transitive)
- Removedpicocolors@1.1.0(transitive)
Updated@babel/compat-data@^7.25.7
Updated@babel/plugin-bugfix-firefox-class-in-computed-class-key@^7.25.7
Updated@babel/plugin-bugfix-safari-class-field-initializer-scope@^7.25.7
Updated@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.25.7
Updated@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.25.7
Updated@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@^7.25.7
Updated@babel/plugin-transform-async-generator-functions@^7.25.7
Updated@babel/plugin-transform-block-scoped-functions@^7.25.7
Updated@babel/plugin-transform-duplicate-named-capturing-groups-regex@^7.25.7
Updated@babel/plugin-transform-exponentiation-operator@^7.25.7
Updated@babel/plugin-transform-export-namespace-from@^7.25.7
Updated@babel/plugin-transform-logical-assignment-operators@^7.25.7
Updated@babel/plugin-transform-member-expression-literals@^7.25.7
Updated@babel/plugin-transform-named-capturing-groups-regex@^7.25.7
Updated@babel/plugin-transform-nullish-coalescing-operator@^7.25.7
Updated@babel/plugin-transform-optional-catch-binding@^7.25.7
Updated@babel/plugin-transform-private-property-in-object@^7.25.7
Updated@babel/plugin-transform-unicode-property-regex@^7.25.7
Updatedcore-js-compat@^3.38.1