diff --git a/Cargo.lock b/Cargo.lock index bc849498be..bfa9e3a2e4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4569,9 +4569,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 f4d2869f4e..52024d597e 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -4256,15 +4256,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\"]", @@ -4272,15 +4264,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\"]", @@ -4288,15 +4272,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\"]", @@ -4304,15 +4280,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