@babel/helper-fixtures
Advanced tools
Comparing version 7.22.6 to 7.22.9
@@ -10,3 +10,3 @@ "use strict"; | ||
exports.resolveOptionPluginOrPreset = resolveOptionPluginOrPreset; | ||
var _semverV = require("@nicolo-ribaudo/semver-v6"); | ||
var _semver = require("semver"); | ||
var _path = require("path"); | ||
@@ -16,3 +16,3 @@ var _fs = require("fs"); | ||
var _module = require("module"); | ||
const nodeVersion = _semverV.clean(process.version.slice(1)); | ||
const nodeVersion = _semver.clean(process.version.slice(1)); | ||
function humanize(val, noext) { | ||
@@ -126,7 +126,7 @@ if (noext) val = _path.basename(val, _path.extname(val)); | ||
if (taskOpts.minNodeVersion) { | ||
const minimumVersion = _semverV.clean(taskOpts.minNodeVersion); | ||
const minimumVersion = _semver.clean(taskOpts.minNodeVersion); | ||
if (minimumVersion == null) { | ||
throw new Error(`'minNodeVersion' has invalid semver format: ${taskOpts.minNodeVersion}`); | ||
} | ||
if (_semverV.lt(nodeVersion, minimumVersion)) { | ||
if (_semver.lt(nodeVersion, minimumVersion)) { | ||
return; | ||
@@ -133,0 +133,0 @@ } |
{ | ||
"name": "@babel/helper-fixtures", | ||
"version": "7.22.6", | ||
"version": "7.22.9", | ||
"description": "Helper function to support fixtures", | ||
@@ -18,3 +18,3 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"dependencies": { | ||
"@nicolo-ribaudo/semver-v6": "^6.3.3" | ||
"semver": "^6.3.1" | ||
}, | ||
@@ -21,0 +21,0 @@ "devDependencies": { |
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
37477
+ Addedsemver@^6.3.1
+ Addedsemver@6.3.1(transitive)
- Removed@nicolo-ribaudo/semver-v6@^6.3.3
- Removed@nicolo-ribaudo/semver-v6@6.3.3(transitive)