@angular/compiler-cli 17.3.10 → 17.3.11
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-WCD6LVCP.js → chunk-2WQIUGOU.js} +7 -7
- package/bundles/{chunk-R4KQI5XI.js → chunk-64JBPJBS.js} +5 -5
- package/bundles/{chunk-NDT2FVCM.js → chunk-7IGIAFDK.js} +13 -13
- package/bundles/{chunk-KAFBWQ67.js → chunk-DEDJRZPG.js} +30 -30
- package/bundles/{chunk-LV7FGTGX.js → chunk-EM4I4HTR.js} +111 -111
- package/bundles/{chunk-ZVICXMWS.js → chunk-IRIANPQU.js} +5 -5
- package/bundles/{chunk-26Z5EPVF.js → chunk-JVX4FN2F.js} +78 -78
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-NMMGOE7N.js → chunk-RWHNANUR.js} +43 -43
- package/bundles/{chunk-75YFKYUJ.js → chunk-UM6JO3VZ.js} +7 -7
- package/bundles/{chunk-YUMIYLNL.js → chunk-XIYC7KSQ.js} +5 -5
- 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/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-NDT2FVCM.js.map → chunk-7IGIAFDK.js.map} +0 -0
- /package/bundles/{chunk-KAFBWQ67.js.map → chunk-DEDJRZPG.js.map} +0 -0
- /package/bundles/{chunk-LV7FGTGX.js.map → chunk-EM4I4HTR.js.map} +0 -0
- /package/bundles/{chunk-ZVICXMWS.js.map → chunk-IRIANPQU.js.map} +0 -0
- /package/bundles/{chunk-26Z5EPVF.js.map → chunk-JVX4FN2F.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-NMMGOE7N.js.map → chunk-RWHNANUR.js.map} +0 -0
- /package/bundles/{chunk-75YFKYUJ.js.map → chunk-UM6JO3VZ.js.map} +0 -0
- /package/bundles/{chunk-YUMIYLNL.js.map → chunk-XIYC7KSQ.js.map} +0 -0
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UM6JO3VZ.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
18
18
|
import ts from "typescript";
|
|
19
19
|
|
|
20
|
-
// bazel-out/
|
|
20
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
21
21
|
var ErrorCode;
|
|
22
22
|
(function(ErrorCode2) {
|
|
23
23
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -106,7 +106,7 @@ var ErrorCode;
|
|
|
106
106
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
107
107
|
})(ErrorCode || (ErrorCode = {}));
|
|
108
108
|
|
|
109
|
-
// bazel-out/
|
|
109
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
110
110
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
111
111
|
function replaceTsWithNgInErrors(errors) {
|
|
112
112
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -115,7 +115,7 @@ function ngErrorCode(code) {
|
|
|
115
115
|
return parseInt("-99" + code);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
// bazel-out/
|
|
118
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
119
119
|
var FatalDiagnosticError = class extends Error {
|
|
120
120
|
constructor(code, node, diagnosticMessage, relatedInformation) {
|
|
121
121
|
super(`FatalDiagnosticError: Code: ${code}, Message: ${ts.flattenDiagnosticMessageText(diagnosticMessage, "\n")}`);
|
|
@@ -180,7 +180,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
|
|
|
180
180
|
return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
// bazel-out/
|
|
183
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
184
184
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
185
185
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
186
186
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -192,10 +192,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
192
192
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
193
193
|
]);
|
|
194
194
|
|
|
195
|
-
// bazel-out/
|
|
195
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
196
196
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
197
197
|
|
|
198
|
-
// bazel-out/
|
|
198
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
199
199
|
var ExtendedTemplateDiagnosticName;
|
|
200
200
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
201
201
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -210,10 +210,10 @@ var ExtendedTemplateDiagnosticName;
|
|
|
210
210
|
ExtendedTemplateDiagnosticName2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = "controlFlowPreventingContentProjection";
|
|
211
211
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
212
212
|
|
|
213
|
-
// bazel-out/
|
|
213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
214
214
|
import ts5 from "typescript";
|
|
215
215
|
|
|
216
|
-
// bazel-out/
|
|
216
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
217
217
|
import ts2 from "typescript";
|
|
218
218
|
function isDecoratorIdentifier(exp) {
|
|
219
219
|
return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
|
|
@@ -236,7 +236,7 @@ var ClassMemberAccessLevel;
|
|
|
236
236
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
237
237
|
var AmbientImport = {};
|
|
238
238
|
|
|
239
|
-
// bazel-out/
|
|
239
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
240
240
|
import ts3 from "typescript";
|
|
241
241
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
242
242
|
var _a, _b;
|
|
@@ -409,7 +409,7 @@ function extractModuleName(node) {
|
|
|
409
409
|
return node.moduleSpecifier.text;
|
|
410
410
|
}
|
|
411
411
|
|
|
412
|
-
// bazel-out/
|
|
412
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
413
413
|
import ts4 from "typescript";
|
|
414
414
|
function isNamedClassDeclaration(node) {
|
|
415
415
|
return ts4.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -433,7 +433,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
-
// bazel-out/
|
|
436
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
437
437
|
var TypeScriptReflectionHost = class {
|
|
438
438
|
constructor(checker, isLocalCompilation = false) {
|
|
439
439
|
this.checker = checker;
|
|
@@ -921,7 +921,7 @@ function getExportedName(decl, originalId) {
|
|
|
921
921
|
}
|
|
922
922
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
923
923
|
|
|
924
|
-
// bazel-out/
|
|
924
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
925
925
|
import ts6 from "typescript";
|
|
926
926
|
var TS = /\.tsx?$/i;
|
|
927
927
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -1022,7 +1022,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
1022
1022
|
return redirectInfo.unredirected;
|
|
1023
1023
|
}
|
|
1024
1024
|
|
|
1025
|
-
// bazel-out/
|
|
1025
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
1026
1026
|
var Reference = class {
|
|
1027
1027
|
constructor(node, bestGuessOwningModule = null) {
|
|
1028
1028
|
this.node = node;
|
|
@@ -1091,14 +1091,14 @@ var Reference = class {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
};
|
|
1093
1093
|
|
|
1094
|
-
// bazel-out/
|
|
1094
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1095
1095
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1096
1096
|
|
|
1097
|
-
// bazel-out/
|
|
1097
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1098
1098
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
1099
1099
|
import ts7 from "typescript";
|
|
1100
1100
|
|
|
1101
|
-
// bazel-out/
|
|
1101
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
1102
1102
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1103
1103
|
const exports = reflector.getExportsOfModule(file);
|
|
1104
1104
|
if (exports === null) {
|
|
@@ -1118,7 +1118,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1118
1118
|
return foundExportName;
|
|
1119
1119
|
}
|
|
1120
1120
|
|
|
1121
|
-
// bazel-out/
|
|
1121
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1122
1122
|
var ImportFlags;
|
|
1123
1123
|
(function(ImportFlags2) {
|
|
1124
1124
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1347,7 +1347,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1347
1347
|
}
|
|
1348
1348
|
};
|
|
1349
1349
|
|
|
1350
|
-
// bazel-out/
|
|
1350
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1351
1351
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1352
1352
|
var UnifiedModulesAliasingHost = class {
|
|
1353
1353
|
constructor(unifiedModulesHost) {
|
|
@@ -1414,7 +1414,7 @@ var AliasStrategy = class {
|
|
|
1414
1414
|
}
|
|
1415
1415
|
};
|
|
1416
1416
|
|
|
1417
|
-
// bazel-out/
|
|
1417
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1418
1418
|
function relativePathBetween(from, to) {
|
|
1419
1419
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1420
1420
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1423,7 +1423,7 @@ function normalizeSeparators(path) {
|
|
|
1423
1423
|
return path.replace(/\\/g, "/");
|
|
1424
1424
|
}
|
|
1425
1425
|
|
|
1426
|
-
// bazel-out/
|
|
1426
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1427
1427
|
var NoopImportRewriter = class {
|
|
1428
1428
|
rewriteSymbol(symbol, specifier) {
|
|
1429
1429
|
return symbol;
|
|
@@ -1476,7 +1476,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1476
1476
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1477
1477
|
}
|
|
1478
1478
|
|
|
1479
|
-
// bazel-out/
|
|
1479
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
1480
1480
|
import ts8 from "typescript";
|
|
1481
1481
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1482
1482
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1511,7 +1511,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1511
1511
|
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.");
|
|
1512
1512
|
}
|
|
1513
1513
|
|
|
1514
|
-
// bazel-out/
|
|
1514
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1515
1515
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1516
1516
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1517
1517
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1552,7 +1552,7 @@ var DefaultImportTracker = class {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
};
|
|
1554
1554
|
|
|
1555
|
-
// bazel-out/
|
|
1555
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
1556
1556
|
import ts9 from "typescript";
|
|
1557
1557
|
var AssumeEager = "AssumeEager";
|
|
1558
1558
|
var DeferredSymbolTracker = class {
|
|
@@ -1673,7 +1673,7 @@ var DeferredSymbolTracker = class {
|
|
|
1673
1673
|
}
|
|
1674
1674
|
};
|
|
1675
1675
|
|
|
1676
|
-
// bazel-out/
|
|
1676
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
1677
1677
|
import ts10 from "typescript";
|
|
1678
1678
|
var ImportedSymbolsTracker = class {
|
|
1679
1679
|
constructor() {
|
|
@@ -1732,7 +1732,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1732
1732
|
}
|
|
1733
1733
|
};
|
|
1734
1734
|
|
|
1735
|
-
// bazel-out/
|
|
1735
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
1736
1736
|
import ts11 from "typescript";
|
|
1737
1737
|
var LocalCompilationExtraImportsTracker = class {
|
|
1738
1738
|
constructor(typeChecker) {
|
|
@@ -1779,7 +1779,7 @@ function removeQuotations(s) {
|
|
|
1779
1779
|
return s.substring(1, s.length - 1).trim();
|
|
1780
1780
|
}
|
|
1781
1781
|
|
|
1782
|
-
// bazel-out/
|
|
1782
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1783
1783
|
var ModuleResolver = class {
|
|
1784
1784
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
1785
1785
|
this.program = program;
|
|
@@ -1796,10 +1796,10 @@ var ModuleResolver = class {
|
|
|
1796
1796
|
}
|
|
1797
1797
|
};
|
|
1798
1798
|
|
|
1799
|
-
// bazel-out/
|
|
1799
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1800
1800
|
import ts16 from "typescript";
|
|
1801
1801
|
|
|
1802
|
-
// bazel-out/
|
|
1802
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
1803
1803
|
import ts12 from "typescript";
|
|
1804
1804
|
function createGenerateUniqueIdentifierHelper() {
|
|
1805
1805
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -1823,7 +1823,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
1823
1823
|
};
|
|
1824
1824
|
}
|
|
1825
1825
|
|
|
1826
|
-
// bazel-out/
|
|
1826
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
1827
1827
|
import ts13 from "typescript";
|
|
1828
1828
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
1829
1829
|
return (ctx) => {
|
|
@@ -1881,7 +1881,7 @@ function isImportStatement(stmt) {
|
|
|
1881
1881
|
return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
|
|
1882
1882
|
}
|
|
1883
1883
|
|
|
1884
|
-
// bazel-out/
|
|
1884
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
1885
1885
|
import ts14 from "typescript";
|
|
1886
1886
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
1887
1887
|
const requestHash = hashImportRequest(request);
|
|
@@ -1908,7 +1908,7 @@ function hashImportRequest(req) {
|
|
|
1908
1908
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}`;
|
|
1909
1909
|
}
|
|
1910
1910
|
|
|
1911
|
-
// bazel-out/
|
|
1911
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
1912
1912
|
import ts15 from "typescript";
|
|
1913
1913
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
1914
1914
|
let candidateImportToBeUpdated = null;
|
|
@@ -1961,7 +1961,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
1961
1961
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
1962
1962
|
}
|
|
1963
1963
|
|
|
1964
|
-
// bazel-out/
|
|
1964
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1965
1965
|
var presetImportManagerForceNamespaceImports = {
|
|
1966
1966
|
disableOriginalSourceFileReuse: true,
|
|
1967
1967
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -2111,7 +2111,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
2111
2111
|
}
|
|
2112
2112
|
}
|
|
2113
2113
|
|
|
2114
|
-
// bazel-out/
|
|
2114
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
2115
2115
|
var Context = class {
|
|
2116
2116
|
constructor(isStatement) {
|
|
2117
2117
|
this.isStatement = isStatement;
|
|
@@ -2124,7 +2124,7 @@ var Context = class {
|
|
|
2124
2124
|
}
|
|
2125
2125
|
};
|
|
2126
2126
|
|
|
2127
|
-
// bazel-out/
|
|
2127
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
2128
2128
|
import * as o from "@angular/compiler";
|
|
2129
2129
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
2130
2130
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -2370,7 +2370,7 @@ function createRange(span) {
|
|
|
2370
2370
|
};
|
|
2371
2371
|
}
|
|
2372
2372
|
|
|
2373
|
-
// bazel-out/
|
|
2373
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
2374
2374
|
import ts17 from "typescript";
|
|
2375
2375
|
var INELIGIBLE = {};
|
|
2376
2376
|
function canEmitType(type, canEmit) {
|
|
@@ -2445,11 +2445,11 @@ var TypeEmitter = class {
|
|
|
2445
2445
|
}
|
|
2446
2446
|
};
|
|
2447
2447
|
|
|
2448
|
-
// bazel-out/
|
|
2448
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2449
2449
|
import * as o2 from "@angular/compiler";
|
|
2450
2450
|
import ts19 from "typescript";
|
|
2451
2451
|
|
|
2452
|
-
// bazel-out/
|
|
2452
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
2453
2453
|
import ts18 from "typescript";
|
|
2454
2454
|
function tsNumericExpression(value) {
|
|
2455
2455
|
if (value < 0) {
|
|
@@ -2459,7 +2459,7 @@ function tsNumericExpression(value) {
|
|
|
2459
2459
|
return ts18.factory.createNumericLiteral(value);
|
|
2460
2460
|
}
|
|
2461
2461
|
|
|
2462
|
-
// bazel-out/
|
|
2462
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2463
2463
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
2464
2464
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
2465
2465
|
}
|
|
@@ -2676,7 +2676,7 @@ var TypeTranslatorVisitor = class {
|
|
|
2676
2676
|
}
|
|
2677
2677
|
};
|
|
2678
2678
|
|
|
2679
|
-
// bazel-out/
|
|
2679
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
2680
2680
|
import ts20 from "typescript";
|
|
2681
2681
|
var PureAnnotation;
|
|
2682
2682
|
(function(PureAnnotation2) {
|
|
@@ -2873,7 +2873,7 @@ function attachComments(statement, leadingComments) {
|
|
|
2873
2873
|
}
|
|
2874
2874
|
}
|
|
2875
2875
|
|
|
2876
|
-
// bazel-out/
|
|
2876
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
2877
2877
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
2878
2878
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
2879
2879
|
}
|
|
@@ -2970,4 +2970,4 @@ export {
|
|
|
2970
2970
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2971
2971
|
* found in the LICENSE file at https://angular.io/license
|
|
2972
2972
|
*/
|
|
2973
|
-
//# sourceMappingURL=chunk-
|
|
2973
|
+
//# sourceMappingURL=chunk-RWHNANUR.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
__require
|
|
7
7
|
} from "./chunk-XI2RTGAL.js";
|
|
8
8
|
|
|
9
|
-
// bazel-out/
|
|
9
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
10
10
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
11
11
|
function normalizeSeparators(path) {
|
|
12
12
|
return path.replace(/\\/g, "/");
|
|
@@ -22,7 +22,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
22
22
|
return sf;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
26
26
|
var InvalidFileSystem = class {
|
|
27
27
|
exists(path) {
|
|
28
28
|
throw makeError();
|
|
@@ -110,7 +110,7 @@ function makeError() {
|
|
|
110
110
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
// bazel-out/
|
|
113
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
114
114
|
var fs = new InvalidFileSystem();
|
|
115
115
|
function getFileSystem() {
|
|
116
116
|
return fs;
|
|
@@ -167,7 +167,7 @@ function toRelativeImport(relativePath) {
|
|
|
167
167
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
// bazel-out/
|
|
170
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
171
171
|
import * as os from "os";
|
|
172
172
|
import ts from "typescript";
|
|
173
173
|
var NgtscCompilerHost = class {
|
|
@@ -225,7 +225,7 @@ var NgtscCompilerHost = class {
|
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
227
|
|
|
228
|
-
// bazel-out/
|
|
228
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
229
229
|
var LogicalProjectPath = {
|
|
230
230
|
relativePathBetween: function(from, to) {
|
|
231
231
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -271,7 +271,7 @@ function isWithinBasePath(base, path) {
|
|
|
271
271
|
return isLocalRelativePath(relative(base, path));
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
// bazel-out/
|
|
274
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
275
275
|
import fs2 from "fs";
|
|
276
276
|
import { createRequire } from "module";
|
|
277
277
|
import * as p from "path";
|
|
@@ -407,4 +407,4 @@ export {
|
|
|
407
407
|
* Use of this source code is governed by an MIT-style license that can be
|
|
408
408
|
* found in the LICENSE file at https://angular.io/license
|
|
409
409
|
*/
|
|
410
|
-
//# sourceMappingURL=chunk-
|
|
410
|
+
//# sourceMappingURL=chunk-UM6JO3VZ.js.map
|
|
@@ -3,14 +3,14 @@
|
|
|
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/typecheck/api/checker.mjs
|
|
7
7
|
var OptimizeFor;
|
|
8
8
|
(function(OptimizeFor2) {
|
|
9
9
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
10
10
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
11
11
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
12
12
|
|
|
13
|
-
// bazel-out/
|
|
13
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
14
14
|
var PotentialImportKind;
|
|
15
15
|
(function(PotentialImportKind2) {
|
|
16
16
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -22,14 +22,14 @@ var PotentialImportMode;
|
|
|
22
22
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
23
23
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
26
26
|
var CompletionKind;
|
|
27
27
|
(function(CompletionKind2) {
|
|
28
28
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
29
29
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
30
30
|
})(CompletionKind || (CompletionKind = {}));
|
|
31
31
|
|
|
32
|
-
// bazel-out/
|
|
32
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
33
33
|
var SymbolKind;
|
|
34
34
|
(function(SymbolKind2) {
|
|
35
35
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -59,4 +59,4 @@ export {
|
|
|
59
59
|
* Use of this source code is governed by an MIT-style license that can be
|
|
60
60
|
* found in the LICENSE file at https://angular.io/license
|
|
61
61
|
*/
|
|
62
|
-
//# sourceMappingURL=chunk-
|
|
62
|
+
//# sourceMappingURL=chunk-XIYC7KSQ.js.map
|
package/bundles/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
constructorParametersDownlevelTransform,
|
|
10
10
|
getDownlevelDecoratorsTransform,
|
|
11
11
|
getInitializerApiJitTransform
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7IGIAFDK.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_ERROR_CODE,
|
|
15
15
|
DecoratorType,
|
|
@@ -37,22 +37,22 @@ import {
|
|
|
37
37
|
performCompilation,
|
|
38
38
|
readConfiguration,
|
|
39
39
|
untagAllTsFiles
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-EM4I4HTR.js";
|
|
41
41
|
import {
|
|
42
42
|
OptimizeFor
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-XIYC7KSQ.js";
|
|
44
|
+
import "./chunk-JVX4FN2F.js";
|
|
45
45
|
import {
|
|
46
46
|
isLocalCompilationDiagnostics
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-RWHNANUR.js";
|
|
48
48
|
import {
|
|
49
49
|
ActivePerfRecorder,
|
|
50
50
|
PerfPhase
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-64JBPJBS.js";
|
|
52
52
|
import {
|
|
53
53
|
ConsoleLogger,
|
|
54
54
|
LogLevel
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-LYJKWJUC.js";
|
|
56
56
|
import {
|
|
57
57
|
LogicalFileSystem,
|
|
58
58
|
LogicalProjectPath,
|
|
@@ -73,14 +73,14 @@ import {
|
|
|
73
73
|
resolve,
|
|
74
74
|
setFileSystem,
|
|
75
75
|
toRelativeImport
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-UM6JO3VZ.js";
|
|
77
77
|
import "./chunk-XI2RTGAL.js";
|
|
78
78
|
|
|
79
|
-
// bazel-out/
|
|
79
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
80
80
|
import { Version } from "@angular/compiler";
|
|
81
|
-
var VERSION = new Version("17.3.
|
|
81
|
+
var VERSION = new Version("17.3.11");
|
|
82
82
|
|
|
83
|
-
// bazel-out/
|
|
83
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs
|
|
84
84
|
var NgTscPlugin = class {
|
|
85
85
|
get compiler() {
|
|
86
86
|
if (this._compiler === null) {
|
|
@@ -157,7 +157,7 @@ var NgTscPlugin = class {
|
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
159
|
|
|
160
|
-
// bazel-out/
|
|
160
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
161
161
|
setFileSystem(new NodeJSFileSystem());
|
|
162
162
|
export {
|
|
163
163
|
ConsoleLogger,
|
|
@@ -8,22 +8,22 @@ import {
|
|
|
8
8
|
LinkerEnvironment,
|
|
9
9
|
assert,
|
|
10
10
|
isFatalLinkerError
|
|
11
|
-
} from "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
11
|
+
} from "../../chunk-DEDJRZPG.js";
|
|
12
|
+
import "../../chunk-RWHNANUR.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-UM6JO3VZ.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-DEDJRZPG.js";
|
|
14
|
+
import "../chunk-RWHNANUR.js";
|
|
15
|
+
import "../chunk-2WQIUGOU.js";
|
|
16
|
+
import "../chunk-UM6JO3VZ.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-UM6JO3VZ.js";
|
|
34
34
|
import "../chunk-XI2RTGAL.js";
|
|
35
35
|
export {
|
|
36
36
|
ConsoleLogger,
|