1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

fix(npm): handle null fields in npm registry JSON (#23785)

* https://github.com/denoland/deno_npm/pull/52

Closes https://github.com/denoland/deno/issues/23776
This commit is contained in:
David Sherret 2024-05-12 18:19:04 -04:00 committed by GitHub
parent dac49a116e
commit 2b62a5b814
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 13 additions and 12 deletions

17
Cargo.lock generated
View file

@ -1386,9 +1386,9 @@ dependencies = [
[[package]] [[package]]
name = "deno_doc" name = "deno_doc"
version = "0.129.0" version = "0.133.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "38dc17660505a70f007a71d1550e2357662ca2083f9136eedcd53ccbac7537a6" checksum = "2309018eabdec1f6e88b0c8c1793825bb56eae13a4942cbec8cfe7caeb2be97f"
dependencies = [ dependencies = [
"ammonia", "ammonia",
"anyhow", "anyhow",
@ -1747,9 +1747,9 @@ dependencies = [
[[package]] [[package]]
name = "deno_npm" name = "deno_npm"
version = "0.18.0" version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bcd4f91bb7139c031791f135aa1785e08a828795d5daaefe981b9f9292f66e91" checksum = "9db4bc4de6c0d2935662dcd99542b03a0db5f1778bada7ef2afc074e7819068d"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-trait", "async-trait",
@ -1760,6 +1760,7 @@ dependencies = [
"monch", "monch",
"serde", "serde",
"thiserror", "thiserror",
"url",
] ]
[[package]] [[package]]
@ -2539,9 +2540,9 @@ dependencies = [
[[package]] [[package]]
name = "eszip" name = "eszip"
version = "0.68.2" version = "0.68.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e478354842a7ee02c685221da61b7ecee919283e65818167d0f8ce60cca70798" checksum = "14cbb0e1910cd068e7c946e0d9a4d9e1859fc5596acdf99baca404e24e728136"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"base64", "base64",
@ -2652,9 +2653,9 @@ checksum = "c007b1ae3abe1cb6f85a16305acd418b7ca6343b953633fee2b76d8f108b830f"
[[package]] [[package]]
name = "file_test_runner" name = "file_test_runner"
version = "0.5.0" version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cc644d2903f00e5f0e5d34dca805c7a100b09a1d257e07697101d90eb10d3351" checksum = "1eab6c1529960afefbd3c4e3021f23ba8030360aa6465e21cacb8e5c634f4854"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"crossbeam-channel", "crossbeam-channel",

View file

@ -67,17 +67,17 @@ deno_ast = { workspace = true, features = ["bundler", "cjs", "codegen", "proposa
deno_cache_dir = { workspace = true } deno_cache_dir = { workspace = true }
deno_config = "=0.16.3" deno_config = "=0.16.3"
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] } deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
deno_doc = { version = "=0.129.0", features = ["html", "syntect"] } deno_doc = { version = "=0.133.0", features = ["html", "syntect"] }
deno_emit = "=0.40.2" deno_emit = "=0.40.2"
deno_graph = { version = "=0.74.5", features = ["tokio_executor"] } deno_graph = { version = "=0.74.5", features = ["tokio_executor"] }
deno_lint = { version = "=0.58.4", features = ["docs"] } deno_lint = { version = "=0.58.4", features = ["docs"] }
deno_lockfile.workspace = true deno_lockfile.workspace = true
deno_npm = "=0.18.0" deno_npm = "=0.20.1"
deno_runtime = { workspace = true, features = ["include_js_files_for_snapshotting"] } deno_runtime = { workspace = true, features = ["include_js_files_for_snapshotting"] }
deno_semver = "=0.5.4" deno_semver = "=0.5.4"
deno_task_shell = "=0.16.1" deno_task_shell = "=0.16.1"
deno_terminal.workspace = true deno_terminal.workspace = true
eszip = "=0.68.2" eszip = "=0.68.4"
napi_sym.workspace = true napi_sym.workspace = true
async-trait.workspace = true async-trait.workspace = true

View file

@ -43,7 +43,7 @@ deno_lockfile.workspace = true
deno_terminal.workspace = true deno_terminal.workspace = true
deno_tls.workspace = true deno_tls.workspace = true
fastwebsockets = { workspace = true, features = ["upgrade", "unstable-split"] } fastwebsockets = { workspace = true, features = ["upgrade", "unstable-split"] }
file_test_runner = "0.5.0" file_test_runner = "0.6.0"
flaky_test = "=0.1.0" flaky_test = "=0.1.0"
http.workspace = true http.workspace = true
http-body-util.workspace = true http-body-util.workspace = true