Skip to content

Commit

Permalink
chore(deps): Update sourcemap to v8.0.0 (#8771)
Browse files Browse the repository at this point in the history
**Related issue:**

 - getsentry/rust-sourcemap#77
  • Loading branch information
kdy1 authored Mar 25, 2024
1 parent 4420938 commit f8681c9
Show file tree
Hide file tree
Showing 61 changed files with 107 additions and 21 deletions.
39 changes: 36 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/swc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ regex = "1"
rustc-hash = "1.1.0"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sourcemap = "6.4"
sourcemap = "8.0"
tracing = "0.1.37"
url = "2.4.0"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"x",
"Error"
],
"rangeMappings": ";;;;;;;;;;;",
"sources": [
"../../input/index.ts"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"names": [
"foo"
],
"rangeMappings": ";;;;;;;;;;",
"sources": [
"../../input/index.ts"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"names": [
"foo"
],
"rangeMappings": ";;",
"sources": [
"../../input/index.js"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/issues-2xxx/2423/output/index.map
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"console",
"log"
],
"rangeMappings": ";;;;;;;;",
"sources": [
"../../input/index.ts"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"names": [
"a"
],
"rangeMappings": "",
"sources": [
"../../input/index.js"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"names": [
"a"
],
"rangeMappings": "",
"sources": [
"../../input/index.js"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/issues-3xxx/3716/output/index.map
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"names": [
"a"
],
"rangeMappings": ";;;",
"sources": [
"../../input/index.js"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/issues-3xxx/3782/output/index.map
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"resolve",
"setTimeout"
],
"rangeMappings": ";;;;;;;;;;;;;;;;;;;;;;",
"sources": [
"../../input/index.ts"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"customElements",
"define"
],
"rangeMappings": ";;;;;;;;;;;;;;;;;;;;;;",
"sources": [
"../../input/index.ts"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"a",
"b"
],
"rangeMappings": "",
"sources": [
"../../input/index.js"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ define([
});
});

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJyYW5nZU1hcHBpbmdzIjoiIiwibWFwcGluZ3MiOiIifQ==
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"names": [
"test"
],
"rangeMappings": ";;;;",
"sources": [
"../../input/index.js"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"names": [
"test"
],
"rangeMappings": ";;;;;",
"sources": [
"../../input/index.js"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/issues-4xxx/4876/output/index.map
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"console",
"log"
],
"rangeMappings": ";;;;;;;;",
"sources": [
"../../input/index.js"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/issues-5xxx/5272/1/output/a.map
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"foo",
"Base"
],
"rangeMappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",
"sources": [
"../../input/source/a/a.ts"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"toBe",
"foo"
],
"rangeMappings": ";;;;;;;;;;",
"sources": [
"../../input/source/a/a.spec.ts"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/issues-5xxx/5644/output/index.map
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"mappings": ";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA;uBACA",
"names": [],
"rangeMappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;",
"sources": [
"../../input/index.ts"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"document",
"getElementById"
],
"rangeMappings": ";;;;",
"sources": [
"../../input/index.tsx"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/jest/issue-7506/output/index.map
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"expect",
"toContain"
],
"rangeMappings": ";;;;;;;;;;;;;;;;",
"sources": [
"../../input/index.ts"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/jest/issue-7506/output/util.map
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"stack",
"split"
],
"rangeMappings": ";;;;;;;;;;;;;;;",
"sources": [
"../../input/util.ts"
],
Expand Down
2 changes: 1 addition & 1 deletion crates/swc/tests/fixture/jest/sourcemap-1/output/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ const Button = (0, _linaria.css)`
color: red;
`;

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL2lucHV0L2luZGV4LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gXCJsaW5hcmlhXCI7XG5cbmV4cG9ydCBjb25zdCBCdXR0b24gPSBjc3NgXG4gICAgY29sb3I6IHJlZDtcbmA7XG4iXSwibmFtZXMiOlsiQnV0dG9uIiwiY3NzIl0sIm1hcHBpbmdzIjoiOzs7OytCQUVhQTs7O2VBQUFBOzs7eUJBRk87QUFFYixNQUFNQSxTQUFTQyxJQUFBQSxZQUFHLENBQUEsQ0FBQzs7QUFFMUIsQ0FBQyJ9
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL2lucHV0L2luZGV4LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gXCJsaW5hcmlhXCI7XG5cbmV4cG9ydCBjb25zdCBCdXR0b24gPSBjc3NgXG4gICAgY29sb3I6IHJlZDtcbmA7XG4iXSwibmFtZXMiOlsiQnV0dG9uIiwiY3NzIl0sInJhbmdlTWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7IiwibWFwcGluZ3MiOiI7Ozs7K0JBRWFBOzs7ZUFBQUE7Ozt5QkFGTztBQUViLE1BQU1BLFNBQVNDLElBQUFBLFlBQUcsQ0FBQSxDQUFDOztBQUUxQixDQUFDIn0=
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"prop",
"get"
],
"rangeMappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",
"sources": [
"../../input/box-model.ts"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/sourcemap/001/output/index.map
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"foo",
"arr"
],
"rangeMappings": ";;;;;;;;;;;;",
"sources": [
"../../input/index.ts"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/sourcemap/002/output/index.map
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"getStaticProps",
"props"
],
"rangeMappings": ";;;;;;;;;;;;;;;;;;;;;;;;",
"sources": [
"../../input/index.js"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/sourcemap/003/output/index.map
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"getStaticProps",
"props"
],
"rangeMappings": "",
"sources": [
"../../input/index.js"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/sourcemap/004/output/index.map
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"s",
"_N_E"
],
"rangeMappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",
"sources": [
"../../input/index.js"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/sourcemap/005/output/index.map
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"isSharp",
"toBeLessThan"
],
"rangeMappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",
"sources": [
"../../input/index.js"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/sourcemap/006/output/index.map
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"isSharp",
"toBeLessThan"
],
"rangeMappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",
"sources": [
"../../input/index.js"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/sourcemap/007/output/index.map
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"console",
"log"
],
"rangeMappings": ";;;;;;;",
"sources": [
"../../input/index.js"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/sourcemap/008/output/index.map
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"expect",
"toBe"
],
"rangeMappings": ";;;;;;;;;;;;;;;;",
"sources": [
"../../input/index.js"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/sourcemap/009/output/index.map
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"Error",
"stack"
],
"rangeMappings": ";;;;;;",
"sources": [
"../../input/index.js"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/sourcemap/010/output/index.map
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"mappings": "AAAA,cAAc,iBAAiB;AAC/B,cAAc,wBAAwB;AAEtC,cAAc,WAAW;AACzB,cAAc,eAAe",
"names": [],
"rangeMappings": ";;;",
"sources": [
"../../input/index.ts"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"deleteComment",
"delete"
],
"rangeMappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",
"sources": [
"../../input/CommentControlller.ts"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"$pull",
"name"
],
"rangeMappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",
"sources": [
"../../input/CommentService.ts"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"createPostComment",
"createCommentDto"
],
"rangeMappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",
"sources": [
"../../input/PistController.ts"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"user",
"id"
],
"rangeMappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",
"sources": [
"../../input/UserController.ts"
],
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/fixture/sourcemap/015/output/index.map
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"expect",
"toBe"
],
"rangeMappings": ";;;;;;;;;;;;;;;;",
"sources": [
"../../input/index.js"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"toBe",
"str"
],
"rangeMappings": ";;;;;;;;;;;;;",
"sources": [
"../../input/index.js"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"Symbol",
"for"
],
"rangeMappings": ";;",
"sources": [
"../../input/index.js"
],
Expand Down
Loading

0 comments on commit f8681c9

Please sign in to comment.