From f955afc5ead8ac59ead0f46610bfdf4ba1c51234 Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Tue, 11 Jan 2022 22:42:58 +0100 Subject: [PATCH] chore: bump rust-urlpattern to 0.1.3 (#13328) --- Cargo.lock | 4 ++-- ext/url/Cargo.toml | 2 +- tools/wpt/expectation.json | 40 ++++---------------------------------- 3 files changed, 7 insertions(+), 39 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 097eb1926c..6a4a971df4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4686,9 +4686,9 @@ dependencies = [ [[package]] name = "urlpattern" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbe1da4e25c8758a07ac5b97fe72dec49416ea0783bfa9d6c24793c3a34f1e4e" +checksum = "8f7decaf7b744aab3251b934f4b92b2d1db77d12b23d76730b55ac2c80956ba9" dependencies = [ "derive_more", "regex", diff --git a/ext/url/Cargo.toml b/ext/url/Cargo.toml index 958957c30f..6e0754e607 100644 --- a/ext/url/Cargo.toml +++ b/ext/url/Cargo.toml @@ -17,7 +17,7 @@ path = "lib.rs" deno_core = { version = "0.113.0", path = "../../core" } serde = { version = "1.0.129", features = ["derive"] } serde_repr = "0.1.7" -urlpattern = "0.1.2" +urlpattern = "0.1.3" [dev-dependencies] deno_bench_util = { version = "0.25.0", path = "../../bench_util" } diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index c90c47d0be..488b12d34f 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -4218,15 +4218,7 @@ "Pattern: [{\"hostname\":\"bad|hostname\"}] Inputs: undefined", "Pattern: [] Inputs: [\"https://example.com/\"]", "Pattern: [] Inputs: [{}]", - "Pattern: [] Inputs: []", - "Pattern: [{\"pathname\":\"(foo)(.*)\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{(foo)bar}(.*)\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}(.*)\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}(barbaz)\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}{(.*)}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}{(.*)bar}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}{bar(.*)}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo\\\\bar}\"}] Inputs: [{\"pathname\":\"foobar\"}]" + "Pattern: [] Inputs: []" ], "urlpattern.any.worker.html": [ "Pattern: [{\"pathname\":\"/foo/bar\"}] Inputs: [\"./foo/bar\",\"https://example.com\"]", @@ -4234,15 +4226,7 @@ "Pattern: [{\"hostname\":\"bad|hostname\"}] Inputs: undefined", "Pattern: [] Inputs: [\"https://example.com/\"]", "Pattern: [] Inputs: [{}]", - "Pattern: [] Inputs: []", - "Pattern: [{\"pathname\":\"(foo)(.*)\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{(foo)bar}(.*)\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}(.*)\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}(barbaz)\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}{(.*)}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}{(.*)bar}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}{bar(.*)}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo\\\\bar}\"}] Inputs: [{\"pathname\":\"foobar\"}]" + "Pattern: [] Inputs: []" ], "urlpattern.https.any.html": [ "Pattern: [{\"pathname\":\"/foo/bar\"}] Inputs: [\"./foo/bar\",\"https://example.com\"]", @@ -4250,15 +4234,7 @@ "Pattern: [{\"hostname\":\"bad|hostname\"}] Inputs: undefined", "Pattern: [] Inputs: [\"https://example.com/\"]", "Pattern: [] Inputs: [{}]", - "Pattern: [] Inputs: []", - "Pattern: [{\"pathname\":\"(foo)(.*)\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{(foo)bar}(.*)\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}(.*)\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}(barbaz)\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}{(.*)}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}{(.*)bar}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}{bar(.*)}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo\\\\bar}\"}] Inputs: [{\"pathname\":\"foobar\"}]" + "Pattern: [] Inputs: []" ], "urlpattern.https.any.worker.html": [ "Pattern: [{\"pathname\":\"/foo/bar\"}] Inputs: [\"./foo/bar\",\"https://example.com\"]", @@ -4266,15 +4242,7 @@ "Pattern: [{\"hostname\":\"bad|hostname\"}] Inputs: undefined", "Pattern: [] Inputs: [\"https://example.com/\"]", "Pattern: [] Inputs: [{}]", - "Pattern: [] Inputs: []", - "Pattern: [{\"pathname\":\"(foo)(.*)\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{(foo)bar}(.*)\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}(.*)\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}(barbaz)\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}{(.*)}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}{(.*)bar}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo}{bar(.*)}\"}] Inputs: [{\"pathname\":\"foobarbaz\"}]", - "Pattern: [{\"pathname\":\"{:foo\\\\bar}\"}] Inputs: [{\"pathname\":\"foobar\"}]" + "Pattern: [] Inputs: []" ] } } \ No newline at end of file