@angular/compiler 20.3.15 → 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/fesm2022/compiler.mjs +14 -10
- package/fesm2022/compiler.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
package/fesm2022/compiler.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
|
*/
|
|
@@ -20447,6 +20447,10 @@ function SECURITY_SCHEMA() {
|
|
|
20447
20447
|
'object|codebase',
|
|
20448
20448
|
'object|data',
|
|
20449
20449
|
'script|src',
|
|
20450
|
+
// The below two are for Script SVG
|
|
20451
|
+
// See: https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/href
|
|
20452
|
+
'script|href',
|
|
20453
|
+
'script|xlink:href',
|
|
20450
20454
|
]);
|
|
20451
20455
|
// Keep this in sync with SECURITY_SENSITIVE_ELEMENTS in packages/core/src/sanitization/sanitization.ts
|
|
20452
20456
|
// Unknown is the internal tag name for unknown elements example used for host-bindings.
|
|
@@ -34311,7 +34315,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
34311
34315
|
function compileDeclareClassMetadata(metadata) {
|
|
34312
34316
|
const definitionMap = new DefinitionMap();
|
|
34313
34317
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
34314
|
-
definitionMap.set('version', literal('20.3.
|
|
34318
|
+
definitionMap.set('version', literal('20.3.17'));
|
|
34315
34319
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34316
34320
|
definitionMap.set('type', metadata.type);
|
|
34317
34321
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -34329,7 +34333,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
34329
34333
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
34330
34334
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
34331
34335
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
34332
|
-
definitionMap.set('version', literal('20.3.
|
|
34336
|
+
definitionMap.set('version', literal('20.3.17'));
|
|
34333
34337
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34334
34338
|
definitionMap.set('type', metadata.type);
|
|
34335
34339
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -34424,7 +34428,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
34424
34428
|
const definitionMap = new DefinitionMap();
|
|
34425
34429
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
34426
34430
|
definitionMap.set('minVersion', literal(minVersion));
|
|
34427
|
-
definitionMap.set('version', literal('20.3.
|
|
34431
|
+
definitionMap.set('version', literal('20.3.17'));
|
|
34428
34432
|
// e.g. `type: MyDirective`
|
|
34429
34433
|
definitionMap.set('type', meta.type.value);
|
|
34430
34434
|
if (meta.isStandalone !== undefined) {
|
|
@@ -34840,7 +34844,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
34840
34844
|
function compileDeclareFactoryFunction(meta) {
|
|
34841
34845
|
const definitionMap = new DefinitionMap();
|
|
34842
34846
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
34843
|
-
definitionMap.set('version', literal('20.3.
|
|
34847
|
+
definitionMap.set('version', literal('20.3.17'));
|
|
34844
34848
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34845
34849
|
definitionMap.set('type', meta.type.value);
|
|
34846
34850
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -34875,7 +34879,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
34875
34879
|
function createInjectableDefinitionMap(meta) {
|
|
34876
34880
|
const definitionMap = new DefinitionMap();
|
|
34877
34881
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
34878
|
-
definitionMap.set('version', literal('20.3.
|
|
34882
|
+
definitionMap.set('version', literal('20.3.17'));
|
|
34879
34883
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34880
34884
|
definitionMap.set('type', meta.type.value);
|
|
34881
34885
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -34926,7 +34930,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
34926
34930
|
function createInjectorDefinitionMap(meta) {
|
|
34927
34931
|
const definitionMap = new DefinitionMap();
|
|
34928
34932
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
34929
|
-
definitionMap.set('version', literal('20.3.
|
|
34933
|
+
definitionMap.set('version', literal('20.3.17'));
|
|
34930
34934
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34931
34935
|
definitionMap.set('type', meta.type.value);
|
|
34932
34936
|
definitionMap.set('providers', meta.providers);
|
|
@@ -34959,7 +34963,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
34959
34963
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
34960
34964
|
}
|
|
34961
34965
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
34962
|
-
definitionMap.set('version', literal('20.3.
|
|
34966
|
+
definitionMap.set('version', literal('20.3.17'));
|
|
34963
34967
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34964
34968
|
definitionMap.set('type', meta.type.value);
|
|
34965
34969
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -35010,7 +35014,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
35010
35014
|
function createPipeDefinitionMap(meta) {
|
|
35011
35015
|
const definitionMap = new DefinitionMap();
|
|
35012
35016
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
35013
|
-
definitionMap.set('version', literal('20.3.
|
|
35017
|
+
definitionMap.set('version', literal('20.3.17'));
|
|
35014
35018
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35015
35019
|
// e.g. `type: MyPipe`
|
|
35016
35020
|
definitionMap.set('type', meta.type.value);
|
|
@@ -35166,7 +35170,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
35166
35170
|
* @description
|
|
35167
35171
|
* Entry point for all public APIs of the compiler package.
|
|
35168
35172
|
*/
|
|
35169
|
-
const VERSION = new Version('20.3.
|
|
35173
|
+
const VERSION = new Version('20.3.17');
|
|
35170
35174
|
|
|
35171
35175
|
//////////////////////////////////////
|
|
35172
35176
|
// THIS FILE HAS GLOBAL SIDE EFFECT //
|