@angular/compiler 14.2.1 → 14.2.2
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/esm2020/src/render3/partial/class_metadata.mjs +1 -1
- package/esm2020/src/render3/partial/directive.mjs +1 -1
- package/esm2020/src/render3/partial/factory.mjs +1 -1
- package/esm2020/src/render3/partial/injectable.mjs +1 -1
- package/esm2020/src/render3/partial/injector.mjs +1 -1
- package/esm2020/src/render3/partial/ng_module.mjs +1 -1
- package/esm2020/src/render3/partial/pipe.mjs +1 -1
- package/esm2020/src/schema/dom_security_schema.mjs +19 -5
- package/esm2020/src/version.mjs +1 -1
- package/fesm2015/compiler.mjs +27 -13
- package/fesm2015/compiler.mjs.map +1 -1
- package/fesm2015/testing.mjs +1 -1
- package/fesm2020/compiler.mjs +27 -13
- package/fesm2020/compiler.mjs.map +1 -1
- package/fesm2020/testing.mjs +1 -1
- package/index.d.ts +1 -1
- package/package.json +2 -2
- package/testing/index.d.ts +1 -1
package/fesm2015/testing.mjs
CHANGED
package/fesm2020/compiler.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.2.
|
|
2
|
+
* @license Angular v14.2.2
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -14525,10 +14525,24 @@ function SECURITY_SCHEMA() {
|
|
|
14525
14525
|
registerContext(SecurityContext.STYLE, ['*|style']);
|
|
14526
14526
|
// NB: no SCRIPT contexts here, they are never allowed due to the parser stripping them.
|
|
14527
14527
|
registerContext(SecurityContext.URL, [
|
|
14528
|
-
'*|formAction',
|
|
14529
|
-
'
|
|
14530
|
-
'
|
|
14531
|
-
'
|
|
14528
|
+
'*|formAction',
|
|
14529
|
+
'area|href',
|
|
14530
|
+
'area|ping',
|
|
14531
|
+
'audio|src',
|
|
14532
|
+
'a|href',
|
|
14533
|
+
'a|ping',
|
|
14534
|
+
'blockquote|cite',
|
|
14535
|
+
'body|background',
|
|
14536
|
+
'del|cite',
|
|
14537
|
+
'form|action',
|
|
14538
|
+
'img|src',
|
|
14539
|
+
'input|src',
|
|
14540
|
+
'ins|cite',
|
|
14541
|
+
'q|cite',
|
|
14542
|
+
'source|src',
|
|
14543
|
+
'track|src',
|
|
14544
|
+
'video|poster',
|
|
14545
|
+
'video|src',
|
|
14532
14546
|
]);
|
|
14533
14547
|
registerContext(SecurityContext.RESOURCE_URL, [
|
|
14534
14548
|
'applet|code',
|
|
@@ -19904,7 +19918,7 @@ function publishFacade(global) {
|
|
|
19904
19918
|
* Use of this source code is governed by an MIT-style license that can be
|
|
19905
19919
|
* found in the LICENSE file at https://angular.io/license
|
|
19906
19920
|
*/
|
|
19907
|
-
const VERSION = new Version('14.2.
|
|
19921
|
+
const VERSION = new Version('14.2.2');
|
|
19908
19922
|
|
|
19909
19923
|
/**
|
|
19910
19924
|
* @license
|
|
@@ -21937,7 +21951,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$6 = '12.0.0';
|
|
|
21937
21951
|
function compileDeclareClassMetadata(metadata) {
|
|
21938
21952
|
const definitionMap = new DefinitionMap();
|
|
21939
21953
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
|
|
21940
|
-
definitionMap.set('version', literal('14.2.
|
|
21954
|
+
definitionMap.set('version', literal('14.2.2'));
|
|
21941
21955
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
21942
21956
|
definitionMap.set('type', metadata.type);
|
|
21943
21957
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -22054,7 +22068,7 @@ function compileDeclareDirectiveFromMetadata(meta) {
|
|
|
22054
22068
|
function createDirectiveDefinitionMap(meta) {
|
|
22055
22069
|
const definitionMap = new DefinitionMap();
|
|
22056
22070
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
22057
|
-
definitionMap.set('version', literal('14.2.
|
|
22071
|
+
definitionMap.set('version', literal('14.2.2'));
|
|
22058
22072
|
// e.g. `type: MyDirective`
|
|
22059
22073
|
definitionMap.set('type', meta.internalType);
|
|
22060
22074
|
if (meta.isStandalone) {
|
|
@@ -22268,7 +22282,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
22268
22282
|
function compileDeclareFactoryFunction(meta) {
|
|
22269
22283
|
const definitionMap = new DefinitionMap();
|
|
22270
22284
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
22271
|
-
definitionMap.set('version', literal('14.2.
|
|
22285
|
+
definitionMap.set('version', literal('14.2.2'));
|
|
22272
22286
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22273
22287
|
definitionMap.set('type', meta.internalType);
|
|
22274
22288
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -22310,7 +22324,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
22310
22324
|
function createInjectableDefinitionMap(meta) {
|
|
22311
22325
|
const definitionMap = new DefinitionMap();
|
|
22312
22326
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
22313
|
-
definitionMap.set('version', literal('14.2.
|
|
22327
|
+
definitionMap.set('version', literal('14.2.2'));
|
|
22314
22328
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22315
22329
|
definitionMap.set('type', meta.internalType);
|
|
22316
22330
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -22368,7 +22382,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
22368
22382
|
function createInjectorDefinitionMap(meta) {
|
|
22369
22383
|
const definitionMap = new DefinitionMap();
|
|
22370
22384
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
22371
|
-
definitionMap.set('version', literal('14.2.
|
|
22385
|
+
definitionMap.set('version', literal('14.2.2'));
|
|
22372
22386
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22373
22387
|
definitionMap.set('type', meta.internalType);
|
|
22374
22388
|
definitionMap.set('providers', meta.providers);
|
|
@@ -22405,7 +22419,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
|
|
|
22405
22419
|
function createNgModuleDefinitionMap(meta) {
|
|
22406
22420
|
const definitionMap = new DefinitionMap();
|
|
22407
22421
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
22408
|
-
definitionMap.set('version', literal('14.2.
|
|
22422
|
+
definitionMap.set('version', literal('14.2.2'));
|
|
22409
22423
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22410
22424
|
definitionMap.set('type', meta.internalType);
|
|
22411
22425
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -22463,7 +22477,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
22463
22477
|
function createPipeDefinitionMap(meta) {
|
|
22464
22478
|
const definitionMap = new DefinitionMap();
|
|
22465
22479
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
22466
|
-
definitionMap.set('version', literal('14.2.
|
|
22480
|
+
definitionMap.set('version', literal('14.2.2'));
|
|
22467
22481
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22468
22482
|
// e.g. `type: MyPipe`
|
|
22469
22483
|
definitionMap.set('type', meta.internalType);
|