@angular/compiler 17.2.2 → 17.2.3
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.2.
|
|
22
|
+
definitionMap.set('version', o.literal('17.2.3'));
|
|
23
23
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
24
24
|
definitionMap.set('type', metadata.type);
|
|
25
25
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -28,7 +28,7 @@ export function createDirectiveDefinitionMap(meta) {
|
|
|
28
28
|
const definitionMap = new DefinitionMap();
|
|
29
29
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
30
30
|
definitionMap.set('minVersion', o.literal(minVersion));
|
|
31
|
-
definitionMap.set('version', o.literal('17.2.
|
|
31
|
+
definitionMap.set('version', o.literal('17.2.3'));
|
|
32
32
|
// e.g. `type: MyDirective`
|
|
33
33
|
definitionMap.set('type', meta.type.value);
|
|
34
34
|
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.2.
|
|
24
|
+
definitionMap.set('version', o.literal('17.2.3'));
|
|
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.2.
|
|
37
|
+
definitionMap.set('version', o.literal('17.2.3'));
|
|
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.2.
|
|
32
|
+
definitionMap.set('version', o.literal('17.2.3'));
|
|
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.2.
|
|
36
|
+
definitionMap.set('version', o.literal('17.2.3'));
|
|
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.2.
|
|
35
|
+
definitionMap.set('version', o.literal('17.2.3'));
|
|
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.2.
|
|
14
|
+
export const VERSION = new Version('17.2.3');
|
|
15
15
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBpbGVyL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVIOzs7O0dBSUc7QUFFSCxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sUUFBUSxDQUFDO0FBRS9CLE1BQU0sQ0FBQyxNQUFNLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbi8qKlxuICogQG1vZHVsZVxuICogQGRlc2NyaXB0aW9uXG4gKiBFbnRyeSBwb2ludCBmb3IgYWxsIHB1YmxpYyBBUElzIG9mIHRoZSBjb21waWxlciBwYWNrYWdlLlxuICovXG5cbmltcG9ydCB7VmVyc2lvbn0gZnJvbSAnLi91dGlsJztcblxuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSBuZXcgVmVyc2lvbignMC4wLjAtUExBQ0VIT0xERVInKTtcbiJdfQ==
|
package/fesm2022/compiler.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v17.2.
|
|
2
|
+
* @license Angular v17.2.3
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -32843,7 +32843,7 @@ function publishFacade(global) {
|
|
|
32843
32843
|
* @description
|
|
32844
32844
|
* Entry point for all public APIs of the compiler package.
|
|
32845
32845
|
*/
|
|
32846
|
-
const VERSION = new Version('17.2.
|
|
32846
|
+
const VERSION = new Version('17.2.3');
|
|
32847
32847
|
|
|
32848
32848
|
class CompilerConfig {
|
|
32849
32849
|
constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, preserveWhitespaces, strictInjectionParameters } = {}) {
|
|
@@ -34411,7 +34411,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$5 = '12.0.0';
|
|
|
34411
34411
|
function compileDeclareClassMetadata(metadata) {
|
|
34412
34412
|
const definitionMap = new DefinitionMap();
|
|
34413
34413
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
34414
|
-
definitionMap.set('version', literal('17.2.
|
|
34414
|
+
definitionMap.set('version', literal('17.2.3'));
|
|
34415
34415
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34416
34416
|
definitionMap.set('type', metadata.type);
|
|
34417
34417
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -34507,7 +34507,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
34507
34507
|
const definitionMap = new DefinitionMap();
|
|
34508
34508
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
34509
34509
|
definitionMap.set('minVersion', literal(minVersion));
|
|
34510
|
-
definitionMap.set('version', literal('17.2.
|
|
34510
|
+
definitionMap.set('version', literal('17.2.3'));
|
|
34511
34511
|
// e.g. `type: MyDirective`
|
|
34512
34512
|
definitionMap.set('type', meta.type.value);
|
|
34513
34513
|
if (meta.isStandalone) {
|
|
@@ -34899,7 +34899,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
34899
34899
|
function compileDeclareFactoryFunction(meta) {
|
|
34900
34900
|
const definitionMap = new DefinitionMap();
|
|
34901
34901
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
34902
|
-
definitionMap.set('version', literal('17.2.
|
|
34902
|
+
definitionMap.set('version', literal('17.2.3'));
|
|
34903
34903
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34904
34904
|
definitionMap.set('type', meta.type.value);
|
|
34905
34905
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -34934,7 +34934,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
34934
34934
|
function createInjectableDefinitionMap(meta) {
|
|
34935
34935
|
const definitionMap = new DefinitionMap();
|
|
34936
34936
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
34937
|
-
definitionMap.set('version', literal('17.2.
|
|
34937
|
+
definitionMap.set('version', literal('17.2.3'));
|
|
34938
34938
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34939
34939
|
definitionMap.set('type', meta.type.value);
|
|
34940
34940
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -34985,7 +34985,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
34985
34985
|
function createInjectorDefinitionMap(meta) {
|
|
34986
34986
|
const definitionMap = new DefinitionMap();
|
|
34987
34987
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
34988
|
-
definitionMap.set('version', literal('17.2.
|
|
34988
|
+
definitionMap.set('version', literal('17.2.3'));
|
|
34989
34989
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34990
34990
|
definitionMap.set('type', meta.type.value);
|
|
34991
34991
|
definitionMap.set('providers', meta.providers);
|
|
@@ -35018,7 +35018,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
35018
35018
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
35019
35019
|
}
|
|
35020
35020
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
35021
|
-
definitionMap.set('version', literal('17.2.
|
|
35021
|
+
definitionMap.set('version', literal('17.2.3'));
|
|
35022
35022
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35023
35023
|
definitionMap.set('type', meta.type.value);
|
|
35024
35024
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -35069,7 +35069,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
35069
35069
|
function createPipeDefinitionMap(meta) {
|
|
35070
35070
|
const definitionMap = new DefinitionMap();
|
|
35071
35071
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
35072
|
-
definitionMap.set('version', literal('17.2.
|
|
35072
|
+
definitionMap.set('version', literal('17.2.3'));
|
|
35073
35073
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35074
35074
|
// e.g. `type: MyPipe`
|
|
35075
35075
|
definitionMap.set('type', meta.type.value);
|