@angular/core 19.2.4 → 19.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{event_dispatcher.d-pVP0-wST.d.ts → event_dispatcher.d-DlbccpYq.d.ts} +3 -2
- package/fesm2022/core.mjs +103 -88
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/di.mjs +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/signals.mjs +3 -3
- package/fesm2022/rxjs-interop.mjs +4 -3
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +148 -97
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/{untracked-CS7WUAzb.mjs → untracked-BKcld_ew.mjs} +3 -3
- package/fesm2022/{untracked-CS7WUAzb.mjs.map → untracked-BKcld_ew.mjs.map} +1 -1
- package/index.d.ts +23 -7
- package/{navigation_types.d-DgDrF5rp.d.ts → navigation_types.d-fAxd92YV.d.ts} +3 -2
- package/package.json +1 -1
- package/primitives/di/index.d.ts +3 -2
- package/primitives/event-dispatch/index.d.ts +3 -3
- package/primitives/signals/index.d.ts +5 -4
- package/rxjs-interop/index.d.ts +4 -3
- package/schematics/bundles/{apply_import_manager-BynuozbO.js → apply_import_manager-DFADpdFu.js} +3 -3
- package/schematics/bundles/{checker-DP-zos5Q.js → checker-DoX_7XCa.js} +20 -13
- package/schematics/bundles/cleanup-unused-imports.js +42 -64
- package/schematics/bundles/{compiler_host-DzM2hemp.js → compiler_host-BUKEE1cA.js} +2 -2
- package/schematics/bundles/control-flow-migration.js +3 -3
- package/schematics/bundles/explicit-standalone-flag.js +3 -3
- package/schematics/bundles/imports-CIX-JgAN.js +1 -1
- package/schematics/bundles/{program-BmLi-Vxz.js → index-B4b0V0Vo.js} +52 -26
- package/schematics/bundles/{index-CPpyW--c.js → index-CpZKzrqM.js} +6 -6
- package/schematics/bundles/inject-migration.js +25 -8
- package/schematics/bundles/leading_space-D9nQ8UQC.js +1 -1
- package/schematics/bundles/{migrate_ts_type_references-Ri-K4P_1.js → migrate_ts_type_references-DQVDid4G.js} +5 -5
- package/schematics/bundles/ng_decorators-DznZ5jMl.js +1 -1
- package/schematics/bundles/nodes-B16H9JUd.js +1 -1
- package/schematics/bundles/output-migration.js +115 -81
- package/schematics/bundles/pending-tasks.js +3 -3
- package/schematics/bundles/{project_paths-CXXqWSoY.js → project_paths-C3etOlgT.js} +88 -13
- package/schematics/bundles/project_tsconfig_paths-CDVxT6Ov.js +1 -1
- package/schematics/bundles/property_name-BBwFuqMe.js +1 -1
- package/schematics/bundles/provide-initializer.js +3 -3
- package/schematics/bundles/route-lazy-loading.js +3 -3
- package/schematics/bundles/self-closing-tags-migration.js +39 -64
- package/schematics/bundles/signal-input-migration.js +64 -87
- package/schematics/bundles/signal-queries-migration.js +82 -93
- package/schematics/bundles/signals.js +11 -11
- package/schematics/bundles/standalone-migration.js +5 -6
- package/testing/index.d.ts +7 -22
- package/{weak_ref.d-Bp6cSy-X.d.ts → weak_ref.d-DWHPG08n.d.ts} +3 -2
- package/schematics/bundles/index-BPqwMr5d.js +0 -30
package/testing/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.
|
|
2
|
+
* @license Angular v19.2.6
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import { ɵDeferBlockDetails as _DeferBlockDetails, ɵDeferBlockState as _DeferBlockState, ComponentRef, DebugElement, ElementRef, ChangeDetectorRef, NgZone, SchemaMetadata, ɵDeferBlockBehavior as _DeferBlockBehavior, InjectionToken, PlatformRef, Type, ProviderToken, InjectOptions, InjectFlags, NgModule, Component, Directive, Pipe } from '@angular/core';
|
|
8
8
|
export { ɵDeferBlockBehavior as DeferBlockBehavior, ɵDeferBlockState as DeferBlockState } from '@angular/core';
|
|
9
|
-
import {
|
|
9
|
+
import { Navigation, NavigationHistoryEntry, NavigationNavigateOptions, NavigationResult, NavigationOptions, NavigateEvent, NavigationCurrentEntryChangeEvent, NavigationTransition, NavigationUpdateCurrentEntryOptions, NavigationReloadOptions } from '../navigation_types.d-fAxd92YV.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Wraps a test function in an asynchronous test zone. The test will automatically
|
|
@@ -626,27 +626,11 @@ declare class FakeNavigation implements Navigation {
|
|
|
626
626
|
dispose(): void;
|
|
627
627
|
/** Returns whether this fake is disposed. */
|
|
628
628
|
isDisposed(): boolean;
|
|
629
|
-
/** Implementation for all navigations and traversals. */
|
|
630
|
-
private userAgentNavigate;
|
|
631
629
|
/**
|
|
632
|
-
* Implementation for
|
|
633
|
-
*
|
|
634
|
-
* https://whatpr.org/html/10919/nav-history-apis.html#update-the-navigation-api-entries-for-a-same-document-navigation
|
|
630
|
+
* Implementation for all navigations and traversals.
|
|
631
|
+
* @returns true if the event was intercepted, otherwise false
|
|
635
632
|
*/
|
|
636
|
-
private
|
|
637
|
-
/**
|
|
638
|
-
* Implementation for a traverse navigation.
|
|
639
|
-
*
|
|
640
|
-
* https://whatpr.org/html/10919/browsing-the-web.html#apply-the-traverse-history-step
|
|
641
|
-
* ...
|
|
642
|
-
* > Let updateDocument be an algorithm step which performs update document for history step application given targetEntry's document, targetEntry, changingNavigableContinuation's update-only, scriptHistoryLength, scriptHistoryIndex, navigationType, entriesForNavigationAPI, and previousEntry.
|
|
643
|
-
* > If targetEntry's document is equal to displayedDocument, then perform updateDocument.
|
|
644
|
-
* https://whatpr.org/html/10919/browsing-the-web.html#update-document-for-history-step-application
|
|
645
|
-
* which then goes to https://whatpr.org/html/10919/nav-history-apis.html#update-the-navigation-api-entries-for-a-same-document-navigation
|
|
646
|
-
*/
|
|
647
|
-
private userAgentTraverse;
|
|
648
|
-
/** https://whatpr.org/html/10919/nav-history-apis.html#update-the-navigation-api-entries-for-a-same-document-navigation */
|
|
649
|
-
private updateNavigationEntriesForSameDocumentNavigation;
|
|
633
|
+
private userAgentNavigate;
|
|
650
634
|
/** Utility method for finding entries with the given `key`. */
|
|
651
635
|
private findEntry;
|
|
652
636
|
set onnavigate(_handler: ((this: Navigation, ev: NavigateEvent) => any) | null);
|
|
@@ -702,4 +686,5 @@ declare class FakeNavigationHistoryEntry implements NavigationHistoryEntry {
|
|
|
702
686
|
dispose(): void;
|
|
703
687
|
}
|
|
704
688
|
|
|
705
|
-
export { ComponentFixture, ComponentFixtureAutoDetect, ComponentFixtureNoNgZone, DeferBlockFixture, InjectSetupWrapper,
|
|
689
|
+
export { ComponentFixture, ComponentFixtureAutoDetect, ComponentFixtureNoNgZone, DeferBlockFixture, InjectSetupWrapper, TestBed, TestComponentRenderer, __core_private_testing_placeholder__, discardPeriodicTasks, fakeAsync, flush, flushMicrotasks, getTestBed, inject, resetFakeAsyncZone, tick, waitForAsync, withModule, FakeNavigation as ɵFakeNavigation, MetadataOverrider as ɵMetadataOverrider };
|
|
690
|
+
export type { MetadataOverride, ModuleTeardownOptions, TestBedStatic, TestEnvironmentOptions, TestModuleMetadata };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.
|
|
2
|
+
* @license Angular v19.2.6
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -210,4 +210,5 @@ declare const SIGNAL_NODE: SignalNode<unknown>;
|
|
|
210
210
|
|
|
211
211
|
declare function setAlternateWeakRefImpl(impl: unknown): void;
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { REACTIVE_NODE, SIGNAL, SIGNAL_NODE, consumerAfterComputation, consumerBeforeComputation, consumerDestroy, consumerMarkDirty, consumerPollProducersForChange, createSignal, defaultEquals, getActiveConsumer, isInNotificationPhase, isReactive, producerAccessed, producerIncrementEpoch, producerMarkClean, producerNotifyConsumers, producerUpdateValueVersion, producerUpdatesAllowed, runPostSignalSetFn, setActiveConsumer, setAlternateWeakRefImpl, setPostSignalSetFn, signalSetFn, signalUpdateFn };
|
|
214
|
+
export type { Reactive, ReactiveNode, SignalGetter, SignalNode, ValueEqualityFn };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
/**
|
|
3
|
-
* @license Angular v19.2.4
|
|
4
|
-
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
|
-
* License: MIT
|
|
6
|
-
*/
|
|
7
|
-
'use strict';
|
|
8
|
-
|
|
9
|
-
require('os');
|
|
10
|
-
require('typescript');
|
|
11
|
-
var checker = require('./checker-DP-zos5Q.js');
|
|
12
|
-
require('./program-BmLi-Vxz.js');
|
|
13
|
-
require('path');
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* @module
|
|
17
|
-
* @description
|
|
18
|
-
* Entry point for all public APIs of the compiler-cli package.
|
|
19
|
-
*/
|
|
20
|
-
new checker.Version('19.2.4');
|
|
21
|
-
|
|
22
|
-
var LogLevel;
|
|
23
|
-
(function (LogLevel) {
|
|
24
|
-
LogLevel[LogLevel["debug"] = 0] = "debug";
|
|
25
|
-
LogLevel[LogLevel["info"] = 1] = "info";
|
|
26
|
-
LogLevel[LogLevel["warn"] = 2] = "warn";
|
|
27
|
-
LogLevel[LogLevel["error"] = 3] = "error";
|
|
28
|
-
})(LogLevel || (LogLevel = {}));
|
|
29
|
-
|
|
30
|
-
checker.setFileSystem(new checker.NodeJSFileSystem());
|