mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: update cross-repo angular dependencies (#58446)
See associated pull request for more information. Closes #57880 as a pr takeover PR Close #58446
This commit is contained in:
committed by
Pawel Kozlowski
parent
89db5f734d
commit
01fcbafa2b
@@ -162,11 +162,11 @@ describe('nodejs EventEmitter', () => {
|
||||
});
|
||||
it('should trigger removeListener when remove listener', () => {
|
||||
zoneA.run(() => {
|
||||
emitter.on('removeListener', function (type: string, handler: any) {
|
||||
zoneResults.push('remove' + type);
|
||||
emitter.on('removeListener', function (type: string | symbol, handler: any) {
|
||||
zoneResults.push('remove' + type.toString());
|
||||
});
|
||||
emitter.on('newListener', function (type: string, handler: any) {
|
||||
zoneResults.push('new' + type);
|
||||
emitter.on('newListener', function (type: string | symbol, handler: any) {
|
||||
zoneResults.push('new' + type.toString());
|
||||
});
|
||||
emitter.on('test', shouldNotRun);
|
||||
emitter.removeListener('test', shouldNotRun);
|
||||
@@ -175,8 +175,8 @@ describe('nodejs EventEmitter', () => {
|
||||
});
|
||||
it('should trigger removeListener when remove all listeners with eventname ', () => {
|
||||
zoneA.run(() => {
|
||||
emitter.on('removeListener', function (type: string, handler: any) {
|
||||
zoneResults.push('remove' + type);
|
||||
emitter.on('removeListener', function (type: string | symbol, handler: any) {
|
||||
zoneResults.push('remove' + type.toString());
|
||||
});
|
||||
emitter.on('test', shouldNotRun);
|
||||
emitter.on('test1', expectZoneA);
|
||||
@@ -187,8 +187,8 @@ describe('nodejs EventEmitter', () => {
|
||||
});
|
||||
it('should trigger removeListener when remove all listeners without eventname', () => {
|
||||
zoneA.run(() => {
|
||||
emitter.on('removeListener', function (type: string, handler: any) {
|
||||
zoneResults.push('remove' + type);
|
||||
emitter.on('removeListener', function (type: string | symbol, handler: any) {
|
||||
zoneResults.push('remove' + type.toString());
|
||||
});
|
||||
emitter.on('test', shouldNotRun);
|
||||
emitter.on('test1', shouldNotRun);
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@types/node": "file:../../../../node_modules/@types/node",
|
||||
"domino": "file:../../../../node_modules/domino",
|
||||
"zone.js": "file:../../../../dist/bin/packages/zone.js/npm_package"
|
||||
},
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"experimentalDecorators": true,
|
||||
"outDir": "./build",
|
||||
"typeRoots": [],
|
||||
"rootDir": ".",
|
||||
"target": "es2020",
|
||||
"module": "Node16",
|
||||
|
||||
@@ -2,21 +2,11 @@
|
||||
# yarn lockfile v1
|
||||
|
||||
|
||||
"@types/node@file:../../../../node_modules/@types/node":
|
||||
version "16.18.96"
|
||||
|
||||
"domino@file:../../../../node_modules/domino":
|
||||
version "2.1.6"
|
||||
|
||||
tslib@^2.3.0:
|
||||
version "2.6.2"
|
||||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae"
|
||||
integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==
|
||||
|
||||
"typescript@file:../../../../node_modules/typescript":
|
||||
version "5.4.2"
|
||||
version "5.6.2"
|
||||
|
||||
"zone.js@file:../../../../dist/bin/packages/zone.js/npm_package":
|
||||
version "0.14.3"
|
||||
dependencies:
|
||||
tslib "^2.3.0"
|
||||
version "0.15.0"
|
||||
|
||||
@@ -1383,9 +1383,7 @@ describe('fake async', () => {
|
||||
|
||||
it('should be able to cancel periodic timers from a callback', fakeAsync(() => {
|
||||
let cycles = 0;
|
||||
let id: NodeJS.Timer;
|
||||
|
||||
id = setInterval(() => {
|
||||
let id = setInterval(() => {
|
||||
cycles++;
|
||||
clearInterval(id);
|
||||
}, 10);
|
||||
|
||||
Reference in New Issue
Block a user