@angular/compiler-cli 19.0.6 → 19.0.7
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-7QPTK5PP.js → chunk-3PNRSGP2.js} +81 -81
- package/bundles/{chunk-77D5CI2U.js → chunk-5UDS2TPQ.js} +7 -7
- package/bundles/{chunk-SL3F2GV7.js → chunk-AJWAROSU.js} +5 -5
- package/bundles/{chunk-74VCTX7S.js → chunk-BIQ3LKQ6.js} +31 -31
- package/bundles/{chunk-FKXFEX7K.js → chunk-GBKXY6BH.js} +3 -3
- package/bundles/{chunk-WOH3O4B6.js → chunk-HWAV2ZIJ.js} +43 -43
- package/bundles/{chunk-Q2WE7ECN.js → chunk-I6R3GL3L.js} +5 -5
- package/bundles/{chunk-RWKKYPBC.js → chunk-J4XNKTZE.js} +143 -131
- package/bundles/{chunk-RWKKYPBC.js.map → chunk-J4XNKTZE.js.map} +1 -1
- package/bundles/{chunk-ZYXXMSS5.js → chunk-NT22P7YO.js} +3 -3
- package/bundles/{chunk-SQM7WZRL.js → chunk-PNPNBJUK.js} +12 -12
- package/bundles/{chunk-37JMVF7H.js → chunk-STORTTKY.js} +8 -8
- 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 +4 -4
- package/bundles/private/tooling.js +6 -6
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/diagnostics/src/error_code.d.ts +1 -1
- package/src/ngtsc/reflection/src/host.d.ts +4 -4
- package/src/ngtsc/reflection/src/typescript.d.ts +2 -2
- package/src/ngtsc/typecheck/api/symbols.d.ts +1 -1
- /package/bundles/{chunk-7QPTK5PP.js.map → chunk-3PNRSGP2.js.map} +0 -0
- /package/bundles/{chunk-77D5CI2U.js.map → chunk-5UDS2TPQ.js.map} +0 -0
- /package/bundles/{chunk-SL3F2GV7.js.map → chunk-AJWAROSU.js.map} +0 -0
- /package/bundles/{chunk-74VCTX7S.js.map → chunk-BIQ3LKQ6.js.map} +0 -0
- /package/bundles/{chunk-FKXFEX7K.js.map → chunk-GBKXY6BH.js.map} +0 -0
- /package/bundles/{chunk-WOH3O4B6.js.map → chunk-HWAV2ZIJ.js.map} +0 -0
- /package/bundles/{chunk-Q2WE7ECN.js.map → chunk-I6R3GL3L.js.map} +0 -0
- /package/bundles/{chunk-ZYXXMSS5.js.map → chunk-NT22P7YO.js.map} +0 -0
- /package/bundles/{chunk-SQM7WZRL.js.map → chunk-PNPNBJUK.js.map} +0 -0
- /package/bundles/{chunk-37JMVF7H.js.map → chunk-STORTTKY.js.map} +0 -0
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-STORTTKY.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/darwin_arm64-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/darwin_arm64-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";
|
|
@@ -114,7 +114,7 @@ var ErrorCode;
|
|
|
114
114
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
115
115
|
})(ErrorCode || (ErrorCode = {}));
|
|
116
116
|
|
|
117
|
-
// bazel-out/
|
|
117
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
118
118
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
119
119
|
function replaceTsWithNgInErrors(errors) {
|
|
120
120
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -123,7 +123,7 @@ function ngErrorCode(code) {
|
|
|
123
123
|
return parseInt("-99" + code);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
// bazel-out/
|
|
126
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
127
127
|
var FatalDiagnosticError = class extends Error {
|
|
128
128
|
code;
|
|
129
129
|
node;
|
|
@@ -191,7 +191,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
|
|
|
191
191
|
return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
// bazel-out/
|
|
194
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
195
195
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
196
196
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
197
197
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -203,10 +203,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
203
203
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
204
204
|
]);
|
|
205
205
|
|
|
206
|
-
// bazel-out/
|
|
206
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
207
207
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
|
|
208
208
|
|
|
209
|
-
// bazel-out/
|
|
209
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
210
210
|
var ExtendedTemplateDiagnosticName;
|
|
211
211
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
212
212
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -224,10 +224,10 @@ var ExtendedTemplateDiagnosticName;
|
|
|
224
224
|
ExtendedTemplateDiagnosticName2["UNUSED_STANDALONE_IMPORTS"] = "unusedStandaloneImports";
|
|
225
225
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
226
226
|
|
|
227
|
-
// bazel-out/
|
|
227
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
228
228
|
import ts5 from "typescript";
|
|
229
229
|
|
|
230
|
-
// bazel-out/
|
|
230
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
231
231
|
import ts2 from "typescript";
|
|
232
232
|
function isDecoratorIdentifier(exp) {
|
|
233
233
|
return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
|
|
@@ -250,7 +250,7 @@ var ClassMemberAccessLevel;
|
|
|
250
250
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
251
251
|
var AmbientImport = {};
|
|
252
252
|
|
|
253
|
-
// bazel-out/
|
|
253
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
254
254
|
import ts3 from "typescript";
|
|
255
255
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
256
256
|
var _a, _b;
|
|
@@ -434,7 +434,7 @@ function extractModuleName(node) {
|
|
|
434
434
|
return node.moduleSpecifier.text;
|
|
435
435
|
}
|
|
436
436
|
|
|
437
|
-
// bazel-out/
|
|
437
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
438
438
|
import ts4 from "typescript";
|
|
439
439
|
function isNamedClassDeclaration(node) {
|
|
440
440
|
return ts4.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -458,7 +458,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
|
|
461
|
-
// bazel-out/
|
|
461
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
462
462
|
var TypeScriptReflectionHost = class {
|
|
463
463
|
checker;
|
|
464
464
|
isLocalCompilation;
|
|
@@ -964,7 +964,7 @@ function getExportedName(decl, originalId) {
|
|
|
964
964
|
}
|
|
965
965
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
966
966
|
|
|
967
|
-
// bazel-out/
|
|
967
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
968
968
|
import ts6 from "typescript";
|
|
969
969
|
var TS = /\.tsx?$/i;
|
|
970
970
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -1065,7 +1065,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
1065
1065
|
return redirectInfo.unredirected;
|
|
1066
1066
|
}
|
|
1067
1067
|
|
|
1068
|
-
// bazel-out/
|
|
1068
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
1069
1069
|
var Reference = class {
|
|
1070
1070
|
node;
|
|
1071
1071
|
bestGuessOwningModule;
|
|
@@ -1137,14 +1137,14 @@ var Reference = class {
|
|
|
1137
1137
|
}
|
|
1138
1138
|
};
|
|
1139
1139
|
|
|
1140
|
-
// bazel-out/
|
|
1140
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1141
1141
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1142
1142
|
|
|
1143
|
-
// bazel-out/
|
|
1143
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1144
1144
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
1145
1145
|
import ts7 from "typescript";
|
|
1146
1146
|
|
|
1147
|
-
// bazel-out/
|
|
1147
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
1148
1148
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1149
1149
|
const exports = reflector.getExportsOfModule(file);
|
|
1150
1150
|
if (exports === null) {
|
|
@@ -1164,7 +1164,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1164
1164
|
return foundExportName;
|
|
1165
1165
|
}
|
|
1166
1166
|
|
|
1167
|
-
// bazel-out/
|
|
1167
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1168
1168
|
var ImportFlags;
|
|
1169
1169
|
(function(ImportFlags2) {
|
|
1170
1170
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1411,7 +1411,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1411
1411
|
}
|
|
1412
1412
|
};
|
|
1413
1413
|
|
|
1414
|
-
// bazel-out/
|
|
1414
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1415
1415
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1416
1416
|
var UnifiedModulesAliasingHost = class {
|
|
1417
1417
|
unifiedModulesHost;
|
|
@@ -1480,7 +1480,7 @@ var AliasStrategy = class {
|
|
|
1480
1480
|
}
|
|
1481
1481
|
};
|
|
1482
1482
|
|
|
1483
|
-
// bazel-out/
|
|
1483
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1484
1484
|
function relativePathBetween(from, to) {
|
|
1485
1485
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1486
1486
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1499,7 +1499,7 @@ function getProjectRelativePath(sourceFile, rootDirs, compilerHost) {
|
|
|
1499
1499
|
return null;
|
|
1500
1500
|
}
|
|
1501
1501
|
|
|
1502
|
-
// bazel-out/
|
|
1502
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1503
1503
|
var NoopImportRewriter = class {
|
|
1504
1504
|
rewriteSymbol(symbol, specifier) {
|
|
1505
1505
|
return symbol;
|
|
@@ -1559,7 +1559,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1559
1559
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1560
1560
|
}
|
|
1561
1561
|
|
|
1562
|
-
// bazel-out/
|
|
1562
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
1563
1563
|
import ts8 from "typescript";
|
|
1564
1564
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1565
1565
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1594,7 +1594,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1594
1594
|
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.");
|
|
1595
1595
|
}
|
|
1596
1596
|
|
|
1597
|
-
// bazel-out/
|
|
1597
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1598
1598
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1599
1599
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1600
1600
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1633,7 +1633,7 @@ var DefaultImportTracker = class {
|
|
|
1633
1633
|
}
|
|
1634
1634
|
};
|
|
1635
1635
|
|
|
1636
|
-
// bazel-out/
|
|
1636
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
1637
1637
|
import ts9 from "typescript";
|
|
1638
1638
|
var AssumeEager = "AssumeEager";
|
|
1639
1639
|
var DeferredSymbolTracker = class {
|
|
@@ -1756,7 +1756,7 @@ var DeferredSymbolTracker = class {
|
|
|
1756
1756
|
}
|
|
1757
1757
|
};
|
|
1758
1758
|
|
|
1759
|
-
// bazel-out/
|
|
1759
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
1760
1760
|
import ts10 from "typescript";
|
|
1761
1761
|
var ImportedSymbolsTracker = class {
|
|
1762
1762
|
fileToNamedImports = /* @__PURE__ */ new WeakMap();
|
|
@@ -1824,7 +1824,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1824
1824
|
}
|
|
1825
1825
|
};
|
|
1826
1826
|
|
|
1827
|
-
// bazel-out/
|
|
1827
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
1828
1828
|
import ts11 from "typescript";
|
|
1829
1829
|
var LocalCompilationExtraImportsTracker = class {
|
|
1830
1830
|
typeChecker;
|
|
@@ -1876,7 +1876,7 @@ function removeQuotations(s) {
|
|
|
1876
1876
|
return s.substring(1, s.length - 1).trim();
|
|
1877
1877
|
}
|
|
1878
1878
|
|
|
1879
|
-
// bazel-out/
|
|
1879
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1880
1880
|
var ModuleResolver = class {
|
|
1881
1881
|
program;
|
|
1882
1882
|
compilerOptions;
|
|
@@ -1897,10 +1897,10 @@ var ModuleResolver = class {
|
|
|
1897
1897
|
}
|
|
1898
1898
|
};
|
|
1899
1899
|
|
|
1900
|
-
// bazel-out/
|
|
1900
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1901
1901
|
import ts16 from "typescript";
|
|
1902
1902
|
|
|
1903
|
-
// bazel-out/
|
|
1903
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
1904
1904
|
import ts12 from "typescript";
|
|
1905
1905
|
function createGenerateUniqueIdentifierHelper() {
|
|
1906
1906
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -1926,7 +1926,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
1926
1926
|
};
|
|
1927
1927
|
}
|
|
1928
1928
|
|
|
1929
|
-
// bazel-out/
|
|
1929
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
1930
1930
|
import ts13 from "typescript";
|
|
1931
1931
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
1932
1932
|
return (ctx) => {
|
|
@@ -1993,7 +1993,7 @@ function isImportStatement(stmt) {
|
|
|
1993
1993
|
return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
|
|
1994
1994
|
}
|
|
1995
1995
|
|
|
1996
|
-
// bazel-out/
|
|
1996
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
1997
1997
|
import ts14 from "typescript";
|
|
1998
1998
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
1999
1999
|
const requestHash = hashImportRequest(request);
|
|
@@ -2020,7 +2020,7 @@ function hashImportRequest(req) {
|
|
|
2020
2020
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}${req.unsafeAliasOverride ? ":" + req.unsafeAliasOverride : ""}`;
|
|
2021
2021
|
}
|
|
2022
2022
|
|
|
2023
|
-
// bazel-out/
|
|
2023
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
2024
2024
|
import ts15 from "typescript";
|
|
2025
2025
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
2026
2026
|
let candidateImportToBeUpdated = null;
|
|
@@ -2080,7 +2080,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
2080
2080
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
2081
2081
|
}
|
|
2082
2082
|
|
|
2083
|
-
// bazel-out/
|
|
2083
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
2084
2084
|
var presetImportManagerForceNamespaceImports = {
|
|
2085
2085
|
disableOriginalSourceFileReuse: true,
|
|
2086
2086
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -2303,7 +2303,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
2303
2303
|
}
|
|
2304
2304
|
}
|
|
2305
2305
|
|
|
2306
|
-
// bazel-out/
|
|
2306
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
2307
2307
|
var Context = class {
|
|
2308
2308
|
isStatement;
|
|
2309
2309
|
constructor(isStatement) {
|
|
@@ -2317,7 +2317,7 @@ var Context = class {
|
|
|
2317
2317
|
}
|
|
2318
2318
|
};
|
|
2319
2319
|
|
|
2320
|
-
// bazel-out/
|
|
2320
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
2321
2321
|
import * as o from "@angular/compiler";
|
|
2322
2322
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
2323
2323
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -2573,7 +2573,7 @@ function createRange(span) {
|
|
|
2573
2573
|
};
|
|
2574
2574
|
}
|
|
2575
2575
|
|
|
2576
|
-
// bazel-out/
|
|
2576
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
2577
2577
|
import ts17 from "typescript";
|
|
2578
2578
|
var INELIGIBLE = {};
|
|
2579
2579
|
function canEmitType(type, canEmit) {
|
|
@@ -2649,11 +2649,11 @@ var TypeEmitter = class {
|
|
|
2649
2649
|
}
|
|
2650
2650
|
};
|
|
2651
2651
|
|
|
2652
|
-
// bazel-out/
|
|
2652
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2653
2653
|
import * as o2 from "@angular/compiler";
|
|
2654
2654
|
import ts19 from "typescript";
|
|
2655
2655
|
|
|
2656
|
-
// bazel-out/
|
|
2656
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
2657
2657
|
import ts18 from "typescript";
|
|
2658
2658
|
function tsNumericExpression(value) {
|
|
2659
2659
|
if (value < 0) {
|
|
@@ -2663,7 +2663,7 @@ function tsNumericExpression(value) {
|
|
|
2663
2663
|
return ts18.factory.createNumericLiteral(value);
|
|
2664
2664
|
}
|
|
2665
2665
|
|
|
2666
|
-
// bazel-out/
|
|
2666
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2667
2667
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
2668
2668
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
2669
2669
|
}
|
|
@@ -2884,7 +2884,7 @@ var TypeTranslatorVisitor = class {
|
|
|
2884
2884
|
}
|
|
2885
2885
|
};
|
|
2886
2886
|
|
|
2887
|
-
// bazel-out/
|
|
2887
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
2888
2888
|
import ts20 from "typescript";
|
|
2889
2889
|
var PureAnnotation;
|
|
2890
2890
|
(function(PureAnnotation2) {
|
|
@@ -3088,7 +3088,7 @@ function attachComments(statement, leadingComments) {
|
|
|
3088
3088
|
}
|
|
3089
3089
|
}
|
|
3090
3090
|
|
|
3091
|
-
// bazel-out/
|
|
3091
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
3092
3092
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
3093
3093
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
3094
3094
|
}
|
|
@@ -3188,4 +3188,4 @@ export {
|
|
|
3188
3188
|
* Use of this source code is governed by an MIT-style license that can be
|
|
3189
3189
|
* found in the LICENSE file at https://angular.dev/license
|
|
3190
3190
|
*/
|
|
3191
|
-
//# sourceMappingURL=chunk-
|
|
3191
|
+
//# sourceMappingURL=chunk-HWAV2ZIJ.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/perf/src/api.mjs
|
|
7
7
|
var PerfPhase;
|
|
8
8
|
(function(PerfPhase2) {
|
|
9
9
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -73,7 +73,7 @@ var PerfCheckpoint;
|
|
|
73
73
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
74
74
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
75
75
|
|
|
76
|
-
// bazel-out/
|
|
76
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
77
77
|
var NoopPerfRecorder = class {
|
|
78
78
|
eventCount() {
|
|
79
79
|
}
|
|
@@ -90,7 +90,7 @@ var NoopPerfRecorder = class {
|
|
|
90
90
|
};
|
|
91
91
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
92
92
|
|
|
93
|
-
// bazel-out/
|
|
93
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
94
94
|
function mark() {
|
|
95
95
|
return process.hrtime();
|
|
96
96
|
}
|
|
@@ -99,7 +99,7 @@ function timeSinceInMicros(mark2) {
|
|
|
99
99
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
// bazel-out/
|
|
102
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
103
103
|
var ActivePerfRecorder = class {
|
|
104
104
|
zeroTime;
|
|
105
105
|
counters;
|
|
@@ -213,4 +213,4 @@ export {
|
|
|
213
213
|
* Use of this source code is governed by an MIT-style license that can be
|
|
214
214
|
* found in the LICENSE file at https://angular.dev/license
|
|
215
215
|
*/
|
|
216
|
-
//# sourceMappingURL=chunk-
|
|
216
|
+
//# sourceMappingURL=chunk-I6R3GL3L.js.map
|