Skip to content

Commit

Permalink
Meta: Update ecma262-biblio and include ecma402-biblio
Browse files Browse the repository at this point in the history
- 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".
  • Loading branch information
anba committed Jun 24, 2024
1 parent d464497 commit 2a8b26f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 115 deletions.
15 changes: 11 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
},
"main": "polyfill/lib/index.mjs",
"devDependencies": {
"@tc39/ecma262-biblio": "=2.1.2678",
"@tc39/ecma262-biblio": "=2.1.2735",
"@tc39/ecma402-biblio": "=2.1.1097",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"ecmarkup": "^18.1.2",
Expand All @@ -31,7 +32,7 @@
"build:polyfill": "cd polyfill && npm install && npm run build",
"build:docs": "cd docs && npm install && npm run build",
"prebuild:spec": "mkdirp out",
"build:spec": "ecmarkup --lint-spec --strict --load-biblio @tc39/ecma262-biblio spec.html out/index.html",
"build:spec": "ecmarkup --lint-spec --strict --load-biblio @tc39/ecma262-biblio --load-biblio @tc39/ecma402-biblio spec.html out/index.html",
"prebuild": "mkdirp out/docs/assets",
"pretty": "eslint . --ext js,mjs,.d.ts --fix",
"build": "npm run build:polyfill && npm run build:docs && npm run build:spec",
Expand Down
109 changes: 0 additions & 109 deletions spec/biblio.json
Original file line number Diff line number Diff line change
@@ -1,111 +1,2 @@
[
{
"location": "https://tc39.es/ecma402/",
"entries": [
{
"type": "note",
"id": "legacy-constructor"
},
{
"type": "op",
"aoid": "AvailableCanonicalCalendars",
"id": "sec-availablecanonicalcalendars"
},
{
"type": "op",
"aoid": "AvailableCanonicalCollations",
"id": "sec-availablecanonicalcollations"
},
{
"type": "op",
"aoid": "AvailableCanonicalCurrencies",
"id": "sec-availablecanonicalcurrencies"
},
{
"type": "op",
"aoid": "AvailableCanonicalNumberingSystems",
"id": "sec-availablecanonicalnumberingsystems"
},
{
"type": "op",
"aoid": "AvailableCanonicalUnits",
"id": "sec-availablecanonicalunits"
},
{
"type": "op",
"aoid": "BasicFormatMatcher",
"id": "sec-basicformatmatcher"
},
{
"type": "op",
"aoid": "BestFitFormatMatcher",
"id": "sec-bestfitformatmatcher"
},
{
"type": "op",
"aoid": "CanonicalizeLocaleList",
"id": "sec-canonicalizelocalelist"
},
{
"type": "op",
"aoid": "CoerceOptionsToObject",
"id": "sec-coerceoptionstoobject"
},
{
"type": "op",
"aoid": "FormatNumeric",
"id": "sec-formatnumber"
},
{
"type": "op",
"aoid": "GetNumberOption",
"id": "sec-getnumberoption"
},
{
"type": "op",
"aoid": "ResolveLocale",
"id": "sec-resolvelocale"
},
{
"type": "op",
"aoid": "UnwrapDateTimeFormat",
"id": "sec-unwrapdatetimeformat"
},
{
"type": "clause",
"number": "Internal slots",
"id": "sec-intl.datetimeformat-internal-slots"
},
{
"type": "clause",
"number": "get Intl.DateTimeFormat.prototype.format",
"id": "sec-intl.datetimeformat.prototype.format"
},
{
"type": "clause",
"number": "Table 5",
"id": "table-datetimeformat-rangepatternfields"
},
{
"type": "clause",
"number": "Table 7",
"id": "table-datetimeformat-components"
},
{
"type": "clause",
"number": "Table 8",
"id": "table-datetimeformat-tolocaltime-record"
},
{
"type": "op",
"aoid": "DateTimeStyleFormat",
"id": "sec-date-time-style-format"
},
{
"type": "op",
"aoid": "PartitionPattern",
"id": "sec-partitionpattern"
}
]
}
]

0 comments on commit 2a8b26f

Please sign in to comment.