devextreme-angular
devextreme-angular copied to clipboard
fix(deps): update dependency zone.js to ^0.11.8
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
zone.js (changelog) | ^0.8.26 -> ^0.11.8 |
Release Notes
angular/angular
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
- zone.js: add Promise.any() implementation (#45064) (4d494d2), closes #44393
- zone.js: update electron patch to support electron/remote 14 (#45073) (d65706a), closes #43346
v0.11.4
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
v0.11.3
Bug Fixes
v0.11.2
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.
v0.11.1
Prior to v0.11.1
, Zone.js provided two distribution bundle formats in the dist
folder.
They were (1) ES5
bundle distributed as zone.js
and (2) ES2015
bundle distributed as zone-evergreen.js
.
These bundles are used for Angular's differential-loading mechanism.
Prior to v0.11.11
the following code
import 'zone.js';
would load the ES5
bundle from dist/zone.js
.
Starting with v0.11.1
, Zone.js follows the Angular Package Format, so the folder structure of the Zone.js bundles is updated to match Angular Package Format
.
So the same code
import 'zone.js';
now loads the ES2015
bundle instead.
This is a breaking change for legacy browsers such as IE11
.
For backwards compatibility zone.js
continues to distribute the same bundles under dist
.
To restore the old behavior change the polyfills.ts
generated by Angular CLI
to import like so:
import 'zone.js/dist/zone';
v0.11.0
Bug Fixes
-
zone.js: add issue numbers of
[@types](https://togithub.com/types)/jasmine
to the test cases (#34625) (41667de) - zone.js: clearTimeout/clearInterval should call on object global (#37858) (a71f114), closes #37333
- zone.js: fix 2 bluebird test cases for each/mapSeries (#36295) (b44f7b5)
- zone.js: patch nodejs EventEmtter.prototype.off (#37863) (1822cbc), closes #35473
- zone.js: remove unused Promise overwritten setter logic (#36851) (31796e8)
- zone.js: should not try to patch fetch if it is not writable (#36311) (416c786), closes #36142
- zone.js: UNPATCHED_EVENTS and PASSIVE_EVENTS should be string[] not boolean (#36258) (36e927a)
- zone.js: zone patch rxjs should return null _unsubscribe correctly. (#37091) (96aa14d), closes #31684
- zone.js: zone.js patch jest should handle done correctly (#36022) (4374931)
Features
- zone.js: move all zone optional bundles to plugins folders (#36540) (b199ef6)
- zone.js: move MutationObserver/FileReader to different module (#31657) (253337d)
- zone.js: patch jasmine.createSpyObj to make properties enumerable to be true (#34624) (c2b4d92), closes #33657
- zone.js: upgrade zone.js to angular package format(APF) (#36540) (583a9d3), closes #35157 /github.com/angular/angular-cli/blob/5376a8b1392ac7bd252782d8474161ce03a4d1cb/packages/schematics/angular/application/files/src/polyfills.ts.template#L55-L58
0.10.3 (2020-02-27)
Bug Fixes
- zone.js: a path traversal attack in test (#32392) (d498314)
- zone.js: work around TS3.7 issue (#33294) (0953642)
- fixes typo of zone.js patch vrdisplaydisconnected property (#33581) (71b8e27), closes #33579
- should also allow subclass Promise without Symbol.species (#34533) (58b29f1)
-
zone.js: fix
zone-patch-rxjs
bundle to refer torxjs
(rather than include) it. (#35983) (99ea5d7), closes #35878 -
zone.js: Make
EventTarget
methods optional inzone.js
extension API (#35954) (5463462) - zone.js: zone.js patches rxjs should check null for unsubscribe (#35990) (3fa8952), closes #31687 #31684
Features
- implement Symbol.specics of Promise (#34162) (539d8f0), closes #34105 #33989
- define all zone.js configurations to typescript interfaces (#35329) (03d88c7)
- add a temp solution to support passive event listeners. (#34503) (f9d483e)
- add an tickOptions parameter with property processNewMacroTasksSynchronously. (#33838) (17b862c), closes #33799
- add interface definitions which zone extends EventTarget (#35304) (4acb676), closes #35173
- make jasmine patch as zone module (#34676) (e1160f1)
- make mocha a zone module. (#34719) (332937e)
- add basic jest support (#35080) (daac33c)
- zone.js: add a zone config to allow user disable wrapping uncaught promise rejection (#35873) (8456c5e), closes #27840
- zone.js: Monkey patch MessagePort.prototype onproperties (#34610) (0f8e710)
Performance Improvements
0.10.2 (2019-08-13)
Features
0.10.1 (2019-08-02)
Bug Fixes
- zone.js: don't rely on global node typings outside of node/ directory (#31783) (5c9a896)
- zone.js: should expose some other internal intefaces (#31866) (f5c605b)
v0.10.3
Bug Fixes
- zone.js: a path traversal attack in test (#32392) (d498314)
- zone.js: work around TS3.7 issue (#33294) (0953642)
- fixes typo of zone.js patch vrdisplaydisconnected property (#33581) (71b8e27), closes #33579
- should also allow subclass Promise without Symbol.species (#34533) (58b29f1)
-
zone.js: fix
zone-patch-rxjs
bundle to refer torxjs
(rather than include) it. (#35983) (99ea5d7), closes #35878 -
zone.js: Make
EventTarget
methods optional inzone.js
extension API (#35954) (5463462) - zone.js: zone.js patches rxjs should check null for unsubscribe (#35990) (3fa8952), closes #31687 #31684
Features
- implement Symbol.specics of Promise (#34162) (539d8f0), closes #34105 #33989
- define all zone.js configurations to typescript interfaces (#35329) (03d88c7)
- add a temp solution to support passive event listeners. (#34503) (f9d483e)
- add an tickOptions parameter with property processNewMacroTasksSynchronously. (#33838) (17b862c), closes #33799
- add interface definitions which zone extends EventTarget (#35304) (4acb676), closes #35173
- make jasmine patch as zone module (#34676) (e1160f1)
- make mocha a zone module. (#34719) (332937e)
- add basic jest support (#35080) (daac33c)
- zone.js: add a zone config to allow user disable wrapping uncaught promise rejection (#35873) (8456c5e), closes #27840
- zone.js: Monkey patch MessagePort.prototype onproperties (#34610) (0f8e710)
Performance Improvements
v0.10.2
Features
v0.10.1
Bug Fixes
- zone.js: don't rely on global node typings outside of node/ directory (#31783) (5c9a896)
- zone.js: should expose some other internal intefaces (#31866) (f5c605b)
v0.10.0
Bug Fixes
- zone.js: **load_patch and **symbol__ should be in zone_extern for closure compiler (#31350) (6b51ed2)
- zone.js: don't fire unhandledrejection if Zone handled error (#31718) (c7542a1), closes #31701
- zone.js: don't wrap uncaught promise error. (#31443) (2bb9a65), closes #27840
- zone.js: fix zone for Jasmine 3.3. (#31497) (c4c340a)
- zone.js: handle MSPointer event correctly (#31722) (2c402d5), closes #31699
- zone.js: handle new api of electron 4 (#31669) (a445826), closes #31668
- zone.js: hook should set correct current zone (#31642) (17b32b5), closes #31641
- zone.js: move property patch to legacy (#31660) (716af10), closes #31659
- zone.js: patch shadydom (#31717) (35a025f), closes #31686
- zone.js: restore definition of global (#31453) (e6f1b04), closes /github.com/angular/zone.js/commit/71b93711806000d7788e79451478e20d6086aa8a#diff-dd469785fca8680a5b33b1e81c5cfd91R1420
- zone.js: should remove on symbol property after removeAllListeners (#31644) (a182714), closes #31643
- zone.js: update dart zone link (#31646) (7f7033b), closes #31645
- zone.js: zone-mix should import correct browser module (#31628) (87ce4e9), closes #31626
0.9.1 (2019-04-30)
Bug Fixes
- ensure that EventTarget is patched prior to legacy property descriptor patch (#1214) (aca4728)
- fakeAsyncTest requestAnimationFrame should pass timestamp as parameter (#1220) (62b8525), closes #1216
Features
- add option to disable jasmine clock patch, also rename the flag of auto jump in FakeAsyncTest (#1222) (10e1b0c)
v0.9.1
Bug Fixes
- ensure that EventTarget is patched prior to legacy property descriptor patch (#1214) (aca4728)
- fakeAsyncTest requestAnimationFrame should pass timestamp as parameter (#1220) (62b8525), closes #1216
Features
- add option to disable jasmine clock patch, also rename the flag of auto jump in FakeAsyncTest (#1222) (10e1b0c)
v0.9.0
Bug Fixes
- lint: fix #1168, remove unused = null code (#1171) (917e2af)
- test: fix #1155, try/catch modify error.message (#1157) (7e983d1)
- test: fix: make fakeAsync test spec timer id global (d32e79b)
- build: fix: closure related fixes (2a8415d)
- compile: fix: remove finally definition from Promise interface (47dd3f4)
Doc
- doc: #1181, Fix the typo in timer module documentation (8f78b55)
- doc: #1163, Update YouTube video link (f171821)
- doc: #1151, Re-phrase the lines for better understanding (2a6444b)
- doc: #1152, change the word TimerTask to MacroTask (f3995de)
Features
- test: add benchmark page (#1076) (128649a)
- test: test(promise): add test cases for Promise.all with sync then operation (#1158) (0b44e83)
- test: feat: add an option zone_symboldisableDatePatching to allow disabling Date patching (c378f87)
Env
- env: change BLACK_LISTED_EVENTS to DISABLE_EVENTS (9c65d25)
Build
- build: build zone-evergreen.js in es2015, add terser minify support (2ad936b)
- build: upgrade to pass jasmine 3.3 test (82dfd75)
- build: upgrade to typescript 3.2.2 (fcdd559)
- build: separate zone.js into evergreen only and legacy included bundles (ac3851e)
- build: make legacy standalone bundle (a5fe09b)
0.8.29 (2019-01-22)
Bug Fixes
- core: fix for tests in angular repo (fd069db)
0.8.28 (2019-01-16)
Bug Fixes
- jasmine: patch jasmine beforeAll/afterAll (9d27abc4)
0.8.27 (2019-01-08)
Bug Fixes
- bluebird: fix #1112, bluebird chained callback should return a Bluebird Promise (#1114) (6ba3169)
- core: fix #1108, window.onerror should have (message, source, lineno, colno, error) signiture (#1109) (49e0548)
- core: fix #1153, ZoneTask.toString should always be a string (#1166) (afa1363)
- core: fix interval will still run after cancelled error (#1156) (eb72ff4)
- core: use then directly when promise is not patchable (#1079) (d7e0a31)
- duplicate: fix #1081, load patch should also check the duplicate flag (#1121) (8ce5e33)
- event: fix #1110, nodejs EventEmitter should support Symbol eventName (#1113) (96420d6)
- event: should pass boolean to addEventListener if not support passive (#1053) (e9536ec)
- format: update clang-format to 1.2.3 (f238908)
- memory: Add protection against excessive on prop patching (#1106) (875086f)
- node: fix #1164, don't patch uncaughtException to prevent endless loop (#1170) (33a0ad6)
- node: node patched method should copy original delegate's symbol properties (#1095) (0a2f6ff)
- onProperty: user quoted access for __Zone_ignore_on_properties (#1134) (7201d44)
- test: karma-dist should test bundle under dist (#1049) (0720d79)
- tsc: tsconfig.json strict:true (915042d)
- xhr: fix #1072, should set scheduled flag to target (#1074) (34c12e5)
- xhr: should invoke xhr task after onload is triggered (#1055) (2aab9c8)
Features
- build: Upgrade to TypeScript 2.9 and rxjs6 (#1122) (31fc127)
- core: upgrade to typescript 3.0.3 (#1132) (60adc9c)
- Core: fix #910, add a flag to allow user to ignore duplicate Zone error (#1093) (a86c6d5)
- custom-element: patch customElement v1 APIs (#1133) (427705f)
- error: fix #975, can config how to load blacklist zone stack frames (#1045) (ff3d545)
- fetch: schedule macroTask when fetch (#1075) (bf88c34)
0.8.26 (2018-04-08)
Bug Fixes
0.8.25 (2018-04-04)
Bug Fixes
0.8.24 (2018-04-02)
Bug Fixes
0.8.24 (2018-04-02)
Bug Fixes
0.8.23 (2018-04-01)
Bug Fixes
- test: check setImmediate supports (6c7e45b)
0.8.22 (2018-03-31)
Bug Fixes
- fakeAsync: fix #1050, should only reset patched Date.now until fakeAsync exit (#1051) (e15d735)
- fakeAsyncTest: fix #1061, fakeAsync should support setImmediate (#1062) (66c6f97)
0.8.21 (2018-03-30)
Bug Fixes
- add OriginalDelegate prop to Function::toString (#993) (2dc7e5c)
- core: fix #1000, check target is null or not when patchOnProperty (#1004) (5c139e5)
- core: fix #946, don't patch promise if it is not writable (#1041) (c8c5990)
- event: fix #1021, removeListener/removeAllListeners should return eventEmitter (#1022) (ab72df6)
- fakeAsync: fix #1056, fakeAsync timerId should not be zero (#1057) (68682cd)
- jasmine: fix #1015, make jasmine patch compatible to jasmine 3.x (#1016) (e1df4bc)
- patch: fix #998, patch mediaQuery for new Safari (#1003) (c7c7db5)
- proxy: proxyZone should call onHasTask when change delegate (#1030) (40b110d)
- test: fix mocha compatible issue (#1028) (c554e9f)
- testing: fix #1032, fakeAsync should pass parameters correctly (#1033) (eefe983)
Features
- bluebird: fix #921, #977, support bluebird (#1039) (438210c)
- build: use yarn instead of npm (#1025) (ebd348c)
- core: fix #996, expose UncaughtPromiseError (#1040) (7f178b1)
- jasmine: support Date.now in fakeAsyncTest (#1009) (f22065e)
- jsonp: provide a help method to patch jsonp (#997) (008fd43)
- patch: fix #1011, patch ResizeObserver (#1012) (8ee88da)
- patch: fix #828, patch socket.io client (b3db9f4)
- promise: support Promise.prototype.finally (#1005) (6a1a830)
- rollup: use new rollup config to prevent warning (#1006) (6b6b38a)
- test: can handle non zone aware task in promise (#1014) (6852f1d)
- test: move async/fakeAsync from angular to zone.js (#1048) (a4b42cd)
- testing: can display pending tasks info when test timeout in jasmine/mocha (#1038) (57bc80c)
0.8.20 (2018-01-10)
Bug Fixes
- core: add comment for shorter var/function name (67e8178)
- core: add file check script in travis build (615a6c1)
- core: add helper method in util.ts to shorter zone.wrap/scehduleMacroTask (8293c37)
- core: add rxjs test (31832a7)
- core: fix #989, remove unuse code, use shorter name to reduce bundle size (73b0061)
- core: fix shorter name closure conflict (00a4e31)
- core: remove unreadable short names (957351e)
0.8.18 (2017-09-27)
Bug Fixes
- event: EventTarget of SourceBuffer in samsung tv will have null context (#904) (8718e07)
- event: fix #883, fix RTCPeerConnection Safari event not triggered issue (#905) (6f74efb)
- event: fix #911, in IE, event handler event maybe undefined (#913) (4ba5d97)
- event: should handle event.stopImmediatePropagration (#903) (dcc285a)
- patch: patchOnProperty getter should return original listener (#887) (d4e5ae8)
- patch: Worker should patch onProperties (#915) (418a583)
- promise: can set native promise after loading zone.js (#899) (956c729)
- timer: fix #314, setTimeout/interval should return original timerId (#894) (aec4bd4)
Features
- compile: fix #892, upgrade to typescript 2.3.4, support for...of when build zone-node (#897) (e999593)
- spec: log URL in error when attempting XHR from FakeAsyncTestZone (#893) (874bfdc)
0.8.17 (2017-08-23)
Bug Fixes
- readonly property should not be patched (#860) (7fbd655)
- suppress closure warnings/errors (#861) (deae751)
- module: fix #875, can disable requestAnimationFrame (#876) (fcf187c)
- node: remove reference to 'noop' (#865) (4032ddf)
- patch: fix #869, should not patch readonly method (#871) (31d38c1)
- rxjs: asap should runGuarded to let error inZone (#884) (ce3f12f)
- rxjs: fix #863, fix asap scheduler issue, add testcases (#848) (cbc58c1)
- spec: fix flush() behavior in handling periodic timers (#881) (eed776c)
- task: fix closure compatibility issue with ZoneDelegate._updateTaskCount (#878) (a03b84b)
Features
- cordova: fix #868, patch cordova FileReader (#879) (b1e5970)
- onProperty: fix #875, can disable patch specified onProperties (#877) (a733688)
- patch: fix #833, add IntersectionObserver support (#880) (f27ff14)
- performance: onProperty handler use global wrapFn, other performance improve. (#872) (a66595a)
- performance: reuse microTaskQueue native promise (#874) (7ee8bcd)
- spec: add a 'tick' callback to flush() (#866) (02cd40e)
0.8.16 (2017-07-27)
Bug Fixes
- console: console.log in nodejs should run in root Zone ([#855](https://togithub.com/angular/zone.js/issues/855
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled due to failing status checks.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.