@babel/helper-plugin-test-runner
Advanced tools
Comparing version 7.13.10 to 7.14.5
@@ -8,14 +8,13 @@ "use strict"; | ||
var _helperTransformFixtureTestRunner = _interopRequireDefault(require("@babel/helper-transform-fixture-test-runner")); | ||
var _helperTransformFixtureTestRunner = require("@babel/helper-transform-fixture-test-runner"); | ||
var _path = require("path"); | ||
var _url = require("url"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
const path = require("path"); | ||
function _default(loc) { | ||
{ | ||
if (!loc.startsWith("file://")) { | ||
const name = path.basename(path.dirname(loc)); | ||
const name = _path.basename(_path.dirname(loc)); | ||
(0, _helperTransformFixtureTestRunner.default)(loc + "/fixtures", name); | ||
@@ -31,4 +30,5 @@ return; | ||
const name = path.basename(new _url.URL("..", loc).pathname); | ||
const name = _path.basename(new _url.URL("..", loc).pathname); | ||
(0, _helperTransformFixtureTestRunner.default)(fixtures, name); | ||
} |
{ | ||
"name": "@babel/helper-plugin-test-runner", | ||
"version": "7.13.10", | ||
"version": "7.14.5", | ||
"description": "Helper function to support test runner", | ||
@@ -15,6 +15,10 @@ "repository": { | ||
}, | ||
"main": "lib/index.js", | ||
"main": "./lib/index.js", | ||
"dependencies": { | ||
"@babel/helper-transform-fixture-test-runner": "^7.13.10" | ||
} | ||
"@babel/helper-transform-fixture-test-runner": "^7.14.5" | ||
}, | ||
"engines": { | ||
"node": ">=6.9.0" | ||
}, | ||
"author": "The Babel Team (https://babel.dev/team)" | ||
} |
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
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 contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
1
2884
22