@angular/compiler-cli 19.2.0-rc.0 → 19.2.0
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-77D5CI2U.js → chunk-5UDS2TPQ.js} +7 -7
- package/bundles/{chunk-FKXFEX7K.js → chunk-GBKXY6BH.js} +3 -3
- package/bundles/{chunk-Q2WE7ECN.js → chunk-I6R3GL3L.js} +5 -5
- package/bundles/{chunk-HHTMNOE7.js → chunk-J43IYRBM.js} +125 -125
- package/bundles/{chunk-OZ2WSYWM.js → chunk-KOIBHR3X.js} +42 -42
- package/bundles/{chunk-J7S5XIBF.js → chunk-RNO4EXM5.js} +31 -31
- package/bundles/{chunk-FTZQEOD7.js → chunk-S2PFGODW.js} +5 -5
- package/bundles/{chunk-37JMVF7H.js → chunk-STORTTKY.js} +8 -8
- package/bundles/{chunk-JBQ2W4H2.js → chunk-TFVEDCQN.js} +3 -3
- package/bundles/{chunk-E7POVVFX.js → chunk-VAZZGFGP.js} +12 -12
- package/bundles/{chunk-67OPP2P5.js → chunk-ZBHF2MOM.js} +82 -82
- 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/bundles/{chunk-77D5CI2U.js.map → chunk-5UDS2TPQ.js.map} +0 -0
- /package/bundles/{chunk-FKXFEX7K.js.map → chunk-GBKXY6BH.js.map} +0 -0
- /package/bundles/{chunk-Q2WE7ECN.js.map → chunk-I6R3GL3L.js.map} +0 -0
- /package/bundles/{chunk-HHTMNOE7.js.map → chunk-J43IYRBM.js.map} +0 -0
- /package/bundles/{chunk-OZ2WSYWM.js.map → chunk-KOIBHR3X.js.map} +0 -0
- /package/bundles/{chunk-J7S5XIBF.js.map → chunk-RNO4EXM5.js.map} +0 -0
- /package/bundles/{chunk-FTZQEOD7.js.map → chunk-S2PFGODW.js.map} +0 -0
- /package/bundles/{chunk-37JMVF7H.js.map → chunk-STORTTKY.js.map} +0 -0
- /package/bundles/{chunk-JBQ2W4H2.js.map → chunk-TFVEDCQN.js.map} +0 -0
- /package/bundles/{chunk-E7POVVFX.js.map → chunk-VAZZGFGP.js.map} +0 -0
- /package/bundles/{chunk-67OPP2P5.js.map → chunk-ZBHF2MOM.js.map} +0 -0
|
@@ -12,9 +12,9 @@ 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_code.mjs
|
|
18
18
|
var ErrorCode;
|
|
19
19
|
(function(ErrorCode2) {
|
|
20
20
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -111,7 +111,7 @@ var ErrorCode;
|
|
|
111
111
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
112
112
|
})(ErrorCode || (ErrorCode = {}));
|
|
113
113
|
|
|
114
|
-
// bazel-out/
|
|
114
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
115
115
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
116
116
|
function replaceTsWithNgInErrors(errors) {
|
|
117
117
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -120,7 +120,7 @@ function ngErrorCode(code) {
|
|
|
120
120
|
return parseInt("-99" + code);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
// bazel-out/
|
|
123
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
124
124
|
import ts from "typescript";
|
|
125
125
|
var FatalDiagnosticError = class extends Error {
|
|
126
126
|
code;
|
|
@@ -189,7 +189,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
|
|
|
189
189
|
return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
// bazel-out/
|
|
192
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
193
193
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
194
194
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
195
195
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -201,10 +201,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
201
201
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
202
202
|
]);
|
|
203
203
|
|
|
204
|
-
// bazel-out/
|
|
204
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
205
205
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
|
|
206
206
|
|
|
207
|
-
// bazel-out/
|
|
207
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
208
208
|
var ExtendedTemplateDiagnosticName;
|
|
209
209
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
210
210
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -222,10 +222,10 @@ var ExtendedTemplateDiagnosticName;
|
|
|
222
222
|
ExtendedTemplateDiagnosticName2["UNUSED_STANDALONE_IMPORTS"] = "unusedStandaloneImports";
|
|
223
223
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
224
224
|
|
|
225
|
-
// bazel-out/
|
|
225
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
226
226
|
import ts5 from "typescript";
|
|
227
227
|
|
|
228
|
-
// bazel-out/
|
|
228
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
229
229
|
import ts2 from "typescript";
|
|
230
230
|
function isDecoratorIdentifier(exp) {
|
|
231
231
|
return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
|
|
@@ -248,7 +248,7 @@ var ClassMemberAccessLevel;
|
|
|
248
248
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
249
249
|
var AmbientImport = {};
|
|
250
250
|
|
|
251
|
-
// bazel-out/
|
|
251
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
252
252
|
import ts3 from "typescript";
|
|
253
253
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
254
254
|
var _a, _b;
|
|
@@ -432,7 +432,7 @@ function extractModuleName(node) {
|
|
|
432
432
|
return node.moduleSpecifier.text;
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
// bazel-out/
|
|
435
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
436
436
|
import ts4 from "typescript";
|
|
437
437
|
function isNamedClassDeclaration(node) {
|
|
438
438
|
return ts4.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -456,7 +456,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
458
|
|
|
459
|
-
// bazel-out/
|
|
459
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
460
460
|
var TypeScriptReflectionHost = class {
|
|
461
461
|
checker;
|
|
462
462
|
isLocalCompilation;
|
|
@@ -962,7 +962,7 @@ function getExportedName(decl, originalId) {
|
|
|
962
962
|
}
|
|
963
963
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
964
964
|
|
|
965
|
-
// bazel-out/
|
|
965
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
966
966
|
import ts6 from "typescript";
|
|
967
967
|
var TS = /\.tsx?$/i;
|
|
968
968
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -1063,7 +1063,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
1063
1063
|
return redirectInfo.unredirected;
|
|
1064
1064
|
}
|
|
1065
1065
|
|
|
1066
|
-
// bazel-out/
|
|
1066
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
1067
1067
|
var Reference = class {
|
|
1068
1068
|
node;
|
|
1069
1069
|
bestGuessOwningModule;
|
|
@@ -1135,14 +1135,14 @@ var Reference = class {
|
|
|
1135
1135
|
}
|
|
1136
1136
|
};
|
|
1137
1137
|
|
|
1138
|
-
// bazel-out/
|
|
1138
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1139
1139
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1140
1140
|
|
|
1141
|
-
// bazel-out/
|
|
1141
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1142
1142
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
1143
1143
|
import ts7 from "typescript";
|
|
1144
1144
|
|
|
1145
|
-
// bazel-out/
|
|
1145
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
1146
1146
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1147
1147
|
const exports = reflector.getExportsOfModule(file);
|
|
1148
1148
|
if (exports === null) {
|
|
@@ -1162,7 +1162,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1162
1162
|
return foundExportName;
|
|
1163
1163
|
}
|
|
1164
1164
|
|
|
1165
|
-
// bazel-out/
|
|
1165
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1166
1166
|
var ImportFlags;
|
|
1167
1167
|
(function(ImportFlags2) {
|
|
1168
1168
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1409,7 +1409,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1409
1409
|
}
|
|
1410
1410
|
};
|
|
1411
1411
|
|
|
1412
|
-
// bazel-out/
|
|
1412
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1413
1413
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1414
1414
|
var UnifiedModulesAliasingHost = class {
|
|
1415
1415
|
unifiedModulesHost;
|
|
@@ -1478,7 +1478,7 @@ var AliasStrategy = class {
|
|
|
1478
1478
|
}
|
|
1479
1479
|
};
|
|
1480
1480
|
|
|
1481
|
-
// bazel-out/
|
|
1481
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1482
1482
|
function relativePathBetween(from, to) {
|
|
1483
1483
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1484
1484
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1497,7 +1497,7 @@ function getProjectRelativePath(fileName, rootDirs, compilerHost) {
|
|
|
1497
1497
|
return null;
|
|
1498
1498
|
}
|
|
1499
1499
|
|
|
1500
|
-
// bazel-out/
|
|
1500
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1501
1501
|
var NoopImportRewriter = class {
|
|
1502
1502
|
rewriteSymbol(symbol, specifier) {
|
|
1503
1503
|
return symbol;
|
|
@@ -1557,7 +1557,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1557
1557
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1558
1558
|
}
|
|
1559
1559
|
|
|
1560
|
-
// bazel-out/
|
|
1560
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
1561
1561
|
import ts8 from "typescript";
|
|
1562
1562
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1563
1563
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1595,7 +1595,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1595
1595
|
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.");
|
|
1596
1596
|
}
|
|
1597
1597
|
|
|
1598
|
-
// bazel-out/
|
|
1598
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1599
1599
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1600
1600
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1601
1601
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1634,7 +1634,7 @@ var DefaultImportTracker = class {
|
|
|
1634
1634
|
}
|
|
1635
1635
|
};
|
|
1636
1636
|
|
|
1637
|
-
// bazel-out/
|
|
1637
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
1638
1638
|
import ts9 from "typescript";
|
|
1639
1639
|
var AssumeEager = "AssumeEager";
|
|
1640
1640
|
var DeferredSymbolTracker = class {
|
|
@@ -1757,7 +1757,7 @@ var DeferredSymbolTracker = class {
|
|
|
1757
1757
|
}
|
|
1758
1758
|
};
|
|
1759
1759
|
|
|
1760
|
-
// bazel-out/
|
|
1760
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
1761
1761
|
import ts10 from "typescript";
|
|
1762
1762
|
var ImportedSymbolsTracker = class {
|
|
1763
1763
|
fileToNamedImports = /* @__PURE__ */ new WeakMap();
|
|
@@ -1825,7 +1825,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1825
1825
|
}
|
|
1826
1826
|
};
|
|
1827
1827
|
|
|
1828
|
-
// bazel-out/
|
|
1828
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
1829
1829
|
import ts11 from "typescript";
|
|
1830
1830
|
var LocalCompilationExtraImportsTracker = class {
|
|
1831
1831
|
typeChecker;
|
|
@@ -1877,7 +1877,7 @@ function removeQuotations(s) {
|
|
|
1877
1877
|
return s.substring(1, s.length - 1).trim();
|
|
1878
1878
|
}
|
|
1879
1879
|
|
|
1880
|
-
// bazel-out/
|
|
1880
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1881
1881
|
var ModuleResolver = class {
|
|
1882
1882
|
program;
|
|
1883
1883
|
compilerOptions;
|
|
@@ -1898,10 +1898,10 @@ var ModuleResolver = class {
|
|
|
1898
1898
|
}
|
|
1899
1899
|
};
|
|
1900
1900
|
|
|
1901
|
-
// bazel-out/
|
|
1901
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1902
1902
|
import ts16 from "typescript";
|
|
1903
1903
|
|
|
1904
|
-
// bazel-out/
|
|
1904
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
1905
1905
|
import ts12 from "typescript";
|
|
1906
1906
|
function createGenerateUniqueIdentifierHelper() {
|
|
1907
1907
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -1927,7 +1927,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
1927
1927
|
};
|
|
1928
1928
|
}
|
|
1929
1929
|
|
|
1930
|
-
// bazel-out/
|
|
1930
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
1931
1931
|
import ts13 from "typescript";
|
|
1932
1932
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
1933
1933
|
return (ctx) => {
|
|
@@ -1996,7 +1996,7 @@ function isImportStatement(stmt) {
|
|
|
1996
1996
|
return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
|
|
1997
1997
|
}
|
|
1998
1998
|
|
|
1999
|
-
// bazel-out/
|
|
1999
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
2000
2000
|
import ts14 from "typescript";
|
|
2001
2001
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
2002
2002
|
const requestHash = hashImportRequest(request);
|
|
@@ -2023,7 +2023,7 @@ function hashImportRequest(req) {
|
|
|
2023
2023
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}${req.unsafeAliasOverride ? ":" + req.unsafeAliasOverride : ""}`;
|
|
2024
2024
|
}
|
|
2025
2025
|
|
|
2026
|
-
// bazel-out/
|
|
2026
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
2027
2027
|
import ts15 from "typescript";
|
|
2028
2028
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
2029
2029
|
let candidateImportToBeUpdated = null;
|
|
@@ -2083,7 +2083,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
2083
2083
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
2084
2084
|
}
|
|
2085
2085
|
|
|
2086
|
-
// bazel-out/
|
|
2086
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
2087
2087
|
var presetImportManagerForceNamespaceImports = {
|
|
2088
2088
|
disableOriginalSourceFileReuse: true,
|
|
2089
2089
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -2306,7 +2306,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
2306
2306
|
}
|
|
2307
2307
|
}
|
|
2308
2308
|
|
|
2309
|
-
// bazel-out/
|
|
2309
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
2310
2310
|
var Context = class {
|
|
2311
2311
|
isStatement;
|
|
2312
2312
|
constructor(isStatement) {
|
|
@@ -2320,7 +2320,7 @@ var Context = class {
|
|
|
2320
2320
|
}
|
|
2321
2321
|
};
|
|
2322
2322
|
|
|
2323
|
-
// bazel-out/
|
|
2323
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
2324
2324
|
import * as o from "@angular/compiler";
|
|
2325
2325
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
2326
2326
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -2585,7 +2585,7 @@ function createRange(span) {
|
|
|
2585
2585
|
};
|
|
2586
2586
|
}
|
|
2587
2587
|
|
|
2588
|
-
// bazel-out/
|
|
2588
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
2589
2589
|
import ts17 from "typescript";
|
|
2590
2590
|
var INELIGIBLE = {};
|
|
2591
2591
|
function canEmitType(type, canEmit) {
|
|
@@ -2661,11 +2661,11 @@ var TypeEmitter = class {
|
|
|
2661
2661
|
}
|
|
2662
2662
|
};
|
|
2663
2663
|
|
|
2664
|
-
// bazel-out/
|
|
2664
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2665
2665
|
import * as o2 from "@angular/compiler";
|
|
2666
2666
|
import ts19 from "typescript";
|
|
2667
2667
|
|
|
2668
|
-
// bazel-out/
|
|
2668
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
2669
2669
|
import ts18 from "typescript";
|
|
2670
2670
|
function tsNumericExpression(value) {
|
|
2671
2671
|
if (value < 0) {
|
|
@@ -2675,7 +2675,7 @@ function tsNumericExpression(value) {
|
|
|
2675
2675
|
return ts18.factory.createNumericLiteral(value);
|
|
2676
2676
|
}
|
|
2677
2677
|
|
|
2678
|
-
// bazel-out/
|
|
2678
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2679
2679
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
2680
2680
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
2681
2681
|
}
|
|
@@ -2902,7 +2902,7 @@ var TypeTranslatorVisitor = class {
|
|
|
2902
2902
|
}
|
|
2903
2903
|
};
|
|
2904
2904
|
|
|
2905
|
-
// bazel-out/
|
|
2905
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
2906
2906
|
import ts20 from "typescript";
|
|
2907
2907
|
var PureAnnotation;
|
|
2908
2908
|
(function(PureAnnotation2) {
|
|
@@ -3109,7 +3109,7 @@ function attachComments(statement, leadingComments) {
|
|
|
3109
3109
|
}
|
|
3110
3110
|
}
|
|
3111
3111
|
|
|
3112
|
-
// bazel-out/
|
|
3112
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
3113
3113
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
3114
3114
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
3115
3115
|
}
|
|
@@ -3209,4 +3209,4 @@ export {
|
|
|
3209
3209
|
* Use of this source code is governed by an MIT-style license that can be
|
|
3210
3210
|
* found in the LICENSE file at https://angular.dev/license
|
|
3211
3211
|
*/
|
|
3212
|
-
//# sourceMappingURL=chunk-
|
|
3212
|
+
//# sourceMappingURL=chunk-KOIBHR3X.js.map
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import {
|
|
6
6
|
Context,
|
|
7
7
|
ExpressionTranslatorVisitor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KOIBHR3X.js";
|
|
9
9
|
import {
|
|
10
10
|
SourceFileLoader
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5UDS2TPQ.js";
|
|
12
12
|
|
|
13
|
-
// bazel-out/
|
|
13
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/fatal_linker_error.mjs
|
|
14
14
|
var FatalLinkerError = class extends Error {
|
|
15
15
|
node;
|
|
16
16
|
type = "FatalLinkerError";
|
|
@@ -23,14 +23,14 @@ function isFatalLinkerError(e) {
|
|
|
23
23
|
return e && e.type === "FatalLinkerError";
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
// bazel-out/
|
|
26
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/ast/utils.mjs
|
|
27
27
|
function assert(node, predicate, expected) {
|
|
28
28
|
if (!predicate(node)) {
|
|
29
29
|
throw new FatalLinkerError(node, `Unsupported syntax, expected ${expected}.`);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
// bazel-out/
|
|
33
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/ast/ast_value.mjs
|
|
34
34
|
import * as o from "@angular/compiler";
|
|
35
35
|
var AstObject = class {
|
|
36
36
|
expression;
|
|
@@ -168,10 +168,10 @@ var AstValue = class {
|
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
170
|
|
|
171
|
-
// bazel-out/
|
|
171
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
172
172
|
import { ConstantPool } from "@angular/compiler";
|
|
173
173
|
|
|
174
|
-
// bazel-out/
|
|
174
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
|
|
175
175
|
var LinkerImportGenerator = class {
|
|
176
176
|
factory;
|
|
177
177
|
ngImport;
|
|
@@ -193,7 +193,7 @@ var LinkerImportGenerator = class {
|
|
|
193
193
|
}
|
|
194
194
|
};
|
|
195
195
|
|
|
196
|
-
// bazel-out/
|
|
196
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
197
197
|
var EmitScope = class {
|
|
198
198
|
ngImport;
|
|
199
199
|
translator;
|
|
@@ -225,7 +225,7 @@ var EmitScope = class {
|
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
227
|
|
|
228
|
-
// bazel-out/
|
|
228
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
|
|
229
229
|
var LocalEmitScope = class extends EmitScope {
|
|
230
230
|
translateDefinition(definition) {
|
|
231
231
|
return super.translateDefinition({
|
|
@@ -238,10 +238,10 @@ var LocalEmitScope = class extends EmitScope {
|
|
|
238
238
|
}
|
|
239
239
|
};
|
|
240
240
|
|
|
241
|
-
// bazel-out/
|
|
241
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
242
242
|
import semver3 from "semver";
|
|
243
243
|
|
|
244
|
-
// bazel-out/
|
|
244
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
245
245
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
246
246
|
if (loader === null) {
|
|
247
247
|
return () => null;
|
|
@@ -256,7 +256,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
// bazel-out/
|
|
259
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_async_linker_1.mjs
|
|
260
260
|
import { compileOpaqueAsyncClassMetadata } from "@angular/compiler";
|
|
261
261
|
var PartialClassMetadataAsyncLinkerVersion1 = class {
|
|
262
262
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -281,7 +281,7 @@ var PartialClassMetadataAsyncLinkerVersion1 = class {
|
|
|
281
281
|
}
|
|
282
282
|
};
|
|
283
283
|
|
|
284
|
-
// bazel-out/
|
|
284
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
|
|
285
285
|
import { compileClassMetadata } from "@angular/compiler";
|
|
286
286
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
287
287
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -301,17 +301,17 @@ function toR3ClassMetadata(metaObj) {
|
|
|
301
301
|
};
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
// bazel-out/
|
|
304
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
305
305
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher, ViewEncapsulation } from "@angular/compiler";
|
|
306
306
|
import semver2 from "semver";
|
|
307
307
|
|
|
308
|
-
// bazel-out/
|
|
308
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
309
309
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
310
310
|
|
|
311
|
-
// bazel-out/
|
|
311
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
312
312
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
313
313
|
import semver from "semver";
|
|
314
|
-
var PLACEHOLDER_VERSION = "19.2.0
|
|
314
|
+
var PLACEHOLDER_VERSION = "19.2.0";
|
|
315
315
|
function wrapReference(wrapped) {
|
|
316
316
|
return { value: wrapped, type: wrapped };
|
|
317
317
|
}
|
|
@@ -364,7 +364,7 @@ function getDefaultStandaloneValue(version) {
|
|
|
364
364
|
return STANDALONE_IS_DEFAULT_RANGE.test(version);
|
|
365
365
|
}
|
|
366
366
|
|
|
367
|
-
// bazel-out/
|
|
367
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
368
368
|
var PartialDirectiveLinkerVersion1 = class {
|
|
369
369
|
sourceUrl;
|
|
370
370
|
code;
|
|
@@ -513,7 +513,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
513
513
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
514
514
|
}
|
|
515
515
|
|
|
516
|
-
// bazel-out/
|
|
516
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
517
517
|
function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
|
|
518
518
|
return {
|
|
519
519
|
kind: R3TemplateDependencyKind.Directive,
|
|
@@ -732,7 +732,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
732
732
|
return enumValue;
|
|
733
733
|
}
|
|
734
734
|
|
|
735
|
-
// bazel-out/
|
|
735
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
736
736
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
737
737
|
var PartialFactoryLinkerVersion1 = class {
|
|
738
738
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -768,7 +768,7 @@ function getDependencies(metaObj, propName) {
|
|
|
768
768
|
return null;
|
|
769
769
|
}
|
|
770
770
|
|
|
771
|
-
// bazel-out/
|
|
771
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
772
772
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
773
773
|
var PartialInjectableLinkerVersion1 = class {
|
|
774
774
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -806,7 +806,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
806
806
|
return meta;
|
|
807
807
|
}
|
|
808
808
|
|
|
809
|
-
// bazel-out/
|
|
809
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
810
810
|
import { compileInjector } from "@angular/compiler";
|
|
811
811
|
var PartialInjectorLinkerVersion1 = class {
|
|
812
812
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -828,7 +828,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
828
828
|
};
|
|
829
829
|
}
|
|
830
830
|
|
|
831
|
-
// bazel-out/
|
|
831
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
832
832
|
import { compileNgModule, R3NgModuleMetadataKind, R3SelectorScopeMode } from "@angular/compiler";
|
|
833
833
|
var PartialNgModuleLinkerVersion1 = class {
|
|
834
834
|
emitInline;
|
|
@@ -901,7 +901,7 @@ function wrapReferences(values) {
|
|
|
901
901
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
902
902
|
}
|
|
903
903
|
|
|
904
|
-
// bazel-out/
|
|
904
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
905
905
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
906
906
|
var PartialPipeLinkerVersion1 = class {
|
|
907
907
|
constructor() {
|
|
@@ -930,7 +930,7 @@ function toR3PipeMeta(metaObj, version) {
|
|
|
930
930
|
};
|
|
931
931
|
}
|
|
932
932
|
|
|
933
|
-
// bazel-out/
|
|
933
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
934
934
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
935
935
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
936
936
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -1035,7 +1035,7 @@ function getRange(comparator, versionStr) {
|
|
|
1035
1035
|
return new semver3.Range(`${comparator}${version.format()}`);
|
|
1036
1036
|
}
|
|
1037
1037
|
|
|
1038
|
-
// bazel-out/
|
|
1038
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
1039
1039
|
var FileLinker = class {
|
|
1040
1040
|
linkerEnvironment;
|
|
1041
1041
|
linkerSelector;
|
|
@@ -1080,14 +1080,14 @@ var FileLinker = class {
|
|
|
1080
1080
|
}
|
|
1081
1081
|
};
|
|
1082
1082
|
|
|
1083
|
-
// bazel-out/
|
|
1083
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
1084
1084
|
var DEFAULT_LINKER_OPTIONS = {
|
|
1085
1085
|
sourceMapping: true,
|
|
1086
1086
|
linkerJitMode: false,
|
|
1087
1087
|
unknownDeclarationVersionHandling: "error"
|
|
1088
1088
|
};
|
|
1089
1089
|
|
|
1090
|
-
// bazel-out/
|
|
1090
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
1091
1091
|
var Translator = class {
|
|
1092
1092
|
factory;
|
|
1093
1093
|
constructor(factory) {
|
|
@@ -1101,7 +1101,7 @@ var Translator = class {
|
|
|
1101
1101
|
}
|
|
1102
1102
|
};
|
|
1103
1103
|
|
|
1104
|
-
// bazel-out/
|
|
1104
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
1105
1105
|
var LinkerEnvironment = class {
|
|
1106
1106
|
fileSystem;
|
|
1107
1107
|
logger;
|
|
@@ -1129,7 +1129,7 @@ var LinkerEnvironment = class {
|
|
|
1129
1129
|
}
|
|
1130
1130
|
};
|
|
1131
1131
|
|
|
1132
|
-
// bazel-out/
|
|
1132
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
1133
1133
|
function needsLinking(path, source) {
|
|
1134
1134
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
1135
1135
|
}
|
|
@@ -1150,4 +1150,4 @@ export {
|
|
|
1150
1150
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1151
1151
|
* found in the LICENSE file at https://angular.dev/license
|
|
1152
1152
|
*/
|
|
1153
|
-
//# sourceMappingURL=chunk-
|
|
1153
|
+
//# sourceMappingURL=chunk-RNO4EXM5.js.map
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
formatDiagnostics,
|
|
13
13
|
performCompilation,
|
|
14
14
|
readConfiguration
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZBHF2MOM.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/darwin_arm64-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/darwin_arm64-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";
|
|
@@ -242,7 +242,7 @@ function performWatchCompilation(host) {
|
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
// bazel-out/
|
|
245
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
246
246
|
function main(args, consoleError = console.error, config, customTransformers, programReuse, modifiedResourceFiles) {
|
|
247
247
|
let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
|
|
248
248
|
if (configErrors.length) {
|
|
@@ -363,4 +363,4 @@ export {
|
|
|
363
363
|
* Use of this source code is governed by an MIT-style license that can be
|
|
364
364
|
* found in the LICENSE file at https://angular.dev/license
|
|
365
365
|
*/
|
|
366
|
-
//# sourceMappingURL=chunk-
|
|
366
|
+
//# sourceMappingURL=chunk-S2PFGODW.js.map
|