@angular/core 21.2.2 → 21.2.3
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/fesm2022/_attribute-chunk.mjs +1 -1
- package/fesm2022/_debug_node-chunk.mjs +6 -11
- package/fesm2022/_debug_node-chunk.mjs.map +1 -1
- package/fesm2022/_effect-chunk.mjs +3 -5
- package/fesm2022/_effect-chunk.mjs.map +1 -1
- package/fesm2022/_effect-chunk2.mjs +6 -5
- package/fesm2022/_effect-chunk2.mjs.map +1 -1
- package/fesm2022/_not_found-chunk.mjs +1 -1
- package/fesm2022/_resource-chunk.mjs +7 -7
- package/fesm2022/_resource-chunk.mjs.map +1 -1
- package/fesm2022/_untracked-chunk.mjs +2 -3
- package/fesm2022/_untracked-chunk.mjs.map +1 -1
- package/fesm2022/_weak_ref-chunk.mjs +1 -1
- package/fesm2022/core.mjs +2 -2
- 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 +1 -1
- package/fesm2022/rxjs-interop.mjs +2 -2
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/package.json +2 -2
- package/schematics/bundles/add-bootstrap-context-to-server-main.cjs +1 -1
- package/schematics/bundles/application-config-core.cjs +1 -1
- package/schematics/bundles/apply_import_manager-CxA_YYgB.cjs +1 -1
- package/schematics/bundles/bootstrap-options-migration.cjs +1 -1
- package/schematics/bundles/cleanup-unused-imports.cjs +1 -1
- package/schematics/bundles/common-to-standalone-migration.cjs +1 -1
- package/schematics/bundles/compiler_host-CY14HvaP.cjs +1 -1
- package/schematics/bundles/control-flow-migration.cjs +1 -1
- package/schematics/bundles/imports-CVmcbVA9.cjs +1 -1
- package/schematics/bundles/index-BtLcQH8g.cjs +1 -1
- package/schematics/bundles/inject-migration.cjs +1 -1
- package/schematics/bundles/leading_space-BTPRV0wu.cjs +1 -1
- package/schematics/bundles/migrate_ts_type_references-MWoZx-Cb.cjs +1 -1
- package/schematics/bundles/ng_component_template-BOuKAnQd.cjs +1 -1
- package/schematics/bundles/ng_decorators-DYy6II6x.cjs +1 -1
- package/schematics/bundles/ngclass-to-class-migration.cjs +1 -1
- package/schematics/bundles/ngstyle-to-style-migration.cjs +1 -1
- package/schematics/bundles/nodes-ZSQ7WZRB.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +1 -1
- package/schematics/bundles/parse_html-C8eKA9px.cjs +1 -1
- package/schematics/bundles/project_paths-D2V-Uh2L.cjs +1 -1
- package/schematics/bundles/project_tsconfig_paths-DkkMibv-.cjs +1 -1
- package/schematics/bundles/property_name-BCpALNpZ.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +1 -1
- package/schematics/bundles/router-current-navigation.cjs +1 -1
- package/schematics/bundles/router-last-successful-navigation.cjs +1 -1
- package/schematics/bundles/router-testing-module-migration.cjs +1 -1
- package/schematics/bundles/self-closing-tags-migration.cjs +1 -1
- package/schematics/bundles/signal-input-migration.cjs +1 -1
- package/schematics/bundles/signal-queries-migration.cjs +1 -1
- package/schematics/bundles/signals.cjs +1 -1
- package/schematics/bundles/standalone-migration.cjs +1 -1
- package/schematics/bundles/symbol-DZeHSR-V.cjs +1 -1
- package/types/_api-chunk.d.ts +1 -1
- package/types/_chrome_dev_tools_performance-chunk.d.ts +3 -2
- package/types/_discovery-chunk.d.ts +38 -8
- package/types/_effect-chunk.d.ts +1 -1
- package/types/_event_dispatcher-chunk.d.ts +1 -1
- package/types/_formatter-chunk.d.ts +1 -1
- package/types/_weak_ref-chunk.d.ts +1 -1
- package/types/core.d.ts +26 -23
- package/types/primitives-di.d.ts +1 -1
- package/types/primitives-event-dispatch.d.ts +1 -1
- package/types/primitives-signals.d.ts +1 -1
- package/types/rxjs-interop.d.ts +2 -1
- package/types/testing.d.ts +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.2.
|
|
2
|
+
* @license Angular v21.2.3
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -8777,7 +8777,7 @@ class ComponentFactory extends ComponentFactory$1 {
|
|
|
8777
8777
|
}
|
|
8778
8778
|
}
|
|
8779
8779
|
function createRootTView(rootSelectorOrNode, componentDef, componentBindings, directives) {
|
|
8780
|
-
const tAttributes = rootSelectorOrNode ? ['ng-version', '21.2.
|
|
8780
|
+
const tAttributes = rootSelectorOrNode ? ['ng-version', '21.2.3'] : extractAttrsAndClassesFromSelector(componentDef.selectors[0]);
|
|
8781
8781
|
let creationBindings = null;
|
|
8782
8782
|
let updateBindings = null;
|
|
8783
8783
|
let varsToAllocate = 0;
|
|
@@ -8914,8 +8914,7 @@ function injectViewContainerRef() {
|
|
|
8914
8914
|
const previousTNode = getCurrentTNode();
|
|
8915
8915
|
return createContainerRef(previousTNode, getLView());
|
|
8916
8916
|
}
|
|
8917
|
-
|
|
8918
|
-
const R3ViewContainerRef = class ViewContainerRef extends VE_ViewContainerRef {
|
|
8917
|
+
class R3ViewContainerRef extends ViewContainerRef {
|
|
8919
8918
|
_lContainer;
|
|
8920
8919
|
_hostTNode;
|
|
8921
8920
|
_hostLView;
|
|
@@ -9069,7 +9068,7 @@ const R3ViewContainerRef = class ViewContainerRef extends VE_ViewContainerRef {
|
|
|
9069
9068
|
}
|
|
9070
9069
|
return index;
|
|
9071
9070
|
}
|
|
9072
|
-
}
|
|
9071
|
+
}
|
|
9073
9072
|
function getViewRefs(lContainer) {
|
|
9074
9073
|
return lContainer[VIEW_REFS];
|
|
9075
9074
|
}
|
|
@@ -15065,7 +15064,7 @@ function i18nAttributesFirstPass(tView, index, values) {
|
|
|
15065
15064
|
if (ICU_REGEXP.test(message)) {
|
|
15066
15065
|
throw new Error(`ICU expressions are not supported in attributes. Message: "${message}".`);
|
|
15067
15066
|
}
|
|
15068
|
-
generateBindingUpdateOpCodes(updateOpCodes, message, previousElementIndex, attrName, countBindings(updateOpCodes), null);
|
|
15067
|
+
generateBindingUpdateOpCodes(updateOpCodes, message, previousElementIndex, attrName, countBindings(updateOpCodes), URI_ATTRS[attrName.toLowerCase()] ? _sanitizeUrl : null);
|
|
15069
15068
|
}
|
|
15070
15069
|
}
|
|
15071
15070
|
tView.data[index] = updateOpCodes;
|
|
@@ -15297,11 +15296,7 @@ function walkIcuTree(ast, tView, tIcu, lView, sharedUpdateOpCodes, create, remov
|
|
|
15297
15296
|
const hasBinding = !!attr.value.match(BINDING_REGEXP);
|
|
15298
15297
|
if (hasBinding) {
|
|
15299
15298
|
if (VALID_ATTRS.hasOwnProperty(lowerAttrName)) {
|
|
15300
|
-
|
|
15301
|
-
generateBindingUpdateOpCodes(update, attr.value, newIndex, attr.name, 0, _sanitizeUrl);
|
|
15302
|
-
} else {
|
|
15303
|
-
generateBindingUpdateOpCodes(update, attr.value, newIndex, attr.name, 0, null);
|
|
15304
|
-
}
|
|
15299
|
+
generateBindingUpdateOpCodes(update, attr.value, newIndex, attr.name, 0, URI_ATTRS[lowerAttrName] ? _sanitizeUrl : null);
|
|
15305
15300
|
} else {
|
|
15306
15301
|
ngDevMode && console.warn(`WARNING: ignoring unsafe attribute value ` + `${lowerAttrName} on element ${tagName} ` + `(see ${XSS_SECURITY_URL})`);
|
|
15307
15302
|
}
|