@babel/helper-transform-fixture-test-runner
Advanced tools
Comparing version 7.13.0 to 7.13.8
@@ -33,3 +33,3 @@ "use strict"; | ||
var _escapeRegexp = _interopRequireDefault(require("./escape-regexp")); | ||
var _escapeRegexp = _interopRequireDefault(require("./escape-regexp.cjs")); | ||
@@ -42,2 +42,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
const EXTERNAL_HELPERS_VERSION = "7.100.0"; | ||
const cachedScripts = new _quickLru.default({ | ||
@@ -334,3 +335,3 @@ maxSize: 10 | ||
if ((_suiteOpts$ignoreSuit = suiteOpts.ignoreSuites) == null ? void 0 : _suiteOpts$ignoreSuit.includes(testSuite.title)) continue; | ||
if ((_suiteOpts$ignoreSuit = suiteOpts.ignoreSuites) != null && _suiteOpts$ignoreSuit.includes(testSuite.title)) continue; | ||
describe(name + "/" + testSuite.title, function () { | ||
@@ -340,3 +341,3 @@ for (const task of testSuite.tests) { | ||
if (((_suiteOpts$ignoreTask = suiteOpts.ignoreTasks) == null ? void 0 : _suiteOpts$ignoreTask.includes(task.title)) || ((_suiteOpts$ignoreTask2 = suiteOpts.ignoreTasks) == null ? void 0 : _suiteOpts$ignoreTask2.includes(testSuite.title + "/" + task.title))) { | ||
if ((_suiteOpts$ignoreTask = suiteOpts.ignoreTasks) != null && _suiteOpts$ignoreTask.includes(task.title) || (_suiteOpts$ignoreTask2 = suiteOpts.ignoreTasks) != null && _suiteOpts$ignoreTask2.includes(testSuite.title + "/" + task.title)) { | ||
continue; | ||
@@ -357,2 +358,11 @@ } | ||
if (dynamicOpts) dynamicOpts(task.options, task); | ||
if (task.externalHelpers) { | ||
var _task$options, _task$options$plugins; | ||
((_task$options$plugins = (_task$options = task.options).plugins) != null ? _task$options$plugins : _task$options.plugins = []).push(["external-helpers", { | ||
helperVersion: EXTERNAL_HELPERS_VERSION | ||
}]); | ||
} | ||
const throwMsg = task.options.throws; | ||
@@ -359,0 +369,0 @@ |
{ | ||
"name": "@babel/helper-transform-fixture-test-runner", | ||
"version": "7.13.0", | ||
"version": "7.13.8", | ||
"description": "Transform test runner for @babel/helper-fixtures module", | ||
@@ -19,4 +19,4 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
"@babel/code-frame": "^7.12.13", | ||
"@babel/core": "^7.13.0", | ||
"@babel/helper-fixtures": "^7.13.0", | ||
"@babel/core": "^7.13.8", | ||
"@babel/helper-fixtures": "^7.13.8", | ||
"babel-check-duplicated-nodes": "^1.0.0", | ||
@@ -23,0 +23,0 @@ "lodash": "^4.17.19", |
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
15455
325
Updated@babel/core@^7.13.8