Socket
Socket
Sign inDemoInstall

@babel/helper-plugin-test-runner

Package Overview
Dependencies
Maintainers
4
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-plugin-test-runner - npm Package Compare versions

Comparing version 7.18.6 to 7.21.4-esm

lib/index.js.map

12

lib/index.js

@@ -7,9 +7,5 @@ "use strict";

exports.default = _default;
var _helperTransformFixtureTestRunner = require("@babel/helper-transform-fixture-test-runner");
var _path = require("path");
var _url = require("url");
function _default(loc) {

@@ -19,3 +15,2 @@ {

const name = _path.basename(_path.dirname(loc));
(0, _helperTransformFixtureTestRunner.default)(loc + "/fixtures", name);

@@ -26,10 +21,9 @@ return;

let fixtures = new _url.URL("./fixtures", loc).pathname;
if (process.platform === "win32") {
fixtures = fixtures.slice(1);
}
const name = _path.basename(new _url.URL("..", loc).pathname);
(0, _helperTransformFixtureTestRunner.default)(fixtures, name);
}
(0, _helperTransformFixtureTestRunner.default)(fixtures, name);
}
//# sourceMappingURL=index.js.map
{
"name": "@babel/helper-plugin-test-runner",
"version": "7.18.6",
"version": "7.21.4-esm",
"description": "Helper function to support test runner",

@@ -17,3 +17,3 @@ "repository": {

"dependencies": {
"@babel/helper-transform-fixture-test-runner": "^7.18.6"
"@babel/helper-transform-fixture-test-runner": "^7.21.4-esm"
},

@@ -20,0 +20,0 @@ "engines": {

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