@babel/plugin-transform-runtime
Advanced tools
Comparing version 7.22.7 to 7.22.9
@@ -7,9 +7,9 @@ "use strict"; | ||
exports.hasMinVersion = hasMinVersion; | ||
var _semverV = require("@nicolo-ribaudo/semver-v6"); | ||
var _semver = require("semver"); | ||
function hasMinVersion(minVersion, runtimeVersion) { | ||
if (!runtimeVersion) return true; | ||
if (_semverV.valid(runtimeVersion)) runtimeVersion = `^${runtimeVersion}`; | ||
return !_semverV.intersects(`<${minVersion}`, runtimeVersion) && !_semverV.intersects(`>=8.0.0`, runtimeVersion); | ||
if (_semver.valid(runtimeVersion)) runtimeVersion = `^${runtimeVersion}`; | ||
return !_semver.intersects(`<${minVersion}`, runtimeVersion) && !_semver.intersects(`>=8.0.0`, runtimeVersion); | ||
} | ||
//# sourceMappingURL=helpers.js.map |
{ | ||
"name": "@babel/plugin-transform-runtime", | ||
"version": "7.22.7", | ||
"version": "7.22.9", | ||
"description": "Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals", | ||
@@ -25,6 +25,6 @@ "repository": { | ||
"@babel/helper-plugin-utils": "^7.22.5", | ||
"@nicolo-ribaudo/semver-v6": "^6.3.3", | ||
"babel-plugin-polyfill-corejs2": "^0.4.4", | ||
"babel-plugin-polyfill-corejs3": "^0.8.2", | ||
"babel-plugin-polyfill-regenerator": "^0.5.1" | ||
"babel-plugin-polyfill-regenerator": "^0.5.1", | ||
"semver": "^6.3.1" | ||
}, | ||
@@ -35,10 +35,8 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@babel/core": "^7.22.7", | ||
"@babel/core": "^7.22.9", | ||
"@babel/helper-plugin-test-runner": "^7.22.5", | ||
"@babel/helpers": "^7.22.6", | ||
"@babel/preset-env": "^7.22.7", | ||
"@babel/preset-env": "^7.22.9", | ||
"@babel/runtime": "^7.22.6", | ||
"@babel/runtime-corejs3": "^7.22.6", | ||
"@babel/template": "^7.22.5", | ||
"@babel/types": "^7.22.5", | ||
"make-dir": "^2.1.0" | ||
@@ -45,0 +43,0 @@ }, |
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
7
38514
+ Addedsemver@^6.3.1
- Removed@nicolo-ribaudo/semver-v6@^6.3.3
- Removed@nicolo-ribaudo/semver-v6@6.3.3(transitive)