@angular/compiler-cli 20.1.0-next.2 → 20.1.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/bundles/{chunk-U5SKOFKE.js → chunk-3NKMA2JO.js} +2 -2
- package/bundles/{chunk-CZ5FD3CS.js → chunk-6ECVYRSU.js} +19 -8
- package/bundles/chunk-6ECVYRSU.js.map +6 -0
- package/bundles/{chunk-OVACIG5Q.js → chunk-DI76UIWO.js} +3 -3
- package/bundles/{chunk-N3B6BMGR.js → chunk-FPHHL4UV.js} +45 -34
- package/bundles/{chunk-N3B6BMGR.js.map → chunk-FPHHL4UV.js.map} +1 -1
- package/bundles/{chunk-FPJJEIPU.js → chunk-J27XEXWK.js} +11 -11
- package/bundles/{chunk-UMD7AW7S.js → chunk-JVXFMHZL.js} +316 -223
- package/bundles/chunk-JVXFMHZL.js.map +6 -0
- package/bundles/{chunk-OOYRM3V7.js → chunk-M6L5FWG4.js} +83 -83
- package/bundles/{chunk-OOYRM3V7.js.map → chunk-M6L5FWG4.js.map} +2 -2
- package/bundles/{chunk-NVYT6OPE.js → chunk-PML5JK7B.js} +7 -7
- package/bundles/{chunk-H5Y7P5GQ.js → chunk-SEKYV57I.js} +3 -3
- package/bundles/{chunk-3AHGFMNS.js → chunk-TPEB2IXF.js} +7 -7
- package/bundles/{chunk-CY4WXRF2.js → chunk-YYCGL737.js} +5 -5
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +25 -14
- package/bundles/linker/babel/index.js.map +1 -1
- 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/babel/src/ast/babel_ast_factory.d.ts +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/metadata.d.ts +3 -1
- package/src/ngtsc/perf/src/api.d.ts +12 -8
- package/src/ngtsc/translator/src/api/ast_factory.d.ts +3 -2
- package/src/ngtsc/translator/src/typescript_ast_factory.d.ts +1 -1
- package/src/ngtsc/typecheck/api/checker.d.ts +3 -2
- package/src/ngtsc/typecheck/api/scope.d.ts +24 -2
- package/src/ngtsc/typecheck/src/checker.d.ts +6 -2
- package/src/ngtsc/typecheck/src/oob.d.ts +7 -4
- package/bundles/chunk-CZ5FD3CS.js.map +0 -6
- package/bundles/chunk-UMD7AW7S.js.map +0 -6
- /package/bundles/{chunk-U5SKOFKE.js.map → chunk-3NKMA2JO.js.map} +0 -0
- /package/bundles/{chunk-OVACIG5Q.js.map → chunk-DI76UIWO.js.map} +0 -0
- /package/bundles/{chunk-FPJJEIPU.js.map → chunk-J27XEXWK.js.map} +0 -0
- /package/bundles/{chunk-NVYT6OPE.js.map → chunk-PML5JK7B.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-CY4WXRF2.js.map → chunk-YYCGL737.js.map} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.js
|
|
7
7
|
var InvalidFileSystem = class {
|
|
8
8
|
exists(path) {
|
|
9
9
|
throw makeError();
|
|
@@ -91,7 +91,7 @@ function makeError() {
|
|
|
91
91
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
// bazel-out/
|
|
94
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.js
|
|
95
95
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
96
96
|
function normalizeSeparators(path) {
|
|
97
97
|
return path.replace(/\\/g, "/");
|
|
@@ -107,7 +107,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
107
107
|
return sf;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
// bazel-out/
|
|
110
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.js
|
|
111
111
|
var fs = new InvalidFileSystem();
|
|
112
112
|
function getFileSystem() {
|
|
113
113
|
return fs;
|
|
@@ -164,7 +164,7 @@ function toRelativeImport(relativePath) {
|
|
|
164
164
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
// bazel-out/
|
|
167
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.js
|
|
168
168
|
import * as os from "os";
|
|
169
169
|
import ts from "typescript";
|
|
170
170
|
var NgtscCompilerHost = class {
|
|
@@ -224,7 +224,7 @@ var NgtscCompilerHost = class {
|
|
|
224
224
|
}
|
|
225
225
|
};
|
|
226
226
|
|
|
227
|
-
// bazel-out/
|
|
227
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.js
|
|
228
228
|
var LogicalProjectPath = {
|
|
229
229
|
relativePathBetween: function(from, to) {
|
|
230
230
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -273,7 +273,7 @@ function isWithinBasePath(base, path) {
|
|
|
273
273
|
return isLocalRelativePath(relative(base, path));
|
|
274
274
|
}
|
|
275
275
|
|
|
276
|
-
// bazel-out/
|
|
276
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/ts_read_directory.js
|
|
277
277
|
import ts2 from "typescript";
|
|
278
278
|
function createFileSystemTsReadDirectoryFn(fs2) {
|
|
279
279
|
if (ts2.matchFiles === void 0) {
|
|
@@ -335,4 +335,4 @@ export {
|
|
|
335
335
|
* Use of this source code is governed by an MIT-style license that can be
|
|
336
336
|
* found in the LICENSE file at https://angular.dev/license
|
|
337
337
|
*/
|
|
338
|
-
//# sourceMappingURL=chunk-
|
|
338
|
+
//# sourceMappingURL=chunk-TPEB2IXF.js.map
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
formatDiagnostics,
|
|
13
13
|
performCompilation,
|
|
14
14
|
readConfiguration
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-M6L5FWG4.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.js
|
|
18
18
|
import ts2 from "typescript";
|
|
19
19
|
import yargs from "yargs";
|
|
20
20
|
|
|
21
|
-
// bazel-out/
|
|
21
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_watch.js
|
|
22
22
|
import * as chokidar from "chokidar";
|
|
23
23
|
import * as path from "path";
|
|
24
24
|
import ts from "typescript";
|
|
@@ -242,7 +242,7 @@ function performWatchCompilation(host) {
|
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
// bazel-out/
|
|
245
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.js
|
|
246
246
|
function main(args, consoleError = console.error, config, customTransformers, programReuse, modifiedResourceFiles) {
|
|
247
247
|
let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
|
|
248
248
|
if (configErrors.length) {
|
|
@@ -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-YYCGL737.js.map
|
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-M6L5FWG4.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-DI76UIWO.js";
|
|
41
41
|
import {
|
|
42
42
|
angularJitApplicationTransform,
|
|
43
43
|
getDownlevelDecoratorsTransform,
|
|
44
44
|
getInitializerApiJitTransform
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-J27XEXWK.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-JVXFMHZL.js";
|
|
55
|
+
import "./chunk-6ECVYRSU.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.1.0-next.
|
|
85
|
+
var VERSION = new Version("20.1.0-next.3");
|
|
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-FPHHL4UV.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-6ECVYRSU.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;
|
|
@@ -37,9 +37,9 @@ var BabelAstFactory = class {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
createArrayLiteral = t.arrayExpression;
|
|
40
|
-
createAssignment(target, value) {
|
|
40
|
+
createAssignment(target, operator, value) {
|
|
41
41
|
assert(target, isLExpression, "must be a left hand side expression");
|
|
42
|
-
return t.assignmentExpression(
|
|
42
|
+
return t.assignmentExpression(operator, target, value);
|
|
43
43
|
}
|
|
44
44
|
createBinaryExpression(leftOperand, operator, rightOperand) {
|
|
45
45
|
switch (operator) {
|
|
@@ -47,6 +47,17 @@ var BabelAstFactory = class {
|
|
|
47
47
|
case "||":
|
|
48
48
|
case "??":
|
|
49
49
|
return t.logicalExpression(operator, leftOperand, rightOperand);
|
|
50
|
+
case "=":
|
|
51
|
+
case "+=":
|
|
52
|
+
case "-=":
|
|
53
|
+
case "*=":
|
|
54
|
+
case "/=":
|
|
55
|
+
case "%=":
|
|
56
|
+
case "**=":
|
|
57
|
+
case "&&=":
|
|
58
|
+
case "||=":
|
|
59
|
+
case "??=":
|
|
60
|
+
throw new Error(`Unexpected assignment operator ${operator}`);
|
|
50
61
|
default:
|
|
51
62
|
return t.binaryExpression(operator, leftOperand, rightOperand);
|
|
52
63
|
}
|
|
@@ -155,7 +166,7 @@ function isLExpression(expr) {
|
|
|
155
166
|
return t.isLVal(expr);
|
|
156
167
|
}
|
|
157
168
|
|
|
158
|
-
// bazel-out/
|
|
169
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_host.js
|
|
159
170
|
import { types as t2 } from "@babel/core";
|
|
160
171
|
var BabelAstHost = class {
|
|
161
172
|
getSymbolName(node) {
|
|
@@ -281,7 +292,7 @@ function isMinifiedBooleanLiteral(node) {
|
|
|
281
292
|
return t2.isUnaryExpression(node) && node.prefix && node.operator === "!" && t2.isNumericLiteral(node.argument) && (node.argument.value === 0 || node.argument.value === 1);
|
|
282
293
|
}
|
|
283
294
|
|
|
284
|
-
// bazel-out/
|
|
295
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_declaration_scope.js
|
|
285
296
|
import { types as t3 } from "@babel/core";
|
|
286
297
|
var BabelDeclarationScope = class {
|
|
287
298
|
declarationScope;
|
|
@@ -308,7 +319,7 @@ var BabelDeclarationScope = class {
|
|
|
308
319
|
}
|
|
309
320
|
};
|
|
310
321
|
|
|
311
|
-
// bazel-out/
|
|
322
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.js
|
|
312
323
|
function createEs2015LinkerPlugin({ fileSystem, logger, ...options }) {
|
|
313
324
|
let fileLinker = null;
|
|
314
325
|
return {
|
|
@@ -408,7 +419,7 @@ function buildCodeFrameError(file, message, node) {
|
|
|
408
419
|
return `${filename}: ${error.message}`;
|
|
409
420
|
}
|
|
410
421
|
|
|
411
|
-
// bazel-out/
|
|
422
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_plugin.js
|
|
412
423
|
function defaultLinkerPlugin(api, options) {
|
|
413
424
|
api.assertVersion(7);
|
|
414
425
|
return createEs2015LinkerPlugin({
|
|
@@ -418,7 +429,7 @@ function defaultLinkerPlugin(api, options) {
|
|
|
418
429
|
});
|
|
419
430
|
}
|
|
420
431
|
|
|
421
|
-
// bazel-out/
|
|
432
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/index.js
|
|
422
433
|
var babel_default = defaultLinkerPlugin;
|
|
423
434
|
export {
|
|
424
435
|
createEs2015LinkerPlugin,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../linker/babel/src/es2015_linker_plugin.ts", "../../../linker/babel/src/ast/babel_ast_factory.ts", "../../../linker/babel/src/ast/babel_ast_host.ts", "../../../linker/babel/src/babel_declaration_scope.ts", "../../../linker/babel/src/babel_plugin.ts", "../../../linker/babel/index.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAwC,SAASA,UAAQ;;;ACDzD,SAAQ,SAAS,SAAQ;AAgBnB,IAAO,kBAAP,MAAsB;EAGhB;EAFV,YAEU,WAAiB;AAAjB,SAAA,YAAA;EACP;EAEH,eAAe,WAAuC,iBAAiC;AAErF,aAAS,IAAI,gBAAgB,SAAS,GAAG,KAAK,GAAG,KAAK;AACpD,YAAM,UAAU,gBAAgB;AAChC,QAAE,WAAW,WAAW,WAAW,QAAQ,SAAQ,GAAI,CAAC,QAAQ,SAAS;IAC3E;EACF;EAEA,qBAAqB,EAAE;EAEvB,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAwC,SAASA,UAAQ;;;ACDzD,SAAQ,SAAS,SAAQ;AAgBnB,IAAO,kBAAP,MAAsB;EAGhB;EAFV,YAEU,WAAiB;AAAjB,SAAA,YAAA;EACP;EAEH,eAAe,WAAuC,iBAAiC;AAErF,aAAS,IAAI,gBAAgB,SAAS,GAAG,KAAK,GAAG,KAAK;AACpD,YAAM,UAAU,gBAAgB;AAChC,QAAE,WAAW,WAAW,WAAW,QAAQ,SAAQ,GAAI,CAAC,QAAQ,SAAS;IAC3E;EACF;EAEA,qBAAqB,EAAE;EAEvB,iBACE,QACA,UACA,OAAmB;AAEnB,WAAO,QAAQ,eAAe,qCAAqC;AACnE,WAAO,EAAE,qBAAqB,UAAU,QAAQ,KAAK;EACvD;EAEA,uBACE,aACA,UACA,cAA0B;AAE1B,YAAQ,UAAU;MAChB,KAAK;MACL,KAAK;MACL,KA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,SAAK,mBAAmB,aAAa,UAAU;EACjD;AACF;AAEA,SAAS,cAAc,MAAgC;AACrD,QAAM,SAAS,KAAK,KAAK;AACzB,MAAIC,GAAE,aAAa,MAAM,GAAG;AAC1B,WAAO,OAAO;EAChB,WAAWA,GAAE,mBAAmB,MAAM,KAAKA,GAAE,aAAa,OAAO,QAAQ,GAAG;AAC1E,WAAO,OAAO,SAAS;EACzB,WAAWA,GAAE,mBAAmB,MAAM,KAAKA,GAAE,gBAAgB,OAAO,QAAQ,GAAG;AAC7E,WAAO,OAAO,SAAS;EACzB,OAAO;AACL,WAAO;EACT;AACF;AAKA,SAAS,kBAAkB,OAAe;AACxC,SAAO,MAAM,MAAM,CAAC,SAASA,GAAE,aAAa,IAAI,CAAC;AACnD;AAKA,SAAS,WAAc,KAAa;AAClC,MAAI,QAAQ,MAAM;AAChB,UAAM,IAAI,MAAM,iCAAiC;EACnD;AACF;AAKA,SAAS,cAAiB,KAAa;AACrC,MAAI,QAAQ,MAAM;AAChB,UAAM,IAAI,MAAM,qCAAqC;EACvD;AACF;AAKA,SAAS,oBAAoB,MAAiB,SAAiB,MAAY;AACzE,QAAM,WAAW,KAAK,KAAK,YAAY;AACvC,QAAM,QAAQ,KAAK,IAAI,WAAW,MAAM,OAAO;AAC/C,SAAO,GAAG,aAAa,MAAM;AAC/B;;;AIhKM,SAAU,oBAAoB,KAAgB,SAA+B;AACjF,MAAI,cAAc,CAAC;AAEnB,SAAO,yBAAyB;IAC9B,GAAG;IACH,YAAY,IAAI,iBAAgB;IAChC,QAAQ,IAAI,cAAc,SAAS,IAAI;GACxC;AACH;;;AC5BA,IAAA,gBAAe;",
|
|
5
5
|
"names": ["t", "t", "t", "t", "t"]
|
|
6
6
|
}
|
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-FPHHL4UV.js";
|
|
14
|
+
import "../chunk-PML5JK7B.js";
|
|
15
|
+
import "../chunk-6ECVYRSU.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-JVXFMHZL.js";
|
|
17
|
+
import "../chunk-6ECVYRSU.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-DI76UIWO.js";
|
|
10
|
+
import "../chunk-J27XEXWK.js";
|
|
11
|
+
import "../chunk-JVXFMHZL.js";
|
|
12
|
+
import "../chunk-6ECVYRSU.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-YYCGL737.js";
|
|
10
10
|
import {
|
|
11
11
|
EmitFlags
|
|
12
|
-
} from "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
12
|
+
} from "../../chunk-M6L5FWG4.js";
|
|
13
|
+
import "../../chunk-J27XEXWK.js";
|
|
14
|
+
import "../../chunk-JVXFMHZL.js";
|
|
15
|
+
import "../../chunk-6ECVYRSU.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-YYCGL737.js";
|
|
9
|
+
import "../../chunk-M6L5FWG4.js";
|
|
10
|
+
import "../../chunk-J27XEXWK.js";
|
|
11
|
+
import "../../chunk-JVXFMHZL.js";
|
|
12
|
+
import "../../chunk-6ECVYRSU.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)";
|
|
@@ -18,7 +18,7 @@ export declare class BabelAstFactory implements AstFactory<t.Statement, t.Expres
|
|
|
18
18
|
sourceUrl: string);
|
|
19
19
|
attachComments(statement: t.Statement | t.Expression, leadingComments: LeadingComment[]): void;
|
|
20
20
|
createArrayLiteral: typeof t.arrayExpression;
|
|
21
|
-
createAssignment(target: t.Expression, value: t.Expression): t.Expression;
|
|
21
|
+
createAssignment(target: t.Expression, operator: BinaryOperator, value: t.Expression): t.Expression;
|
|
22
22
|
createBinaryExpression(leftOperand: t.Expression, operator: BinaryOperator, rightOperand: t.Expression): t.Expression;
|
|
23
23
|
createBlock: typeof t.blockStatement;
|
|
24
24
|
createCallExpression(callee: t.Expression, args: t.Expression[], pure: boolean): t.Expression;
|
|
@@ -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-next.
|
|
10
|
+
export declare const PLACEHOLDER_VERSION = "20.1.0-next.3";
|
|
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-next.
|
|
3
|
+
"version": "20.1.0-next.3",
|
|
4
4
|
"description": "Angular - the compiler CLI for Node.js",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"bin": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"yargs": "^18.0.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@angular/compiler": "20.1.0-next.
|
|
51
|
+
"@angular/compiler": "20.1.0-next.3",
|
|
52
52
|
"typescript": ">=5.8 <5.9"
|
|
53
53
|
},
|
|
54
54
|
"peerDependenciesMeta": {
|
|
@@ -19,7 +19,7 @@ import { HostBindingNodes } from '../../directive';
|
|
|
19
19
|
* The `keyof R3ComponentMetadata &` condition ensures that only fields of `R3ComponentMetadata` can
|
|
20
20
|
* be included here.
|
|
21
21
|
*/
|
|
22
|
-
export type ComponentMetadataResolvedFields = SubsetOfKeys<R3ComponentMetadata<R3TemplateDependencyMetadata>, 'declarations' | 'declarationListEmitMode' | 'defer'>;
|
|
22
|
+
export type ComponentMetadataResolvedFields = SubsetOfKeys<R3ComponentMetadata<R3TemplateDependencyMetadata>, 'declarations' | 'declarationListEmitMode' | 'defer' | 'hasDirectiveDependencies'>;
|
|
23
23
|
export interface ComponentAnalysisData {
|
|
24
24
|
/**
|
|
25
25
|
* `meta` includes those fields of `R3ComponentMetadata` which are calculated at `analyze` time
|
|
@@ -104,6 +104,8 @@ export interface ComponentResolutionData {
|
|
|
104
104
|
* defer resolver function in `PerComponent` mode.
|
|
105
105
|
*/
|
|
106
106
|
deferPerComponentDependencies: R3DeferPerComponentDependency[];
|
|
107
|
+
/** Whether the component is standalone and has any directly-imported directive dependencies. */
|
|
108
|
+
hasDirectiveDependencies: boolean;
|
|
107
109
|
}
|
|
108
110
|
/**
|
|
109
111
|
* Describes a dependency used within a `@defer` block.
|
|
@@ -128,26 +128,30 @@ export declare enum PerfPhase {
|
|
|
128
128
|
* Time spent by the Angular Language Service calculating outlining spans.
|
|
129
129
|
*/
|
|
130
130
|
OutliningSpans = 24,
|
|
131
|
-
/**
|
|
132
|
-
* Tracks the number of `PerfPhase`s, and must appear at the end of the list.
|
|
133
|
-
*/
|
|
134
|
-
LAST = 25,
|
|
135
131
|
/**
|
|
136
132
|
* Time spent by the Angular Language Service calculating code fixes.
|
|
137
133
|
*/
|
|
138
|
-
LsCodeFixes =
|
|
134
|
+
LsCodeFixes = 25,
|
|
139
135
|
/**
|
|
140
136
|
* Time spent by the Angular Language Service to fix all detected same type errors.
|
|
141
137
|
*/
|
|
142
|
-
LsCodeFixesAll =
|
|
138
|
+
LsCodeFixesAll = 26,
|
|
143
139
|
/**
|
|
144
140
|
* Time spent computing possible Angular refactorings.
|
|
145
141
|
*/
|
|
146
|
-
LSComputeApplicableRefactorings =
|
|
142
|
+
LSComputeApplicableRefactorings = 27,
|
|
147
143
|
/**
|
|
148
144
|
* Time spent computing changes for applying a given refactoring.
|
|
149
145
|
*/
|
|
150
|
-
LSApplyRefactoring =
|
|
146
|
+
LSApplyRefactoring = 28,
|
|
147
|
+
/**
|
|
148
|
+
* Time spent by the Angular Language Service calculating semantic classifications.
|
|
149
|
+
*/
|
|
150
|
+
LSSemanticClassification = 29,
|
|
151
|
+
/**
|
|
152
|
+
* Tracks the number of `PerfPhase`s, and must appear at the end of the list.
|
|
153
|
+
*/
|
|
154
|
+
LAST = 30
|
|
151
155
|
}
|
|
152
156
|
/**
|
|
153
157
|
* Represents some occurrence during compilation, and is tracked with a counter.
|
|
@@ -30,9 +30,10 @@ export interface AstFactory<TStatement, TExpression> {
|
|
|
30
30
|
* Create an assignment expression (e.g. `lhsExpr = rhsExpr`).
|
|
31
31
|
*
|
|
32
32
|
* @param target an expression that evaluates to the left side of the assignment.
|
|
33
|
+
* @param operator binary assignment operator that will be applied.
|
|
33
34
|
* @param value an expression that evaluates to the right side of the assignment.
|
|
34
35
|
*/
|
|
35
|
-
createAssignment(target: TExpression, value: TExpression): TExpression;
|
|
36
|
+
createAssignment(target: TExpression, operator: BinaryOperator, value: TExpression): TExpression;
|
|
36
37
|
/**
|
|
37
38
|
* Create a binary expression (e.g. `lhs && rhs`).
|
|
38
39
|
*
|
|
@@ -238,7 +239,7 @@ export type UnaryOperator = '+' | '-' | '!';
|
|
|
238
239
|
/**
|
|
239
240
|
* The binary operators supported by the `AstFactory`.
|
|
240
241
|
*/
|
|
241
|
-
export type BinaryOperator = '&&' | '>' | '>=' | '&' | '|' | '/' | '==' | '===' | '<' | '<=' | '-' | '%' | '*' | '**' | '!=' | '!==' | '||' | '+' | '??' | 'in';
|
|
242
|
+
export type BinaryOperator = '&&' | '>' | '>=' | '&' | '|' | '/' | '==' | '===' | '<' | '<=' | '-' | '%' | '*' | '**' | '!=' | '!==' | '||' | '+' | '??' | 'in' | '=' | '+=' | '-=' | '*=' | '/=' | '%=' | '**=' | '&&=' | '||=' | '??=';
|
|
242
243
|
/**
|
|
243
244
|
* The original location of the start or end of a node created by the `AstFactory`.
|
|
244
245
|
*/
|
|
@@ -16,7 +16,7 @@ export declare class TypeScriptAstFactory implements AstFactory<ts.Statement, ts
|
|
|
16
16
|
constructor(annotateForClosureCompiler: boolean);
|
|
17
17
|
attachComments: typeof attachComments;
|
|
18
18
|
createArrayLiteral: (elements?: readonly ts.Expression[], multiLine?: boolean) => ts.ArrayLiteralExpression;
|
|
19
|
-
createAssignment(target: ts.Expression, value: ts.Expression): ts.Expression;
|
|
19
|
+
createAssignment(target: ts.Expression, operator: BinaryOperator, value: ts.Expression): ts.Expression;
|
|
20
20
|
createBinaryExpression(leftOperand: ts.Expression, operator: BinaryOperator, rightOperand: ts.Expression): ts.Expression;
|
|
21
21
|
createBlock(body: ts.Statement[]): ts.Statement;
|
|
22
22
|
createCallExpression(callee: ts.Expression, args: ts.Expression[], pure: boolean): ts.Expression;
|
|
@@ -14,7 +14,7 @@ import { NgModuleMeta, PipeMeta } from '../../metadata';
|
|
|
14
14
|
import { ClassDeclaration } from '../../reflection';
|
|
15
15
|
import { FullSourceMapping, GetPotentialAngularMetaOptions, NgTemplateDiagnostic, TypeCheckableDirectiveMeta } from './api';
|
|
16
16
|
import { GlobalCompletion } from './completion';
|
|
17
|
-
import { PotentialDirective, PotentialImport, PotentialImportMode, PotentialPipe, TsCompletionEntryInfo } from './scope';
|
|
17
|
+
import { PotentialDirective, PotentialDirectiveModuleSpecifierResolver, PotentialImport, PotentialImportMode, PotentialPipe, TsCompletionEntryInfo } from './scope';
|
|
18
18
|
import { ElementSymbol, SelectorlessComponentSymbol, SelectorlessDirectiveSymbol, Symbol, TcbLocation, TemplateSymbol } from './symbols';
|
|
19
19
|
/**
|
|
20
20
|
* Interface to the Angular Template Type Checker to extract diagnostics and intelligence from the
|
|
@@ -92,6 +92,7 @@ export interface TemplateTypeChecker {
|
|
|
92
92
|
*/
|
|
93
93
|
getSymbolOfNode(node: TmplAstElement, component: ts.ClassDeclaration): ElementSymbol | null;
|
|
94
94
|
getSymbolOfNode(node: TmplAstTemplate, component: ts.ClassDeclaration): TemplateSymbol | null;
|
|
95
|
+
getSymbolOfNode(node: TmplAstTemplate | TmplAstElement, component: ts.ClassDeclaration): TemplateSymbol | ElementSymbol | null;
|
|
95
96
|
getSymbolOfNode(node: TmplAstComponent, component: ts.ClassDeclaration): SelectorlessComponentSymbol | null;
|
|
96
97
|
getSymbolOfNode(node: TmplAstDirective, component: ts.ClassDeclaration): SelectorlessDirectiveSymbol | null;
|
|
97
98
|
getSymbolOfNode(node: AST | TmplAstNode, component: ts.ClassDeclaration): Symbol | null;
|
|
@@ -150,7 +151,7 @@ export interface TemplateTypeChecker {
|
|
|
150
151
|
/**
|
|
151
152
|
* In the context of an Angular trait, generate potential imports for a directive.
|
|
152
153
|
*/
|
|
153
|
-
getPotentialImportsFor(toImport: Reference<ClassDeclaration>, inContext: ts.Node, importMode: PotentialImportMode): ReadonlyArray<PotentialImport>;
|
|
154
|
+
getPotentialImportsFor(toImport: Reference<ClassDeclaration>, inContext: ts.Node, importMode: PotentialImportMode, potentialDirectiveModuleSpecifierResolver?: PotentialDirectiveModuleSpecifierResolver): ReadonlyArray<PotentialImport>;
|
|
154
155
|
/**
|
|
155
156
|
* Get the primary decorator for an Angular class (such as @Component). This does not work for
|
|
156
157
|
* `@Injectable`.
|