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

@babel/helper-transform-fixture-test-runner

Package Overview
Dependencies
Maintainers
4
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-transform-fixture-test-runner - npm Package Compare versions

Comparing version 7.23.9 to 7.24.0

12

lib/index.js

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

let resultExec;
let execErr;
if (execCode) {

@@ -232,4 +233,6 @@ const context = createTestContext();

} catch (err) {
err.message = `${exec.loc}: ${err.message}\n` + (0, _codeFrame.codeFrameColumns)(execCode, {});
throw err;
if (typeof err === "object" && err.message) {
err.message = `${exec.loc}: ${err.message}\n` + (0, _codeFrame.codeFrameColumns)(execCode, {});
}
execErr = err;
}

@@ -273,2 +276,5 @@ }

}
if (execErr) {
throw execErr;
}
if (task.validateSourceMapVisual === true) {

@@ -458,3 +464,3 @@ const visual = (0, _sourceMapVisualizer.default)(result.code, result.map);

try {
if (filename !== ".babelrc" && filename !== ".babelignore" && !Object.prototype.hasOwnProperty.call(opts.inFiles, filename)) {
if (filename !== ".babelrc" && filename !== ".babelignore" && !hasOwnProperty.call(opts.inFiles, filename)) {
const expected = opts.outFiles[filename];

@@ -461,0 +467,0 @@ const actual = actualFiles[filename];

{
"name": "@babel/helper-transform-fixture-test-runner",
"version": "7.23.9",
"version": "7.24.0",
"description": "Transform test runner for @babel/helper-fixtures module",

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

"@babel/code-frame": "^7.23.5",
"@babel/core": "^7.23.9",
"@babel/core": "^7.24.0",
"@babel/helper-check-duplicate-nodes": "^7.22.5",
"@babel/helper-fixtures": "^7.23.4",
"@babel/helper-fixtures": "^7.24.0",
"@jridgewell/trace-mapping": "^0.3.17",

@@ -24,0 +24,0 @@ "fs-readdir-recursive": "^1.1.0",

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