@angular/compiler-cli 17.1.1 → 17.1.2
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-LD7OKX22.js → chunk-24NMPW5I.js} +30 -30
- package/bundles/{chunk-WCD6LVCP.js → chunk-2WQIUGOU.js} +7 -7
- package/bundles/{chunk-TQYIA5ZM.js → chunk-5YHUYFQ5.js} +141 -132
- package/bundles/chunk-5YHUYFQ5.js.map +6 -0
- package/bundles/{chunk-R4KQI5XI.js → chunk-64JBPJBS.js} +5 -5
- package/bundles/{chunk-Q5Y7HH3O.js → chunk-6VEEN3ZS.js} +5 -5
- package/bundles/{chunk-QPMYDNZG.js → chunk-DUY2FPLZ.js} +7 -7
- package/bundles/{chunk-TNWTCE6C.js → chunk-GKQNBAG5.js} +74 -74
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-VTJUF2MM.js → chunk-MIB7EGOT.js} +5 -5
- package/bundles/{chunk-22WKDIPL.js → chunk-TFBB265K.js} +36 -36
- package/bundles/{chunk-7MBQJYBK.js → chunk-TKJ4KX5N.js} +6 -6
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +5 -5
- package/bundles/private/tooling.js +5 -5
- 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/bin/ng_xi18n.d.ts +1 -1
- package/src/bin/ngc.d.ts +1 -1
- package/src/ngtsc/typecheck/src/comments.d.ts +2 -1
- package/bundles/chunk-TQYIA5ZM.js.map +0 -6
- /package/bundles/{chunk-LD7OKX22.js.map → chunk-24NMPW5I.js.map} +0 -0
- /package/bundles/{chunk-WCD6LVCP.js.map → chunk-2WQIUGOU.js.map} +0 -0
- /package/bundles/{chunk-R4KQI5XI.js.map → chunk-64JBPJBS.js.map} +0 -0
- /package/bundles/{chunk-Q5Y7HH3O.js.map → chunk-6VEEN3ZS.js.map} +0 -0
- /package/bundles/{chunk-QPMYDNZG.js.map → chunk-DUY2FPLZ.js.map} +0 -0
- /package/bundles/{chunk-TNWTCE6C.js.map → chunk-GKQNBAG5.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-VTJUF2MM.js.map → chunk-MIB7EGOT.js.map} +0 -0
- /package/bundles/{chunk-22WKDIPL.js.map → chunk-TFBB265K.js.map} +0 -0
- /package/bundles/{chunk-7MBQJYBK.js.map → chunk-TKJ4KX5N.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/logging/src/logger.mjs
|
|
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
16
16
|
var RESET = "\x1B[0m";
|
|
17
17
|
var RED = "\x1B[31m";
|
|
18
18
|
var YELLOW = "\x1B[33m";
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
* Use of this source code is governed by an MIT-style license that can be
|
|
54
54
|
* found in the LICENSE file at https://angular.io/license
|
|
55
55
|
*/
|
|
56
|
-
//# sourceMappingURL=chunk-
|
|
56
|
+
//# sourceMappingURL=chunk-LYJKWJUC.js.map
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
formatDiagnostics,
|
|
13
13
|
performCompilation,
|
|
14
14
|
readConfiguration
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5YHUYFQ5.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
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.mjs
|
|
22
22
|
import * as chokidar from "chokidar";
|
|
23
23
|
import * as path from "path";
|
|
24
24
|
import ts from "typescript";
|
|
@@ -234,7 +234,7 @@ function performWatchCompilation(host) {
|
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
// bazel-out/
|
|
237
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
238
238
|
function main(args, consoleError = console.error, config, customTransformers, programReuse, modifiedResourceFiles) {
|
|
239
239
|
let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
|
|
240
240
|
if (configErrors.length) {
|
|
@@ -342,4 +342,4 @@ export {
|
|
|
342
342
|
* Use of this source code is governed by an MIT-style license that can be
|
|
343
343
|
* found in the LICENSE file at https://angular.io/license
|
|
344
344
|
*/
|
|
345
|
-
//# sourceMappingURL=chunk-
|
|
345
|
+
//# sourceMappingURL=chunk-MIB7EGOT.js.map
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DUY2FPLZ.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
18
18
|
import ts4 from "typescript";
|
|
19
19
|
|
|
20
|
-
// bazel-out/
|
|
20
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
21
21
|
import ts from "typescript";
|
|
22
22
|
function isDecoratorIdentifier(exp) {
|
|
23
23
|
return ts.isIdentifier(exp) || ts.isPropertyAccessExpression(exp) && ts.isIdentifier(exp.expression) && ts.isIdentifier(exp.name);
|
|
@@ -32,7 +32,7 @@ var ClassMemberKind;
|
|
|
32
32
|
})(ClassMemberKind || (ClassMemberKind = {}));
|
|
33
33
|
var AmbientImport = {};
|
|
34
34
|
|
|
35
|
-
// bazel-out/
|
|
35
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
36
36
|
import ts2 from "typescript";
|
|
37
37
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
38
38
|
var _a, _b;
|
|
@@ -205,7 +205,7 @@ function extractModuleName(node) {
|
|
|
205
205
|
return node.moduleSpecifier.text;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
// bazel-out/
|
|
208
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
209
209
|
import ts3 from "typescript";
|
|
210
210
|
function isNamedClassDeclaration(node) {
|
|
211
211
|
return ts3.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -214,7 +214,7 @@ function isIdentifier(node) {
|
|
|
214
214
|
return node !== void 0 && ts3.isIdentifier(node);
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
-
// bazel-out/
|
|
217
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
218
218
|
var TypeScriptReflectionHost = class {
|
|
219
219
|
constructor(checker, isLocalCompilation = false) {
|
|
220
220
|
this.checker = checker;
|
|
@@ -654,7 +654,7 @@ function getExportedName(decl, originalId) {
|
|
|
654
654
|
}
|
|
655
655
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
656
656
|
|
|
657
|
-
// bazel-out/
|
|
657
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
658
658
|
import ts5 from "typescript";
|
|
659
659
|
var TS = /\.tsx?$/i;
|
|
660
660
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -755,7 +755,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
755
755
|
return redirectInfo.unredirected;
|
|
756
756
|
}
|
|
757
757
|
|
|
758
|
-
// bazel-out/
|
|
758
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
759
759
|
var Reference = class {
|
|
760
760
|
constructor(node, bestGuessOwningModule = null) {
|
|
761
761
|
this.node = node;
|
|
@@ -824,14 +824,14 @@ var Reference = class {
|
|
|
824
824
|
}
|
|
825
825
|
};
|
|
826
826
|
|
|
827
|
-
// bazel-out/
|
|
827
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
828
828
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
829
829
|
|
|
830
|
-
// bazel-out/
|
|
830
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
831
831
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
832
832
|
import ts7 from "typescript";
|
|
833
833
|
|
|
834
|
-
// bazel-out/
|
|
834
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
835
835
|
var ErrorCode;
|
|
836
836
|
(function(ErrorCode2) {
|
|
837
837
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -918,7 +918,7 @@ var ErrorCode;
|
|
|
918
918
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_IMPORTED_STYLES_STRING"] = 11002] = "LOCAL_COMPILATION_IMPORTED_STYLES_STRING";
|
|
919
919
|
})(ErrorCode || (ErrorCode = {}));
|
|
920
920
|
|
|
921
|
-
// bazel-out/
|
|
921
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
922
922
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
923
923
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
924
924
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -930,10 +930,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
930
930
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
931
931
|
]);
|
|
932
932
|
|
|
933
|
-
// bazel-out/
|
|
933
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
934
934
|
import ts6 from "typescript";
|
|
935
935
|
|
|
936
|
-
// bazel-out/
|
|
936
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
937
937
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
938
938
|
function replaceTsWithNgInErrors(errors) {
|
|
939
939
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -942,7 +942,7 @@ function ngErrorCode(code) {
|
|
|
942
942
|
return parseInt("-99" + code);
|
|
943
943
|
}
|
|
944
944
|
|
|
945
|
-
// bazel-out/
|
|
945
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
946
946
|
var FatalDiagnosticError = class {
|
|
947
947
|
constructor(code, node, message, relatedInformation) {
|
|
948
948
|
this.code = code;
|
|
@@ -998,10 +998,10 @@ function addDiagnosticChain(messageText, add) {
|
|
|
998
998
|
return messageText;
|
|
999
999
|
}
|
|
1000
1000
|
|
|
1001
|
-
// bazel-out/
|
|
1001
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
1002
1002
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
1003
1003
|
|
|
1004
|
-
// bazel-out/
|
|
1004
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
1005
1005
|
var ExtendedTemplateDiagnosticName;
|
|
1006
1006
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
1007
1007
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -1016,7 +1016,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
1016
1016
|
ExtendedTemplateDiagnosticName2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = "controlFlowPreventingContentProjection";
|
|
1017
1017
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
1018
1018
|
|
|
1019
|
-
// bazel-out/
|
|
1019
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
1020
1020
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1021
1021
|
const exports = reflector.getExportsOfModule(file);
|
|
1022
1022
|
if (exports === null) {
|
|
@@ -1036,7 +1036,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1036
1036
|
return foundExportName;
|
|
1037
1037
|
}
|
|
1038
1038
|
|
|
1039
|
-
// bazel-out/
|
|
1039
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1040
1040
|
var ImportFlags;
|
|
1041
1041
|
(function(ImportFlags2) {
|
|
1042
1042
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1265,7 +1265,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1265
1265
|
}
|
|
1266
1266
|
};
|
|
1267
1267
|
|
|
1268
|
-
// bazel-out/
|
|
1268
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1269
1269
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1270
1270
|
var UnifiedModulesAliasingHost = class {
|
|
1271
1271
|
constructor(unifiedModulesHost) {
|
|
@@ -1332,7 +1332,7 @@ var AliasStrategy = class {
|
|
|
1332
1332
|
}
|
|
1333
1333
|
};
|
|
1334
1334
|
|
|
1335
|
-
// bazel-out/
|
|
1335
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1336
1336
|
function relativePathBetween(from, to) {
|
|
1337
1337
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1338
1338
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1341,7 +1341,7 @@ function normalizeSeparators(path) {
|
|
|
1341
1341
|
return path.replace(/\\/g, "/");
|
|
1342
1342
|
}
|
|
1343
1343
|
|
|
1344
|
-
// bazel-out/
|
|
1344
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1345
1345
|
var NoopImportRewriter = class {
|
|
1346
1346
|
shouldImportSymbol(symbol, specifier) {
|
|
1347
1347
|
return true;
|
|
@@ -1400,7 +1400,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1400
1400
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1401
1401
|
}
|
|
1402
1402
|
|
|
1403
|
-
// bazel-out/
|
|
1403
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
1404
1404
|
import ts8 from "typescript";
|
|
1405
1405
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1406
1406
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1435,7 +1435,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1435
1435
|
throw Error("Angular compiler is incompatible with this version of the TypeScript compiler.\n\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
|
|
1436
1436
|
}
|
|
1437
1437
|
|
|
1438
|
-
// bazel-out/
|
|
1438
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1439
1439
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1440
1440
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1441
1441
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1476,7 +1476,7 @@ var DefaultImportTracker = class {
|
|
|
1476
1476
|
}
|
|
1477
1477
|
};
|
|
1478
1478
|
|
|
1479
|
-
// bazel-out/
|
|
1479
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
1480
1480
|
import ts9 from "typescript";
|
|
1481
1481
|
var AssumeEager = "AssumeEager";
|
|
1482
1482
|
var DeferredSymbolTracker = class {
|
|
@@ -1597,7 +1597,7 @@ var DeferredSymbolTracker = class {
|
|
|
1597
1597
|
}
|
|
1598
1598
|
};
|
|
1599
1599
|
|
|
1600
|
-
// bazel-out/
|
|
1600
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1601
1601
|
var ModuleResolver = class {
|
|
1602
1602
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
1603
1603
|
this.program = program;
|
|
@@ -1614,7 +1614,7 @@ var ModuleResolver = class {
|
|
|
1614
1614
|
}
|
|
1615
1615
|
};
|
|
1616
1616
|
|
|
1617
|
-
// bazel-out/
|
|
1617
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
1618
1618
|
import ts10 from "typescript";
|
|
1619
1619
|
var ImportManager = class {
|
|
1620
1620
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i", factory = ts10.factory) {
|
|
@@ -1651,7 +1651,7 @@ var ImportManager = class {
|
|
|
1651
1651
|
}
|
|
1652
1652
|
};
|
|
1653
1653
|
|
|
1654
|
-
// bazel-out/
|
|
1654
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
1655
1655
|
var Context = class {
|
|
1656
1656
|
constructor(isStatement) {
|
|
1657
1657
|
this.isStatement = isStatement;
|
|
@@ -1664,7 +1664,7 @@ var Context = class {
|
|
|
1664
1664
|
}
|
|
1665
1665
|
};
|
|
1666
1666
|
|
|
1667
|
-
// bazel-out/
|
|
1667
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
1668
1668
|
import * as o from "@angular/compiler";
|
|
1669
1669
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
1670
1670
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -1903,7 +1903,7 @@ function createRange(span) {
|
|
|
1903
1903
|
};
|
|
1904
1904
|
}
|
|
1905
1905
|
|
|
1906
|
-
// bazel-out/
|
|
1906
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
1907
1907
|
import ts11 from "typescript";
|
|
1908
1908
|
var INELIGIBLE = {};
|
|
1909
1909
|
function canEmitType(type, canEmit) {
|
|
@@ -1978,11 +1978,11 @@ var TypeEmitter = class {
|
|
|
1978
1978
|
}
|
|
1979
1979
|
};
|
|
1980
1980
|
|
|
1981
|
-
// bazel-out/
|
|
1981
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
1982
1982
|
import * as o2 from "@angular/compiler";
|
|
1983
1983
|
import ts13 from "typescript";
|
|
1984
1984
|
|
|
1985
|
-
// bazel-out/
|
|
1985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
1986
1986
|
import ts12 from "typescript";
|
|
1987
1987
|
function tsNumericExpression(value) {
|
|
1988
1988
|
if (value < 0) {
|
|
@@ -1992,7 +1992,7 @@ function tsNumericExpression(value) {
|
|
|
1992
1992
|
return ts12.factory.createNumericLiteral(value);
|
|
1993
1993
|
}
|
|
1994
1994
|
|
|
1995
|
-
// bazel-out/
|
|
1995
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
1996
1996
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
1997
1997
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
1998
1998
|
}
|
|
@@ -2206,7 +2206,7 @@ var TypeTranslatorVisitor = class {
|
|
|
2206
2206
|
}
|
|
2207
2207
|
};
|
|
2208
2208
|
|
|
2209
|
-
// bazel-out/
|
|
2209
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
2210
2210
|
import ts14 from "typescript";
|
|
2211
2211
|
var PureAnnotation;
|
|
2212
2212
|
(function(PureAnnotation2) {
|
|
@@ -2403,7 +2403,7 @@ function attachComments(statement, leadingComments) {
|
|
|
2403
2403
|
}
|
|
2404
2404
|
}
|
|
2405
2405
|
|
|
2406
|
-
// bazel-out/
|
|
2406
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
2407
2407
|
function translateExpression(expression, imports, options = {}) {
|
|
2408
2408
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
2409
2409
|
}
|
|
@@ -2491,4 +2491,4 @@ export {
|
|
|
2491
2491
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2492
2492
|
* found in the LICENSE file at https://angular.io/license
|
|
2493
2493
|
*/
|
|
2494
|
-
//# sourceMappingURL=chunk-
|
|
2494
|
+
//# sourceMappingURL=chunk-TFBB265K.js.map
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
addImports,
|
|
8
8
|
isAngularDecorator,
|
|
9
9
|
tryParseSignalInputMapping
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GKQNBAG5.js";
|
|
11
11
|
import {
|
|
12
12
|
ImportManager,
|
|
13
13
|
TypeScriptReflectionHost,
|
|
14
14
|
isAliasImportDeclaration,
|
|
15
15
|
loadIsReferencedAliasDeclarationPatch
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TFBB265K.js";
|
|
17
17
|
|
|
18
|
-
// bazel-out/
|
|
18
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/downlevel_decorators_transform.mjs
|
|
19
19
|
import ts from "typescript";
|
|
20
20
|
function isAngularDecorator2(decorator, isCore) {
|
|
21
21
|
return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
|
|
@@ -318,7 +318,7 @@ function cloneClassElementWithModifiers(node, modifiers) {
|
|
|
318
318
|
return ts.setOriginalNode(clone, node);
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
// bazel-out/
|
|
321
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/signal_inputs_metadata_transform.mjs
|
|
322
322
|
import ts2 from "typescript";
|
|
323
323
|
var decoratorsWithInputs = ["Directive", "Component"];
|
|
324
324
|
var coreModuleName = "@angular/core";
|
|
@@ -383,7 +383,7 @@ function visitClassDeclaration(ctx, host, importManager, clazz, classDecorator,
|
|
|
383
383
|
return ctx.factory.updateClassDeclaration(clazz, clazz.modifiers, clazz.name, clazz.typeParameters, clazz.heritageClauses, members);
|
|
384
384
|
}
|
|
385
385
|
|
|
386
|
-
// bazel-out/
|
|
386
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
387
387
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
388
388
|
ngDevMode: false,
|
|
389
389
|
ngI18nClosureMode: false
|
|
@@ -427,4 +427,4 @@ export {
|
|
|
427
427
|
* Use of this source code is governed by an MIT-style license that can be
|
|
428
428
|
* found in the LICENSE file at https://angular.io/license
|
|
429
429
|
*/
|
|
430
|
-
//# sourceMappingURL=chunk-
|
|
430
|
+
//# sourceMappingURL=chunk-TKJ4KX5N.js.map
|
package/bundles/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
|
|
8
8
|
angularJitApplicationTransform,
|
|
9
9
|
constructorParametersDownlevelTransform
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TKJ4KX5N.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_ERROR_CODE,
|
|
13
13
|
DecoratorType,
|
|
@@ -34,20 +34,20 @@ import {
|
|
|
34
34
|
performCompilation,
|
|
35
35
|
readConfiguration,
|
|
36
36
|
untagAllTsFiles
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-5YHUYFQ5.js";
|
|
38
38
|
import {
|
|
39
39
|
OptimizeFor
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-6VEEN3ZS.js";
|
|
41
|
+
import "./chunk-GKQNBAG5.js";
|
|
42
|
+
import "./chunk-TFBB265K.js";
|
|
43
43
|
import {
|
|
44
44
|
ActivePerfRecorder,
|
|
45
45
|
PerfPhase
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-64JBPJBS.js";
|
|
47
47
|
import {
|
|
48
48
|
ConsoleLogger,
|
|
49
49
|
LogLevel
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-LYJKWJUC.js";
|
|
51
51
|
import {
|
|
52
52
|
LogicalFileSystem,
|
|
53
53
|
LogicalProjectPath,
|
|
@@ -68,14 +68,14 @@ import {
|
|
|
68
68
|
resolve,
|
|
69
69
|
setFileSystem,
|
|
70
70
|
toRelativeImport
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-DUY2FPLZ.js";
|
|
72
72
|
import "./chunk-XI2RTGAL.js";
|
|
73
73
|
|
|
74
|
-
// bazel-out/
|
|
74
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
75
75
|
import { Version } from "@angular/compiler";
|
|
76
|
-
var VERSION = new Version("17.1.
|
|
76
|
+
var VERSION = new Version("17.1.2");
|
|
77
77
|
|
|
78
|
-
// bazel-out/
|
|
78
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs
|
|
79
79
|
var NgTscPlugin = class {
|
|
80
80
|
get compiler() {
|
|
81
81
|
if (this._compiler === null) {
|
|
@@ -152,7 +152,7 @@ var NgTscPlugin = class {
|
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
154
|
|
|
155
|
-
// bazel-out/
|
|
155
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
156
156
|
setFileSystem(new NodeJSFileSystem());
|
|
157
157
|
export {
|
|
158
158
|
ConsoleLogger,
|
|
@@ -8,22 +8,22 @@ import {
|
|
|
8
8
|
LinkerEnvironment,
|
|
9
9
|
assert,
|
|
10
10
|
isFatalLinkerError
|
|
11
|
-
} from "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
11
|
+
} from "../../chunk-24NMPW5I.js";
|
|
12
|
+
import "../../chunk-TFBB265K.js";
|
|
13
13
|
import {
|
|
14
14
|
ConsoleLogger,
|
|
15
15
|
LogLevel
|
|
16
|
-
} from "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
16
|
+
} from "../../chunk-LYJKWJUC.js";
|
|
17
|
+
import "../../chunk-2WQIUGOU.js";
|
|
18
18
|
import {
|
|
19
19
|
NodeJSFileSystem
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-DUY2FPLZ.js";
|
|
21
21
|
import "../../chunk-XI2RTGAL.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
|
constructor(sourceUrl) {
|
|
@@ -146,7 +146,7 @@ function isLExpression(expr) {
|
|
|
146
146
|
return t.isLVal(expr);
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
// bazel-out/
|
|
149
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_host.mjs
|
|
150
150
|
import { types as t2 } from "@babel/core";
|
|
151
151
|
var BabelAstHost = class {
|
|
152
152
|
constructor() {
|
|
@@ -267,7 +267,7 @@ function isMinifiedBooleanLiteral(node) {
|
|
|
267
267
|
return t2.isUnaryExpression(node) && node.prefix && node.operator === "!" && t2.isNumericLiteral(node.argument) && (node.argument.value === 0 || node.argument.value === 1);
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
-
// bazel-out/
|
|
270
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_declaration_scope.mjs
|
|
271
271
|
import { types as t3 } from "@babel/core";
|
|
272
272
|
var BabelDeclarationScope = class {
|
|
273
273
|
constructor(declarationScope) {
|
|
@@ -293,7 +293,7 @@ var BabelDeclarationScope = class {
|
|
|
293
293
|
}
|
|
294
294
|
};
|
|
295
295
|
|
|
296
|
-
// bazel-out/
|
|
296
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.mjs
|
|
297
297
|
function createEs2015LinkerPlugin({ fileSystem, logger, ...options }) {
|
|
298
298
|
let fileLinker = null;
|
|
299
299
|
return {
|
|
@@ -394,7 +394,7 @@ function buildCodeFrameError(file, message, node) {
|
|
|
394
394
|
return `${filename}: ${error.message}`;
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
// bazel-out/
|
|
397
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_plugin.mjs
|
|
398
398
|
function defaultLinkerPlugin(api, options) {
|
|
399
399
|
api.assertVersion(7);
|
|
400
400
|
return createEs2015LinkerPlugin({
|
|
@@ -404,7 +404,7 @@ function defaultLinkerPlugin(api, options) {
|
|
|
404
404
|
});
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
-
// bazel-out/
|
|
407
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/babel/index.mjs
|
|
408
408
|
var babel_default = defaultLinkerPlugin;
|
|
409
409
|
export {
|
|
410
410
|
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-24NMPW5I.js";
|
|
14
|
+
import "../chunk-TFBB265K.js";
|
|
15
|
+
import "../chunk-2WQIUGOU.js";
|
|
16
|
+
import "../chunk-DUY2FPLZ.js";
|
|
17
17
|
import "../chunk-XI2RTGAL.js";
|
|
18
18
|
export {
|
|
19
19
|
DEFAULT_LINKER_OPTIONS,
|
package/bundles/ngcc/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
const require = __cjsCompatRequire(import.meta.url);
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
// bazel-out/
|
|
7
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/index.mjs
|
|
8
8
|
function stringEncaseCRLFWithFirstIndex(value, prefix, postfix, index) {
|
|
9
9
|
let endIndex = 0;
|
|
10
10
|
let returnValue = "";
|
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-LYJKWJUC.js";
|
|
9
9
|
import {
|
|
10
10
|
SourceFile,
|
|
11
11
|
SourceFileLoader
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-2WQIUGOU.js";
|
|
13
13
|
import {
|
|
14
14
|
LogicalFileSystem,
|
|
15
15
|
LogicalProjectPath,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
resolve,
|
|
31
31
|
setFileSystem,
|
|
32
32
|
toRelativeImport
|
|
33
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-DUY2FPLZ.js";
|
|
34
34
|
import "../chunk-XI2RTGAL.js";
|
|
35
35
|
export {
|
|
36
36
|
ConsoleLogger,
|
|
@@ -5,20 +5,20 @@
|
|
|
5
5
|
import {
|
|
6
6
|
PotentialImportKind,
|
|
7
7
|
PotentialImportMode
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-6VEEN3ZS.js";
|
|
9
9
|
import {
|
|
10
10
|
DynamicValue,
|
|
11
11
|
PartialEvaluator,
|
|
12
12
|
StaticInterpreter,
|
|
13
13
|
forwardRefResolver
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-GKQNBAG5.js";
|
|
15
15
|
import {
|
|
16
16
|
Reference,
|
|
17
17
|
TypeScriptReflectionHost,
|
|
18
18
|
reflectObjectLiteral
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-TFBB265K.js";
|
|
20
|
+
import "../chunk-64JBPJBS.js";
|
|
21
|
+
import "../chunk-DUY2FPLZ.js";
|
|
22
22
|
import "../chunk-XI2RTGAL.js";
|
|
23
23
|
export {
|
|
24
24
|
DynamicValue,
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
|
|
8
8
|
angularJitApplicationTransform,
|
|
9
9
|
constructorParametersDownlevelTransform
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-TKJ4KX5N.js";
|
|
11
|
+
import "../chunk-GKQNBAG5.js";
|
|
12
|
+
import "../chunk-TFBB265K.js";
|
|
13
|
+
import "../chunk-64JBPJBS.js";
|
|
14
|
+
import "../chunk-DUY2FPLZ.js";
|
|
15
15
|
import "../chunk-XI2RTGAL.js";
|
|
16
16
|
export {
|
|
17
17
|
GLOBAL_DEFS_FOR_TERSER,
|