@angular/core 20.1.4 → 20.1.5
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 +1 -1
- package/discovery.d.d.ts +1 -1
- package/event_dispatcher.d.d.ts +1 -1
- package/fesm2022/attribute.mjs +1 -1
- package/fesm2022/attribute.mjs.map +1 -1
- package/fesm2022/core.mjs +2 -2
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/debug_node.mjs +14 -5
- package/fesm2022/debug_node.mjs.map +1 -1
- package/fesm2022/not_found.mjs +1 -1
- package/fesm2022/not_found.mjs.map +1 -1
- package/fesm2022/primitives/di.mjs +1 -1
- package/fesm2022/primitives/di.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/primitives/signals.mjs.map +1 -1
- package/fesm2022/resource.mjs +1 -1
- package/fesm2022/resource.mjs.map +1 -1
- package/fesm2022/root_effect_scheduler.mjs +1 -1
- package/fesm2022/root_effect_scheduler.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/signal.mjs +1 -1
- package/fesm2022/signal.mjs.map +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/untracked.mjs +1 -1
- package/fesm2022/untracked.mjs.map +1 -1
- package/fesm2022/weak_ref.mjs +1 -1
- package/fesm2022/weak_ref.mjs.map +1 -1
- package/graph.d.d.ts +1 -1
- package/index.d.ts +3 -1
- 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/{apply_import_manager-BwG_XNz3.cjs → apply_import_manager-BeiseOfz.cjs} +4 -4
- package/schematics/bundles/cleanup-unused-imports.cjs +7 -8
- package/schematics/bundles/{compiler_host-BouiutKy.cjs → compiler_host-CIkS8EIQ.cjs} +3 -3
- package/schematics/bundles/control-flow-migration.cjs +18 -19
- package/schematics/bundles/document-core.cjs +6 -7
- package/schematics/bundles/imports-CIX-JgAN.cjs +1 -1
- package/schematics/bundles/{index-C7alPIzS.cjs → index-CuCkSYir.cjs} +1254 -1246
- package/schematics/bundles/{index-C4RI5-xz.cjs → index-Dek52tJB.cjs} +49 -49
- package/schematics/bundles/inject-flags.cjs +6 -7
- package/schematics/bundles/inject-migration.cjs +6 -7
- package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
- package/schematics/bundles/{migrate_ts_type_references-BXdun0jT.cjs → migrate_ts_type_references-MVe5vYII.cjs} +14 -14
- package/schematics/bundles/ng_decorators-B5HCqr20.cjs +1 -1
- package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +20 -21
- package/schematics/bundles/{project_paths-KZ5syi8v.cjs → project_paths-BKtwr3ir.cjs} +16 -17
- package/schematics/bundles/{checker-B1MkHERe.cjs → project_tsconfig_paths-DA1eve-D.cjs} +139 -24
- package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +6 -7
- package/schematics/bundles/self-closing-tags-migration.cjs +10 -11
- package/schematics/bundles/signal-input-migration.cjs +21 -22
- package/schematics/bundles/signal-queries-migration.cjs +31 -32
- package/schematics/bundles/signals.cjs +8 -9
- package/schematics/bundles/standalone-migration.cjs +10 -11
- package/schematics/bundles/symbol-VPWguRxr.cjs +1 -1
- package/schematics/bundles/test-bed-get.cjs +4 -5
- package/signal.d.d.ts +1 -1
- package/testing/index.d.ts +1 -1
- package/weak_ref.d.d.ts +1 -1
- package/schematics/bundles/project_tsconfig_paths-CDVxT6Ov.cjs +0 -90
package/fesm2022/debug_node.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.1.
|
|
2
|
+
* @license Angular v20.1.5
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -13502,7 +13502,7 @@ class ComponentFactory extends ComponentFactory$1 {
|
|
|
13502
13502
|
}
|
|
13503
13503
|
function createRootTView(rootSelectorOrNode, componentDef, componentBindings, directives) {
|
|
13504
13504
|
const tAttributes = rootSelectorOrNode
|
|
13505
|
-
? ['ng-version', '20.1.
|
|
13505
|
+
? ['ng-version', '20.1.5']
|
|
13506
13506
|
: // Extract attributes and classes from the first selector only to match VE behavior.
|
|
13507
13507
|
extractAttrsAndClassesFromSelector(componentDef.selectors[0]);
|
|
13508
13508
|
let creationBindings = null;
|
|
@@ -14645,7 +14645,7 @@ function resolveComponentResources(resourceResolver) {
|
|
|
14645
14645
|
let promise = urlMap.get(url);
|
|
14646
14646
|
if (!promise) {
|
|
14647
14647
|
const resp = resourceResolver(url);
|
|
14648
|
-
urlMap.set(url, (promise = resp.then(unwrapResponse)));
|
|
14648
|
+
urlMap.set(url, (promise = resp.then((res) => unwrapResponse(url, res))));
|
|
14649
14649
|
}
|
|
14650
14650
|
return promise;
|
|
14651
14651
|
}
|
|
@@ -14718,8 +14718,14 @@ function restoreComponentResolutionQueue(queue) {
|
|
|
14718
14718
|
function isComponentResourceResolutionQueueEmpty() {
|
|
14719
14719
|
return componentResourceResolutionQueue.size === 0;
|
|
14720
14720
|
}
|
|
14721
|
-
function unwrapResponse(response) {
|
|
14722
|
-
|
|
14721
|
+
function unwrapResponse(url, response) {
|
|
14722
|
+
if (typeof response === 'string') {
|
|
14723
|
+
return response;
|
|
14724
|
+
}
|
|
14725
|
+
if (response.status !== undefined && response.status !== 200) {
|
|
14726
|
+
return Promise.reject(new RuntimeError(918 /* RuntimeErrorCode.EXTERNAL_RESOURCE_LOADING_FAILED */, ngDevMode && `Could not load resource: ${url}. Response status: ${response.status}`));
|
|
14727
|
+
}
|
|
14728
|
+
return response.text();
|
|
14723
14729
|
}
|
|
14724
14730
|
function componentDefResolved(type) {
|
|
14725
14731
|
componentDefPendingResolution.delete(type);
|
|
@@ -19056,6 +19062,9 @@ function getNodesAndEdgesFromSignalMap(signalMap) {
|
|
|
19056
19062
|
label: consumer.debugName ?? consumer.lView?.[HOST]?.tagName?.toLowerCase?.(),
|
|
19057
19063
|
kind: consumer.kind,
|
|
19058
19064
|
epoch: consumer.version,
|
|
19065
|
+
// The `lView[CONTEXT]` is a reference to an instance of the component's class.
|
|
19066
|
+
// We get the constructor so that `inspect(.constructor)` shows the component class.
|
|
19067
|
+
debuggableFn: consumer.lView?.[CONTEXT]?.constructor,
|
|
19059
19068
|
id,
|
|
19060
19069
|
});
|
|
19061
19070
|
}
|