authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-01-24 14:05:31 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-01-24 14:05:31 -08:00
logf968d9c2d230b94a21a164c4b306d523679ca324
treeaed4547c2daf1d8080f8d88549b1554c5f845695
parente2aee9791d52d234b4b4196057508c8734038a7f

fetch IdnaTestV2.json


2 files changed, 1 insertions(+), 4 deletions(-)

README.md-3
......@@ -12,6 +12,3 @@ https://url.spec.whatwg.org/
1212
1313`urltestdata.json` is from https://github.com/web-platform-tests/wpt/blob/master/url/resources/urltestdata.json.
1414Last fetched at `048018b5af85f8d47b8a704b48cf6f9c0a461876`.
15
16`IdnaTestV2.json` is from https://github.com/web-platform-tests/wpt/blob/master/url/resources/IdnaTestV2.json.
17Last fetched at `40fc257a28faf7c378f59185235685ea8684e8f4`.
generate.ts+1-1
......@@ -1,5 +1,5 @@
11import casesraw from "./urltestdata.json";
2import casesidna from "./IdnaTestV2.json";
2const casesidna = await fetch("https://github.com/web-platform-tests/wpt/raw/master/url/resources/IdnaTestV2.json").then((x) => x.json());
33
44const cases = casesraw.filter((v) => typeof v !== "string");
55const f = Bun.file(process.argv[2]!);