@angular/compiler-cli 20.1.0-next.3 → 20.1.0-rc.0
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/bundles/{chunk-DI76UIWO.js → chunk-2KXD3GSC.js} +2 -2
- package/bundles/{chunk-M6L5FWG4.js → chunk-45WGF6MF.js} +5 -5
- package/bundles/{chunk-M6L5FWG4.js.map → chunk-45WGF6MF.js.map} +1 -1
- package/bundles/chunk-FPHHL4UV.js +1 -1
- package/bundles/{chunk-JVXFMHZL.js → chunk-IRC3OLFO.js} +20 -20
- package/bundles/{chunk-JVXFMHZL.js.map → chunk-IRC3OLFO.js.map} +1 -1
- package/bundles/{chunk-YYCGL737.js → chunk-QEIHQPSG.js} +2 -2
- package/bundles/{chunk-J27XEXWK.js → chunk-SC5ESQGY.js} +2 -2
- package/bundles/index.js +5 -5
- package/bundles/private/migrations.js +1 -1
- package/bundles/private/tooling.js +3 -3
- package/bundles/src/bin/ng_xi18n.js +4 -4
- package/bundles/src/bin/ngc.js +4 -4
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/annotations/component/src/metadata.d.ts +2 -2
- package/src/ngtsc/annotations/component/src/util.d.ts +5 -5
- /package/bundles/{chunk-DI76UIWO.js.map → chunk-2KXD3GSC.js.map} +0 -0
- /package/bundles/{chunk-YYCGL737.js.map → chunk-QEIHQPSG.js.map} +0 -0
- /package/bundles/{chunk-J27XEXWK.js.map → chunk-SC5ESQGY.js.map} +0 -0
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
formatDiagnostics,
|
|
13
13
|
performCompilation,
|
|
14
14
|
readConfiguration
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-45WGF6MF.js";
|
|
16
16
|
|
|
17
17
|
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.js
|
|
18
18
|
import ts2 from "typescript";
|
|
@@ -363,4 +363,4 @@ export {
|
|
|
363
363
|
* Use of this source code is governed by an MIT-style license that can be
|
|
364
364
|
* found in the LICENSE file at https://angular.dev/license
|
|
365
365
|
*/
|
|
366
|
-
//# sourceMappingURL=chunk-
|
|
366
|
+
//# sourceMappingURL=chunk-QEIHQPSG.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
tryParseSignalInputMapping,
|
|
17
17
|
tryParseSignalModelMapping,
|
|
18
18
|
tryParseSignalQueryFromInitializer
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IRC3OLFO.js";
|
|
20
20
|
|
|
21
21
|
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/downlevel_decorators_transform.js
|
|
22
22
|
import ts from "typescript";
|
|
@@ -529,4 +529,4 @@ export {
|
|
|
529
529
|
* Use of this source code is governed by an MIT-style license that can be
|
|
530
530
|
* found in the LICENSE file at https://angular.dev/license
|
|
531
531
|
*/
|
|
532
|
-
//# sourceMappingURL=chunk-
|
|
532
|
+
//# sourceMappingURL=chunk-SC5ESQGY.js.map
|
package/bundles/index.js
CHANGED
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
isTsDiagnostic,
|
|
29
29
|
performCompilation,
|
|
30
30
|
readConfiguration
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-45WGF6MF.js";
|
|
32
32
|
import {
|
|
33
33
|
ConsoleLogger,
|
|
34
34
|
LogLevel
|
|
@@ -37,12 +37,12 @@ import {
|
|
|
37
37
|
GLOBAL_DEFS_FOR_TERSER,
|
|
38
38
|
GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
|
|
39
39
|
constructorParametersDownlevelTransform
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-2KXD3GSC.js";
|
|
41
41
|
import {
|
|
42
42
|
angularJitApplicationTransform,
|
|
43
43
|
getDownlevelDecoratorsTransform,
|
|
44
44
|
getInitializerApiJitTransform
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-SC5ESQGY.js";
|
|
46
46
|
import {
|
|
47
47
|
ActivePerfRecorder,
|
|
48
48
|
ErrorCode,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
TsCreateProgramDriver,
|
|
52
52
|
isLocalCompilationDiagnostics,
|
|
53
53
|
ngErrorCode
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-IRC3OLFO.js";
|
|
55
55
|
import "./chunk-6ECVYRSU.js";
|
|
56
56
|
import {
|
|
57
57
|
InvalidFileSystem,
|
|
@@ -82,7 +82,7 @@ import "./chunk-KPQ72R34.js";
|
|
|
82
82
|
|
|
83
83
|
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.js
|
|
84
84
|
import { Version } from "@angular/compiler";
|
|
85
|
-
var VERSION = new Version("20.1.0-
|
|
85
|
+
var VERSION = new Version("20.1.0-rc.0");
|
|
86
86
|
|
|
87
87
|
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.js
|
|
88
88
|
var NgTscPlugin = class {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
TypeScriptReflectionHost,
|
|
14
14
|
createForwardRefResolver,
|
|
15
15
|
reflectObjectLiteral
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-IRC3OLFO.js";
|
|
17
17
|
import "../chunk-6ECVYRSU.js";
|
|
18
18
|
import "../chunk-TPEB2IXF.js";
|
|
19
19
|
import "../chunk-3NKMA2JO.js";
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
GLOBAL_DEFS_FOR_TERSER,
|
|
7
7
|
GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
|
|
8
8
|
constructorParametersDownlevelTransform
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-2KXD3GSC.js";
|
|
10
|
+
import "../chunk-SC5ESQGY.js";
|
|
11
|
+
import "../chunk-IRC3OLFO.js";
|
|
12
12
|
import "../chunk-6ECVYRSU.js";
|
|
13
13
|
import "../chunk-TPEB2IXF.js";
|
|
14
14
|
import "../chunk-3NKMA2JO.js";
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
import {
|
|
7
7
|
main,
|
|
8
8
|
readCommandLineAndConfiguration
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-QEIHQPSG.js";
|
|
10
10
|
import {
|
|
11
11
|
EmitFlags
|
|
12
|
-
} from "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
12
|
+
} from "../../chunk-45WGF6MF.js";
|
|
13
|
+
import "../../chunk-SC5ESQGY.js";
|
|
14
|
+
import "../../chunk-IRC3OLFO.js";
|
|
15
15
|
import "../../chunk-6ECVYRSU.js";
|
|
16
16
|
import {
|
|
17
17
|
setFileSystem
|
package/bundles/src/bin/ngc.js
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
main
|
|
8
|
-
} from "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
8
|
+
} from "../../chunk-QEIHQPSG.js";
|
|
9
|
+
import "../../chunk-45WGF6MF.js";
|
|
10
|
+
import "../../chunk-SC5ESQGY.js";
|
|
11
|
+
import "../../chunk-IRC3OLFO.js";
|
|
12
12
|
import "../../chunk-6ECVYRSU.js";
|
|
13
13
|
import {
|
|
14
14
|
setFileSystem
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { MaybeForwardRefExpression, outputAst as o, R3DeclareDependencyMetadata, R3DependencyMetadata, R3Reference } from '@angular/compiler';
|
|
9
9
|
import { AstObject, AstValue } from '../../ast/ast_value';
|
|
10
|
-
export declare const PLACEHOLDER_VERSION = "20.1.0-
|
|
10
|
+
export declare const PLACEHOLDER_VERSION = "20.1.0-rc.0";
|
|
11
11
|
export declare function wrapReference<TExpression>(wrapped: o.WrappedNodeExpr<TExpression>): R3Reference;
|
|
12
12
|
/**
|
|
13
13
|
* Parses the value of an enum from the AST value's symbol name.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/compiler-cli",
|
|
3
|
-
"version": "20.1.0-
|
|
3
|
+
"version": "20.1.0-rc.0",
|
|
4
4
|
"description": "Angular - the compiler CLI for Node.js",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"bin": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@babel/core": "7.27.
|
|
41
|
+
"@babel/core": "7.27.7",
|
|
42
42
|
"@jridgewell/sourcemap-codec": "^1.4.14",
|
|
43
43
|
"reflect-metadata": "^0.2.0",
|
|
44
44
|
"chokidar": "^4.0.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"yargs": "^18.0.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@angular/compiler": "20.1.0-
|
|
51
|
+
"@angular/compiler": "20.1.0-rc.0",
|
|
52
52
|
"typescript": ">=5.8 <5.9"
|
|
53
53
|
},
|
|
54
54
|
"peerDependenciesMeta": {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import { LegacyAnimationTriggerNames, DeclarationListEmitMode, DeferBlockDepsEmitMode, R3ClassDebugInfo, R3ClassMetadata, R3ComponentMetadata, R3DeferPerBlockDependency, R3DeferPerComponentDependency, R3TemplateDependencyMetadata, SchemaMetadata, TmplAstDeferredBlock } from '@angular/compiler';
|
|
9
9
|
import ts from 'typescript';
|
|
10
10
|
import { Reference } from '../../../imports';
|
|
11
11
|
import { ClassPropertyMapping, DirectiveResources, DirectiveTypeCheckMeta, HostDirectiveMeta, InputMapping } from '../../../metadata';
|
|
@@ -54,7 +54,7 @@ export interface ComponentAnalysisData {
|
|
|
54
54
|
*/
|
|
55
55
|
inlineStyles: string[] | null;
|
|
56
56
|
isPoisoned: boolean;
|
|
57
|
-
|
|
57
|
+
legacyAnimationTriggerNames: LegacyAnimationTriggerNames | null;
|
|
58
58
|
rawImports: ts.Expression | null;
|
|
59
59
|
resolvedImports: Reference<ClassDeclaration>[] | null;
|
|
60
60
|
rawDeferredImports: ts.Expression | null;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import { LegacyAnimationTriggerNames } from '@angular/compiler';
|
|
9
9
|
import ts from 'typescript';
|
|
10
10
|
import { Reference } from '../../../imports';
|
|
11
11
|
import { ForeignFunctionResolver, ResolvedValue } from '../../../partial_evaluator';
|
|
@@ -13,12 +13,12 @@ import { ClassDeclaration } from '../../../reflection';
|
|
|
13
13
|
/**
|
|
14
14
|
* Collect the animation names from the static evaluation result.
|
|
15
15
|
* @param value the static evaluation result of the animations
|
|
16
|
-
* @param
|
|
16
|
+
* @param legacyAnimationTriggerNames the animation names collected and whether some names could not be
|
|
17
17
|
* statically evaluated.
|
|
18
18
|
*/
|
|
19
|
-
export declare function
|
|
20
|
-
export declare function
|
|
21
|
-
export declare const
|
|
19
|
+
export declare function collectLegacyAnimationNames(value: ResolvedValue, legacyAnimationTriggerNames: LegacyAnimationTriggerNames): void;
|
|
20
|
+
export declare function isLegacyAngularAnimationsReference(reference: Reference, symbolName: string): boolean;
|
|
21
|
+
export declare const legacyAnimationTriggerResolver: ForeignFunctionResolver;
|
|
22
22
|
export declare function validateAndFlattenComponentImports(imports: ResolvedValue, expr: ts.Expression, isDeferred: boolean): {
|
|
23
23
|
imports: Reference<ClassDeclaration>[];
|
|
24
24
|
diagnostics: ts.Diagnostic[];
|
|
File without changes
|
|
File without changes
|
|
File without changes
|