@angular/compiler 17.0.1 → 17.0.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/esm2022/src/render3/partial/class_metadata.mjs +1 -1
- package/esm2022/src/render3/partial/directive.mjs +1 -1
- package/esm2022/src/render3/partial/factory.mjs +1 -1
- package/esm2022/src/render3/partial/injectable.mjs +1 -1
- package/esm2022/src/render3/partial/injector.mjs +1 -1
- package/esm2022/src/render3/partial/ng_module.mjs +1 -1
- package/esm2022/src/render3/partial/pipe.mjs +1 -1
- package/esm2022/src/version.mjs +1 -1
- package/fesm2022/compiler.mjs +9 -9
- package/fesm2022/compiler.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +2 -2
|
@@ -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('17.0.
|
|
22
|
+
definitionMap.set('version', o.literal('17.0.2'));
|
|
23
23
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
24
24
|
definitionMap.set('type', metadata.type);
|
|
25
25
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -40,7 +40,7 @@ export function createDirectiveDefinitionMap(meta) {
|
|
|
40
40
|
// in 16.1 is actually used.
|
|
41
41
|
const minVersion = hasTransformFunctions ? MINIMUM_PARTIAL_LINKER_VERSION : '14.0.0';
|
|
42
42
|
definitionMap.set('minVersion', o.literal(minVersion));
|
|
43
|
-
definitionMap.set('version', o.literal('17.0.
|
|
43
|
+
definitionMap.set('version', o.literal('17.0.2'));
|
|
44
44
|
// e.g. `type: MyDirective`
|
|
45
45
|
definitionMap.set('type', meta.type.value);
|
|
46
46
|
if (meta.isStandalone) {
|
|
@@ -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('17.0.
|
|
24
|
+
definitionMap.set('version', o.literal('17.0.2'));
|
|
25
25
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
26
26
|
definitionMap.set('type', meta.type.value);
|
|
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('17.0.
|
|
37
|
+
definitionMap.set('version', o.literal('17.0.2'));
|
|
38
38
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
39
39
|
definitionMap.set('type', meta.type.value);
|
|
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('17.0.
|
|
32
|
+
definitionMap.set('version', o.literal('17.0.2'));
|
|
33
33
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
34
34
|
definitionMap.set('type', meta.type.value);
|
|
35
35
|
definitionMap.set('providers', meta.providers);
|
|
@@ -33,7 +33,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
33
33
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
34
34
|
}
|
|
35
35
|
definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
36
|
-
definitionMap.set('version', o.literal('17.0.
|
|
36
|
+
definitionMap.set('version', o.literal('17.0.2'));
|
|
37
37
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
38
38
|
definitionMap.set('type', meta.type.value);
|
|
39
39
|
// 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('17.0.
|
|
35
|
+
definitionMap.set('version', o.literal('17.0.2'));
|
|
36
36
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
37
37
|
// e.g. `type: MyPipe`
|
|
38
38
|
definitionMap.set('type', meta.type.value);
|
package/esm2022/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('17.0.
|
|
14
|
+
export const VERSION = new Version('17.0.2');
|
|
15
15
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBpbGVyL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVIOzs7O0dBSUc7QUFFSCxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sUUFBUSxDQUFDO0FBRS9CLE1BQU0sQ0FBQyxNQUFNLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbi8qKlxuICogQG1vZHVsZVxuICogQGRlc2NyaXB0aW9uXG4gKiBFbnRyeSBwb2ludCBmb3IgYWxsIHB1YmxpYyBBUElzIG9mIHRoZSBjb21waWxlciBwYWNrYWdlLlxuICovXG5cbmltcG9ydCB7VmVyc2lvbn0gZnJvbSAnLi91dGlsJztcblxuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSBuZXcgVmVyc2lvbignMC4wLjAtUExBQ0VIT0xERVInKTtcbiJdfQ==
|
package/fesm2022/compiler.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v17.0.
|
|
2
|
+
* @license Angular v17.0.2
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -30971,7 +30971,7 @@ function publishFacade(global) {
|
|
|
30971
30971
|
* @description
|
|
30972
30972
|
* Entry point for all public APIs of the compiler package.
|
|
30973
30973
|
*/
|
|
30974
|
-
const VERSION = new Version('17.0.
|
|
30974
|
+
const VERSION = new Version('17.0.2');
|
|
30975
30975
|
|
|
30976
30976
|
class CompilerConfig {
|
|
30977
30977
|
constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, preserveWhitespaces, strictInjectionParameters } = {}) {
|
|
@@ -32501,7 +32501,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$6 = '12.0.0';
|
|
|
32501
32501
|
function compileDeclareClassMetadata(metadata) {
|
|
32502
32502
|
const definitionMap = new DefinitionMap();
|
|
32503
32503
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
|
|
32504
|
-
definitionMap.set('version', literal('17.0.
|
|
32504
|
+
definitionMap.set('version', literal('17.0.2'));
|
|
32505
32505
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
32506
32506
|
definitionMap.set('type', metadata.type);
|
|
32507
32507
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -32609,7 +32609,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
32609
32609
|
// in 16.1 is actually used.
|
|
32610
32610
|
const minVersion = hasTransformFunctions ? MINIMUM_PARTIAL_LINKER_VERSION$5 : '14.0.0';
|
|
32611
32611
|
definitionMap.set('minVersion', literal(minVersion));
|
|
32612
|
-
definitionMap.set('version', literal('17.0.
|
|
32612
|
+
definitionMap.set('version', literal('17.0.2'));
|
|
32613
32613
|
// e.g. `type: MyDirective`
|
|
32614
32614
|
definitionMap.set('type', meta.type.value);
|
|
32615
32615
|
if (meta.isStandalone) {
|
|
@@ -32886,7 +32886,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
32886
32886
|
function compileDeclareFactoryFunction(meta) {
|
|
32887
32887
|
const definitionMap = new DefinitionMap();
|
|
32888
32888
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
32889
|
-
definitionMap.set('version', literal('17.0.
|
|
32889
|
+
definitionMap.set('version', literal('17.0.2'));
|
|
32890
32890
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
32891
32891
|
definitionMap.set('type', meta.type.value);
|
|
32892
32892
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -32921,7 +32921,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
32921
32921
|
function createInjectableDefinitionMap(meta) {
|
|
32922
32922
|
const definitionMap = new DefinitionMap();
|
|
32923
32923
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
32924
|
-
definitionMap.set('version', literal('17.0.
|
|
32924
|
+
definitionMap.set('version', literal('17.0.2'));
|
|
32925
32925
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
32926
32926
|
definitionMap.set('type', meta.type.value);
|
|
32927
32927
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -32972,7 +32972,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
32972
32972
|
function createInjectorDefinitionMap(meta) {
|
|
32973
32973
|
const definitionMap = new DefinitionMap();
|
|
32974
32974
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
32975
|
-
definitionMap.set('version', literal('17.0.
|
|
32975
|
+
definitionMap.set('version', literal('17.0.2'));
|
|
32976
32976
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
32977
32977
|
definitionMap.set('type', meta.type.value);
|
|
32978
32978
|
definitionMap.set('providers', meta.providers);
|
|
@@ -33005,7 +33005,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
33005
33005
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
33006
33006
|
}
|
|
33007
33007
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
33008
|
-
definitionMap.set('version', literal('17.0.
|
|
33008
|
+
definitionMap.set('version', literal('17.0.2'));
|
|
33009
33009
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
33010
33010
|
definitionMap.set('type', meta.type.value);
|
|
33011
33011
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -33056,7 +33056,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
33056
33056
|
function createPipeDefinitionMap(meta) {
|
|
33057
33057
|
const definitionMap = new DefinitionMap();
|
|
33058
33058
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
33059
|
-
definitionMap.set('version', literal('17.0.
|
|
33059
|
+
definitionMap.set('version', literal('17.0.2'));
|
|
33060
33060
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
33061
33061
|
// e.g. `type: MyPipe`
|
|
33062
33062
|
definitionMap.set('type', meta.type.value);
|