@angular/compiler-cli 20.0.0-next.8 → 20.0.0-next.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/bundles/{chunk-TM3ZKHZM.js → chunk-2F5IGGXH.js} +12 -12
- package/bundles/{chunk-STORTTKY.js → chunk-37JMVF7H.js} +8 -8
- package/bundles/{chunk-AWZM3PZV.js → chunk-5HL3AR4R.js} +149 -106
- package/bundles/chunk-5HL3AR4R.js.map +6 -0
- package/bundles/{chunk-5UDS2TPQ.js → chunk-77D5CI2U.js} +7 -7
- package/bundles/{chunk-GBKXY6BH.js → chunk-FKXFEX7K.js} +3 -3
- package/bundles/{chunk-6YKQWDSS.js → chunk-KIC4TVVW.js} +47 -41
- package/bundles/chunk-KIC4TVVW.js.map +6 -0
- package/bundles/{chunk-I6R3GL3L.js → chunk-Q2WE7ECN.js} +5 -5
- package/bundles/{chunk-H7PFOEVE.js → chunk-Q6YAKOMH.js} +5 -5
- package/bundles/{chunk-JM3CQZO5.js → chunk-SBWQVXJA.js} +47 -42
- package/bundles/chunk-SBWQVXJA.js.map +6 -0
- package/bundles/{chunk-EYJS7FMV.js → chunk-UTYYMB4Z.js} +3 -3
- package/bundles/{chunk-OVF3OTQY.js → chunk-WNWOEBZS.js} +642 -414
- package/bundles/chunk-WNWOEBZS.js.map +6 -0
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- 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/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/component/src/handler.d.ts +16 -1
- package/src/ngtsc/annotations/component/src/resources.d.ts +1 -0
- package/src/ngtsc/core/src/compiler.d.ts +1 -0
- package/src/ngtsc/diagnostics/src/error_code.d.ts +18 -0
- package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +1 -0
- package/src/ngtsc/typecheck/extended/checks/missing_structural_directive/index.d.ts +16 -0
- package/src/ngtsc/typecheck/src/dom.d.ts +11 -11
- package/src/ngtsc/typecheck/src/oob.d.ts +27 -3
- package/src/ngtsc/typecheck/src/tcb_util.d.ts +2 -0
- package/src/ngtsc/typecheck/src/type_check_block.d.ts +14 -5
- package/bundles/chunk-6YKQWDSS.js.map +0 -6
- package/bundles/chunk-AWZM3PZV.js.map +0 -6
- package/bundles/chunk-JM3CQZO5.js.map +0 -6
- package/bundles/chunk-OVF3OTQY.js.map +0 -6
- /package/bundles/{chunk-TM3ZKHZM.js.map → chunk-2F5IGGXH.js.map} +0 -0
- /package/bundles/{chunk-STORTTKY.js.map → chunk-37JMVF7H.js.map} +0 -0
- /package/bundles/{chunk-5UDS2TPQ.js.map → chunk-77D5CI2U.js.map} +0 -0
- /package/bundles/{chunk-GBKXY6BH.js.map → chunk-FKXFEX7K.js.map} +0 -0
- /package/bundles/{chunk-I6R3GL3L.js.map → chunk-Q2WE7ECN.js.map} +0 -0
- /package/bundles/{chunk-H7PFOEVE.js.map → chunk-Q6YAKOMH.js.map} +0 -0
- /package/bundles/{chunk-EYJS7FMV.js.map → chunk-UTYYMB4Z.js.map} +0 -0
package/bundles/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
GLOBAL_DEFS_FOR_TERSER,
|
|
7
7
|
GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
|
|
8
8
|
constructorParametersDownlevelTransform
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UTYYMB4Z.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_ERROR_CODE,
|
|
12
12
|
DecoratorType,
|
|
@@ -33,29 +33,29 @@ import {
|
|
|
33
33
|
isTsDiagnostic,
|
|
34
34
|
performCompilation,
|
|
35
35
|
readConfiguration
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-5HL3AR4R.js";
|
|
37
37
|
import {
|
|
38
38
|
angularJitApplicationTransform,
|
|
39
39
|
getDownlevelDecoratorsTransform,
|
|
40
40
|
getInitializerApiJitTransform
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-2F5IGGXH.js";
|
|
42
42
|
import {
|
|
43
43
|
ConsoleLogger,
|
|
44
44
|
LogLevel
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-FKXFEX7K.js";
|
|
46
46
|
import {
|
|
47
47
|
OptimizeFor,
|
|
48
48
|
TsCreateProgramDriver
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-WNWOEBZS.js";
|
|
50
50
|
import {
|
|
51
51
|
ErrorCode,
|
|
52
52
|
isLocalCompilationDiagnostics,
|
|
53
53
|
ngErrorCode
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-SBWQVXJA.js";
|
|
55
55
|
import {
|
|
56
56
|
ActivePerfRecorder,
|
|
57
57
|
PerfPhase
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-Q2WE7ECN.js";
|
|
59
59
|
import {
|
|
60
60
|
LogicalFileSystem,
|
|
61
61
|
LogicalProjectPath,
|
|
@@ -77,14 +77,14 @@ import {
|
|
|
77
77
|
resolve,
|
|
78
78
|
setFileSystem,
|
|
79
79
|
toRelativeImport
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-37JMVF7H.js";
|
|
81
81
|
import "./chunk-KPQ72R34.js";
|
|
82
82
|
|
|
83
|
-
// bazel-out/
|
|
83
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
84
84
|
import { Version } from "@angular/compiler";
|
|
85
|
-
var VERSION = new Version("20.0.0-next.
|
|
85
|
+
var VERSION = new Version("20.0.0-next.9");
|
|
86
86
|
|
|
87
|
-
// bazel-out/
|
|
87
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs
|
|
88
88
|
var NgTscPlugin = class {
|
|
89
89
|
ngOptions;
|
|
90
90
|
name = "ngtsc";
|
|
@@ -161,7 +161,7 @@ var NgTscPlugin = class {
|
|
|
161
161
|
}
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
// bazel-out/
|
|
164
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
165
165
|
setFileSystem(new NodeJSFileSystem());
|
|
166
166
|
export {
|
|
167
167
|
ConsoleLogger,
|
|
@@ -8,22 +8,22 @@ import {
|
|
|
8
8
|
LinkerEnvironment,
|
|
9
9
|
assert,
|
|
10
10
|
isFatalLinkerError
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-KIC4TVVW.js";
|
|
12
12
|
import {
|
|
13
13
|
ConsoleLogger,
|
|
14
14
|
LogLevel
|
|
15
|
-
} from "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
15
|
+
} from "../../chunk-FKXFEX7K.js";
|
|
16
|
+
import "../../chunk-77D5CI2U.js";
|
|
17
|
+
import "../../chunk-SBWQVXJA.js";
|
|
18
18
|
import {
|
|
19
19
|
NodeJSFileSystem
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-37JMVF7H.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.mjs
|
|
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.mjs
|
|
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.mjs
|
|
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.mjs
|
|
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.mjs
|
|
312
312
|
function createEs2015LinkerPlugin({ fileSystem, logger, ...options }) {
|
|
313
313
|
let fileLinker = null;
|
|
314
314
|
return {
|
|
@@ -409,7 +409,7 @@ function buildCodeFrameError(file, message, node) {
|
|
|
409
409
|
return `${filename}: ${error.message}`;
|
|
410
410
|
}
|
|
411
411
|
|
|
412
|
-
// bazel-out/
|
|
412
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_plugin.mjs
|
|
413
413
|
function defaultLinkerPlugin(api, options) {
|
|
414
414
|
api.assertVersion(7);
|
|
415
415
|
return createEs2015LinkerPlugin({
|
|
@@ -419,7 +419,7 @@ function defaultLinkerPlugin(api, options) {
|
|
|
419
419
|
});
|
|
420
420
|
}
|
|
421
421
|
|
|
422
|
-
// bazel-out/
|
|
422
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/index.mjs
|
|
423
423
|
var babel_default = defaultLinkerPlugin;
|
|
424
424
|
export {
|
|
425
425
|
createEs2015LinkerPlugin,
|
package/bundles/linker/index.js
CHANGED
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
assert,
|
|
11
11
|
isFatalLinkerError,
|
|
12
12
|
needsLinking
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
13
|
+
} from "../chunk-KIC4TVVW.js";
|
|
14
|
+
import "../chunk-77D5CI2U.js";
|
|
15
|
+
import "../chunk-SBWQVXJA.js";
|
|
16
|
+
import "../chunk-37JMVF7H.js";
|
|
17
17
|
import "../chunk-KPQ72R34.js";
|
|
18
18
|
export {
|
|
19
19
|
DEFAULT_LINKER_OPTIONS,
|
package/bundles/private/bazel.js
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
import {
|
|
6
6
|
ConsoleLogger,
|
|
7
7
|
LogLevel
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-FKXFEX7K.js";
|
|
9
9
|
import {
|
|
10
10
|
SourceFile,
|
|
11
11
|
SourceFileLoader
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-77D5CI2U.js";
|
|
13
13
|
import {
|
|
14
14
|
LogicalFileSystem,
|
|
15
15
|
LogicalProjectPath,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
resolve,
|
|
32
32
|
setFileSystem,
|
|
33
33
|
toRelativeImport
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-37JMVF7H.js";
|
|
35
35
|
import "../chunk-KPQ72R34.js";
|
|
36
36
|
export {
|
|
37
37
|
ConsoleLogger,
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
PotentialImportMode,
|
|
10
10
|
StaticInterpreter,
|
|
11
11
|
createForwardRefResolver
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-WNWOEBZS.js";
|
|
13
13
|
import {
|
|
14
14
|
ImportManager,
|
|
15
15
|
Reference,
|
|
16
16
|
TypeScriptReflectionHost,
|
|
17
17
|
reflectObjectLiteral
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-SBWQVXJA.js";
|
|
19
|
+
import "../chunk-Q2WE7ECN.js";
|
|
20
|
+
import "../chunk-37JMVF7H.js";
|
|
21
21
|
import "../chunk-KPQ72R34.js";
|
|
22
22
|
export {
|
|
23
23
|
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-UTYYMB4Z.js";
|
|
10
|
+
import "../chunk-2F5IGGXH.js";
|
|
11
|
+
import "../chunk-WNWOEBZS.js";
|
|
12
|
+
import "../chunk-SBWQVXJA.js";
|
|
13
|
+
import "../chunk-Q2WE7ECN.js";
|
|
14
|
+
import "../chunk-37JMVF7H.js";
|
|
15
15
|
import "../chunk-KPQ72R34.js";
|
|
16
16
|
export {
|
|
17
17
|
GLOBAL_DEFS_FOR_TERSER,
|
|
@@ -6,24 +6,24 @@
|
|
|
6
6
|
import {
|
|
7
7
|
main,
|
|
8
8
|
readCommandLineAndConfiguration
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-Q6YAKOMH.js";
|
|
10
10
|
import {
|
|
11
11
|
EmitFlags
|
|
12
|
-
} from "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
12
|
+
} from "../../chunk-5HL3AR4R.js";
|
|
13
|
+
import "../../chunk-2F5IGGXH.js";
|
|
14
|
+
import "../../chunk-WNWOEBZS.js";
|
|
15
|
+
import "../../chunk-SBWQVXJA.js";
|
|
16
|
+
import "../../chunk-Q2WE7ECN.js";
|
|
17
17
|
import {
|
|
18
18
|
NodeJSFileSystem,
|
|
19
19
|
setFileSystem
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-37JMVF7H.js";
|
|
21
21
|
import "../../chunk-KPQ72R34.js";
|
|
22
22
|
|
|
23
|
-
// bazel-out/
|
|
23
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
|
|
24
24
|
import "reflect-metadata";
|
|
25
25
|
|
|
26
|
-
// bazel-out/
|
|
26
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/extract_i18n.mjs
|
|
27
27
|
import yargs from "yargs";
|
|
28
28
|
function mainXi18n(args2, consoleError = console.error) {
|
|
29
29
|
const config = readXi18nCommandLineAndConfiguration(args2);
|
|
@@ -46,7 +46,7 @@ function readXi18nCommandLineAndConfiguration(args2) {
|
|
|
46
46
|
return { ...config, emitFlags: EmitFlags.I18nBundle };
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
// bazel-out/
|
|
49
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
|
|
50
50
|
process.title = "Angular i18n Message Extractor (ng-xi18n)";
|
|
51
51
|
var args = process.argv.slice(2);
|
|
52
52
|
setFileSystem(new NodeJSFileSystem());
|
package/bundles/src/bin/ngc.js
CHANGED
|
@@ -5,19 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
main
|
|
8
|
-
} from "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
8
|
+
} from "../../chunk-Q6YAKOMH.js";
|
|
9
|
+
import "../../chunk-5HL3AR4R.js";
|
|
10
|
+
import "../../chunk-2F5IGGXH.js";
|
|
11
|
+
import "../../chunk-WNWOEBZS.js";
|
|
12
|
+
import "../../chunk-SBWQVXJA.js";
|
|
13
|
+
import "../../chunk-Q2WE7ECN.js";
|
|
14
14
|
import {
|
|
15
15
|
NodeJSFileSystem,
|
|
16
16
|
setFileSystem
|
|
17
|
-
} from "../../chunk-
|
|
17
|
+
} from "../../chunk-37JMVF7H.js";
|
|
18
18
|
import "../../chunk-KPQ72R34.js";
|
|
19
19
|
|
|
20
|
-
// bazel-out/
|
|
20
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ngc.mjs
|
|
21
21
|
import "reflect-metadata";
|
|
22
22
|
async function runNgcComamnd() {
|
|
23
23
|
process.title = "Angular Compiler (ngc)";
|