@angular/core 20.3.5 → 20.3.7
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/api.d.d.ts +1 -1
- package/chrome_dev_tools_performance.d.d.ts +20 -12
- package/discovery.d.d.ts +2 -2
- package/effect.d.d.ts +1 -1
- package/event_dispatcher.d.d.ts +1 -1
- package/fesm2022/attribute.mjs +1 -1
- package/fesm2022/core.mjs +1 -1
- package/fesm2022/debug_node.mjs +8779 -8770
- package/fesm2022/debug_node.mjs.map +1 -1
- package/fesm2022/effect.mjs +1 -1
- package/fesm2022/not_found.mjs +1 -1
- package/fesm2022/primitives/di.mjs +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/resource.mjs +1 -1
- package/fesm2022/root_effect_scheduler.mjs +17 -15
- package/fesm2022/root_effect_scheduler.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/signal.mjs +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/fesm2022/weak_ref.mjs +1 -1
- package/formatter.d.d.ts +1 -1
- package/index.d.ts +4 -4
- package/package.json +2 -2
- package/primitives/di/index.d.ts +1 -1
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/bundles/add-bootstrap-context-to-server-main.cjs +5 -5
- package/schematics/bundles/{apply_import_manager-_3Mx7H7A.cjs → apply_import_manager-uyMcu5_H.cjs} +3 -3
- package/schematics/bundles/cleanup-unused-imports.cjs +5 -5
- package/schematics/bundles/{compiler_host-DXiKJabk.cjs → compiler_host-BUlxIpWP.cjs} +2 -2
- package/schematics/bundles/control-flow-migration.cjs +3 -3
- package/schematics/bundles/document-core.cjs +5 -5
- package/schematics/bundles/imports-CIX-JgAN.cjs +1 -1
- package/schematics/bundles/{index-BDeOF3Gn.cjs → index-Cqmu1RX0.cjs} +110 -64
- package/schematics/bundles/{index-C8BhVtUr.cjs → index-D_ZnW9ls.cjs} +4 -4
- package/schematics/bundles/inject-flags.cjs +5 -5
- package/schematics/bundles/inject-migration.cjs +3 -3
- package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
- package/schematics/bundles/{migrate_ts_type_references-BlSjvHVC.cjs → migrate_ts_type_references-BhSLr3ZT.cjs} +5 -5
- package/schematics/bundles/ng_decorators-B5HCqr20.cjs +1 -1
- package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +6 -6
- package/schematics/bundles/{project_paths-C8LDPZ5A.cjs → project_paths-C69HW-da.cjs} +3 -3
- package/schematics/bundles/{project_tsconfig_paths-tTmeFlcz.cjs → project_tsconfig_paths-C1bhMy6X.cjs} +4 -4
- package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +3 -3
- package/schematics/bundles/router-current-navigation.cjs +4 -4
- package/schematics/bundles/self-closing-tags-migration.cjs +4 -4
- package/schematics/bundles/signal-input-migration.cjs +7 -7
- package/schematics/bundles/signal-queries-migration.cjs +7 -7
- package/schematics/bundles/signals.cjs +7 -7
- package/schematics/bundles/standalone-migration.cjs +4 -4
- package/schematics/bundles/symbol-VPWguRxr.cjs +1 -1
- package/schematics/bundles/test-bed-get.cjs +4 -4
- package/testing/index.d.ts +1 -1
- package/weak_ref.d.d.ts +1 -1
package/fesm2022/effect.mjs
CHANGED
package/fesm2022/not_found.mjs
CHANGED
package/fesm2022/resource.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.3.
|
|
2
|
+
* @license Angular v20.3.7
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -31,7 +31,7 @@ class Version {
|
|
|
31
31
|
/**
|
|
32
32
|
* @publicApi
|
|
33
33
|
*/
|
|
34
|
-
const VERSION = /* @__PURE__ */ new Version('20.3.
|
|
34
|
+
const VERSION = /* @__PURE__ */ new Version('20.3.7');
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* Base URL for the error details page.
|
|
@@ -3546,6 +3546,8 @@ const DOCUMENT = new InjectionToken(ngDevMode ? 'DocumentToken' : '');
|
|
|
3546
3546
|
* is injected in a component or directive, the callbacks run when that component or
|
|
3547
3547
|
* directive is destroyed. Otherwise the callbacks run when a corresponding injector is destroyed.
|
|
3548
3548
|
*
|
|
3549
|
+
* @see [Lifecycle DestroyRef](guide/components/lifecycle#destroyref)
|
|
3550
|
+
*
|
|
3549
3551
|
* @publicApi
|
|
3550
3552
|
*/
|
|
3551
3553
|
class DestroyRef {
|
|
@@ -3757,19 +3759,6 @@ function isWritableSignal(value) {
|
|
|
3757
3759
|
return isSignal(value) && typeof value.set === 'function';
|
|
3758
3760
|
}
|
|
3759
3761
|
|
|
3760
|
-
/**
|
|
3761
|
-
* Injectable that is notified when an `LView` is made aware of changes to application state.
|
|
3762
|
-
*/
|
|
3763
|
-
class ChangeDetectionScheduler {
|
|
3764
|
-
}
|
|
3765
|
-
/** Token used to indicate if zoneless was enabled via provideZonelessChangeDetection(). */
|
|
3766
|
-
const ZONELESS_ENABLED = new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'Zoneless enabled' : '', { providedIn: 'root', factory: () => false });
|
|
3767
|
-
/** Token used to indicate `provideZonelessChangeDetection` was used. */
|
|
3768
|
-
const PROVIDED_ZONELESS = new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'Zoneless provided' : '', { providedIn: 'root', factory: () => false });
|
|
3769
|
-
const ZONELESS_SCHEDULER_DISABLED = new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'scheduler disabled' : '');
|
|
3770
|
-
// TODO(atscott): Remove in v19. Scheduler should be done with runOutsideAngular.
|
|
3771
|
-
const SCHEDULE_IN_ROOT_ZONE = new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'run changes outside zone in root' : '');
|
|
3772
|
-
|
|
3773
3762
|
/**
|
|
3774
3763
|
* Asserts that the current stack frame is not within a reactive context. Useful
|
|
3775
3764
|
* to disallow certain code from running inside a reactive context (see {@link /api/core/rxjs-interop/toSignal toSignal})
|
|
@@ -3804,6 +3793,19 @@ function injectViewContext() {
|
|
|
3804
3793
|
return new ViewContext(getLView(), getCurrentTNode());
|
|
3805
3794
|
}
|
|
3806
3795
|
|
|
3796
|
+
/**
|
|
3797
|
+
* Injectable that is notified when an `LView` is made aware of changes to application state.
|
|
3798
|
+
*/
|
|
3799
|
+
class ChangeDetectionScheduler {
|
|
3800
|
+
}
|
|
3801
|
+
/** Token used to indicate if zoneless was enabled via provideZonelessChangeDetection(). */
|
|
3802
|
+
const ZONELESS_ENABLED = new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'Zoneless enabled' : '', { providedIn: 'root', factory: () => false });
|
|
3803
|
+
/** Token used to indicate `provideZonelessChangeDetection` was used. */
|
|
3804
|
+
const PROVIDED_ZONELESS = new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'Zoneless provided' : '', { providedIn: 'root', factory: () => false });
|
|
3805
|
+
const ZONELESS_SCHEDULER_DISABLED = new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'scheduler disabled' : '');
|
|
3806
|
+
// TODO(atscott): Remove in v19. Scheduler should be done with runOutsideAngular.
|
|
3807
|
+
const SCHEDULE_IN_ROOT_ZONE = new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'run changes outside zone in root' : '');
|
|
3808
|
+
|
|
3807
3809
|
/**
|
|
3808
3810
|
* Internal implementation of the pending tasks service.
|
|
3809
3811
|
*/
|