@angular/compiler 18.2.0-next.2 → 18.2.0-next.4
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 +2 -2
- 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 +10 -10
- package/fesm2022/compiler.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/package.json +2 -2
|
@@ -24,7 +24,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
24
24
|
export function compileDeclareClassMetadata(metadata) {
|
|
25
25
|
const definitionMap = new DefinitionMap();
|
|
26
26
|
definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
27
|
-
definitionMap.set('version', o.literal('18.2.0-next.
|
|
27
|
+
definitionMap.set('version', o.literal('18.2.0-next.4'));
|
|
28
28
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
29
29
|
definitionMap.set('type', metadata.type);
|
|
30
30
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -42,7 +42,7 @@ export function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
42
42
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? o.literal(null));
|
|
43
43
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? o.literal(null));
|
|
44
44
|
definitionMap.set('minVersion', o.literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
45
|
-
definitionMap.set('version', o.literal('18.2.0-next.
|
|
45
|
+
definitionMap.set('version', o.literal('18.2.0-next.4'));
|
|
46
46
|
definitionMap.set('ngImport', o.importExpr(R3.core));
|
|
47
47
|
definitionMap.set('type', metadata.type);
|
|
48
48
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -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('18.2.0-next.
|
|
31
|
+
definitionMap.set('version', o.literal('18.2.0-next.4'));
|
|
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('18.2.0-next.
|
|
24
|
+
definitionMap.set('version', o.literal('18.2.0-next.4'));
|
|
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('18.2.0-next.
|
|
37
|
+
definitionMap.set('version', o.literal('18.2.0-next.4'));
|
|
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('18.2.0-next.
|
|
32
|
+
definitionMap.set('version', o.literal('18.2.0-next.4'));
|
|
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('18.2.0-next.
|
|
36
|
+
definitionMap.set('version', o.literal('18.2.0-next.4'));
|
|
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('18.2.0-next.
|
|
35
|
+
definitionMap.set('version', o.literal('18.2.0-next.4'));
|
|
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('18.2.0-next.
|
|
14
|
+
export const VERSION = new Version('18.2.0-next.4');
|
|
15
15
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBpbGVyL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVIOzs7O0dBSUc7QUFFSCxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sUUFBUSxDQUFDO0FBRS9CLE1BQU0sQ0FBQyxNQUFNLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbi8qKlxuICogQG1vZHVsZVxuICogQGRlc2NyaXB0aW9uXG4gKiBFbnRyeSBwb2ludCBmb3IgYWxsIHB1YmxpYyBBUElzIG9mIHRoZSBjb21waWxlciBwYWNrYWdlLlxuICovXG5cbmltcG9ydCB7VmVyc2lvbn0gZnJvbSAnLi91dGlsJztcblxuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSBuZXcgVmVyc2lvbignMC4wLjAtUExBQ0VIT0xERVInKTtcbiJdfQ==
|
package/fesm2022/compiler.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v18.2.0-next.
|
|
2
|
+
* @license Angular v18.2.0-next.4
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -29548,7 +29548,7 @@ function publishFacade(global) {
|
|
|
29548
29548
|
* @description
|
|
29549
29549
|
* Entry point for all public APIs of the compiler package.
|
|
29550
29550
|
*/
|
|
29551
|
-
const VERSION = new Version('18.2.0-next.
|
|
29551
|
+
const VERSION = new Version('18.2.0-next.4');
|
|
29552
29552
|
|
|
29553
29553
|
class CompilerConfig {
|
|
29554
29554
|
constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, preserveWhitespaces, strictInjectionParameters, } = {}) {
|
|
@@ -31186,7 +31186,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
31186
31186
|
function compileDeclareClassMetadata(metadata) {
|
|
31187
31187
|
const definitionMap = new DefinitionMap();
|
|
31188
31188
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
31189
|
-
definitionMap.set('version', literal('18.2.0-next.
|
|
31189
|
+
definitionMap.set('version', literal('18.2.0-next.4'));
|
|
31190
31190
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31191
31191
|
definitionMap.set('type', metadata.type);
|
|
31192
31192
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -31204,7 +31204,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
31204
31204
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
31205
31205
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
31206
31206
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
31207
|
-
definitionMap.set('version', literal('18.2.0-next.
|
|
31207
|
+
definitionMap.set('version', literal('18.2.0-next.4'));
|
|
31208
31208
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31209
31209
|
definitionMap.set('type', metadata.type);
|
|
31210
31210
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -31299,7 +31299,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
31299
31299
|
const definitionMap = new DefinitionMap();
|
|
31300
31300
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
31301
31301
|
definitionMap.set('minVersion', literal(minVersion));
|
|
31302
|
-
definitionMap.set('version', literal('18.2.0-next.
|
|
31302
|
+
definitionMap.set('version', literal('18.2.0-next.4'));
|
|
31303
31303
|
// e.g. `type: MyDirective`
|
|
31304
31304
|
definitionMap.set('type', meta.type.value);
|
|
31305
31305
|
if (meta.isStandalone) {
|
|
@@ -31721,7 +31721,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
31721
31721
|
function compileDeclareFactoryFunction(meta) {
|
|
31722
31722
|
const definitionMap = new DefinitionMap();
|
|
31723
31723
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
31724
|
-
definitionMap.set('version', literal('18.2.0-next.
|
|
31724
|
+
definitionMap.set('version', literal('18.2.0-next.4'));
|
|
31725
31725
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31726
31726
|
definitionMap.set('type', meta.type.value);
|
|
31727
31727
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -31756,7 +31756,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
31756
31756
|
function createInjectableDefinitionMap(meta) {
|
|
31757
31757
|
const definitionMap = new DefinitionMap();
|
|
31758
31758
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
31759
|
-
definitionMap.set('version', literal('18.2.0-next.
|
|
31759
|
+
definitionMap.set('version', literal('18.2.0-next.4'));
|
|
31760
31760
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31761
31761
|
definitionMap.set('type', meta.type.value);
|
|
31762
31762
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -31807,7 +31807,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
31807
31807
|
function createInjectorDefinitionMap(meta) {
|
|
31808
31808
|
const definitionMap = new DefinitionMap();
|
|
31809
31809
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
31810
|
-
definitionMap.set('version', literal('18.2.0-next.
|
|
31810
|
+
definitionMap.set('version', literal('18.2.0-next.4'));
|
|
31811
31811
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31812
31812
|
definitionMap.set('type', meta.type.value);
|
|
31813
31813
|
definitionMap.set('providers', meta.providers);
|
|
@@ -31840,7 +31840,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
31840
31840
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
31841
31841
|
}
|
|
31842
31842
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
31843
|
-
definitionMap.set('version', literal('18.2.0-next.
|
|
31843
|
+
definitionMap.set('version', literal('18.2.0-next.4'));
|
|
31844
31844
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31845
31845
|
definitionMap.set('type', meta.type.value);
|
|
31846
31846
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -31891,7 +31891,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
31891
31891
|
function createPipeDefinitionMap(meta) {
|
|
31892
31892
|
const definitionMap = new DefinitionMap();
|
|
31893
31893
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
31894
|
-
definitionMap.set('version', literal('18.2.0-next.
|
|
31894
|
+
definitionMap.set('version', literal('18.2.0-next.4'));
|
|
31895
31895
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
31896
31896
|
// e.g. `type: MyPipe`
|
|
31897
31897
|
definitionMap.set('type', meta.type.value);
|