1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00

chore: bump url crate to 2.3.0 (#15800)

This commit is contained in:
Divy Srivastava 2022-09-07 19:07:46 +05:30 committed by Yoshiya Hinosawa
parent c763514c14
commit bf87c922e2
No known key found for this signature in database
GPG key ID: 0E8BFAA8A5B4E92B
3 changed files with 19 additions and 224 deletions

31
Cargo.lock generated
View file

@ -895,7 +895,7 @@ dependencies = [
"swc_ecma_utils",
"swc_ecma_visit",
"text_lines 0.4.1",
"url 2.2.2",
"url 2.3.0",
]
[[package]]
@ -944,7 +944,7 @@ dependencies = [
"serde_v8",
"sourcemap",
"tokio",
"url 2.2.2",
"url 2.3.0",
"v8",
]
@ -1079,7 +1079,7 @@ dependencies = [
"serde_json",
"sourcemap",
"termcolor",
"url 2.2.2",
"url 2.3.0",
]
[[package]]
@ -1644,7 +1644,7 @@ dependencies = [
"sha2",
"thiserror",
"tokio",
"url 2.2.2",
"url 2.3.0",
]
[[package]]
@ -2265,7 +2265,7 @@ dependencies = [
"log 0.4.17",
"serde",
"serde_json",
"url 2.2.2",
"url 2.3.0",
]
[[package]]
@ -2645,7 +2645,7 @@ dependencies = [
"serde",
"serde_json",
"serde_repr",
"url 2.2.2",
"url 2.3.0",
]
[[package]]
@ -3513,7 +3513,7 @@ dependencies = [
"tokio-socks",
"tokio-util",
"tower-service",
"url 2.2.2",
"url 2.3.0",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
@ -4035,7 +4035,7 @@ dependencies = [
"rustc_version 0.2.3",
"serde",
"serde_json",
"url 2.2.2",
"url 2.3.0",
]
[[package]]
@ -4197,7 +4197,7 @@ dependencies = [
"swc_visit",
"tracing",
"unicode-width",
"url 2.2.2",
"url 2.3.0",
]
[[package]]
@ -4984,7 +4984,7 @@ dependencies = [
"thiserror",
"tinyvec",
"tokio",
"url 2.2.2",
"url 2.3.0",
]
[[package]]
@ -5068,7 +5068,7 @@ dependencies = [
"rustls",
"sha-1 0.9.8",
"thiserror",
"url 2.2.2",
"url 2.3.0",
"utf-8",
"webpki",
]
@ -5235,13 +5235,12 @@ dependencies = [
[[package]]
name = "url"
version = "2.2.2"
version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c"
checksum = "22fe195a4f217c25b25cb5058ced57059824a678474874038dc88d211bf508d3"
dependencies = [
"form_urlencoded",
"idna 0.2.3",
"matches",
"percent-encoding 2.1.0",
"serde",
]
@ -5256,7 +5255,7 @@ dependencies = [
"regex",
"serde",
"unic-ucd-ident",
"url 2.2.2",
"url 2.3.0",
]
[[package]]
@ -5721,7 +5720,7 @@ dependencies = [
"serde_json",
"time 0.3.9",
"tokio",
"url 2.2.2",
"url 2.3.0",
]
[[package]]

View file

@ -32,7 +32,7 @@ serde = { version = "1.0.136", features = ["derive"] }
serde_json = { version = "1.0.79", features = ["preserve_order"] }
serde_v8 = { version = "0.60.0", path = "../serde_v8" }
sourcemap = "=6.0.1"
url = { version = "2.2.2", features = ["serde"] }
url = { version = "2.3.0", features = ["serde"] }
v8 = { version = "0.49.0", default-features = false }
[[example]]

View file

@ -1799,73 +1799,6 @@
"xn-- (using <area>.hostname)"
],
"url-constructor.any.html": [
"Parsing: <sc://a|b/> against <about:blank>",
"Parsing: <http://a\u0001b/> against <about:blank>",
"Parsing: <http://a\u0002b/> against <about:blank>",
"Parsing: <http://a\u0003b/> against <about:blank>",
"Parsing: <http://a\u0004b/> against <about:blank>",
"Parsing: <http://a\u0005b/> against <about:blank>",
"Parsing: <http://a\u0006b/> against <about:blank>",
"Parsing: <http://a\u0007b/> against <about:blank>",
"Parsing: <http://a\bb/> against <about:blank>",
"Parsing: <http://a\u000bb/> against <about:blank>",
"Parsing: <http://a\fb/> against <about:blank>",
"Parsing: <http://a\u000eb/> against <about:blank>",
"Parsing: <http://a\u000fb/> against <about:blank>",
"Parsing: <http://a\u0010b/> against <about:blank>",
"Parsing: <http://a\u0011b/> against <about:blank>",
"Parsing: <http://a\u0012b/> against <about:blank>",
"Parsing: <http://a\u0013b/> against <about:blank>",
"Parsing: <http://a\u0014b/> against <about:blank>",
"Parsing: <http://a\u0015b/> against <about:blank>",
"Parsing: <http://a\u0016b/> against <about:blank>",
"Parsing: <http://a\u0017b/> against <about:blank>",
"Parsing: <http://a\u0018b/> against <about:blank>",
"Parsing: <http://a\u0019b/> against <about:blank>",
"Parsing: <http://a\u001ab/> against <about:blank>",
"Parsing: <http://a\u001bb/> against <about:blank>",
"Parsing: <http://a\u001cb/> against <about:blank>",
"Parsing: <http://a\u001db/> against <about:blank>",
"Parsing: <http://a\u001eb/> against <about:blank>",
"Parsing: <http://a\u001fb/> against <about:blank>",
"Parsing: <http://a|b/> against <about:blank>",
"Parsing: <http://ab/> against <about:blank>",
"Parsing: <http://ho%01st/> against <about:blank>",
"Parsing: <http://ho%02st/> against <about:blank>",
"Parsing: <http://ho%03st/> against <about:blank>",
"Parsing: <http://ho%04st/> against <about:blank>",
"Parsing: <http://ho%05st/> against <about:blank>",
"Parsing: <http://ho%06st/> against <about:blank>",
"Parsing: <http://ho%07st/> against <about:blank>",
"Parsing: <http://ho%08st/> against <about:blank>",
"Parsing: <http://ho%0Bst/> against <about:blank>",
"Parsing: <http://ho%0Cst/> against <about:blank>",
"Parsing: <http://ho%0Est/> against <about:blank>",
"Parsing: <http://ho%0Fst/> against <about:blank>",
"Parsing: <http://ho%10st/> against <about:blank>",
"Parsing: <http://ho%11st/> against <about:blank>",
"Parsing: <http://ho%12st/> against <about:blank>",
"Parsing: <http://ho%13st/> against <about:blank>",
"Parsing: <http://ho%14st/> against <about:blank>",
"Parsing: <http://ho%15st/> against <about:blank>",
"Parsing: <http://ho%16st/> against <about:blank>",
"Parsing: <http://ho%17st/> against <about:blank>",
"Parsing: <http://ho%18st/> against <about:blank>",
"Parsing: <http://ho%19st/> against <about:blank>",
"Parsing: <http://ho%1Ast/> against <about:blank>",
"Parsing: <http://ho%1Bst/> against <about:blank>",
"Parsing: <http://ho%1Cst/> against <about:blank>",
"Parsing: <http://ho%1Dst/> against <about:blank>",
"Parsing: <http://ho%1Est/> against <about:blank>",
"Parsing: <http://ho%1Fst/> against <about:blank>",
"Parsing: <http://ho%7Cst/> against <about:blank>",
"Parsing: <http://ho%7Fst/> against <about:blank>",
"Parsing: <file://%43%7C> against <about:blank>",
"Parsing: <file://%43|> against <about:blank>",
"Parsing: <file://C%7C> against <about:blank>",
"Parsing: <file://%43%7C/> against <about:blank>",
"Parsing: <https://%43%7C/> against <about:blank>",
"Parsing: <asdf://%43|/> against <about:blank>",
"Parsing: </> against <file://h/C:/a/b>",
"Parsing: <file:\\\\//> against <about:blank>",
"Parsing: <file:\\\\\\\\> against <about:blank>",
@ -1913,103 +1846,9 @@
"Parsing: <..//path> against <non-spec:/p>",
"Parsing: <a/..//path> against <non-spec:/p>",
"Parsing: <> against <non-spec:/..//p>",
"Parsing: <path> against <non-spec:/..//p>",
"Parsing: <http://1.2.3.4.5> against <http://other.com/>",
"Parsing: <http://1.2.3.4.5.> against <http://other.com/>",
"Parsing: <http://0..0x300/> against <about:blank>",
"Parsing: <http://0..0x300./> against <about:blank>",
"Parsing: <http://256.256.256.256.256> against <http://other.com/>",
"Parsing: <http://256.256.256.256.256.> against <http://other.com/>",
"Parsing: <http://1.2.3.08> against <about:blank>",
"Parsing: <http://1.2.3.08.> against <about:blank>",
"Parsing: <http://1.2.3.09> against <about:blank>",
"Parsing: <http://09.2.3.4> against <about:blank>",
"Parsing: <http://09.2.3.4.> against <about:blank>",
"Parsing: <http://01.2.3.4.5> against <about:blank>",
"Parsing: <http://01.2.3.4.5.> against <about:blank>",
"Parsing: <http://0x1.2.3.4.5> against <about:blank>",
"Parsing: <http://0x1.2.3.4.5.> against <about:blank>",
"Parsing: <http://foo.1.2.3.4> against <about:blank>",
"Parsing: <http://foo.1.2.3.4.> against <about:blank>",
"Parsing: <http://foo.2.3.4> against <about:blank>",
"Parsing: <http://foo.2.3.4.> against <about:blank>",
"Parsing: <http://foo.09> against <about:blank>",
"Parsing: <http://foo.09.> against <about:blank>",
"Parsing: <http://foo.0x4> against <about:blank>",
"Parsing: <http://foo.0x4.> against <about:blank>",
"Parsing: <http://0999999999999999999/> against <about:blank>",
"Parsing: <http://foo.0x> against <about:blank>",
"Parsing: <http://foo.0XFfFfFfFfFfFfFfFfFfAcE123> against <about:blank>",
"Parsing: <http://💩.123/> against <about:blank>"
"Parsing: <path> against <non-spec:/..//p>"
],
"url-constructor.any.worker.html": [
"Parsing: <sc://a|b/> against <about:blank>",
"Parsing: <http://a\u0001b/> against <about:blank>",
"Parsing: <http://a\u0002b/> against <about:blank>",
"Parsing: <http://a\u0003b/> against <about:blank>",
"Parsing: <http://a\u0004b/> against <about:blank>",
"Parsing: <http://a\u0005b/> against <about:blank>",
"Parsing: <http://a\u0006b/> against <about:blank>",
"Parsing: <http://a\u0007b/> against <about:blank>",
"Parsing: <http://a\bb/> against <about:blank>",
"Parsing: <http://a\u000bb/> against <about:blank>",
"Parsing: <http://a\fb/> against <about:blank>",
"Parsing: <http://a\u000eb/> against <about:blank>",
"Parsing: <http://a\u000fb/> against <about:blank>",
"Parsing: <http://a\u0010b/> against <about:blank>",
"Parsing: <http://a\u0011b/> against <about:blank>",
"Parsing: <http://a\u0012b/> against <about:blank>",
"Parsing: <http://a\u0013b/> against <about:blank>",
"Parsing: <http://a\u0014b/> against <about:blank>",
"Parsing: <http://a\u0015b/> against <about:blank>",
"Parsing: <http://a\u0016b/> against <about:blank>",
"Parsing: <http://a\u0017b/> against <about:blank>",
"Parsing: <http://a\u0018b/> against <about:blank>",
"Parsing: <http://a\u0019b/> against <about:blank>",
"Parsing: <http://a\u001ab/> against <about:blank>",
"Parsing: <http://a\u001bb/> against <about:blank>",
"Parsing: <http://a\u001cb/> against <about:blank>",
"Parsing: <http://a\u001db/> against <about:blank>",
"Parsing: <http://a\u001eb/> against <about:blank>",
"Parsing: <http://a\u001fb/> against <about:blank>",
"Parsing: <http://a|b/> against <about:blank>",
"Parsing: <http://ab/> against <about:blank>",
"Parsing: <http://ho%01st/> against <about:blank>",
"Parsing: <http://ho%02st/> against <about:blank>",
"Parsing: <http://ho%03st/> against <about:blank>",
"Parsing: <http://ho%04st/> against <about:blank>",
"Parsing: <http://ho%05st/> against <about:blank>",
"Parsing: <http://ho%06st/> against <about:blank>",
"Parsing: <http://ho%07st/> against <about:blank>",
"Parsing: <http://ho%08st/> against <about:blank>",
"Parsing: <http://ho%0Bst/> against <about:blank>",
"Parsing: <http://ho%0Cst/> against <about:blank>",
"Parsing: <http://ho%0Est/> against <about:blank>",
"Parsing: <http://ho%0Fst/> against <about:blank>",
"Parsing: <http://ho%10st/> against <about:blank>",
"Parsing: <http://ho%11st/> against <about:blank>",
"Parsing: <http://ho%12st/> against <about:blank>",
"Parsing: <http://ho%13st/> against <about:blank>",
"Parsing: <http://ho%14st/> against <about:blank>",
"Parsing: <http://ho%15st/> against <about:blank>",
"Parsing: <http://ho%16st/> against <about:blank>",
"Parsing: <http://ho%17st/> against <about:blank>",
"Parsing: <http://ho%18st/> against <about:blank>",
"Parsing: <http://ho%19st/> against <about:blank>",
"Parsing: <http://ho%1Ast/> against <about:blank>",
"Parsing: <http://ho%1Bst/> against <about:blank>",
"Parsing: <http://ho%1Cst/> against <about:blank>",
"Parsing: <http://ho%1Dst/> against <about:blank>",
"Parsing: <http://ho%1Est/> against <about:blank>",
"Parsing: <http://ho%1Fst/> against <about:blank>",
"Parsing: <http://ho%7Cst/> against <about:blank>",
"Parsing: <http://ho%7Fst/> against <about:blank>",
"Parsing: <file://%43%7C> against <about:blank>",
"Parsing: <file://%43|> against <about:blank>",
"Parsing: <file://C%7C> against <about:blank>",
"Parsing: <file://%43%7C/> against <about:blank>",
"Parsing: <https://%43%7C/> against <about:blank>",
"Parsing: <asdf://%43|/> against <about:blank>",
"Parsing: </> against <file://h/C:/a/b>",
"Parsing: <file:\\\\//> against <about:blank>",
"Parsing: <file:\\\\\\\\> against <about:blank>",
@ -2057,34 +1896,7 @@
"Parsing: <..//path> against <non-spec:/p>",
"Parsing: <a/..//path> against <non-spec:/p>",
"Parsing: <> against <non-spec:/..//p>",
"Parsing: <path> against <non-spec:/..//p>",
"Parsing: <http://1.2.3.4.5> against <http://other.com/>",
"Parsing: <http://1.2.3.4.5.> against <http://other.com/>",
"Parsing: <http://0..0x300/> against <about:blank>",
"Parsing: <http://0..0x300./> against <about:blank>",
"Parsing: <http://256.256.256.256.256> against <http://other.com/>",
"Parsing: <http://256.256.256.256.256.> against <http://other.com/>",
"Parsing: <http://1.2.3.08> against <about:blank>",
"Parsing: <http://1.2.3.08.> against <about:blank>",
"Parsing: <http://1.2.3.09> against <about:blank>",
"Parsing: <http://09.2.3.4> against <about:blank>",
"Parsing: <http://09.2.3.4.> against <about:blank>",
"Parsing: <http://01.2.3.4.5> against <about:blank>",
"Parsing: <http://01.2.3.4.5.> against <about:blank>",
"Parsing: <http://0x1.2.3.4.5> against <about:blank>",
"Parsing: <http://0x1.2.3.4.5.> against <about:blank>",
"Parsing: <http://foo.1.2.3.4> against <about:blank>",
"Parsing: <http://foo.1.2.3.4.> against <about:blank>",
"Parsing: <http://foo.2.3.4> against <about:blank>",
"Parsing: <http://foo.2.3.4.> against <about:blank>",
"Parsing: <http://foo.09> against <about:blank>",
"Parsing: <http://foo.09.> against <about:blank>",
"Parsing: <http://foo.0x4> against <about:blank>",
"Parsing: <http://foo.0x4.> against <about:blank>",
"Parsing: <http://0999999999999999999/> against <about:blank>",
"Parsing: <http://foo.0x> against <about:blank>",
"Parsing: <http://foo.0XFfFfFfFfFfFfFfFfFfAcE123> against <about:blank>",
"Parsing: <http://💩.123/> against <about:blank>"
"Parsing: <path> against <non-spec:/..//p>"
],
"url-origin.any.html": true,
"url-origin.any.worker.html": true,
@ -2097,12 +1909,6 @@
"Setting pathname with trailing U+0000 (https:)",
"Setting protocol with leading U+001F (https:)",
"Setting protocol with U+001F before inserted colon (https:)",
"Setting host with leading U+001F (https:)",
"Setting hostname with leading U+001F (https:)",
"Setting host with middle U+001F (https:)",
"Setting hostname with middle U+001F (https:)",
"Setting host with trailing U+001F (https:)",
"Setting hostname with trailing U+001F (https:)",
"Setting port with leading U+001F (https:)",
"Setting pathname with trailing U+001F (https:)",
"Setting protocol with leading U+0000 (wpt++:)",
@ -2121,12 +1927,6 @@
"Setting pathname with trailing U+0000 (https:)",
"Setting protocol with leading U+001F (https:)",
"Setting protocol with U+001F before inserted colon (https:)",
"Setting host with leading U+001F (https:)",
"Setting hostname with leading U+001F (https:)",
"Setting host with middle U+001F (https:)",
"Setting hostname with middle U+001F (https:)",
"Setting host with trailing U+001F (https:)",
"Setting hostname with trailing U+001F (https:)",
"Setting port with leading U+001F (https:)",
"Setting pathname with trailing U+001F (https:)",
"Setting protocol with leading U+0000 (wpt++:)",
@ -4516,7 +4316,6 @@
"Pattern: [\"https://(sub(?:.))?example.com/foo\"] Inputs: [\"https://example.com/foo\"]",
"Pattern: [\"data\\\\:text/javascript,let x = 100/:tens?5;\"] Inputs: [\"data:text/javascript,let x = 100/5;\"]",
"Pattern: [{\"hostname\":\"bad\\\\:hostname\"}] Inputs: undefined",
"Pattern: [{\"hostname\":\"bad|hostname\"}] Inputs: undefined",
"Pattern: [] Inputs: [\"https://example.com/\"]",
"Pattern: [] Inputs: [{}]",
"Pattern: [] Inputs: []",
@ -4534,7 +4333,6 @@
"Pattern: [\"https://(sub(?:.))?example.com/foo\"] Inputs: [\"https://example.com/foo\"]",
"Pattern: [\"data\\\\:text/javascript,let x = 100/:tens?5;\"] Inputs: [\"data:text/javascript,let x = 100/5;\"]",
"Pattern: [{\"hostname\":\"bad\\\\:hostname\"}] Inputs: undefined",
"Pattern: [{\"hostname\":\"bad|hostname\"}] Inputs: undefined",
"Pattern: [] Inputs: [\"https://example.com/\"]",
"Pattern: [] Inputs: [{}]",
"Pattern: [] Inputs: []",
@ -4552,7 +4350,6 @@
"Pattern: [\"https://(sub(?:.))?example.com/foo\"] Inputs: [\"https://example.com/foo\"]",
"Pattern: [\"data\\\\:text/javascript,let x = 100/:tens?5;\"] Inputs: [\"data:text/javascript,let x = 100/5;\"]",
"Pattern: [{\"hostname\":\"bad\\\\:hostname\"}] Inputs: undefined",
"Pattern: [{\"hostname\":\"bad|hostname\"}] Inputs: undefined",
"Pattern: [] Inputs: [\"https://example.com/\"]",
"Pattern: [] Inputs: [{}]",
"Pattern: [] Inputs: []",
@ -4570,7 +4367,6 @@
"Pattern: [\"https://(sub(?:.))?example.com/foo\"] Inputs: [\"https://example.com/foo\"]",
"Pattern: [\"data\\\\:text/javascript,let x = 100/:tens?5;\"] Inputs: [\"data:text/javascript,let x = 100/5;\"]",
"Pattern: [{\"hostname\":\"bad\\\\:hostname\"}] Inputs: undefined",
"Pattern: [{\"hostname\":\"bad|hostname\"}] Inputs: undefined",
"Pattern: [] Inputs: [\"https://example.com/\"]",
"Pattern: [] Inputs: [{}]",
"Pattern: [] Inputs: []",
@ -4610,4 +4406,4 @@
"idlharness.https.any.worker.html": true,
"idlharness-shadowrealm.window.html": false
}
}
}