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.18.6 to 7.19.4

data/schema.json

25

lib/index.js

@@ -145,3 +145,2 @@ "use strict";

},
sourceMappings: undefined,
sourceMap: undefined,

@@ -191,8 +190,2 @@ sourceMapFile: undefined,

suite.tests.push(test);
const sourceMappingsLoc = taskDir + "/source-mappings.json";
if (_fs.existsSync(sourceMappingsLoc)) {
test.sourceMappings = JSON.parse(readFile(sourceMappingsLoc));
}
const sourceMapLoc = taskDir + "/source-map.json";

@@ -202,9 +195,9 @@

test.sourceMap = JSON.parse(readFile(sourceMapLoc));
test.sourceMapFile = {
loc: sourceMapLoc,
code: test.sourceMap,
filename: ""
};
}
test.sourceMapFile = {
loc: sourceMapLoc,
code: test.sourceMap,
filename: ""
};
const inputMapLoc = taskDir + "/input-source-map.json";

@@ -221,6 +214,2 @@

if (test.sourceMappings) {
throw new Error("Test cannot throw and also return sourcemappings: " + sourceMappingsLoc);
}
if (test.sourceMap) {

@@ -355,2 +344,4 @@ throw new Error("Test cannot throw and also return sourcemaps: " + sourceMapLoc);

}
}
}
//# sourceMappingURL=index.js.map
{
"name": "@babel/helper-fixtures",
"version": "7.18.6",
"version": "7.19.4",
"description": "Helper function to support fixtures",

@@ -5,0 +5,0 @@ "author": "The Babel Team (https://babel.dev/team)",

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