Skip to content

Commit 2a8b26f

Browse files
committed
Meta: Update ecma262-biblio and include ecma402-biblio
- Update ecma262-biblio to a more recent version, but don't use the latest version (2.1.2736), because that requires replacing `IsIntegralNumber`, which has been removed upstream. - Add ecma402-biblio to replace the manual biblio entries in "spec/biblio.json".
1 parent d464497 commit 2a8b26f

File tree

3 files changed

+14
-115
lines changed

3 files changed

+14
-115
lines changed

package-lock.json

Lines changed: 11 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
},
99
"main": "polyfill/lib/index.mjs",
1010
"devDependencies": {
11-
"@tc39/ecma262-biblio": "=2.1.2678",
11+
"@tc39/ecma262-biblio": "=2.1.2735",
12+
"@tc39/ecma402-biblio": "=2.1.1097",
1213
"@typescript-eslint/eslint-plugin": "^6.18.1",
1314
"@typescript-eslint/parser": "^6.18.1",
1415
"ecmarkup": "^18.1.2",
@@ -31,7 +32,7 @@
3132
"build:polyfill": "cd polyfill && npm install && npm run build",
3233
"build:docs": "cd docs && npm install && npm run build",
3334
"prebuild:spec": "mkdirp out",
34-
"build:spec": "ecmarkup --lint-spec --strict --load-biblio @tc39/ecma262-biblio spec.html out/index.html",
35+
"build:spec": "ecmarkup --lint-spec --strict --load-biblio @tc39/ecma262-biblio --load-biblio @tc39/ecma402-biblio spec.html out/index.html",
3536
"prebuild": "mkdirp out/docs/assets",
3637
"pretty": "eslint . --ext js,mjs,.d.ts --fix",
3738
"build": "npm run build:polyfill && npm run build:docs && npm run build:spec",

spec/biblio.json

Lines changed: 0 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -1,111 +1,2 @@
11
[
2-
{
3-
"location": "https://tc39.es/ecma402/",
4-
"entries": [
5-
{
6-
"type": "note",
7-
"id": "legacy-constructor"
8-
},
9-
{
10-
"type": "op",
11-
"aoid": "AvailableCanonicalCalendars",
12-
"id": "sec-availablecanonicalcalendars"
13-
},
14-
{
15-
"type": "op",
16-
"aoid": "AvailableCanonicalCollations",
17-
"id": "sec-availablecanonicalcollations"
18-
},
19-
{
20-
"type": "op",
21-
"aoid": "AvailableCanonicalCurrencies",
22-
"id": "sec-availablecanonicalcurrencies"
23-
},
24-
{
25-
"type": "op",
26-
"aoid": "AvailableCanonicalNumberingSystems",
27-
"id": "sec-availablecanonicalnumberingsystems"
28-
},
29-
{
30-
"type": "op",
31-
"aoid": "AvailableCanonicalUnits",
32-
"id": "sec-availablecanonicalunits"
33-
},
34-
{
35-
"type": "op",
36-
"aoid": "BasicFormatMatcher",
37-
"id": "sec-basicformatmatcher"
38-
},
39-
{
40-
"type": "op",
41-
"aoid": "BestFitFormatMatcher",
42-
"id": "sec-bestfitformatmatcher"
43-
},
44-
{
45-
"type": "op",
46-
"aoid": "CanonicalizeLocaleList",
47-
"id": "sec-canonicalizelocalelist"
48-
},
49-
{
50-
"type": "op",
51-
"aoid": "CoerceOptionsToObject",
52-
"id": "sec-coerceoptionstoobject"
53-
},
54-
{
55-
"type": "op",
56-
"aoid": "FormatNumeric",
57-
"id": "sec-formatnumber"
58-
},
59-
{
60-
"type": "op",
61-
"aoid": "GetNumberOption",
62-
"id": "sec-getnumberoption"
63-
},
64-
{
65-
"type": "op",
66-
"aoid": "ResolveLocale",
67-
"id": "sec-resolvelocale"
68-
},
69-
{
70-
"type": "op",
71-
"aoid": "UnwrapDateTimeFormat",
72-
"id": "sec-unwrapdatetimeformat"
73-
},
74-
{
75-
"type": "clause",
76-
"number": "Internal slots",
77-
"id": "sec-intl.datetimeformat-internal-slots"
78-
},
79-
{
80-
"type": "clause",
81-
"number": "get Intl.DateTimeFormat.prototype.format",
82-
"id": "sec-intl.datetimeformat.prototype.format"
83-
},
84-
{
85-
"type": "clause",
86-
"number": "Table 5",
87-
"id": "table-datetimeformat-rangepatternfields"
88-
},
89-
{
90-
"type": "clause",
91-
"number": "Table 7",
92-
"id": "table-datetimeformat-components"
93-
},
94-
{
95-
"type": "clause",
96-
"number": "Table 8",
97-
"id": "table-datetimeformat-tolocaltime-record"
98-
},
99-
{
100-
"type": "op",
101-
"aoid": "DateTimeStyleFormat",
102-
"id": "sec-date-time-style-format"
103-
},
104-
{
105-
"type": "op",
106-
"aoid": "PartitionPattern",
107-
"id": "sec-partitionpattern"
108-
}
109-
]
110-
}
1112
]

0 commit comments

Comments
 (0)