Skip to content

Commit

Permalink
Update ecma262-biblio
Browse files Browse the repository at this point in the history
This will be necessary for the rebase on
tc39/ecma262#2781

Delete the reference to LocalTZA which no longer exists in ECMA-262; this
reference was already inside text to be deleted from ECMA-402 anyway.

EnumerableOwnPropertyNames was renamed to EnumerableOwnProperties in
tc39/ecma262#2899 so that change also needs to be
made when pulling in the new biblio.
  • Loading branch information
ptomato authored and Ms2ger committed Oct 11, 2022
1 parent 3a3a46c commit daa4c0d
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"main": "polyfill/lib/index.mjs",
"devDependencies": {
"@tc39/ecma262-biblio": "=2.1.2336",
"@tc39/ecma262-biblio": "=2.1.2458",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"ecmarkup": "^13.0.0",
Expand Down
2 changes: 1 addition & 1 deletion spec/abstractops.html
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ <h1>
</dl>
<emu-alg>
1. Let _merged_ be OrdinaryObjectCreate(*null*).
1. Let _keys_ be ? EnumerableOwnPropertyNames(_options_, ~key~).
1. Let _keys_ be ? EnumerableOwnProperties(_options_, ~key~).
1. For each element _nextKey_ of _keys_, do
1. Let _propValue_ be ? Get(_options_, _nextKey_).
1. Perform ! CreateDataPropertyOrThrow(_merged_, _nextKey_, _propValue_).
Expand Down
4 changes: 2 additions & 2 deletions spec/calendar.html
Original file line number Diff line number Diff line change
Expand Up @@ -726,13 +726,13 @@ <h1>
</dl>
<emu-alg>
1. Let _merged_ be OrdinaryObjectCreate(%Object.prototype%).
1. Let _fieldsKeys_ be ? EnumerableOwnPropertyNames(_fields_, ~key~).
1. Let _fieldsKeys_ be ? EnumerableOwnProperties(_fields_, ~key~).
1. For each element _key_ of _fieldsKeys_, do
1. If _key_ is not *"month"* or *"monthCode"*, then
1. Let _propValue_ be ? Get(_fields_, _key_).
1. If _propValue_ is not *undefined*, then
1. Perform ! CreateDataPropertyOrThrow(_merged_, _key_, _propValue_).
1. Let _additionalFieldsKeys_ be ? EnumerableOwnPropertyNames(_additionalFields_, ~key~).
1. Let _additionalFieldsKeys_ be ? EnumerableOwnProperties(_additionalFields_, ~key~).
1. For each element _key_ of _additionalFieldsKeys_, do
1. Let _propValue_ be ? Get(_additionalFields_, _key_).
1. If _propValue_ is not *undefined*, then
Expand Down
6 changes: 3 additions & 3 deletions spec/intl.html
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ <h1>ToLocalTime ( _t_, _calendar_, _timeZone_ )</h1>
<emu-alg>
1. Assert: Type(_t_) is <del>Number</del><ins>BigInt</ins>.
1. If _calendar_ is *"gregory"*, then
1. <del>Let _timeZoneOffset_ be the value calculated according to <emu-xref href="#sec-local-time-zone-adjustment">LocalTZA(_t_, *true*)</emu-xref> where the local time zone is replaced with timezone _timeZone_.</del>
1. <del>Let _timeZoneOffset_ be the value calculated according to LocalTZA<!---->(_t_, *true*) where the local time zone is replaced with timezone _timeZone_.</del>
1. <ins>Let _timeZoneOffset_ be GetIANATimeZoneOffsetNanoseconds(_t_, _timeZone_).</ins>
1. Let _tz_ be <del>_t_</del><ins>ℝ(_t_)</ins> + _timeZoneOffset_.
1. Return a record with fields calculated from _tz_ according to <del><emu-xref href="#table-datetimeformat-tolocaltime-record"></emu-xref></del><ins><emu-xref href="#table-temporal-plaindatetimeformat-tolocaltime-record"></emu-xref></ins>.
Expand Down Expand Up @@ -2064,13 +2064,13 @@ <h1>Temporal.Calendar.prototype.mergeFields ( _fields_, _additionalFields_ )</h1
1. If _calendar_.[[Identifier]] is *"iso8601"*, then
1. Return ? DefaultMergeCalendarFields(_fields_, _additionalFields_).
1. Let _fieldsCopy_ be OrdinaryObjectCreate(%Object.prototype%).
1. Let _fieldsKeys_ be ? EnumerableOwnPropertyNames(_fields_, ~key~).
1. Let _fieldsKeys_ be ? EnumerableOwnProperties(_fields_, ~key~).
1. For each element _key_ of _fieldsKeys_, do
1. Let _propValue_ be ? Get(_fields_, _key_).
1. If _propValue_ is not *undefined*, then
1. Perform ! CreateDataPropertyOrThrow(_fieldsCopy_, _key_, _propValue_).
1. Let _additionalFieldsCopy_ be OrdinaryObjectCreate(%Object.prototype%).
1. Let _additionalFieldsKeys_ be ? EnumerableOwnPropertyNames(_additionalFields_, ~key~).
1. Let _additionalFieldsKeys_ be ? EnumerableOwnProperties(_additionalFields_, ~key~).
1. For each element _key_ of _additionalFieldsKeys_, do
1. Let _propValue_ be ? Get(_additionalFields_, _key_).
1. If _propValue_ is not *undefined*, then
Expand Down
2 changes: 1 addition & 1 deletion spec/plainyearmonth.html
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ <h1>
1. Let _date_ be ? CalendarDateFromFields(_calendar_, _fields_).
1. Let _durationToAdd_ be ! CreateTemporalDuration(_duration_.[[Years]], _duration_.[[Months]], _duration_.[[Weeks]], _balanceResult_.[[Days]], 0, 0, 0, 0, 0, 0).
1. Let _optionsCopy_ be OrdinaryObjectCreate(*null*).
1. Let _entries_ be ? EnumerableOwnPropertyNames(_options_, ~key+value~).
1. Let _entries_ be ? EnumerableOwnProperties(_options_, ~key+value~).
1. For each element _entry_ of _entries_, do
1. Perform ! CreateDataPropertyOrThrow(_optionsCopy_, _entry_[0], _entry_[1]).
1. Let _addedDate_ be ? CalendarDateAdd(_calendar_, _date_, _durationToAdd_, _options_).
Expand Down

0 comments on commit daa4c0d

Please sign in to comment.