Angular Robot
e57509e0a2
build: update dependency google-closure-compiler to v20250519 ( #61551 )
...
See associated pull request for more information.
PR Close #61551
2025-05-21 10:02:05 +00:00
Angular Robot
c7420df449
build: update dependency google-closure-compiler to v20250518 ( #61490 )
...
See associated pull request for more information.
PR Close #61490
2025-05-20 10:06:42 +00:00
Angular Robot
41be5ee17e
build: update dependency google-closure-compiler to v20250514 ( #61439 )
...
See associated pull request for more information.
PR Close #61439
2025-05-19 08:07:48 +00:00
Angular Robot
7d39b4af2e
build: update dependency google-closure-compiler to v20250407 ( #61397 )
...
See associated pull request for more information.
PR Close #61397
2025-05-16 08:47:18 +00:00
Angular Robot
0fc0d67146
build: update cross-repo angular dependencies ( #61286 )
...
See associated pull request for more information.
PR Close #61286
2025-05-14 10:43:35 +00:00
Angular Robot
392c036e5e
build: update dependency mocha to v11 ( #59012 )
...
See associated pull request for more information.
PR Close #59012
2024-12-03 12:21:45 +01:00
Andrew Kushnir
d1d4adcba2
release: cut the zone.js-0.15.0 release ( #57418 )
...
PR Close #57418
2024-08-21 11:30:53 -07:00
Jessica Janiuk
de99d3eb3e
release: cut the zone.js-0.14.10 release ( #57264 )
...
PR Close #57264
2024-08-05 17:00:06 +00:00
Andrew Scott
d97aee6dc2
release: cut the zone.js 0.14.8 release ( #57030 )
...
PR Close #57030
2024-07-17 14:03:01 -07:00
Jessica Janiuk
181ed2a84a
release: cut the zone.js-0.14.7 release ( #56306 )
...
PR Close #56306
2024-06-06 13:40:34 -07:00
Dylan Hunn
13601105ec
release: cut the zone.js-0.14.6 release ( #55845 )
...
PR Close #55845
2024-05-16 17:32:14 -07:00
Alan Agius
f3b0e2fbc1
refactor(zone.js): remove tslib from dependencies ( #55827 )
...
Iif needed `tslib` code is included directly in the bundled FESM2015 hence making the dependency redundant.
PR Close #55827
2024-05-16 09:15:19 -07:00
Andrew Kushnir
ff656691c3
release: cut the zone.js-0.14.5 release ( #55599 )
...
PR Close #55599
2024-04-30 13:51:16 -07:00
Alan Agius
15f19820b0
build: update Domino to 8f228f8862540c6ccd14f76b5a1d9bb5458618af ( #55424 )
...
This contains the fix for https://github.com/angular/angular/issues/55416
PR Close #55424
2024-04-19 13:24:25 -07:00
Angular Robot
e7d54aba8b
build: update dependency google-closure-compiler to v20240317 ( #54931 )
...
See associated pull request for more information.
PR Close #54931
2024-03-19 17:00:45 +00:00
Angular Robot
369157063c
build: update dependency google-closure-compiler to v20231112 ( #54893 )
...
See associated pull request for more information.
PR Close #54893
2024-03-15 18:31:22 +00:00
JiaLiPassion
5b767d6e01
release: cut the zone.js-0.14.4 release ( #54409 )
...
PR Close #54409
2024-02-13 11:42:07 -08:00
Jan Kuehle
acf1793d7b
refactor(zone.js): delete zone.js externs ( #53445 )
...
Externs were used for Closure Compiler. Users have moved on to other
bundlers like Webpack, esbuild, etc. Externs are no longer needed.
PR Close #53445
2024-01-09 13:20:51 -08:00
JiaLiPassion
a468a5e965
release: cut the zone.js-0.14.3 release ( #53630 )
...
PR Close #53630
2024-01-09 09:10:02 -08:00
JiaLiPassion
08b0c87a94
fix(zone.js): Promise.resolve(subPromise) should return subPromise ( #53423 )
...
In the original `Promise` impelmentation, zone.js follow the spec from
https://promisesaplus.com/#point-51 .
```
const p1 = Promise.resolve(1);
const p2 = Promise.resolve(p1);
p1 === p2; // false
```
in this case, `p2` should be the same status with `p1` but they are
still different instances.
And for some edge case.
```
class MyPromise extends Promise {
constructor(sub) {
super((res) => res(null));
this.sub = sub;
}
then(onFufilled, onRejected) {
this.sub.then(onFufilled, onRejected);
}
}
const p1 = new Promise(setTimeout(res), 100);
const myP = new MyPromise(p1);
const r = await myP;
r === 1; // false
```
So in the above code, `myP` is not the same instance with `p1`,
and since `myP` is resolved in constructor, so `await myP` will
just pass without waiting for `p1`.
And in the current `tc39` spec here https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-promise-resolve
`Promise.resolve(subP)` should return `subP`.
```
const p1 = Promise.resolve(1);
const p2 = Promise.resolve(p1);
p1 === p2; // true
```
So the above `MyPromise` can wait for the `p1` correctly.
PR Close #53423
2023-12-11 10:55:12 -08:00
Alan Agius
1a33a2ca11
release: cut the zone.js-0.14.2 release ( #52508 )
...
PR Close #52508
2023-11-03 10:54:12 -07:00
Angular Robot
7888819063
build: update cross-repo angular dependencies ( #52191 )
...
See associated pull request for more information.
PR Close #52191
2023-10-26 14:12:34 -07:00
Andrew Kushnir
8599e1892e
build: update zone.js version to 0.14.1 ( #52385 )
...
This commit updates the `package.json` of the zone.js package.
PR Close #52385
2023-10-26 09:28:32 -07:00
Angular Robot
068b38a05d
build: update cross-repo angular dependencies ( #51996 )
...
See associated pull request for more information.
(cherry picked from commit e169b2da2e )
PR Close #51996
2023-10-03 08:07:48 -07:00
Alan Agius
9bd1551c3f
release: cut the zone.js-0.14.0 release ( #51774 )
...
PR Close #51774
2023-09-18 11:56:17 +02:00
Alan Agius
a8efc605ea
feat(zone.js): remove legacy files and access to deep imports ( #51752 )
...
This commit removes access to deep imports and `zone-testing-bundle` and `zone-testing-node-bundle`
This commit removed access to deep and legacy `dist` imports. `zone-testing-bundle` and `zone-testing-node-bundle` are also no longer generated.
BREAKING CHANGE:
Deep and legacy `dist/` imports like `zone.js/bundles/zone-testing.js` and `zone.js/dist/zone` are no longer allowed. `zone-testing-bundle` and `zone-testing-node-bundle` are also no longer part of the package.
The proper way to import `zone.js` and `zone.js/testing` is:
```js
import 'zone.js';
import 'zone.js/testing';
```
PR Close #51752
2023-09-14 12:11:05 +02:00
Alan Agius
caaabd8efe
release: cut the zone.js-0.13.3 release ( #51742 )
...
PR Close #51742
2023-09-12 11:16:20 -07:00
Alan Agius
e86d6dba27
fix(zone.js): temporary allow deep imports ( #51737 )
...
`jest-preset-angular` imports `zone.js` using deep imports. This commit temporary allow this until the correct entry-points are used upstream.
See: https://github.com/thymikee/jest-preset-angular/issues/2162
PR Close #51737
2023-09-12 08:07:58 -07:00
Alan Agius
74755c4b5e
fix(zone.js): rename typings conditional export to types ( #51737 )
...
`typings` is not valid for TypeScript. See: https://www.typescriptlang.org/docs/handbook/esm-node.html for more information.
PR Close #51737
2023-09-12 08:07:57 -07:00
JiaLiPassion
ac56efa410
release: cut the zone.js-0.13.2 release ( #51689 )
...
PR Close #51689
2023-09-11 09:22:12 -07:00
Alan Agius
4798ec4166
fix(zone.js): add conditional exports to zone.js package ( #51652 )
...
This is needed to better support native ESM modules and avoid the otherwise necessary deep imports like `zone.js/fesm2015/zone-node.js` due to disallowed directory imports.
PR Close #51652
2023-09-06 16:37:26 +00:00
Angular Robot
c439a40db2
build: update dependency google-closure-compiler to v20230802 ( #51265 )
...
See associated pull request for more information.
PR Close #51265
2023-08-31 16:34:49 +00:00
Pawel Kozlowski
d773589ed2
build: bump up zone.js version for the release ( #50680 )
...
The zone.js release commit didn't update the zone.js version
in the package.json so this change fixes it.
PR Close #50680
2023-06-12 17:50:31 +02:00
Angular Robot
b68306e616
build: update dependency google-closure-compiler to v20230502 ( #50153 )
...
See associated pull request for more information.
PR Close #50153
2023-05-19 14:18:36 +00:00
Angular Robot
50de000cf7
build: update dependency google-closure-compiler to v20230411 ( #49892 )
...
See associated pull request for more information.
PR Close #49892
2023-04-18 19:07:14 +00:00
Angular Robot
1c16be4728
build: update domino digest to aa8de34 ( #49716 )
...
See associated pull request for more information.
PR Close #49716
2023-04-05 10:52:49 -07:00
Angular Robot
a218ef5bf2
build: update domino digest to 89bec1a ( #49703 )
...
See associated pull request for more information.
PR Close #49703
2023-04-04 15:04:50 -07:00
Angular Robot
d11f5d70d3
build: update dependency google-closure-compiler to v20230228 ( #49663 )
...
See associated pull request for more information.
PR Close #49663
2023-04-03 19:12:14 -07:00
Alan Agius
50c58ce56e
build: update domino digest to f29f047 ( #49461 )
...
Update domino digest to f29f047
PR Close #49461
2023-03-30 09:40:31 -07:00
Alan Agius
3dff6385f4
build: update Domino to dc2f473e8155f0e21162e89681b5b0cb295d86e9 ( #49461 )
...
Update own Domino SHA.
Closes #44685
PR Close #49461
2023-03-30 09:40:31 -07:00
JiaLiPassion
5a2b6227b3
fix(zone.js): revert Mocha it.skip, describe.skip method patch ( #49329 )
...
In the previous commit https://github.com/angular/angular/pull/45047
The `it.skip` and `describe.skip` is wrongly deleted, should keep
the patch for these methods.
PR Close #49329
2023-03-14 09:13:57 -07:00
JiaLiPassion
fc5100986b
release: cut the zone.js-0.13 release ( #49240 )
...
PR Close #49240
2023-03-06 19:14:20 +00:00
Jessica Janiuk
76731ae5c8
refactor(platform-server): Switch to using angular fork of domino ( #49189 )
...
This changes the dependency on Domino to use the recently forked version.
PR Close #49189
2023-02-24 09:33:07 -08:00
Angular Robot
f874d6e226
build: update dependency google-closure-compiler to v20230206 ( #49028 )
...
See associated pull request for more information.
PR Close #49028
2023-02-14 16:24:22 +01:00
Paul Gschwendtner
cc5d3b75e2
refactor: update zone.js and tests to work with ESM ( #48521 )
...
* Adjusts tests to no longer rely on CommonJS features. Switches them to
ESM
* Updates test initialization files to not double-initialize Jasmine now
that bootstrap files are loaded after Jasmine. The `jasmine.boot`
setup was hacky from `rules_nodejs` and will break in the future
regardless if we e.g. use `rules_js` with actual unmodified `jasmine`.
PR Close #48521
2022-12-19 19:50:44 +00:00
Kristiyan Kostadinov
dd42974b07
feat(core): support TypeScript 4.9 ( #48005 )
...
Updates to TypeScript 4.9 and resolves some of the errors and deprecation warnings that showed up as a result.
PR Close #48005
2022-12-06 10:45:33 -08:00
Angular Robot
30177a41f9
build: update dependency google-closure-compiler to v20221102 ( #47992 )
...
See associated pull request for more information.
PR Close #47992
2022-11-08 12:39:21 -08:00
JiaLiPassion
24c93bbd87
release: cut the zone.js-0.12.0 release ( #47895 )
...
PR Close #47895
2022-10-28 02:36:25 -07:00
Angular Robot
370aa345b1
build: update dependency google-closure-compiler to v20221004 ( #47696 )
...
See associated pull request for more information.
PR Close #47696
2022-10-10 16:09:15 +00:00
JiaLiPassion
59aa2c06d1
test(zone.js): update jest test code after upgrade to jest 29.0 ( #47486 )
...
related to https://github.com/angular/angular/pull/47438
After jest 28, `jest-environment-node` and `jest-environment-jsdom` need
to be installed by the user themselves, and the API has some breaking
changes, so this PR fix these issues to make the zone/jest integration
test code work as expected.
PR Close #47486
2022-09-20 18:12:47 +02:00