@angular/compiler 16.2.8 → 16.2.9
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/fesm2022/testing.mjs +1 -1
- package/index.d.ts +1 -1
- package/package.json +2 -2
- package/testing/index.d.ts +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('16.2.
|
|
22
|
+
definitionMap.set('version', o.literal('16.2.9'));
|
|
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('16.2.
|
|
43
|
+
definitionMap.set('version', o.literal('16.2.9'));
|
|
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('16.2.
|
|
24
|
+
definitionMap.set('version', o.literal('16.2.9'));
|
|
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('16.2.
|
|
37
|
+
definitionMap.set('version', o.literal('16.2.9'));
|
|
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('16.2.
|
|
32
|
+
definitionMap.set('version', o.literal('16.2.9'));
|
|
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('16.2.
|
|
36
|
+
definitionMap.set('version', o.literal('16.2.9'));
|
|
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('16.2.
|
|
35
|
+
definitionMap.set('version', o.literal('16.2.9'));
|
|
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('16.2.
|
|
14
|
+
export const VERSION = new Version('16.2.9');
|
|
15
15
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBpbGVyL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVIOzs7O0dBSUc7QUFFSCxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sUUFBUSxDQUFDO0FBRS9CLE1BQU0sQ0FBQyxNQUFNLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbi8qKlxuICogQG1vZHVsZVxuICogQGRlc2NyaXB0aW9uXG4gKiBFbnRyeSBwb2ludCBmb3IgYWxsIHB1YmxpYyBBUElzIG9mIHRoZSBjb21waWxlciBwYWNrYWdlLlxuICovXG5cbmltcG9ydCB7VmVyc2lvbn0gZnJvbSAnLi91dGlsJztcblxuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSBuZXcgVmVyc2lvbignMC4wLjAtUExBQ0VIT0xERVInKTtcbiJdfQ==
|
package/fesm2022/compiler.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.2.
|
|
2
|
+
* @license Angular v16.2.9
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -26331,7 +26331,7 @@ function publishFacade(global) {
|
|
|
26331
26331
|
* @description
|
|
26332
26332
|
* Entry point for all public APIs of the compiler package.
|
|
26333
26333
|
*/
|
|
26334
|
-
const VERSION = new Version('16.2.
|
|
26334
|
+
const VERSION = new Version('16.2.9');
|
|
26335
26335
|
|
|
26336
26336
|
class CompilerConfig {
|
|
26337
26337
|
constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, useJit = true, missingTranslation = null, preserveWhitespaces, strictInjectionParameters } = {}) {
|
|
@@ -28374,7 +28374,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$6 = '12.0.0';
|
|
|
28374
28374
|
function compileDeclareClassMetadata(metadata) {
|
|
28375
28375
|
const definitionMap = new DefinitionMap();
|
|
28376
28376
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
|
|
28377
|
-
definitionMap.set('version', literal('16.2.
|
|
28377
|
+
definitionMap.set('version', literal('16.2.9'));
|
|
28378
28378
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28379
28379
|
definitionMap.set('type', metadata.type);
|
|
28380
28380
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -28482,7 +28482,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
28482
28482
|
// in 16.1 is actually used.
|
|
28483
28483
|
const minVersion = hasTransformFunctions ? MINIMUM_PARTIAL_LINKER_VERSION$5 : '14.0.0';
|
|
28484
28484
|
definitionMap.set('minVersion', literal(minVersion));
|
|
28485
|
-
definitionMap.set('version', literal('16.2.
|
|
28485
|
+
definitionMap.set('version', literal('16.2.9'));
|
|
28486
28486
|
// e.g. `type: MyDirective`
|
|
28487
28487
|
definitionMap.set('type', meta.type.value);
|
|
28488
28488
|
if (meta.isStandalone) {
|
|
@@ -28710,7 +28710,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
28710
28710
|
function compileDeclareFactoryFunction(meta) {
|
|
28711
28711
|
const definitionMap = new DefinitionMap();
|
|
28712
28712
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
28713
|
-
definitionMap.set('version', literal('16.2.
|
|
28713
|
+
definitionMap.set('version', literal('16.2.9'));
|
|
28714
28714
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28715
28715
|
definitionMap.set('type', meta.type.value);
|
|
28716
28716
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -28745,7 +28745,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
28745
28745
|
function createInjectableDefinitionMap(meta) {
|
|
28746
28746
|
const definitionMap = new DefinitionMap();
|
|
28747
28747
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
28748
|
-
definitionMap.set('version', literal('16.2.
|
|
28748
|
+
definitionMap.set('version', literal('16.2.9'));
|
|
28749
28749
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28750
28750
|
definitionMap.set('type', meta.type.value);
|
|
28751
28751
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -28796,7 +28796,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
28796
28796
|
function createInjectorDefinitionMap(meta) {
|
|
28797
28797
|
const definitionMap = new DefinitionMap();
|
|
28798
28798
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
28799
|
-
definitionMap.set('version', literal('16.2.
|
|
28799
|
+
definitionMap.set('version', literal('16.2.9'));
|
|
28800
28800
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28801
28801
|
definitionMap.set('type', meta.type.value);
|
|
28802
28802
|
definitionMap.set('providers', meta.providers);
|
|
@@ -28829,7 +28829,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
28829
28829
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
28830
28830
|
}
|
|
28831
28831
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
28832
|
-
definitionMap.set('version', literal('16.2.
|
|
28832
|
+
definitionMap.set('version', literal('16.2.9'));
|
|
28833
28833
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28834
28834
|
definitionMap.set('type', meta.type.value);
|
|
28835
28835
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -28880,7 +28880,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
28880
28880
|
function createPipeDefinitionMap(meta) {
|
|
28881
28881
|
const definitionMap = new DefinitionMap();
|
|
28882
28882
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
28883
|
-
definitionMap.set('version', literal('16.2.
|
|
28883
|
+
definitionMap.set('version', literal('16.2.9'));
|
|
28884
28884
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28885
28885
|
// e.g. `type: MyPipe`
|
|
28886
28886
|
definitionMap.set('type', meta.type.value);
|