@angular/compiler-cli 20.0.4 → 20.0.6
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-U5SKOFKE.js → chunk-3NKMA2JO.js} +2 -2
- package/bundles/{chunk-EBPHWYDC.js → chunk-7FGS2TFN.js} +11 -11
- package/bundles/{chunk-M3WWDK6S.js → chunk-LMRFLQ2K.js} +3 -3
- package/bundles/{chunk-TDMVX35I.js → chunk-LYJARAHL.js} +31 -31
- package/bundles/{chunk-QZKYZIEQ.js → chunk-M7MXAQMK.js} +3 -3
- package/bundles/{chunk-NVYT6OPE.js → chunk-PML5JK7B.js} +7 -7
- package/bundles/{chunk-ZZUFYJIW.js → chunk-RYBZ5OMY.js} +5 -5
- package/bundles/{chunk-H5Y7P5GQ.js → chunk-SEKYV57I.js} +3 -3
- package/bundles/{chunk-NPUFVONQ.js → chunk-SILQIVD4.js} +201 -172
- package/bundles/chunk-SILQIVD4.js.map +6 -0
- package/bundles/{chunk-3AHGFMNS.js → chunk-TPEB2IXF.js} +7 -7
- package/bundles/{chunk-2L4O4UIG.js → chunk-ZWSVOOGU.js} +81 -81
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +3 -3
- package/bundles/private/localize.js +4 -4
- package/bundles/private/migrations.js +4 -4
- package/bundles/private/tooling.js +6 -6
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/typecheck/src/oob.d.ts +7 -4
- package/bundles/chunk-NPUFVONQ.js.map +0 -6
- /package/bundles/{chunk-U5SKOFKE.js.map → chunk-3NKMA2JO.js.map} +0 -0
- /package/bundles/{chunk-EBPHWYDC.js.map → chunk-7FGS2TFN.js.map} +0 -0
- /package/bundles/{chunk-M3WWDK6S.js.map → chunk-LMRFLQ2K.js.map} +0 -0
- /package/bundles/{chunk-TDMVX35I.js.map → chunk-LYJARAHL.js.map} +0 -0
- /package/bundles/{chunk-QZKYZIEQ.js.map → chunk-M7MXAQMK.js.map} +0 -0
- /package/bundles/{chunk-NVYT6OPE.js.map → chunk-PML5JK7B.js.map} +0 -0
- /package/bundles/{chunk-ZZUFYJIW.js.map → chunk-RYBZ5OMY.js.map} +0 -0
- /package/bundles/{chunk-H5Y7P5GQ.js.map → chunk-SEKYV57I.js.map} +0 -0
- /package/bundles/{chunk-3AHGFMNS.js.map → chunk-TPEB2IXF.js.map} +0 -0
- /package/bundles/{chunk-2L4O4UIG.js.map → chunk-ZWSVOOGU.js.map} +0 -0
package/bundles/index.js
CHANGED
|
@@ -28,21 +28,21 @@ import {
|
|
|
28
28
|
isTsDiagnostic,
|
|
29
29
|
performCompilation,
|
|
30
30
|
readConfiguration
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ZWSVOOGU.js";
|
|
32
32
|
import {
|
|
33
33
|
ConsoleLogger,
|
|
34
34
|
LogLevel
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-SEKYV57I.js";
|
|
36
36
|
import {
|
|
37
37
|
GLOBAL_DEFS_FOR_TERSER,
|
|
38
38
|
GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
|
|
39
39
|
constructorParametersDownlevelTransform
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-M7MXAQMK.js";
|
|
41
41
|
import {
|
|
42
42
|
angularJitApplicationTransform,
|
|
43
43
|
getDownlevelDecoratorsTransform,
|
|
44
44
|
getInitializerApiJitTransform
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-7FGS2TFN.js";
|
|
46
46
|
import {
|
|
47
47
|
ActivePerfRecorder,
|
|
48
48
|
ErrorCode,
|
|
@@ -51,8 +51,8 @@ import {
|
|
|
51
51
|
TsCreateProgramDriver,
|
|
52
52
|
isLocalCompilationDiagnostics,
|
|
53
53
|
ngErrorCode
|
|
54
|
-
} from "./chunk-
|
|
55
|
-
import "./chunk-
|
|
54
|
+
} from "./chunk-SILQIVD4.js";
|
|
55
|
+
import "./chunk-LMRFLQ2K.js";
|
|
56
56
|
import {
|
|
57
57
|
InvalidFileSystem,
|
|
58
58
|
LogicalFileSystem,
|
|
@@ -74,17 +74,17 @@ import {
|
|
|
74
74
|
resolve,
|
|
75
75
|
setFileSystem,
|
|
76
76
|
toRelativeImport
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-TPEB2IXF.js";
|
|
78
78
|
import {
|
|
79
79
|
NodeJSFileSystem
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-3NKMA2JO.js";
|
|
81
81
|
import "./chunk-KPQ72R34.js";
|
|
82
82
|
|
|
83
|
-
// bazel-out/
|
|
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.0.
|
|
85
|
+
var VERSION = new Version("20.0.6");
|
|
86
86
|
|
|
87
|
-
// bazel-out/
|
|
87
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.js
|
|
88
88
|
var NgTscPlugin = class {
|
|
89
89
|
ngOptions;
|
|
90
90
|
name = "ngtsc";
|
|
@@ -160,7 +160,7 @@ var NgTscPlugin = class {
|
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
|
|
163
|
-
// bazel-out/
|
|
163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.js
|
|
164
164
|
setFileSystem(new NodeJSFileSystem());
|
|
165
165
|
export {
|
|
166
166
|
ConsoleLogger,
|
|
@@ -8,22 +8,22 @@ import {
|
|
|
8
8
|
LinkerEnvironment,
|
|
9
9
|
assert,
|
|
10
10
|
isFatalLinkerError
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-LYJARAHL.js";
|
|
12
12
|
import {
|
|
13
13
|
ConsoleLogger,
|
|
14
14
|
LogLevel
|
|
15
|
-
} from "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
15
|
+
} from "../../chunk-SEKYV57I.js";
|
|
16
|
+
import "../../chunk-PML5JK7B.js";
|
|
17
|
+
import "../../chunk-LMRFLQ2K.js";
|
|
18
18
|
import {
|
|
19
19
|
NodeJSFileSystem
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-3NKMA2JO.js";
|
|
21
21
|
import "../../chunk-KPQ72R34.js";
|
|
22
22
|
|
|
23
|
-
// bazel-out/
|
|
23
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.js
|
|
24
24
|
import { types as t4 } from "@babel/core";
|
|
25
25
|
|
|
26
|
-
// bazel-out/
|
|
26
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_factory.js
|
|
27
27
|
import { types as t } from "@babel/core";
|
|
28
28
|
var BabelAstFactory = class {
|
|
29
29
|
sourceUrl;
|
|
@@ -155,7 +155,7 @@ function isLExpression(expr) {
|
|
|
155
155
|
return t.isLVal(expr);
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
// bazel-out/
|
|
158
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_host.js
|
|
159
159
|
import { types as t2 } from "@babel/core";
|
|
160
160
|
var BabelAstHost = class {
|
|
161
161
|
getSymbolName(node) {
|
|
@@ -281,7 +281,7 @@ function isMinifiedBooleanLiteral(node) {
|
|
|
281
281
|
return t2.isUnaryExpression(node) && node.prefix && node.operator === "!" && t2.isNumericLiteral(node.argument) && (node.argument.value === 0 || node.argument.value === 1);
|
|
282
282
|
}
|
|
283
283
|
|
|
284
|
-
// bazel-out/
|
|
284
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_declaration_scope.js
|
|
285
285
|
import { types as t3 } from "@babel/core";
|
|
286
286
|
var BabelDeclarationScope = class {
|
|
287
287
|
declarationScope;
|
|
@@ -308,7 +308,7 @@ var BabelDeclarationScope = class {
|
|
|
308
308
|
}
|
|
309
309
|
};
|
|
310
310
|
|
|
311
|
-
// bazel-out/
|
|
311
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.js
|
|
312
312
|
function createEs2015LinkerPlugin({ fileSystem, logger, ...options }) {
|
|
313
313
|
let fileLinker = null;
|
|
314
314
|
return {
|
|
@@ -408,7 +408,7 @@ function buildCodeFrameError(file, message, node) {
|
|
|
408
408
|
return `${filename}: ${error.message}`;
|
|
409
409
|
}
|
|
410
410
|
|
|
411
|
-
// bazel-out/
|
|
411
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_plugin.js
|
|
412
412
|
function defaultLinkerPlugin(api, options) {
|
|
413
413
|
api.assertVersion(7);
|
|
414
414
|
return createEs2015LinkerPlugin({
|
|
@@ -418,7 +418,7 @@ function defaultLinkerPlugin(api, options) {
|
|
|
418
418
|
});
|
|
419
419
|
}
|
|
420
420
|
|
|
421
|
-
// bazel-out/
|
|
421
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/index.js
|
|
422
422
|
var babel_default = defaultLinkerPlugin;
|
|
423
423
|
export {
|
|
424
424
|
createEs2015LinkerPlugin,
|
package/bundles/linker/index.js
CHANGED
|
@@ -10,9 +10,9 @@ import {
|
|
|
10
10
|
assert,
|
|
11
11
|
isFatalLinkerError,
|
|
12
12
|
needsLinking
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
13
|
+
} from "../chunk-LYJARAHL.js";
|
|
14
|
+
import "../chunk-PML5JK7B.js";
|
|
15
|
+
import "../chunk-LMRFLQ2K.js";
|
|
16
16
|
import "../chunk-KPQ72R34.js";
|
|
17
17
|
export {
|
|
18
18
|
DEFAULT_LINKER_OPTIONS,
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
import {
|
|
6
6
|
ConsoleLogger,
|
|
7
7
|
LogLevel
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-SEKYV57I.js";
|
|
9
9
|
import {
|
|
10
10
|
SourceFile,
|
|
11
11
|
SourceFileLoader
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-PML5JK7B.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidFileSystem,
|
|
15
15
|
LogicalFileSystem,
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
resolve,
|
|
32
32
|
setFileSystem,
|
|
33
33
|
toRelativeImport
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-TPEB2IXF.js";
|
|
35
35
|
import {
|
|
36
36
|
NodeJSFileSystem
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-3NKMA2JO.js";
|
|
38
38
|
import "../chunk-KPQ72R34.js";
|
|
39
39
|
export {
|
|
40
40
|
ConsoleLogger,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
TypeScriptReflectionHost,
|
|
14
14
|
createForwardRefResolver,
|
|
15
15
|
reflectObjectLiteral
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
16
|
+
} from "../chunk-SILQIVD4.js";
|
|
17
|
+
import "../chunk-LMRFLQ2K.js";
|
|
18
|
+
import "../chunk-TPEB2IXF.js";
|
|
19
|
+
import "../chunk-3NKMA2JO.js";
|
|
20
20
|
import "../chunk-KPQ72R34.js";
|
|
21
21
|
export {
|
|
22
22
|
DynamicValue,
|
|
@@ -6,12 +6,12 @@ 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-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-M7MXAQMK.js";
|
|
10
|
+
import "../chunk-7FGS2TFN.js";
|
|
11
|
+
import "../chunk-SILQIVD4.js";
|
|
12
|
+
import "../chunk-LMRFLQ2K.js";
|
|
13
|
+
import "../chunk-TPEB2IXF.js";
|
|
14
|
+
import "../chunk-3NKMA2JO.js";
|
|
15
15
|
import "../chunk-KPQ72R34.js";
|
|
16
16
|
export {
|
|
17
17
|
GLOBAL_DEFS_FOR_TERSER,
|
|
@@ -6,25 +6,25 @@
|
|
|
6
6
|
import {
|
|
7
7
|
main,
|
|
8
8
|
readCommandLineAndConfiguration
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-RYBZ5OMY.js";
|
|
10
10
|
import {
|
|
11
11
|
EmitFlags
|
|
12
|
-
} from "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
12
|
+
} from "../../chunk-ZWSVOOGU.js";
|
|
13
|
+
import "../../chunk-7FGS2TFN.js";
|
|
14
|
+
import "../../chunk-SILQIVD4.js";
|
|
15
|
+
import "../../chunk-LMRFLQ2K.js";
|
|
16
16
|
import {
|
|
17
17
|
setFileSystem
|
|
18
|
-
} from "../../chunk-
|
|
18
|
+
} from "../../chunk-TPEB2IXF.js";
|
|
19
19
|
import {
|
|
20
20
|
NodeJSFileSystem
|
|
21
|
-
} from "../../chunk-
|
|
21
|
+
} from "../../chunk-3NKMA2JO.js";
|
|
22
22
|
import "../../chunk-KPQ72R34.js";
|
|
23
23
|
|
|
24
|
-
// bazel-out/
|
|
24
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.js
|
|
25
25
|
import "reflect-metadata";
|
|
26
26
|
|
|
27
|
-
// bazel-out/
|
|
27
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/extract_i18n.js
|
|
28
28
|
import yargs from "yargs";
|
|
29
29
|
function mainXi18n(args2, consoleError = console.error) {
|
|
30
30
|
const config = readXi18nCommandLineAndConfiguration(args2);
|
|
@@ -47,7 +47,7 @@ function readXi18nCommandLineAndConfiguration(args2) {
|
|
|
47
47
|
return { ...config, emitFlags: EmitFlags.I18nBundle };
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
// bazel-out/
|
|
50
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.js
|
|
51
51
|
process.title = "Angular i18n Message Extractor (ng-xi18n)";
|
|
52
52
|
var args = process.argv.slice(2);
|
|
53
53
|
setFileSystem(new NodeJSFileSystem());
|
package/bundles/src/bin/ngc.js
CHANGED
|
@@ -5,20 +5,20 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
main
|
|
8
|
-
} from "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
8
|
+
} from "../../chunk-RYBZ5OMY.js";
|
|
9
|
+
import "../../chunk-ZWSVOOGU.js";
|
|
10
|
+
import "../../chunk-7FGS2TFN.js";
|
|
11
|
+
import "../../chunk-SILQIVD4.js";
|
|
12
|
+
import "../../chunk-LMRFLQ2K.js";
|
|
13
13
|
import {
|
|
14
14
|
setFileSystem
|
|
15
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-TPEB2IXF.js";
|
|
16
16
|
import {
|
|
17
17
|
NodeJSFileSystem
|
|
18
|
-
} from "../../chunk-
|
|
18
|
+
} from "../../chunk-3NKMA2JO.js";
|
|
19
19
|
import "../../chunk-KPQ72R34.js";
|
|
20
20
|
|
|
21
|
-
// bazel-out/
|
|
21
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ngc.js
|
|
22
22
|
import "reflect-metadata";
|
|
23
23
|
async function runNgcComamnd() {
|
|
24
24
|
process.title = "Angular Compiler (ngc)";
|
|
@@ -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.0.
|
|
10
|
+
export declare const PLACEHOLDER_VERSION = "20.0.6";
|
|
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.0.
|
|
3
|
+
"version": "20.0.6",
|
|
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.0.
|
|
51
|
+
"@angular/compiler": "20.0.6",
|
|
52
52
|
"typescript": ">=5.8 <5.9"
|
|
53
53
|
},
|
|
54
54
|
"peerDependenciesMeta": {
|
|
@@ -35,8 +35,9 @@ export interface OutOfBandDiagnosticRecorder {
|
|
|
35
35
|
*
|
|
36
36
|
* @param id the type-checking ID of the template which contains the unknown pipe.
|
|
37
37
|
* @param ast the `BindingPipe` invocation of the pipe which could not be found.
|
|
38
|
+
* @param isStandalone whether the host component is standalone.
|
|
38
39
|
*/
|
|
39
|
-
missingPipe(id: TypeCheckId, ast: BindingPipe): void;
|
|
40
|
+
missingPipe(id: TypeCheckId, ast: BindingPipe, isStandalone: boolean): void;
|
|
40
41
|
/**
|
|
41
42
|
* Reports usage of a pipe imported via `@Component.deferredImports` outside
|
|
42
43
|
* of a `@defer` block in a template.
|
|
@@ -131,16 +132,18 @@ export interface OutOfBandDiagnosticRecorder {
|
|
|
131
132
|
}
|
|
132
133
|
export declare class OutOfBandDiagnosticRecorderImpl implements OutOfBandDiagnosticRecorder {
|
|
133
134
|
private resolver;
|
|
134
|
-
private _diagnostics;
|
|
135
|
+
private readonly _diagnostics;
|
|
135
136
|
/**
|
|
136
137
|
* Tracks which `BindingPipe` nodes have already been recorded as invalid, so only one diagnostic
|
|
137
138
|
* is ever produced per node.
|
|
138
139
|
*/
|
|
139
|
-
private recordedPipes;
|
|
140
|
+
private readonly recordedPipes;
|
|
141
|
+
/** Common pipes that can be suggested to users. */
|
|
142
|
+
private readonly pipeSuggestions;
|
|
140
143
|
constructor(resolver: TypeCheckSourceResolver);
|
|
141
144
|
get diagnostics(): ReadonlyArray<TemplateDiagnostic>;
|
|
142
145
|
missingReferenceTarget(id: TypeCheckId, ref: TmplAstReference): void;
|
|
143
|
-
missingPipe(id: TypeCheckId, ast: BindingPipe): void;
|
|
146
|
+
missingPipe(id: TypeCheckId, ast: BindingPipe, isStandalone: boolean): void;
|
|
144
147
|
deferredPipeUsedEagerly(id: TypeCheckId, ast: BindingPipe): void;
|
|
145
148
|
deferredComponentUsedEagerly(id: TypeCheckId, element: TmplAstElement): void;
|
|
146
149
|
duplicateTemplateVar(id: TypeCheckId, variable: TmplAstVariable, firstDecl: TmplAstVariable): void;
|