@babel/helper-compilation-targets
Advanced tools
Comparing version 7.15.0 to 7.15.4
@@ -167,5 +167,6 @@ "use strict"; | ||
function resolveTargets(queries) { | ||
function resolveTargets(queries, env) { | ||
const resolved = _browserslist(queries, { | ||
mobileToDesktop: true | ||
mobileToDesktop: true, | ||
env | ||
}); | ||
@@ -213,3 +214,3 @@ | ||
if (browsers) { | ||
const queryBrowsers = resolveTargets(browsers); | ||
const queryBrowsers = resolveTargets(browsers, options.browserslistEnv); | ||
@@ -216,0 +217,0 @@ if (esmodules === "intersect") { |
{ | ||
"name": "@babel/helper-compilation-targets", | ||
"version": "7.15.0", | ||
"version": "7.15.4", | ||
"author": "The Babel Team (https://babel.dev/team)", | ||
@@ -33,3 +33,3 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@babel/core": "7.15.0", | ||
"@babel/core": "7.15.4", | ||
"@babel/helper-plugin-test-runner": "7.14.5", | ||
@@ -36,0 +36,0 @@ "@types/semver": "^5.5.0" |
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
16790
424