stanford-oval / genie-server

The home server version of Almond
Apache License 2.0
266 stars 42 forks source link

Bump @js-temporal/polyfill from 0.2.0 to 0.3.0 #300

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps @js-temporal/polyfill from 0.2.0 to 0.3.0.

Release notes

Sourced from @​js-temporal/polyfill's releases.

Version 0.3.0

Please see CHANGELOG.md for a summary of changes in this release.

Thanks to everyone who contributed to this release!

Changelog

Sourced from @​js-temporal/polyfill's changelog.

0.3.0

This version roughly corresponds with all the changes made to the Temporal polyfill as of the October 2021 TC39 Plenary meeting.

Breaking changes:

  • Timezones now require a getOffsetNanosecondsFor method, and no longer fall back to the intrinsic definition (previously provided by Temporal.Timezone#getOffsetNanosecondsFor) if not provided. (08346dc5, see also proposal-temporal polyfill PR)
  • Disallow Z designators when parsing strings for Plain Temporal types (f3f8a994, see also Spec PR)
  • Allow ISO strings with "Z" + a bracketed IANA name (70bd9898, see also Spec PR)
  • Emit ES2020 builds for newer browsers, and emit ES5 for older browsers. ([2331468d], [9e95c62b])
  • Temporal.Duration constructor will now throw if given a non-integer ([9df5d068], see also Spec PR)
  • Remove support for sub-minute offsets in ISO strings ([766e5037], see also Spec PR, Spec PR)
  • Throw TypeError on missing options from Duration.total ([4ec075f0], see also Spec PR)
  • Reject non-integer Duration fields in Duration.with() ([e6b2488d], see also Spec PR)
  • Ensure an Object is returned from calendar.mergeFields() ([4e63f25f], see also Spec PR)

Bug fixes:

  • Fix GetFormatterParts for Firefox Nightly ([47f9132f])
  • Fix TS types of RoundTo and TotalOf ([3008a670])
  • Fix crash setting day outside current JPN era ([6d3588c3], see also proposal-temporal polyfill PR)
  • Copy options object for PlainYearMonth.{add,subtract} and InterpretTemporalDateTimeFields to prevent user-modified objects from interfering with later operations. ([bafa1bdf], see also Spec PR)
  • Validate input to Calendar.prototype.fields ([7ebc700e], see also Spec PR)
  • Stop observably calling into getPossibleInstantsFor in InterpretISODateTimeOffset ([5448e59f], see also Spec PR)
  • Call CalendarEquals correctly ([07ea694e], see also proposal-temporal polyfill PR)
  • Fix arithmetic issues when using non-ISO months ([079a3325], see also proposal-temporal polyfill PR)
  • Regex: tighten matching of month and day values in datesplit ([b5736546], see also proposal-temporal polyfill PR)
  • Fix TS types for required CalendarProtocol methods ([0ee4581f], see also proposal-temporal polyfill PR)

Non-breaking changes:

  • Various #round and #total methods now accept string parameters or options bags. Strings are interpreted as the smallestUnit option (or unit for Temporal.Duration#total). ([068e801f], see also Spec PR)
  • Add @@​toStringTag to TS types ([41ab6bc0])
  • Accept string Calendar names in PlainMonthDay and PlainYearMonth constructors ([27b4c7e8])
  • Make options optional in Calendar method TS types ([3a09d00d])
  • Align implementation of RoundDuration with adjusted spec text ([4a0d0264], see also Spec PR)

Other:

  • Bump various dependencies ([47701107], [f5427de9], [310d9d8b])
  • Allow launching and debugging tests (both Demitasse and Test262 suites) from the VSCode debug panel ([960d9b76], [7f7c19a1], [4ec6568e], [edcc668b])
  • Run the Test262 test suite against this polyfill, for various configurations of the resulting build artifact ([2331468d], [666c69da], [429273ec], [ff937782], [f885253f])
  • Remove various pieces of unused code, and add CI testing to detect unused code in PR review ([67f9f6bb], [63bdfcd1])
  • Drop the dependency on es-abstract ([d24575f2], [ad7e2e3a], [5b1bc5e2])
  • The polyfill's source was ported to TypeScript ([12e4d529], [ac78fd9d], [53f32e0f], [06b806c9], [66fdc765], [50b1c34b], [4724b017], [947a8a5e], [fdbf7e01], [fa60af6a], [da753f2f], [f4db8b0b], [4a38420d])
  • Document the release process for this polyfill ([c55818b6])

... (truncated)

Commits
  • e9c439b 0.3.0 release. (#99)
  • 4a0d026 Minor DRY fix for RoundDuration
  • 0ee4581 Fix TS types for required CalendarProtocol methods
  • 08346dc Remove getOffsetNanosecondsFor fallback from polyfill
  • 4770110 Update dependencies
  • 6d322b6 Update manual ISO string tests to account for disallowed Z (#101)
  • 47f9132 Fix GetFormatterParts for Firefox Nightly (#97)
  • 64b2eab Port tc39/proposal-temporal/pull/1873 (#95)
  • f3f8a99 Port tc39/proposal-temporal/pull/1874 (#96)
  • b8138dc Port tc39/proposal-temporal/pull/1925. (#94)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by jameswr, a new releaser for @​js-temporal/polyfill since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #330.