-
-
Notifications
You must be signed in to change notification settings - Fork 32
Merge upstream/master into main #136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
a3e5686
perf: Add a lazy variant (#1)
kdy1 76a5863
fix: Fix serialization of source maps (#2)
kdy1 804d663
fix: Keep `names` field
kdy1 acd7bbb
refactor: Use `BytesStr` instead of `Arc<str>` (#1)
kdy1 62102ed
fix: Fix `sources` field (#2)
kdy1 72e82b1
feat: Add `adjust_mappings_from_multiple` (#3)
mischnic 6bc7ac9
chore: Fix 1.88.0 clippy lints (#5)
mischnic 34efd0c
fix: `add_source` that should have been `add_name` (#4)
mischnic 68cd09a
chore: Publish v9.3.3 (#6)
kdy1 6dd8518
fix: Fix 1.89.0 clippy lints (#132) (#8)
mischnic c168b3d
fix: Use correct id in `set_source_contents` (#7)
mischnic 64fcb47
chore: Publish v9.3.4 (#9)
kdy1 3b3ef84
Merge upstream/master into main
kdy1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| "rust-analyzer.cargo.features": "all", | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,11 @@ | ||
| [package] | ||
| name = "sourcemap" | ||
| version = "9.3.0" | ||
| authors = ["Sentry <[email protected]>"] | ||
| name = "swc_sourcemap" | ||
| version = "9.3.4" | ||
| authors = ["Sentry <[email protected]>", "swc-project <https://swc.rs>"] | ||
| keywords = ["javascript", "sourcemap", "sourcemaps"] | ||
| description = "Basic sourcemap handling for Rust" | ||
| homepage = "https://github.com/getsentry/rust-sourcemap" | ||
| repository = "https://github.com/getsentry/rust-sourcemap" | ||
| description = "Forked from https://github.com/getsentry/rust-sourcemap" | ||
| homepage = "https://github.com/swc-project/swc-sourcemap" | ||
| repository = "https://github.com/swc-project/swc-sourcemap" | ||
| license = "BSD-3-Clause" | ||
| readme = "README.md" | ||
| edition = "2018" | ||
|
|
@@ -24,8 +24,8 @@ all-features = true | |
|
|
||
| [dependencies] | ||
| url = "2.1.1" | ||
| serde = { version = "1.0.104", features = ["derive"] } | ||
| serde_json = "1.0.48" | ||
| serde = { version = "1.0.104", features = ["derive", "rc"] } | ||
| serde_json = { version = "1.0.48", features = ["raw_value"] } | ||
| unicode-id-start = "1" | ||
| if_chain = "1.0.0" | ||
| scroll = { version = "0.12.0", features = ["derive"], optional = true } | ||
|
|
@@ -34,6 +34,7 @@ debugid = {version = "0.8.0", features = ["serde"] } | |
| base64-simd = { version = "0.8" } | ||
| bitvec = "1.0.1" | ||
| rustc-hash = "2.1.1" | ||
| bytes-str = { version = "0.2.4", features = ["serde"] } | ||
|
|
||
| [features] | ||
| ram_bundle = ["scroll"] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
advancemethod is being called onBytesStr, but this method may not exist in thebytes-strcrate version 0.2.4. This appears to be an incorrect API usage. Consider replacing this with:*source = source[prefix.len()..].into();or using the appropriate BytesStr API to skip a prefix.