@angular/compiler 15.0.0-next.1 → 15.0.0-next.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 v15.0.0-next.
|
|
2
|
+
* @license Angular v15.0.0-next.2
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -14526,10 +14526,24 @@ function SECURITY_SCHEMA() {
|
|
|
14526
14526
|
registerContext(SecurityContext.STYLE, ['*|style']);
|
|
14527
14527
|
// NB: no SCRIPT contexts here, they are never allowed due to the parser stripping them.
|
|
14528
14528
|
registerContext(SecurityContext.URL, [
|
|
14529
|
-
'*|formAction',
|
|
14530
|
-
'
|
|
14531
|
-
'
|
|
14532
|
-
'
|
|
14529
|
+
'*|formAction',
|
|
14530
|
+
'area|href',
|
|
14531
|
+
'area|ping',
|
|
14532
|
+
'audio|src',
|
|
14533
|
+
'a|href',
|
|
14534
|
+
'a|ping',
|
|
14535
|
+
'blockquote|cite',
|
|
14536
|
+
'body|background',
|
|
14537
|
+
'del|cite',
|
|
14538
|
+
'form|action',
|
|
14539
|
+
'img|src',
|
|
14540
|
+
'input|src',
|
|
14541
|
+
'ins|cite',
|
|
14542
|
+
'q|cite',
|
|
14543
|
+
'source|src',
|
|
14544
|
+
'track|src',
|
|
14545
|
+
'video|poster',
|
|
14546
|
+
'video|src',
|
|
14533
14547
|
]);
|
|
14534
14548
|
registerContext(SecurityContext.RESOURCE_URL, [
|
|
14535
14549
|
'applet|code',
|
|
@@ -19994,7 +20008,7 @@ function publishFacade(global) {
|
|
|
19994
20008
|
* Use of this source code is governed by an MIT-style license that can be
|
|
19995
20009
|
* found in the LICENSE file at https://angular.io/license
|
|
19996
20010
|
*/
|
|
19997
|
-
const VERSION = new Version('15.0.0-next.
|
|
20011
|
+
const VERSION = new Version('15.0.0-next.2');
|
|
19998
20012
|
|
|
19999
20013
|
/**
|
|
20000
20014
|
* @license
|
|
@@ -22027,7 +22041,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$6 = '12.0.0';
|
|
|
22027
22041
|
function compileDeclareClassMetadata(metadata) {
|
|
22028
22042
|
const definitionMap = new DefinitionMap();
|
|
22029
22043
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
|
|
22030
|
-
definitionMap.set('version', literal('15.0.0-next.
|
|
22044
|
+
definitionMap.set('version', literal('15.0.0-next.2'));
|
|
22031
22045
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22032
22046
|
definitionMap.set('type', metadata.type);
|
|
22033
22047
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -22144,7 +22158,7 @@ function compileDeclareDirectiveFromMetadata(meta) {
|
|
|
22144
22158
|
function createDirectiveDefinitionMap(meta) {
|
|
22145
22159
|
const definitionMap = new DefinitionMap();
|
|
22146
22160
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
22147
|
-
definitionMap.set('version', literal('15.0.0-next.
|
|
22161
|
+
definitionMap.set('version', literal('15.0.0-next.2'));
|
|
22148
22162
|
// e.g. `type: MyDirective`
|
|
22149
22163
|
definitionMap.set('type', meta.internalType);
|
|
22150
22164
|
if (meta.isStandalone) {
|
|
@@ -22383,7 +22397,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
22383
22397
|
function compileDeclareFactoryFunction(meta) {
|
|
22384
22398
|
const definitionMap = new DefinitionMap();
|
|
22385
22399
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
22386
|
-
definitionMap.set('version', literal('15.0.0-next.
|
|
22400
|
+
definitionMap.set('version', literal('15.0.0-next.2'));
|
|
22387
22401
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22388
22402
|
definitionMap.set('type', meta.internalType);
|
|
22389
22403
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -22425,7 +22439,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
22425
22439
|
function createInjectableDefinitionMap(meta) {
|
|
22426
22440
|
const definitionMap = new DefinitionMap();
|
|
22427
22441
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
22428
|
-
definitionMap.set('version', literal('15.0.0-next.
|
|
22442
|
+
definitionMap.set('version', literal('15.0.0-next.2'));
|
|
22429
22443
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22430
22444
|
definitionMap.set('type', meta.internalType);
|
|
22431
22445
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -22483,7 +22497,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
22483
22497
|
function createInjectorDefinitionMap(meta) {
|
|
22484
22498
|
const definitionMap = new DefinitionMap();
|
|
22485
22499
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
22486
|
-
definitionMap.set('version', literal('15.0.0-next.
|
|
22500
|
+
definitionMap.set('version', literal('15.0.0-next.2'));
|
|
22487
22501
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22488
22502
|
definitionMap.set('type', meta.internalType);
|
|
22489
22503
|
definitionMap.set('providers', meta.providers);
|
|
@@ -22520,7 +22534,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
|
|
|
22520
22534
|
function createNgModuleDefinitionMap(meta) {
|
|
22521
22535
|
const definitionMap = new DefinitionMap();
|
|
22522
22536
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
22523
|
-
definitionMap.set('version', literal('15.0.0-next.
|
|
22537
|
+
definitionMap.set('version', literal('15.0.0-next.2'));
|
|
22524
22538
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22525
22539
|
definitionMap.set('type', meta.internalType);
|
|
22526
22540
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -22578,7 +22592,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
22578
22592
|
function createPipeDefinitionMap(meta) {
|
|
22579
22593
|
const definitionMap = new DefinitionMap();
|
|
22580
22594
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
22581
|
-
definitionMap.set('version', literal('15.0.0-next.
|
|
22595
|
+
definitionMap.set('version', literal('15.0.0-next.2'));
|
|
22582
22596
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
22583
22597
|
// e.g. `type: MyPipe`
|
|
22584
22598
|
definitionMap.set('type', meta.internalType);
|