fix(deps): update dependency zone.js to ~0.12.0
-
Review changes -
-
Download -
Patches
-
Plain diff
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
zone.js (changelog) | dependencies | minor | ~0.11.4 -> ~0.12.0 |
Release Notes
angular/angular
v0.12.0
Bug Fixes
- zone.js: cancel tasks only when they are scheduled or running (#46435) (b618b5a), closes #45711
- zone.js: Fix ConsoleTask interface typo (#47090) (91954cf)
0.11.8 (2022-08-08)
Features
0.11.7 (2022-07-20)
Bug Fixes
-
zone.js: do not invoke jasmine done callback multiple times with
waitForAsync
(4e77c7fbf38)
Features
- zone.js: add AsyncStackTaggingZoneSpec implementation (#46693) (848a009)
-
zone.js: include jasmine
describe
block name when raising unexpected task error (de86285) - zone.js: include zone name when sync-test zone reports tasks (72c2567)
0.11.6 (2022-06-02)
Bug Fixes
-
zone.js: check if
process
is defined when patching theGlobalErrors.install
(#45392) (c7bcc1b), closes #42260 - zone.js: in TaskTrackingZoneSpec track a periodic task until it is cancelled (#45391) (f19b36f)
-
zone.js: read
Symbol.species
safely (#45369) (e2eaac3) - zone.js: should ignore multiple resolve call (#45283) (aebf165), closes #44913
- zone.js: swallow the error when the element callback is not patchable (#45400) (4ea70e3), closes lwc/engine-core/src/framework/base-bridge-element.ts#L180-L186 #42546
BREAKING CHANGES
- zone.js: in TaskTrackingZoneSpec track a periodic task until it is cancelled
The breaking change is scoped only to the plugin
zone.js/plugins/task-tracking
. If you used TaskTrackingZoneSpec
and
checked the pending macroTasks e.g. using (this.ngZone as any)._inner ._parent._properties.TaskTrackingZone.getTasksFor('macroTask')
, then
its behavior slightly changed for periodic macrotasks. For example,
previously the setInterval
macrotask was no longer tracked after its
callback was executed for the first time. Now it's tracked until
the task is explicitly cancelled, e.g with clearInterval(id)
.
0.11.5 (2022-03-03)
Bug Fixes
- zone.js: async-test should only call done once (#45025) (dea7234)
- zone.js: defineProperties should also set symbol props (#45098) (b437d12), closes #44095
-
zone.js: fix several test cases which trigger
done()
multiple times (#45025) (d5565cc) - zone.js: only one listener should also re-throw an error correctly (#41868) (299f92c), closes #41867 /github.com/angular/angular/pull/41562#issuecomment-822696973
- zone.js: patch global instead of Mocha object (#45047) (8efbdb5), closes #42834
- zone.js: should continue to executue listeners when throw error (#41562) (008eaf3), closes #41522
- zone.js: update several flaky cases (#41526) (25a83eb), closes #41434
Features
- zone.js: add Promise.any() implementation (#45064) (4d494d2), closes #44393
- zone.js: update electron patch to support electron/remote 14 (#45073) (d65706a), closes #43346
0.11.4 (2021-02-10)
Bug Fixes
- zone.js: fesm2015 bundle should also be strict module. (#40456) (f35f7c6), closes #40215 #40215
- zone.js: fix typo in zone_externs (#40348) (8116edb)
- zone.js: patch child method that overrides an already patched method (#39850) (82e3f54)
- zone.js: setTimeout patch should clean tasksByHandleId cache. (#40586) (0652b29), closes #40387
- zone.js: update build tooling for latest changes in rules_nodejs (#40710) (2827845)
Features
0.11.3 (2020-10-27)
Bug Fixes
0.11.2 (2020-09-19)
Bug Fixes
- zone.js: jest getRealSystemTime should return native time (#39127) (ffc3332)
- zone.js: add missing types field in package.json (#38585) (27cc56b), closes #38584
- zone.js: defineProperty patch should not swallow error (#37582) (45a73dd), closes #37432
- zone.js: run tests in umd format (#37582) (40096be)
- zone.js: should have better backward compatibilities (#38797) (a33d630), closes #38561 #38669
- zone.js: should invoke xhr send task when no response error occurs (#38836) (d92a0dd), closes #38795
- zone.js: zone.js toString patch should check typeof Promise is function (#38350) (18e474f), closes #38361
Features
Refactor
- zone.js: refactor(zone.js): rename several internal apis in fake async zone spec (#39127) (8a68669)
Build
BREAKING CHANGES
-
zone.js: ZoneJS no longer swallows errors produced by
Object.defineProperty
calls.
Prior to this change, ZoneJS monkey patched Object.defineProperty
and if there is an error
(such as the property is not configurable or not writable) the patched logic swallowed it
and only console.log was produced. This behavior used to hide real errors,
so the logic is now updated to trigger original errors (if any). One exception
where the patch remains in place is document.registerElement
(to allow smooth transition for code/polyfills that rely on old behavior in legacy browsers).
If your code relies on the old behavior (where errors were not thrown before),
you may need to update the logic to handle the errors that are no longer masked by ZoneJS patch.
0.11.1 (2020-08-19)
Bug Fixes
- zone.js: zone.js package.json should not include files/directories field (#38528) (6b662d1), closes #38526 #38516 #38513
v0.11.8
Features
v0.11.7
Bug Fixes
-
zone.js: do not invoke jasmine done callback multiple times with
waitForAsync
(4e77c7fbf38)
Features
- zone.js: add AsyncStackTaggingZoneSpec implementation (#46693) (848a009)
-
zone.js: include jasmine
describe
block name when raising unexpected task error (de86285) - zone.js: include zone name when sync-test zone reports tasks (72c2567)
v0.11.6
Bug Fixes
-
zone.js: check if
process
is defined when patching theGlobalErrors.install
(#45392) (c7bcc1b), closes #42260 - zone.js: in TaskTrackingZoneSpec track a periodic task until it is cancelled (#45391) (f19b36f)
-
zone.js: read
Symbol.species
safely (#45369) (e2eaac3) - zone.js: should ignore multiple resolve call (#45283) (aebf165), closes #44913
- zone.js: swallow the error when the element callback is not patchable (#45400) (4ea70e3), closes lwc/engine-core/src/framework/base-bridge-element.ts#L180-L186 #42546
BREAKING CHANGES
- zone.js: in TaskTrackingZoneSpec track a periodic task until it is cancelled
The breaking change is scoped only to the plugin
zone.js/plugins/task-tracking
. If you used TaskTrackingZoneSpec
and
checked the pending macroTasks e.g. using (this.ngZone as any)._inner ._parent._properties.TaskTrackingZone.getTasksFor('macroTask')
, then
its behavior slightly changed for periodic macrotasks. For example,
previously the setInterval
macrotask was no longer tracked after its
callback was executed for the first time. Now it's tracked until
the task is explicitly cancelled, e.g with clearInterval(id)
.
v0.11.5
Bug Fixes
- zone.js: async-test should only call done once (#45025) (dea7234)
- zone.js: defineProperties should also set symbol props (#45098) (b437d12), closes #44095
-
zone.js: fix several test cases which trigger
done()
multiple times (#45025) (d5565cc) - zone.js: only one listener should also re-throw an error correctly (#41868) (299f92c), closes #41867 /github.com/angular/angular/pull/41562#issuecomment-822696973
- zone.js: patch global instead of Mocha object (#45047) (8efbdb5), closes #42834
- zone.js: should continue to executue listeners when throw error (#41562) (008eaf3), closes #41522
- zone.js: update several flaky cases (#41526) (25a83eb), closes #41434
Features
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Merge request reports
Activity
- Approvals
- Assignees & reviewers
- Comments (from bots)
- Comments (from users)
- Commits & branches
- Edits
- Labels
- Lock status
- Mentions
- Merge request status
- Tracking
- Nov 08, 2022
-
-
e5aad9ed
-