@angular/core 19.2.18 → 19.2.19
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-K56StcHr.d.ts +1 -1
- package/fesm2022/core.mjs +25 -7
- package/fesm2022/core.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/rxjs-interop.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/untracked-BKcld_ew.mjs +1 -1
- package/fesm2022/untracked-BKcld_ew.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/navigation_types.d-fAxd92YV.d.ts +1 -1
- package/package.json +1 -1
- 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-BDckZ-aO.cjs +1 -1
- package/schematics/bundles/change_tracker-EC4_OX_3.cjs +1 -1
- package/schematics/bundles/checker-B7WeiY-n.cjs +2 -2
- package/schematics/bundles/cleanup-unused-imports.cjs +1 -1
- package/schematics/bundles/compiler_host-CAfDJO3W.cjs +1 -1
- package/schematics/bundles/control-flow-migration.cjs +1 -1
- package/schematics/bundles/explicit-standalone-flag.cjs +1 -1
- package/schematics/bundles/imports-CIX-JgAN.cjs +1 -1
- package/schematics/bundles/index-DeAjKhiO.cjs +11 -11
- package/schematics/bundles/index-DyN3x_2s.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-L5PQQLA-.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/pending-tasks.cjs +1 -1
- package/schematics/bundles/project_paths-DIZUxMOI.cjs +1 -1
- package/schematics/bundles/project_tsconfig_paths-CDVxT6Ov.cjs +1 -1
- package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
- package/schematics/bundles/provide-initializer.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.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/testing/index.d.ts +1 -1
- package/weak_ref.d-DWHPG08n.d.ts +1 -1
package/fesm2022/core.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.
|
|
2
|
+
* @license Angular v19.2.19
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -18079,7 +18079,7 @@ class ComponentFactory extends ComponentFactory$1 {
|
|
|
18079
18079
|
const cmpDef = this.componentDef;
|
|
18080
18080
|
ngDevMode && verifyNotAnOrphanComponent(cmpDef);
|
|
18081
18081
|
const tAttributes = rootSelectorOrNode
|
|
18082
|
-
? ['ng-version', '19.2.
|
|
18082
|
+
? ['ng-version', '19.2.19']
|
|
18083
18083
|
: // Extract attributes and classes from the first selector only to match VE behavior.
|
|
18084
18084
|
extractAttrsAndClassesFromSelector(this.componentDef.selectors[0]);
|
|
18085
18085
|
// Create the root view. Uses empty TView and ContentTemplate.
|
|
@@ -29795,7 +29795,6 @@ function walkIcuTree(ast, tView, tIcu, lView, sharedUpdateOpCodes, create, remov
|
|
|
29795
29795
|
const attr = elAttrs.item(i);
|
|
29796
29796
|
const lowerAttrName = attr.name.toLowerCase();
|
|
29797
29797
|
const hasBinding = !!attr.value.match(BINDING_REGEXP);
|
|
29798
|
-
// we assume the input string is safe, unless it's using a binding
|
|
29799
29798
|
if (hasBinding) {
|
|
29800
29799
|
if (VALID_ATTRS.hasOwnProperty(lowerAttrName)) {
|
|
29801
29800
|
if (URI_ATTRS[lowerAttrName]) {
|
|
@@ -29812,8 +29811,27 @@ function walkIcuTree(ast, tView, tIcu, lView, sharedUpdateOpCodes, create, remov
|
|
|
29812
29811
|
`(see ${XSS_SECURITY_URL})`);
|
|
29813
29812
|
}
|
|
29814
29813
|
}
|
|
29814
|
+
else if (VALID_ATTRS[lowerAttrName]) {
|
|
29815
|
+
if (URI_ATTRS[lowerAttrName]) {
|
|
29816
|
+
// Don't sanitize, because no value is acceptable in sensitive attributes.
|
|
29817
|
+
// Translators are not allowed to create URIs.
|
|
29818
|
+
if (typeof ngDevMode !== 'undefined' && ngDevMode) {
|
|
29819
|
+
console.warn(`WARNING: ignoring unsafe attribute ` +
|
|
29820
|
+
`${lowerAttrName} on element ${tagName} ` +
|
|
29821
|
+
`(see ${XSS_SECURITY_URL})`);
|
|
29822
|
+
}
|
|
29823
|
+
addCreateAttribute(create, newIndex, attr.name, 'unsafe:blocked');
|
|
29824
|
+
}
|
|
29825
|
+
else {
|
|
29826
|
+
addCreateAttribute(create, newIndex, attr.name, attr.value);
|
|
29827
|
+
}
|
|
29828
|
+
}
|
|
29815
29829
|
else {
|
|
29816
|
-
|
|
29830
|
+
if (typeof ngDevMode !== 'undefined' && ngDevMode) {
|
|
29831
|
+
console.warn(`WARNING: ignoring unknown attribute name ` +
|
|
29832
|
+
`${lowerAttrName} on element ${tagName} ` +
|
|
29833
|
+
`(see ${XSS_SECURITY_URL})`);
|
|
29834
|
+
}
|
|
29817
29835
|
}
|
|
29818
29836
|
}
|
|
29819
29837
|
const elementNode = {
|
|
@@ -29882,8 +29900,8 @@ function addCreateNodeAndAppend(create, marker, text, appendToParentIdx, createA
|
|
|
29882
29900
|
}
|
|
29883
29901
|
create.push(text, createAtIdx, icuCreateOpCode(0 /* IcuCreateOpCode.AppendChild */, appendToParentIdx, createAtIdx));
|
|
29884
29902
|
}
|
|
29885
|
-
function addCreateAttribute(create, newIndex,
|
|
29886
|
-
create.push((newIndex << 1 /* IcuCreateOpCode.SHIFT_REF */) | 1 /* IcuCreateOpCode.Attr */,
|
|
29903
|
+
function addCreateAttribute(create, newIndex, attrName, attrValue) {
|
|
29904
|
+
create.push((newIndex << 1 /* IcuCreateOpCode.SHIFT_REF */) | 1 /* IcuCreateOpCode.Attr */, attrName, attrValue);
|
|
29887
29905
|
}
|
|
29888
29906
|
|
|
29889
29907
|
// i18nPostprocess consts
|
|
@@ -34786,7 +34804,7 @@ class Version {
|
|
|
34786
34804
|
/**
|
|
34787
34805
|
* @publicApi
|
|
34788
34806
|
*/
|
|
34789
|
-
const VERSION = new Version('19.2.
|
|
34807
|
+
const VERSION = new Version('19.2.19');
|
|
34790
34808
|
|
|
34791
34809
|
/**
|
|
34792
34810
|
* Combination of NgModuleFactory and ComponentFactories.
|