@angular/compiler 18.0.0-next.2 → 18.0.0-next.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 +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 +1 -1
- 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.0.0-next.
|
|
27
|
+
definitionMap.set('version', o.literal('18.0.0-next.3'));
|
|
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.0.0-next.
|
|
45
|
+
definitionMap.set('version', o.literal('18.0.0-next.3'));
|
|
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.0.0-next.
|
|
31
|
+
definitionMap.set('version', o.literal('18.0.0-next.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('18.0.0-next.
|
|
24
|
+
definitionMap.set('version', o.literal('18.0.0-next.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('18.0.0-next.
|
|
37
|
+
definitionMap.set('version', o.literal('18.0.0-next.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('18.0.0-next.
|
|
32
|
+
definitionMap.set('version', o.literal('18.0.0-next.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('18.0.0-next.
|
|
36
|
+
definitionMap.set('version', o.literal('18.0.0-next.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('18.0.0-next.
|
|
35
|
+
definitionMap.set('version', o.literal('18.0.0-next.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('18.0.0-next.
|
|
14
|
+
export const VERSION = new Version('18.0.0-next.3');
|
|
15
15
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBpbGVyL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVIOzs7O0dBSUc7QUFFSCxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sUUFBUSxDQUFDO0FBRS9CLE1BQU0sQ0FBQyxNQUFNLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbi8qKlxuICogQG1vZHVsZVxuICogQGRlc2NyaXB0aW9uXG4gKiBFbnRyeSBwb2ludCBmb3IgYWxsIHB1YmxpYyBBUElzIG9mIHRoZSBjb21waWxlciBwYWNrYWdlLlxuICovXG5cbmltcG9ydCB7VmVyc2lvbn0gZnJvbSAnLi91dGlsJztcblxuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSBuZXcgVmVyc2lvbignMC4wLjAtUExBQ0VIT0xERVInKTtcbiJdfQ==
|
package/fesm2022/compiler.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v18.0.0-next.
|
|
2
|
+
* @license Angular v18.0.0-next.3
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -28644,7 +28644,7 @@ function publishFacade(global) {
|
|
|
28644
28644
|
* @description
|
|
28645
28645
|
* Entry point for all public APIs of the compiler package.
|
|
28646
28646
|
*/
|
|
28647
|
-
const VERSION = new Version('18.0.0-next.
|
|
28647
|
+
const VERSION = new Version('18.0.0-next.3');
|
|
28648
28648
|
|
|
28649
28649
|
class CompilerConfig {
|
|
28650
28650
|
constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, preserveWhitespaces, strictInjectionParameters } = {}) {
|
|
@@ -30229,7 +30229,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
30229
30229
|
function compileDeclareClassMetadata(metadata) {
|
|
30230
30230
|
const definitionMap = new DefinitionMap();
|
|
30231
30231
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
30232
|
-
definitionMap.set('version', literal('18.0.0-next.
|
|
30232
|
+
definitionMap.set('version', literal('18.0.0-next.3'));
|
|
30233
30233
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
30234
30234
|
definitionMap.set('type', metadata.type);
|
|
30235
30235
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -30247,7 +30247,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
30247
30247
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
30248
30248
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
30249
30249
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
30250
|
-
definitionMap.set('version', literal('18.0.0-next.
|
|
30250
|
+
definitionMap.set('version', literal('18.0.0-next.3'));
|
|
30251
30251
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
30252
30252
|
definitionMap.set('type', metadata.type);
|
|
30253
30253
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -30342,7 +30342,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
30342
30342
|
const definitionMap = new DefinitionMap();
|
|
30343
30343
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
30344
30344
|
definitionMap.set('minVersion', literal(minVersion));
|
|
30345
|
-
definitionMap.set('version', literal('18.0.0-next.
|
|
30345
|
+
definitionMap.set('version', literal('18.0.0-next.3'));
|
|
30346
30346
|
// e.g. `type: MyDirective`
|
|
30347
30347
|
definitionMap.set('type', meta.type.value);
|
|
30348
30348
|
if (meta.isStandalone) {
|
|
@@ -30757,7 +30757,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
30757
30757
|
function compileDeclareFactoryFunction(meta) {
|
|
30758
30758
|
const definitionMap = new DefinitionMap();
|
|
30759
30759
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
30760
|
-
definitionMap.set('version', literal('18.0.0-next.
|
|
30760
|
+
definitionMap.set('version', literal('18.0.0-next.3'));
|
|
30761
30761
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
30762
30762
|
definitionMap.set('type', meta.type.value);
|
|
30763
30763
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -30792,7 +30792,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
30792
30792
|
function createInjectableDefinitionMap(meta) {
|
|
30793
30793
|
const definitionMap = new DefinitionMap();
|
|
30794
30794
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
30795
|
-
definitionMap.set('version', literal('18.0.0-next.
|
|
30795
|
+
definitionMap.set('version', literal('18.0.0-next.3'));
|
|
30796
30796
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
30797
30797
|
definitionMap.set('type', meta.type.value);
|
|
30798
30798
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -30843,7 +30843,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
30843
30843
|
function createInjectorDefinitionMap(meta) {
|
|
30844
30844
|
const definitionMap = new DefinitionMap();
|
|
30845
30845
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
30846
|
-
definitionMap.set('version', literal('18.0.0-next.
|
|
30846
|
+
definitionMap.set('version', literal('18.0.0-next.3'));
|
|
30847
30847
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
30848
30848
|
definitionMap.set('type', meta.type.value);
|
|
30849
30849
|
definitionMap.set('providers', meta.providers);
|
|
@@ -30876,7 +30876,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
30876
30876
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
30877
30877
|
}
|
|
30878
30878
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
30879
|
-
definitionMap.set('version', literal('18.0.0-next.
|
|
30879
|
+
definitionMap.set('version', literal('18.0.0-next.3'));
|
|
30880
30880
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
30881
30881
|
definitionMap.set('type', meta.type.value);
|
|
30882
30882
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -30927,7 +30927,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
30927
30927
|
function createPipeDefinitionMap(meta) {
|
|
30928
30928
|
const definitionMap = new DefinitionMap();
|
|
30929
30929
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
30930
|
-
definitionMap.set('version', literal('18.0.0-next.
|
|
30930
|
+
definitionMap.set('version', literal('18.0.0-next.3'));
|
|
30931
30931
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
30932
30932
|
// e.g. `type: MyPipe`
|
|
30933
30933
|
definitionMap.set('type', meta.type.value);
|