@angular/compiler 13.2.0 → 14.0.0-next.0
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/version.mjs +1 -1
- package/fesm2015/compiler.mjs +9 -9
- package/fesm2015/compiler.mjs.map +1 -1
- package/fesm2015/testing.mjs +1 -1
- package/fesm2020/compiler.mjs +9 -9
- package/fesm2020/compiler.mjs.map +1 -1
- package/fesm2020/testing.mjs +1 -1
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION = '12.0.0';
|
|
|
19
19
|
export function compileDeclareClassMetadata(metadata) {
|
|
20
20
|
const definitionMap = new DefinitionMap();
|
|
21
21
|
definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
22
|
-
definitionMap.set('version', o.literal('
|
|
22
|
+
definitionMap.set('version', o.literal('14.0.0-next.0'));
|
|
23
23
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
24
24
|
definitionMap.set('type', metadata.type);
|
|
25
25
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -35,7 +35,7 @@ export function compileDeclareDirectiveFromMetadata(meta) {
|
|
|
35
35
|
export function createDirectiveDefinitionMap(meta) {
|
|
36
36
|
const definitionMap = new DefinitionMap();
|
|
37
37
|
definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
38
|
-
definitionMap.set('version', o.literal('
|
|
38
|
+
definitionMap.set('version', o.literal('14.0.0-next.0'));
|
|
39
39
|
// e.g. `type: MyDirective`
|
|
40
40
|
definitionMap.set('type', meta.internalType);
|
|
41
41
|
// e.g. `selector: 'some-dir'`
|
|
@@ -21,7 +21,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION = '12.0.0';
|
|
|
21
21
|
export function compileDeclareFactoryFunction(meta) {
|
|
22
22
|
const definitionMap = new DefinitionMap();
|
|
23
23
|
definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
24
|
-
definitionMap.set('version', o.literal('
|
|
24
|
+
definitionMap.set('version', o.literal('14.0.0-next.0'));
|
|
25
25
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
26
26
|
definitionMap.set('type', meta.internalType);
|
|
27
27
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -34,7 +34,7 @@ export function compileDeclareInjectableFromMetadata(meta) {
|
|
|
34
34
|
export function createInjectableDefinitionMap(meta) {
|
|
35
35
|
const definitionMap = new DefinitionMap();
|
|
36
36
|
definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
37
|
-
definitionMap.set('version', o.literal('
|
|
37
|
+
definitionMap.set('version', o.literal('14.0.0-next.0'));
|
|
38
38
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
39
39
|
definitionMap.set('type', meta.internalType);
|
|
40
40
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -29,7 +29,7 @@ export function compileDeclareInjectorFromMetadata(meta) {
|
|
|
29
29
|
function createInjectorDefinitionMap(meta) {
|
|
30
30
|
const definitionMap = new DefinitionMap();
|
|
31
31
|
definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
32
|
-
definitionMap.set('version', o.literal('
|
|
32
|
+
definitionMap.set('version', o.literal('14.0.0-next.0'));
|
|
33
33
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
34
34
|
definitionMap.set('type', meta.internalType);
|
|
35
35
|
definitionMap.set('providers', meta.providers);
|
|
@@ -30,7 +30,7 @@ export function compileDeclareNgModuleFromMetadata(meta) {
|
|
|
30
30
|
function createNgModuleDefinitionMap(meta) {
|
|
31
31
|
const definitionMap = new DefinitionMap();
|
|
32
32
|
definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
33
|
-
definitionMap.set('version', o.literal('
|
|
33
|
+
definitionMap.set('version', o.literal('14.0.0-next.0'));
|
|
34
34
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
35
35
|
definitionMap.set('type', meta.internalType);
|
|
36
36
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -32,7 +32,7 @@ export function compileDeclarePipeFromMetadata(meta) {
|
|
|
32
32
|
export function createPipeDefinitionMap(meta) {
|
|
33
33
|
const definitionMap = new DefinitionMap();
|
|
34
34
|
definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
35
|
-
definitionMap.set('version', o.literal('
|
|
35
|
+
definitionMap.set('version', o.literal('14.0.0-next.0'));
|
|
36
36
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
37
37
|
// e.g. `type: MyPipe`
|
|
38
38
|
definitionMap.set('type', meta.internalType);
|
package/esm2020/src/version.mjs
CHANGED
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
* Entry point for all public APIs of the compiler package.
|
|
12
12
|
*/
|
|
13
13
|
import { Version } from './util';
|
|
14
|
-
export const VERSION = new Version('
|
|
14
|
+
export const VERSION = new Version('14.0.0-next.0');
|
|
15
15
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBpbGVyL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVIOzs7O0dBSUc7QUFFSCxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sUUFBUSxDQUFDO0FBRS9CLE1BQU0sQ0FBQyxNQUFNLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbi8qKlxuICogQG1vZHVsZVxuICogQGRlc2NyaXB0aW9uXG4gKiBFbnRyeSBwb2ludCBmb3IgYWxsIHB1YmxpYyBBUElzIG9mIHRoZSBjb21waWxlciBwYWNrYWdlLlxuICovXG5cbmltcG9ydCB7VmVyc2lvbn0gZnJvbSAnLi91dGlsJztcblxuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSBuZXcgVmVyc2lvbignMC4wLjAtUExBQ0VIT0xERVInKTtcbiJdfQ==
|
package/fesm2015/compiler.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular
|
|
2
|
+
* @license Angular v14.0.0-next.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -19726,7 +19726,7 @@ function publishFacade(global) {
|
|
|
19726
19726
|
* Use of this source code is governed by an MIT-style license that can be
|
|
19727
19727
|
* found in the LICENSE file at https://angular.io/license
|
|
19728
19728
|
*/
|
|
19729
|
-
const VERSION = new Version('
|
|
19729
|
+
const VERSION = new Version('14.0.0-next.0');
|
|
19730
19730
|
|
|
19731
19731
|
/**
|
|
19732
19732
|
* @license
|
|
@@ -21753,7 +21753,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$6 = '12.0.0';
|
|
|
21753
21753
|
function compileDeclareClassMetadata(metadata) {
|
|
21754
21754
|
const definitionMap = new DefinitionMap();
|
|
21755
21755
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
|
|
21756
|
-
definitionMap.set('version', literal('
|
|
21756
|
+
definitionMap.set('version', literal('14.0.0-next.0'));
|
|
21757
21757
|
definitionMap.set('ngImport', importExpr(Identifiers$1.core));
|
|
21758
21758
|
definitionMap.set('type', metadata.type);
|
|
21759
21759
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -21870,7 +21870,7 @@ function compileDeclareDirectiveFromMetadata(meta) {
|
|
|
21870
21870
|
function createDirectiveDefinitionMap(meta) {
|
|
21871
21871
|
const definitionMap = new DefinitionMap();
|
|
21872
21872
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
21873
|
-
definitionMap.set('version', literal('
|
|
21873
|
+
definitionMap.set('version', literal('14.0.0-next.0'));
|
|
21874
21874
|
// e.g. `type: MyDirective`
|
|
21875
21875
|
definitionMap.set('type', meta.internalType);
|
|
21876
21876
|
// e.g. `selector: 'some-dir'`
|
|
@@ -22091,7 +22091,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
22091
22091
|
function compileDeclareFactoryFunction(meta) {
|
|
22092
22092
|
const definitionMap = new DefinitionMap();
|
|
22093
22093
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
22094
|
-
definitionMap.set('version', literal('
|
|
22094
|
+
definitionMap.set('version', literal('14.0.0-next.0'));
|
|
22095
22095
|
definitionMap.set('ngImport', importExpr(Identifiers$1.core));
|
|
22096
22096
|
definitionMap.set('type', meta.internalType);
|
|
22097
22097
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -22133,7 +22133,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
22133
22133
|
function createInjectableDefinitionMap(meta) {
|
|
22134
22134
|
const definitionMap = new DefinitionMap();
|
|
22135
22135
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
22136
|
-
definitionMap.set('version', literal('
|
|
22136
|
+
definitionMap.set('version', literal('14.0.0-next.0'));
|
|
22137
22137
|
definitionMap.set('ngImport', importExpr(Identifiers$1.core));
|
|
22138
22138
|
definitionMap.set('type', meta.internalType);
|
|
22139
22139
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -22191,7 +22191,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
22191
22191
|
function createInjectorDefinitionMap(meta) {
|
|
22192
22192
|
const definitionMap = new DefinitionMap();
|
|
22193
22193
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
22194
|
-
definitionMap.set('version', literal('
|
|
22194
|
+
definitionMap.set('version', literal('14.0.0-next.0'));
|
|
22195
22195
|
definitionMap.set('ngImport', importExpr(Identifiers$1.core));
|
|
22196
22196
|
definitionMap.set('type', meta.internalType);
|
|
22197
22197
|
definitionMap.set('providers', meta.providers);
|
|
@@ -22228,7 +22228,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
|
|
|
22228
22228
|
function createNgModuleDefinitionMap(meta) {
|
|
22229
22229
|
const definitionMap = new DefinitionMap();
|
|
22230
22230
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
22231
|
-
definitionMap.set('version', literal('
|
|
22231
|
+
definitionMap.set('version', literal('14.0.0-next.0'));
|
|
22232
22232
|
definitionMap.set('ngImport', importExpr(Identifiers$1.core));
|
|
22233
22233
|
definitionMap.set('type', meta.internalType);
|
|
22234
22234
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -22286,7 +22286,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
22286
22286
|
function createPipeDefinitionMap(meta) {
|
|
22287
22287
|
const definitionMap = new DefinitionMap();
|
|
22288
22288
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
22289
|
-
definitionMap.set('version', literal('
|
|
22289
|
+
definitionMap.set('version', literal('14.0.0-next.0'));
|
|
22290
22290
|
definitionMap.set('ngImport', importExpr(Identifiers$1.core));
|
|
22291
22291
|
// e.g. `type: MyPipe`
|
|
22292
22292
|
definitionMap.set('type', meta.internalType);
|