@babel/helper-fixtures
Advanced tools
Comparing version 7.18.6 to 7.19.4
@@ -145,3 +145,2 @@ "use strict"; | ||
}, | ||
sourceMappings: undefined, | ||
sourceMap: undefined, | ||
@@ -191,8 +190,2 @@ sourceMapFile: undefined, | ||
suite.tests.push(test); | ||
const sourceMappingsLoc = taskDir + "/source-mappings.json"; | ||
if (_fs.existsSync(sourceMappingsLoc)) { | ||
test.sourceMappings = JSON.parse(readFile(sourceMappingsLoc)); | ||
} | ||
const sourceMapLoc = taskDir + "/source-map.json"; | ||
@@ -202,9 +195,9 @@ | ||
test.sourceMap = JSON.parse(readFile(sourceMapLoc)); | ||
test.sourceMapFile = { | ||
loc: sourceMapLoc, | ||
code: test.sourceMap, | ||
filename: "" | ||
}; | ||
} | ||
test.sourceMapFile = { | ||
loc: sourceMapLoc, | ||
code: test.sourceMap, | ||
filename: "" | ||
}; | ||
const inputMapLoc = taskDir + "/input-source-map.json"; | ||
@@ -221,6 +214,2 @@ | ||
if (test.sourceMappings) { | ||
throw new Error("Test cannot throw and also return sourcemappings: " + sourceMappingsLoc); | ||
} | ||
if (test.sourceMap) { | ||
@@ -355,2 +344,4 @@ throw new Error("Test cannot throw and also return sourcemaps: " + sourceMapLoc); | ||
} | ||
} | ||
} | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@babel/helper-fixtures", | ||
"version": "7.18.6", | ||
"version": "7.19.4", | ||
"description": "Helper function to support fixtures", | ||
@@ -5,0 +5,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
35939
6
319