@babel/helper-transform-fixture-test-runner
Advanced tools
Comparing version 7.16.7 to 7.17.3
@@ -13,6 +13,6 @@ "use strict"; | ||
var _sourceMap = require("source-map"); | ||
var _codeFrame = require("@babel/code-frame"); | ||
var _traceMapping = require("@jridgewell/trace-mapping"); | ||
var helpers = require("./helpers"); | ||
@@ -278,6 +278,6 @@ | ||
if (task.sourceMappings) { | ||
const consumer = new _sourceMap.SourceMapConsumer(result.map); | ||
const consumer = new _traceMapping.TraceMap(result.map); | ||
task.sourceMappings.forEach(function (mapping) { | ||
const actual = mapping.original; | ||
const expected = consumer.originalPositionFor(mapping.generated); | ||
const expected = (0, _traceMapping.originalPositionFor)(consumer, mapping.generated); | ||
expect({ | ||
@@ -284,0 +284,0 @@ line: expected.line, |
{ | ||
"name": "@babel/helper-transform-fixture-test-runner", | ||
"version": "7.16.7", | ||
"version": "7.17.3", | ||
"description": "Transform test runner for @babel/helper-fixtures module", | ||
@@ -19,8 +19,8 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"@babel/code-frame": "^7.16.7", | ||
"@babel/core": "^7.16.7", | ||
"@babel/helper-fixtures": "^7.16.7", | ||
"@babel/core": "^7.17.3", | ||
"@babel/helper-fixtures": "^7.17.0", | ||
"@jridgewell/trace-mapping": "^0.3.4", | ||
"babel-check-duplicated-nodes": "^1.0.0", | ||
"quick-lru": "5.1.0", | ||
"regenerator-runtime": "^0.13.7", | ||
"source-map": "^0.5.0" | ||
"regenerator-runtime": "^0.13.7" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
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
14560
- Removedsource-map@^0.5.0
- Removedsource-map@0.5.7(transitive)
Updated@babel/core@^7.17.3