diff --git a/README.md b/README.md index 99df422f9f7aa87e9345cd4b7903bf075108eafe..60bef9defae5c12b1684d35230e299957cd1cac6 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,3 @@ https://url.spec.whatwg.org/ `urltestdata.json` is from https://github.com/web-platform-tests/wpt/blob/master/url/resources/urltestdata.json. Last fetched at `048018b5af85f8d47b8a704b48cf6f9c0a461876`. - -`IdnaTestV2.json` is from https://github.com/web-platform-tests/wpt/blob/master/url/resources/IdnaTestV2.json. -Last fetched at `40fc257a28faf7c378f59185235685ea8684e8f4`. diff --git a/generate.ts b/generate.ts index 63b86a03be310844bec899a083e812a4620b0bd8..93f022f186950f9c3c73e0f30b9df21eebd2dfb2 100644 --- a/generate.ts +++ b/generate.ts @@ -1,5 +1,5 @@ import casesraw from "./urltestdata.json"; -import casesidna from "./IdnaTestV2.json"; +const casesidna = await fetch("https://github.com/web-platform-tests/wpt/raw/master/url/resources/IdnaTestV2.json").then((x) => x.json()); const cases = casesraw.filter((v) => typeof v !== "string"); const f = Bun.file(process.argv[2]!);