@angular/compiler-cli 19.1.0-next.0 → 19.1.0-next.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-DHTI5OKE.js → chunk-34FJ6PKD.js} +81 -81
- package/bundles/{chunk-ZEPJHGBL.js → chunk-3OT7XV3K.js} +152 -134
- package/bundles/{chunk-ZEPJHGBL.js.map → chunk-3OT7XV3K.js.map} +3 -3
- package/bundles/{chunk-77D5CI2U.js → chunk-5UDS2TPQ.js} +7 -7
- package/bundles/{chunk-W3RHSPCT.js → chunk-A7ZZMLHV.js} +5 -5
- package/bundles/{chunk-FKXFEX7K.js → chunk-GBKXY6BH.js} +3 -3
- package/bundles/{chunk-Q2WE7ECN.js → chunk-I6R3GL3L.js} +5 -5
- package/bundles/{chunk-NFCGJ6UU.js → chunk-MIHO36SM.js} +12 -12
- package/bundles/{chunk-P6YTDBL7.js → chunk-NQFS66HQ.js} +31 -31
- package/bundles/{chunk-NC4E5UYB.js → chunk-P5OLJFAE.js} +43 -43
- package/bundles/{chunk-37JMVF7H.js → chunk-STORTTKY.js} +8 -8
- package/bundles/{chunk-5ZWV2XEF.js → chunk-YCOYUOYB.js} +3 -3
- 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/declaration_scope.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/core/api/src/public_options.d.ts +2 -2
- package/src/ngtsc/diagnostics/src/error_code.d.ts +13 -13
- package/src/ngtsc/hmr/src/{extract_locals.d.ts → extract_dependencies.d.ts} +6 -4
- package/src/ngtsc/imports/src/patch_alias_reference_resolution.d.ts +1 -1
- package/src/ngtsc/translator/src/type_emitter.d.ts +2 -2
- /package/bundles/{chunk-DHTI5OKE.js.map → chunk-34FJ6PKD.js.map} +0 -0
- /package/bundles/{chunk-77D5CI2U.js.map → chunk-5UDS2TPQ.js.map} +0 -0
- /package/bundles/{chunk-W3RHSPCT.js.map → chunk-A7ZZMLHV.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-NFCGJ6UU.js.map → chunk-MIHO36SM.js.map} +0 -0
- /package/bundles/{chunk-P6YTDBL7.js.map → chunk-NQFS66HQ.js.map} +0 -0
- /package/bundles/{chunk-NC4E5UYB.js.map → chunk-P5OLJFAE.js.map} +0 -0
- /package/bundles/{chunk-37JMVF7H.js.map → chunk-STORTTKY.js.map} +0 -0
- /package/bundles/{chunk-5ZWV2XEF.js.map → chunk-YCOYUOYB.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;
|
|
@@ -950,7 +950,7 @@ function getExportedName(decl, originalId) {
|
|
|
950
950
|
}
|
|
951
951
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
952
952
|
|
|
953
|
-
// bazel-out/
|
|
953
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
954
954
|
import ts6 from "typescript";
|
|
955
955
|
var TS = /\.tsx?$/i;
|
|
956
956
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -1051,7 +1051,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
1051
1051
|
return redirectInfo.unredirected;
|
|
1052
1052
|
}
|
|
1053
1053
|
|
|
1054
|
-
// bazel-out/
|
|
1054
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
1055
1055
|
var Reference = class {
|
|
1056
1056
|
node;
|
|
1057
1057
|
bestGuessOwningModule;
|
|
@@ -1123,14 +1123,14 @@ var Reference = class {
|
|
|
1123
1123
|
}
|
|
1124
1124
|
};
|
|
1125
1125
|
|
|
1126
|
-
// bazel-out/
|
|
1126
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1127
1127
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1128
1128
|
|
|
1129
|
-
// bazel-out/
|
|
1129
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1130
1130
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
1131
1131
|
import ts7 from "typescript";
|
|
1132
1132
|
|
|
1133
|
-
// bazel-out/
|
|
1133
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
1134
1134
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1135
1135
|
const exports = reflector.getExportsOfModule(file);
|
|
1136
1136
|
if (exports === null) {
|
|
@@ -1150,7 +1150,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1150
1150
|
return foundExportName;
|
|
1151
1151
|
}
|
|
1152
1152
|
|
|
1153
|
-
// bazel-out/
|
|
1153
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1154
1154
|
var ImportFlags;
|
|
1155
1155
|
(function(ImportFlags2) {
|
|
1156
1156
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1397,7 +1397,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1397
1397
|
}
|
|
1398
1398
|
};
|
|
1399
1399
|
|
|
1400
|
-
// bazel-out/
|
|
1400
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1401
1401
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1402
1402
|
var UnifiedModulesAliasingHost = class {
|
|
1403
1403
|
unifiedModulesHost;
|
|
@@ -1466,7 +1466,7 @@ var AliasStrategy = class {
|
|
|
1466
1466
|
}
|
|
1467
1467
|
};
|
|
1468
1468
|
|
|
1469
|
-
// bazel-out/
|
|
1469
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1470
1470
|
function relativePathBetween(from, to) {
|
|
1471
1471
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1472
1472
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1485,7 +1485,7 @@ function getProjectRelativePath(sourceFile, rootDirs, compilerHost) {
|
|
|
1485
1485
|
return null;
|
|
1486
1486
|
}
|
|
1487
1487
|
|
|
1488
|
-
// bazel-out/
|
|
1488
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1489
1489
|
var NoopImportRewriter = class {
|
|
1490
1490
|
rewriteSymbol(symbol, specifier) {
|
|
1491
1491
|
return symbol;
|
|
@@ -1545,7 +1545,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1545
1545
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1546
1546
|
}
|
|
1547
1547
|
|
|
1548
|
-
// bazel-out/
|
|
1548
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
1549
1549
|
import ts8 from "typescript";
|
|
1550
1550
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1551
1551
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1580,7 +1580,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1580
1580
|
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.");
|
|
1581
1581
|
}
|
|
1582
1582
|
|
|
1583
|
-
// bazel-out/
|
|
1583
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1584
1584
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1585
1585
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1586
1586
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1619,7 +1619,7 @@ var DefaultImportTracker = class {
|
|
|
1619
1619
|
}
|
|
1620
1620
|
};
|
|
1621
1621
|
|
|
1622
|
-
// bazel-out/
|
|
1622
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
1623
1623
|
import ts9 from "typescript";
|
|
1624
1624
|
var AssumeEager = "AssumeEager";
|
|
1625
1625
|
var DeferredSymbolTracker = class {
|
|
@@ -1742,7 +1742,7 @@ var DeferredSymbolTracker = class {
|
|
|
1742
1742
|
}
|
|
1743
1743
|
};
|
|
1744
1744
|
|
|
1745
|
-
// bazel-out/
|
|
1745
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
1746
1746
|
import ts10 from "typescript";
|
|
1747
1747
|
var ImportedSymbolsTracker = class {
|
|
1748
1748
|
fileToNamedImports = /* @__PURE__ */ new WeakMap();
|
|
@@ -1810,7 +1810,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1810
1810
|
}
|
|
1811
1811
|
};
|
|
1812
1812
|
|
|
1813
|
-
// bazel-out/
|
|
1813
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
1814
1814
|
import ts11 from "typescript";
|
|
1815
1815
|
var LocalCompilationExtraImportsTracker = class {
|
|
1816
1816
|
typeChecker;
|
|
@@ -1862,7 +1862,7 @@ function removeQuotations(s) {
|
|
|
1862
1862
|
return s.substring(1, s.length - 1).trim();
|
|
1863
1863
|
}
|
|
1864
1864
|
|
|
1865
|
-
// bazel-out/
|
|
1865
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1866
1866
|
var ModuleResolver = class {
|
|
1867
1867
|
program;
|
|
1868
1868
|
compilerOptions;
|
|
@@ -1883,10 +1883,10 @@ var ModuleResolver = class {
|
|
|
1883
1883
|
}
|
|
1884
1884
|
};
|
|
1885
1885
|
|
|
1886
|
-
// bazel-out/
|
|
1886
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1887
1887
|
import ts16 from "typescript";
|
|
1888
1888
|
|
|
1889
|
-
// bazel-out/
|
|
1889
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
1890
1890
|
import ts12 from "typescript";
|
|
1891
1891
|
function createGenerateUniqueIdentifierHelper() {
|
|
1892
1892
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -1912,7 +1912,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
1912
1912
|
};
|
|
1913
1913
|
}
|
|
1914
1914
|
|
|
1915
|
-
// bazel-out/
|
|
1915
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
1916
1916
|
import ts13 from "typescript";
|
|
1917
1917
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
1918
1918
|
return (ctx) => {
|
|
@@ -1979,7 +1979,7 @@ function isImportStatement(stmt) {
|
|
|
1979
1979
|
return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
|
|
1980
1980
|
}
|
|
1981
1981
|
|
|
1982
|
-
// bazel-out/
|
|
1982
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
1983
1983
|
import ts14 from "typescript";
|
|
1984
1984
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
1985
1985
|
const requestHash = hashImportRequest(request);
|
|
@@ -2006,7 +2006,7 @@ function hashImportRequest(req) {
|
|
|
2006
2006
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}${req.unsafeAliasOverride ? ":" + req.unsafeAliasOverride : ""}`;
|
|
2007
2007
|
}
|
|
2008
2008
|
|
|
2009
|
-
// bazel-out/
|
|
2009
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
2010
2010
|
import ts15 from "typescript";
|
|
2011
2011
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
2012
2012
|
let candidateImportToBeUpdated = null;
|
|
@@ -2066,7 +2066,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
2066
2066
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
2067
2067
|
}
|
|
2068
2068
|
|
|
2069
|
-
// bazel-out/
|
|
2069
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
2070
2070
|
var presetImportManagerForceNamespaceImports = {
|
|
2071
2071
|
disableOriginalSourceFileReuse: true,
|
|
2072
2072
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -2289,7 +2289,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
2289
2289
|
}
|
|
2290
2290
|
}
|
|
2291
2291
|
|
|
2292
|
-
// bazel-out/
|
|
2292
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
2293
2293
|
var Context = class {
|
|
2294
2294
|
isStatement;
|
|
2295
2295
|
constructor(isStatement) {
|
|
@@ -2303,7 +2303,7 @@ var Context = class {
|
|
|
2303
2303
|
}
|
|
2304
2304
|
};
|
|
2305
2305
|
|
|
2306
|
-
// bazel-out/
|
|
2306
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
2307
2307
|
import * as o from "@angular/compiler";
|
|
2308
2308
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
2309
2309
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -2559,7 +2559,7 @@ function createRange(span) {
|
|
|
2559
2559
|
};
|
|
2560
2560
|
}
|
|
2561
2561
|
|
|
2562
|
-
// bazel-out/
|
|
2562
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
2563
2563
|
import ts17 from "typescript";
|
|
2564
2564
|
var INELIGIBLE = {};
|
|
2565
2565
|
function canEmitType(type, canEmit) {
|
|
@@ -2635,11 +2635,11 @@ var TypeEmitter = class {
|
|
|
2635
2635
|
}
|
|
2636
2636
|
};
|
|
2637
2637
|
|
|
2638
|
-
// bazel-out/
|
|
2638
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2639
2639
|
import * as o2 from "@angular/compiler";
|
|
2640
2640
|
import ts19 from "typescript";
|
|
2641
2641
|
|
|
2642
|
-
// bazel-out/
|
|
2642
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
2643
2643
|
import ts18 from "typescript";
|
|
2644
2644
|
function tsNumericExpression(value) {
|
|
2645
2645
|
if (value < 0) {
|
|
@@ -2649,7 +2649,7 @@ function tsNumericExpression(value) {
|
|
|
2649
2649
|
return ts18.factory.createNumericLiteral(value);
|
|
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
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
2654
2654
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
2655
2655
|
}
|
|
@@ -2870,7 +2870,7 @@ var TypeTranslatorVisitor = class {
|
|
|
2870
2870
|
}
|
|
2871
2871
|
};
|
|
2872
2872
|
|
|
2873
|
-
// bazel-out/
|
|
2873
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
2874
2874
|
import ts20 from "typescript";
|
|
2875
2875
|
var PureAnnotation;
|
|
2876
2876
|
(function(PureAnnotation2) {
|
|
@@ -3074,7 +3074,7 @@ function attachComments(statement, leadingComments) {
|
|
|
3074
3074
|
}
|
|
3075
3075
|
}
|
|
3076
3076
|
|
|
3077
|
-
// bazel-out/
|
|
3077
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
3078
3078
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
3079
3079
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
3080
3080
|
}
|
|
@@ -3174,4 +3174,4 @@ export {
|
|
|
3174
3174
|
* Use of this source code is governed by an MIT-style license that can be
|
|
3175
3175
|
* found in the LICENSE file at https://angular.dev/license
|
|
3176
3176
|
*/
|
|
3177
|
-
//# sourceMappingURL=chunk-
|
|
3177
|
+
//# sourceMappingURL=chunk-P5OLJFAE.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
__require
|
|
7
7
|
} from "./chunk-KPQ72R34.js";
|
|
8
8
|
|
|
9
|
-
// bazel-out/
|
|
9
|
+
// bazel-out/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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/darwin_arm64-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 {
|
|
@@ -227,7 +227,7 @@ var NgtscCompilerHost = class {
|
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
|
|
230
|
-
// bazel-out/
|
|
230
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
231
231
|
var LogicalProjectPath = {
|
|
232
232
|
relativePathBetween: function(from, to) {
|
|
233
233
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -276,7 +276,7 @@ function isWithinBasePath(base, path) {
|
|
|
276
276
|
return isLocalRelativePath(relative(base, path));
|
|
277
277
|
}
|
|
278
278
|
|
|
279
|
-
// bazel-out/
|
|
279
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
280
280
|
import fs2 from "fs";
|
|
281
281
|
import { createRequire } from "module";
|
|
282
282
|
import * as p from "path";
|
|
@@ -380,7 +380,7 @@ function toggleCase(str) {
|
|
|
380
380
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
381
381
|
}
|
|
382
382
|
|
|
383
|
-
// bazel-out/
|
|
383
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/ts_read_directory.mjs
|
|
384
384
|
import ts2 from "typescript";
|
|
385
385
|
function createFileSystemTsReadDirectoryFn(fs3) {
|
|
386
386
|
if (ts2.matchFiles === void 0) {
|
|
@@ -443,4 +443,4 @@ export {
|
|
|
443
443
|
* Use of this source code is governed by an MIT-style license that can be
|
|
444
444
|
* found in the LICENSE file at https://angular.dev/license
|
|
445
445
|
*/
|
|
446
|
-
//# sourceMappingURL=chunk-
|
|
446
|
+
//# sourceMappingURL=chunk-STORTTKY.js.map
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
angularJitApplicationTransform
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MIHO36SM.js";
|
|
8
8
|
|
|
9
|
-
// bazel-out/
|
|
9
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
10
10
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
11
11
|
ngDevMode: false,
|
|
12
12
|
ngI18nClosureMode: false
|
|
@@ -31,4 +31,4 @@ export {
|
|
|
31
31
|
* Use of this source code is governed by an MIT-style license that can be
|
|
32
32
|
* found in the LICENSE file at https://angular.dev/license
|
|
33
33
|
*/
|
|
34
|
-
//# sourceMappingURL=chunk-
|
|
34
|
+
//# sourceMappingURL=chunk-YCOYUOYB.js.map
|
package/bundles/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
GLOBAL_DEFS_FOR_TERSER,
|
|
7
7
|
GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
|
|
8
8
|
constructorParametersDownlevelTransform
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YCOYUOYB.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_ERROR_CODE,
|
|
12
12
|
DecoratorType,
|
|
@@ -33,27 +33,27 @@ import {
|
|
|
33
33
|
isTsDiagnostic,
|
|
34
34
|
performCompilation,
|
|
35
35
|
readConfiguration
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-34FJ6PKD.js";
|
|
37
37
|
import {
|
|
38
38
|
angularJitApplicationTransform,
|
|
39
39
|
getDownlevelDecoratorsTransform,
|
|
40
40
|
getInitializerApiJitTransform
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-MIHO36SM.js";
|
|
42
42
|
import {
|
|
43
43
|
OptimizeFor,
|
|
44
44
|
TsCreateProgramDriver
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-3OT7XV3K.js";
|
|
46
46
|
import {
|
|
47
47
|
isLocalCompilationDiagnostics
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-P5OLJFAE.js";
|
|
49
49
|
import {
|
|
50
50
|
ActivePerfRecorder,
|
|
51
51
|
PerfPhase
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-I6R3GL3L.js";
|
|
53
53
|
import {
|
|
54
54
|
ConsoleLogger,
|
|
55
55
|
LogLevel
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-GBKXY6BH.js";
|
|
57
57
|
import {
|
|
58
58
|
LogicalFileSystem,
|
|
59
59
|
LogicalProjectPath,
|
|
@@ -75,14 +75,14 @@ import {
|
|
|
75
75
|
resolve,
|
|
76
76
|
setFileSystem,
|
|
77
77
|
toRelativeImport
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-STORTTKY.js";
|
|
79
79
|
import "./chunk-KPQ72R34.js";
|
|
80
80
|
|
|
81
|
-
// bazel-out/
|
|
81
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
82
82
|
import { Version } from "@angular/compiler";
|
|
83
|
-
var VERSION = new Version("19.1.0-next.
|
|
83
|
+
var VERSION = new Version("19.1.0-next.2");
|
|
84
84
|
|
|
85
|
-
// bazel-out/
|
|
85
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs
|
|
86
86
|
var NgTscPlugin = class {
|
|
87
87
|
ngOptions;
|
|
88
88
|
name = "ngtsc";
|
|
@@ -159,7 +159,7 @@ var NgTscPlugin = class {
|
|
|
159
159
|
}
|
|
160
160
|
};
|
|
161
161
|
|
|
162
|
-
// bazel-out/
|
|
162
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
163
163
|
setFileSystem(new NodeJSFileSystem());
|
|
164
164
|
export {
|
|
165
165
|
ConsoleLogger,
|
|
@@ -8,22 +8,22 @@ import {
|
|
|
8
8
|
LinkerEnvironment,
|
|
9
9
|
assert,
|
|
10
10
|
isFatalLinkerError
|
|
11
|
-
} from "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
11
|
+
} from "../../chunk-NQFS66HQ.js";
|
|
12
|
+
import "../../chunk-P5OLJFAE.js";
|
|
13
13
|
import {
|
|
14
14
|
ConsoleLogger,
|
|
15
15
|
LogLevel
|
|
16
|
-
} from "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
16
|
+
} from "../../chunk-GBKXY6BH.js";
|
|
17
|
+
import "../../chunk-5UDS2TPQ.js";
|
|
18
18
|
import {
|
|
19
19
|
NodeJSFileSystem
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-STORTTKY.js";
|
|
21
21
|
import "../../chunk-KPQ72R34.js";
|
|
22
22
|
|
|
23
|
-
// bazel-out/
|
|
23
|
+
// bazel-out/darwin_arm64-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/darwin_arm64-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
|
sourceUrl;
|
|
@@ -149,7 +149,7 @@ function isLExpression(expr) {
|
|
|
149
149
|
return t.isLVal(expr);
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
// bazel-out/
|
|
152
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_host.mjs
|
|
153
153
|
import { types as t2 } from "@babel/core";
|
|
154
154
|
var BabelAstHost = class {
|
|
155
155
|
getSymbolName(node) {
|
|
@@ -275,7 +275,7 @@ function isMinifiedBooleanLiteral(node) {
|
|
|
275
275
|
return t2.isUnaryExpression(node) && node.prefix && node.operator === "!" && t2.isNumericLiteral(node.argument) && (node.argument.value === 0 || node.argument.value === 1);
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
// bazel-out/
|
|
278
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_declaration_scope.mjs
|
|
279
279
|
import { types as t3 } from "@babel/core";
|
|
280
280
|
var BabelDeclarationScope = class {
|
|
281
281
|
declarationScope;
|
|
@@ -302,7 +302,7 @@ var BabelDeclarationScope = class {
|
|
|
302
302
|
}
|
|
303
303
|
};
|
|
304
304
|
|
|
305
|
-
// bazel-out/
|
|
305
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.mjs
|
|
306
306
|
function createEs2015LinkerPlugin({ fileSystem, logger, ...options }) {
|
|
307
307
|
let fileLinker = null;
|
|
308
308
|
return {
|
|
@@ -403,7 +403,7 @@ function buildCodeFrameError(file, message, node) {
|
|
|
403
403
|
return `${filename}: ${error.message}`;
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
// bazel-out/
|
|
406
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_plugin.mjs
|
|
407
407
|
function defaultLinkerPlugin(api, options) {
|
|
408
408
|
api.assertVersion(7);
|
|
409
409
|
return createEs2015LinkerPlugin({
|
|
@@ -413,7 +413,7 @@ function defaultLinkerPlugin(api, options) {
|
|
|
413
413
|
});
|
|
414
414
|
}
|
|
415
415
|
|
|
416
|
-
// bazel-out/
|
|
416
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/babel/index.mjs
|
|
417
417
|
var babel_default = defaultLinkerPlugin;
|
|
418
418
|
export {
|
|
419
419
|
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-NQFS66HQ.js";
|
|
14
|
+
import "../chunk-P5OLJFAE.js";
|
|
15
|
+
import "../chunk-5UDS2TPQ.js";
|
|
16
|
+
import "../chunk-STORTTKY.js";
|
|
17
17
|
import "../chunk-KPQ72R34.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/darwin_arm64-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-GBKXY6BH.js";
|
|
9
9
|
import {
|
|
10
10
|
SourceFile,
|
|
11
11
|
SourceFileLoader
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-5UDS2TPQ.js";
|
|
13
13
|
import {
|
|
14
14
|
LogicalFileSystem,
|
|
15
15
|
LogicalProjectPath,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
resolve,
|
|
32
32
|
setFileSystem,
|
|
33
33
|
toRelativeImport
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-STORTTKY.js";
|
|
35
35
|
import "../chunk-KPQ72R34.js";
|
|
36
36
|
export {
|
|
37
37
|
ConsoleLogger,
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
PotentialImportMode,
|
|
10
10
|
StaticInterpreter,
|
|
11
11
|
forwardRefResolver
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-3OT7XV3K.js";
|
|
13
13
|
import {
|
|
14
14
|
ImportManager,
|
|
15
15
|
Reference,
|
|
16
16
|
TypeScriptReflectionHost,
|
|
17
17
|
reflectObjectLiteral
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-P5OLJFAE.js";
|
|
19
|
+
import "../chunk-I6R3GL3L.js";
|
|
20
|
+
import "../chunk-STORTTKY.js";
|
|
21
21
|
import "../chunk-KPQ72R34.js";
|
|
22
22
|
export {
|
|
23
23
|
DynamicValue,
|