@angular/compiler-cli 20.0.2 → 20.0.4
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-5K43KTXL.js → chunk-2L4O4UIG.js} +81 -81
- package/bundles/{chunk-TPEB2IXF.js → chunk-3AHGFMNS.js} +7 -7
- package/bundles/{chunk-ZY4GZNHC.js → chunk-EBPHWYDC.js} +11 -11
- package/bundles/{chunk-SEKYV57I.js → chunk-H5Y7P5GQ.js} +3 -3
- package/bundles/{chunk-LMRFLQ2K.js → chunk-M3WWDK6S.js} +3 -3
- package/bundles/{chunk-4RDNOL2U.js → chunk-NPUFVONQ.js} +168 -168
- package/bundles/{chunk-PML5JK7B.js → chunk-NVYT6OPE.js} +7 -7
- package/bundles/{chunk-LKPFTZAW.js → chunk-QZKYZIEQ.js} +3 -3
- package/bundles/{chunk-LYJARAHL.js → chunk-TDMVX35I.js} +31 -31
- package/bundles/{chunk-3NKMA2JO.js → chunk-U5SKOFKE.js} +2 -2
- package/bundles/{chunk-XQCMDSKE.js → chunk-ZZUFYJIW.js} +5 -5
- 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 +2 -2
- /package/bundles/{chunk-5K43KTXL.js.map → chunk-2L4O4UIG.js.map} +0 -0
- /package/bundles/{chunk-TPEB2IXF.js.map → chunk-3AHGFMNS.js.map} +0 -0
- /package/bundles/{chunk-ZY4GZNHC.js.map → chunk-EBPHWYDC.js.map} +0 -0
- /package/bundles/{chunk-SEKYV57I.js.map → chunk-H5Y7P5GQ.js.map} +0 -0
- /package/bundles/{chunk-LMRFLQ2K.js.map → chunk-M3WWDK6S.js.map} +0 -0
- /package/bundles/{chunk-4RDNOL2U.js.map → chunk-NPUFVONQ.js.map} +0 -0
- /package/bundles/{chunk-PML5JK7B.js.map → chunk-NVYT6OPE.js.map} +0 -0
- /package/bundles/{chunk-LKPFTZAW.js.map → chunk-QZKYZIEQ.js.map} +0 -0
- /package/bundles/{chunk-LYJARAHL.js.map → chunk-TDMVX35I.js.map} +0 -0
- /package/bundles/{chunk-3NKMA2JO.js.map → chunk-U5SKOFKE.js.map} +0 -0
- /package/bundles/{chunk-XQCMDSKE.js.map → chunk-ZZUFYJIW.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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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-3AHGFMNS.js.map
|
|
@@ -16,9 +16,9 @@ import {
|
|
|
16
16
|
tryParseSignalInputMapping,
|
|
17
17
|
tryParseSignalModelMapping,
|
|
18
18
|
tryParseSignalQueryFromInitializer
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NPUFVONQ.js";
|
|
20
20
|
|
|
21
|
-
// bazel-out/
|
|
21
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/downlevel_decorators_transform.js
|
|
22
22
|
import ts from "typescript";
|
|
23
23
|
function isAngularDecorator2(decorator, isCore) {
|
|
24
24
|
return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
|
|
@@ -323,10 +323,10 @@ function cloneClassElementWithModifiers(node, modifiers) {
|
|
|
323
323
|
return ts.setOriginalNode(clone, node);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
// bazel-out/
|
|
326
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/transform.js
|
|
327
327
|
import ts4 from "typescript";
|
|
328
328
|
|
|
329
|
-
// bazel-out/
|
|
329
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/transform_api.js
|
|
330
330
|
import ts2 from "typescript";
|
|
331
331
|
function createSyntheticAngularCoreDecoratorAccess(factory, importManager, ngClassDecorator, sourceFile, decoratorName) {
|
|
332
332
|
const classDecoratorIdentifier = ts2.isIdentifier(ngClassDecorator.identifier) ? ngClassDecorator.identifier : ngClassDecorator.identifier.expression;
|
|
@@ -343,7 +343,7 @@ function castAsAny(factory, expr) {
|
|
|
343
343
|
return factory.createAsExpression(expr, factory.createKeywordTypeNode(ts2.SyntaxKind.AnyKeyword));
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
// bazel-out/
|
|
346
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/input_function.js
|
|
347
347
|
var signalInputsTransform = (member, sourceFile, host, factory, importTracker, importManager, classDecorator, isCore) => {
|
|
348
348
|
if (host.getDecoratorsOfDeclaration(member.node)?.some((d) => isAngularDecorator(d, "Input", isCore))) {
|
|
349
349
|
return member.node;
|
|
@@ -364,7 +364,7 @@ var signalInputsTransform = (member, sourceFile, host, factory, importTracker, i
|
|
|
364
364
|
return factory.updatePropertyDeclaration(member.node, [newDecorator, ...member.node.modifiers ?? []], member.name, member.node.questionToken, member.node.type, member.node.initializer);
|
|
365
365
|
};
|
|
366
366
|
|
|
367
|
-
// bazel-out/
|
|
367
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/model_function.js
|
|
368
368
|
import ts3 from "typescript";
|
|
369
369
|
var signalModelTransform = (member, sourceFile, host, factory, importTracker, importManager, classDecorator, isCore) => {
|
|
370
370
|
if (host.getDecoratorsOfDeclaration(member.node)?.some((d) => {
|
|
@@ -397,7 +397,7 @@ function createDecorator(name, config, classDecorator, factory, sourceFile, impo
|
|
|
397
397
|
return factory.createDecorator(factory.createCallExpression(callTarget, void 0, [config]));
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
-
// bazel-out/
|
|
400
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/output_function.js
|
|
401
401
|
var initializerApiOutputTransform = (member, sourceFile, host, factory, importTracker, importManager, classDecorator, isCore) => {
|
|
402
402
|
if (host.getDecoratorsOfDeclaration(member.node)?.some((d) => isAngularDecorator(d, "Output", isCore))) {
|
|
403
403
|
return member.node;
|
|
@@ -410,7 +410,7 @@ var initializerApiOutputTransform = (member, sourceFile, host, factory, importTr
|
|
|
410
410
|
return factory.updatePropertyDeclaration(member.node, [newDecorator, ...member.node.modifiers ?? []], member.node.name, member.node.questionToken, member.node.type, member.node.initializer);
|
|
411
411
|
};
|
|
412
412
|
|
|
413
|
-
// bazel-out/
|
|
413
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/query_functions.js
|
|
414
414
|
var queryFunctionToDecorator = {
|
|
415
415
|
viewChild: "ViewChild",
|
|
416
416
|
viewChildren: "ViewChildren",
|
|
@@ -442,7 +442,7 @@ var queryFunctionsTransforms = (member, sourceFile, host, factory, importTracker
|
|
|
442
442
|
return factory.updatePropertyDeclaration(member.node, [newDecorator, ...member.node.modifiers ?? []], member.node.name, member.node.questionToken, member.node.type, member.node.initializer);
|
|
443
443
|
};
|
|
444
444
|
|
|
445
|
-
// bazel-out/
|
|
445
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/transform.js
|
|
446
446
|
var decoratorsWithInputs = ["Directive", "Component"];
|
|
447
447
|
var propertyTransforms = [
|
|
448
448
|
signalInputsTransform,
|
|
@@ -494,7 +494,7 @@ function createTransformVisitor(ctx, host, importManager, importTracker, isCore,
|
|
|
494
494
|
return visitor;
|
|
495
495
|
}
|
|
496
496
|
|
|
497
|
-
// bazel-out/
|
|
497
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/index.js
|
|
498
498
|
function angularJitApplicationTransform(program, isCore = false, shouldTransformClass) {
|
|
499
499
|
const typeChecker = program.getTypeChecker();
|
|
500
500
|
const reflectionHost = new TypeScriptReflectionHost(typeChecker);
|
|
@@ -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-EBPHWYDC.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.js
|
|
7
7
|
var LogLevel;
|
|
8
8
|
(function(LogLevel2) {
|
|
9
9
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -12,7 +12,7 @@ var LogLevel;
|
|
|
12
12
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
13
13
|
})(LogLevel || (LogLevel = {}));
|
|
14
14
|
|
|
15
|
-
// bazel-out/
|
|
15
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.js
|
|
16
16
|
var RESET = "\x1B[0m";
|
|
17
17
|
var RED = "\x1B[31m";
|
|
18
18
|
var YELLOW = "\x1B[33m";
|
|
@@ -54,4 +54,4 @@ export {
|
|
|
54
54
|
* Use of this source code is governed by an MIT-style license that can be
|
|
55
55
|
* found in the LICENSE file at https://angular.dev/license
|
|
56
56
|
*/
|
|
57
|
-
//# sourceMappingURL=chunk-
|
|
57
|
+
//# sourceMappingURL=chunk-H5Y7P5GQ.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.js
|
|
7
7
|
var Context = class {
|
|
8
8
|
isStatement;
|
|
9
9
|
constructor(isStatement) {
|
|
@@ -17,7 +17,7 @@ var Context = class {
|
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
// bazel-out/
|
|
20
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.js
|
|
21
21
|
import * as o from "@angular/compiler";
|
|
22
22
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
23
23
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -293,4 +293,4 @@ export {
|
|
|
293
293
|
* Use of this source code is governed by an MIT-style license that can be
|
|
294
294
|
* found in the LICENSE file at https://angular.dev/license
|
|
295
295
|
*/
|
|
296
|
-
//# sourceMappingURL=chunk-
|
|
296
|
+
//# sourceMappingURL=chunk-M3WWDK6S.js.map
|