@angular/core 20.3.16 → 20.3.17
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/effect.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 +1 -1
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/debug_node.mjs +24 -6
- package/fesm2022/debug_node.mjs.map +1 -1
- package/fesm2022/effect.mjs +1 -1
- package/fesm2022/effect.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 +2 -2
- 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/weak_ref.mjs +1 -1
- package/fesm2022/weak_ref.mjs.map +1 -1
- package/formatter.d.d.ts +1 -1
- package/index.d.ts +1 -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/add-bootstrap-context-to-server-main.cjs +1 -1
- package/schematics/bundles/apply_import_manager-C-hIllzM.cjs +1 -1
- package/schematics/bundles/cleanup-unused-imports.cjs +1 -1
- package/schematics/bundles/compiler_host-C7zi7NDP.cjs +1 -1
- package/schematics/bundles/control-flow-migration.cjs +1 -1
- package/schematics/bundles/document-core.cjs +1 -1
- package/schematics/bundles/imports-CIX-JgAN.cjs +1 -1
- package/schematics/bundles/index-BdbAclL_.cjs +1 -1
- package/schematics/bundles/index-CEqacA4Q.cjs +11 -11
- package/schematics/bundles/inject-flags.cjs +1 -1
- package/schematics/bundles/inject-migration.cjs +1 -1
- package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
- package/schematics/bundles/migrate_ts_type_references-BJnim1Tm.cjs +1 -1
- package/schematics/bundles/ng_decorators-B5HCqr20.cjs +1 -1
- package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +1 -1
- package/schematics/bundles/project_paths-qw-vHpyb.cjs +1 -1
- package/schematics/bundles/project_tsconfig_paths-C5dXM8JP.cjs +2 -2
- package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +1 -1
- package/schematics/bundles/router-current-navigation.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-VPWguRxr.cjs +1 -1
- package/schematics/bundles/test-bed-get.cjs +1 -1
- package/testing/index.d.ts +1 -1
- package/weak_ref.d.d.ts +1 -1
package/fesm2022/debug_node.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.3.
|
|
2
|
+
* @license Angular v20.3.17
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -14720,7 +14720,7 @@ class ComponentFactory extends ComponentFactory$1 {
|
|
|
14720
14720
|
}
|
|
14721
14721
|
function createRootTView(rootSelectorOrNode, componentDef, componentBindings, directives) {
|
|
14722
14722
|
const tAttributes = rootSelectorOrNode
|
|
14723
|
-
? ['ng-version', '20.3.
|
|
14723
|
+
? ['ng-version', '20.3.17']
|
|
14724
14724
|
: // Extract attributes and classes from the first selector only to match VE behavior.
|
|
14725
14725
|
extractAttrsAndClassesFromSelector(componentDef.selectors[0]);
|
|
14726
14726
|
let creationBindings = null;
|
|
@@ -25243,7 +25243,6 @@ function walkIcuTree(ast, tView, tIcu, lView, sharedUpdateOpCodes, create, remov
|
|
|
25243
25243
|
const attr = elAttrs.item(i);
|
|
25244
25244
|
const lowerAttrName = attr.name.toLowerCase();
|
|
25245
25245
|
const hasBinding = !!attr.value.match(BINDING_REGEXP);
|
|
25246
|
-
// we assume the input string is safe, unless it's using a binding
|
|
25247
25246
|
if (hasBinding) {
|
|
25248
25247
|
if (VALID_ATTRS.hasOwnProperty(lowerAttrName)) {
|
|
25249
25248
|
if (URI_ATTRS[lowerAttrName]) {
|
|
@@ -25260,8 +25259,27 @@ function walkIcuTree(ast, tView, tIcu, lView, sharedUpdateOpCodes, create, remov
|
|
|
25260
25259
|
`(see ${XSS_SECURITY_URL})`);
|
|
25261
25260
|
}
|
|
25262
25261
|
}
|
|
25262
|
+
else if (VALID_ATTRS[lowerAttrName]) {
|
|
25263
|
+
if (URI_ATTRS[lowerAttrName]) {
|
|
25264
|
+
// Don't sanitize, because no value is acceptable in sensitive attributes.
|
|
25265
|
+
// Translators are not allowed to create URIs.
|
|
25266
|
+
if (typeof ngDevMode !== 'undefined' && ngDevMode) {
|
|
25267
|
+
console.warn(`WARNING: ignoring unsafe attribute ` +
|
|
25268
|
+
`${lowerAttrName} on element ${tagName} ` +
|
|
25269
|
+
`(see ${XSS_SECURITY_URL})`);
|
|
25270
|
+
}
|
|
25271
|
+
addCreateAttribute(create, newIndex, attr.name, 'unsafe:blocked');
|
|
25272
|
+
}
|
|
25273
|
+
else {
|
|
25274
|
+
addCreateAttribute(create, newIndex, attr.name, attr.value);
|
|
25275
|
+
}
|
|
25276
|
+
}
|
|
25263
25277
|
else {
|
|
25264
|
-
|
|
25278
|
+
if (typeof ngDevMode !== 'undefined' && ngDevMode) {
|
|
25279
|
+
console.warn(`WARNING: ignoring unknown attribute name ` +
|
|
25280
|
+
`${lowerAttrName} on element ${tagName} ` +
|
|
25281
|
+
`(see ${XSS_SECURITY_URL})`);
|
|
25282
|
+
}
|
|
25265
25283
|
}
|
|
25266
25284
|
}
|
|
25267
25285
|
const elementNode = {
|
|
@@ -25330,8 +25348,8 @@ function addCreateNodeAndAppend(create, marker, text, appendToParentIdx, createA
|
|
|
25330
25348
|
}
|
|
25331
25349
|
create.push(text, createAtIdx, icuCreateOpCode(0 /* IcuCreateOpCode.AppendChild */, appendToParentIdx, createAtIdx));
|
|
25332
25350
|
}
|
|
25333
|
-
function addCreateAttribute(create, newIndex,
|
|
25334
|
-
create.push((newIndex << 1 /* IcuCreateOpCode.SHIFT_REF */) | 1 /* IcuCreateOpCode.Attr */,
|
|
25351
|
+
function addCreateAttribute(create, newIndex, attrName, attrValue) {
|
|
25352
|
+
create.push((newIndex << 1 /* IcuCreateOpCode.SHIFT_REF */) | 1 /* IcuCreateOpCode.Attr */, attrName, attrValue);
|
|
25335
25353
|
}
|
|
25336
25354
|
|
|
25337
25355
|
// i18nPostprocess consts
|