Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/helper-fixtures

Package Overview
Dependencies
Maintainers
4
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-fixtures - npm Package Compare versions

Comparing version 7.22.6 to 7.22.9

8

lib/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc