Skip to content

Commit 453b068

Browse files
authored
Switch to @jridgewell/remapping (#17474)
1 parent 98b5450 commit 453b068

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

packages/babel-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"./src/transform-file.ts": "./src/transform-file-browser.ts"
4747
},
4848
"dependencies": {
49-
"@ampproject/remapping": "^2.2.0",
5049
"@babel/code-frame": "workspace:^",
5150
"@babel/generator": "workspace:^",
5251
"@babel/helper-compilation-targets": "workspace:^",
@@ -56,6 +55,7 @@
5655
"@babel/template": "workspace:^",
5756
"@babel/traverse": "workspace:^",
5857
"@babel/types": "workspace:^",
58+
"@jridgewell/remapping": "^2.3.5",
5959
"@types/gensync": "condition:BABEL_8_BREAKING ? ^1.0.0 :",
6060
"convert-source-map": "^2.0.0",
6161
"debug": "^4.1.0",

packages/babel-core/src/transformation/file/merge-map.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
type SourceMap = any;
2-
import remapping from "@ampproject/remapping";
2+
import remapping from "@jridgewell/remapping";
33

44
export default function mergeSourceMap(
55
inputMap: SourceMap,

yarn.lock

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,6 @@ __metadata:
450450
version: 0.0.0-use.local
451451
resolution: "@babel/core@workspace:packages/babel-core"
452452
dependencies:
453-
"@ampproject/remapping": "npm:^2.2.0"
454453
"@babel/code-frame": "workspace:^"
455454
"@babel/generator": "workspace:^"
456455
"@babel/helper-compilation-targets": "workspace:^"
@@ -466,6 +465,7 @@ __metadata:
466465
"@babel/template": "workspace:^"
467466
"@babel/traverse": "workspace:^"
468467
"@babel/types": "workspace:^"
468+
"@jridgewell/remapping": "npm:^2.3.5"
469469
"@jridgewell/trace-mapping": "npm:^0.3.28"
470470
"@types/convert-source-map": "npm:^2.0.0"
471471
"@types/debug": "npm:^4.1.0"
@@ -5098,6 +5098,16 @@ __metadata:
50985098
languageName: node
50995099
linkType: hard
51005100

5101+
"@jridgewell/remapping@npm:^2.3.5":
5102+
version: 2.3.5
5103+
resolution: "@jridgewell/remapping@npm:2.3.5"
5104+
dependencies:
5105+
"@jridgewell/gen-mapping": "npm:^0.3.5"
5106+
"@jridgewell/trace-mapping": "npm:^0.3.24"
5107+
checksum: 10/c2bb01856e65b506d439455f28aceacf130d6c023d1d4e3b48705e88def3571753e1a887daa04b078b562316c92d26ce36408a60534bceca3f830aec88a339ad
5108+
languageName: node
5109+
linkType: hard
5110+
51015111
"@jridgewell/resolve-uri@npm:^3.0.3, @jridgewell/resolve-uri@npm:^3.1.0":
51025112
version: 3.1.2
51035113
resolution: "@jridgewell/resolve-uri@npm:3.1.2"

0 commit comments

Comments
 (0)