Skip to content

Commit

Permalink
Update simd-json to remove security vulnerability (#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffcharles authored Sep 18, 2024
1 parent 4862b50 commit f1f25ed
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 96 deletions.
73 changes: 4 additions & 69 deletions Cargo.lock

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

5 changes: 5 additions & 0 deletions crates/javy/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- Updated `simd-json` to version that removes dependency on `lexical-core` with
a security vulnerability.

### Fixed

- Circular dependency checks for the custom, SIMD-based, `JSON.stringify`
Expand Down
5 changes: 4 additions & 1 deletion crates/javy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ rmp-serde = { version = "^1.3", optional = true }
quickcheck = "1"
bitflags = { workspace = true }
fastrand = "2.1.1"
simd-json = { version = "0.13.10", optional = true, default-features = false, features = ["big-int-as-float", "serde_impl"] }
simd-json = { version = "0.14.0-rc.3", optional = true, default-features = false, features = [
"big-int-as-float",
"serde_impl",
] }

[dev-dependencies]
javy-test-macros = { path = "../test-macros/" }
Expand Down
28 changes: 2 additions & 26 deletions supply-chain/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -349,30 +349,6 @@ criteria = "safe-to-deploy"
version = "1.3.0"
criteria = "safe-to-deploy"

[[exemptions.lexical-core]]
version = "0.8.5"
criteria = "safe-to-deploy"

[[exemptions.lexical-parse-float]]
version = "0.8.5"
criteria = "safe-to-deploy"

[[exemptions.lexical-parse-integer]]
version = "0.8.6"
criteria = "safe-to-deploy"

[[exemptions.lexical-util]]
version = "0.8.5"
criteria = "safe-to-deploy"

[[exemptions.lexical-write-float]]
version = "0.8.5"
criteria = "safe-to-deploy"

[[exemptions.lexical-write-integer]]
version = "0.8.5"
criteria = "safe-to-deploy"

[[exemptions.libc]]
version = "0.2.155"
criteria = "safe-to-deploy"
Expand Down Expand Up @@ -586,7 +562,7 @@ version = "0.7.1"
criteria = "safe-to-deploy"

[[exemptions.simd-json]]
version = "0.13.10"
version = "0.14.0-rc.3"
criteria = "safe-to-deploy"

[[exemptions.simdutf8]]
Expand Down Expand Up @@ -730,7 +706,7 @@ version = "1.10.0"
criteria = "safe-to-deploy"

[[exemptions.value-trait]]
version = "0.8.1"
version = "0.9.0-rc.2"
criteria = "safe-to-deploy"

[[exemptions.vergen]]
Expand Down

0 comments on commit f1f25ed

Please sign in to comment.