@babel/helper-plugin-test-runner
Advanced tools
Comparing version 7.18.6 to 7.21.4-esm
@@ -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": { |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
4931
7
33
1