@angular/compiler-cli 17.0.4 → 17.0.5
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-EKZWOVDR.js → chunk-3GCK5JND.js} +106 -106
- package/bundles/{chunk-BV3ZUD7T.js → chunk-3IBJEGH3.js} +5 -5
- package/bundles/{chunk-HKIDKKUJ.js → chunk-3ZDTTLEA.js} +85 -79
- package/bundles/chunk-3ZDTTLEA.js.map +6 -0
- package/bundles/{chunk-WJ2RDNX4.js → chunk-BNWUZHCZ.js} +5 -5
- package/bundles/{chunk-OTTOC3WQ.js → chunk-CLTYCPJK.js} +27 -27
- package/bundles/{chunk-PCMLSPQF.js → chunk-CSOLWS7O.js} +7 -7
- package/bundles/{chunk-EKTJ7622.js → chunk-GYHDNUIK.js} +7 -7
- package/bundles/{chunk-ELZXPNCU.js → chunk-QDHJ26RK.js} +9 -9
- package/bundles/{chunk-Z4QM3XT4.js → chunk-QFTMYSLL.js} +30 -30
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-JZC4T2RR.js → chunk-UHYH6BYB.js} +1 -1
- package/bundles/{chunk-MHTLEXGT.js → chunk-VNJI35KB.js} +4 -4
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- 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 +6 -6
- package/bundles/private/tooling.js +4 -4
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ngc.js +9 -9
- 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-HKIDKKUJ.js.map +0 -6
- /package/bundles/{chunk-EKZWOVDR.js.map → chunk-3GCK5JND.js.map} +0 -0
- /package/bundles/{chunk-BV3ZUD7T.js.map → chunk-3IBJEGH3.js.map} +0 -0
- /package/bundles/{chunk-WJ2RDNX4.js.map → chunk-BNWUZHCZ.js.map} +0 -0
- /package/bundles/{chunk-OTTOC3WQ.js.map → chunk-CLTYCPJK.js.map} +0 -0
- /package/bundles/{chunk-PCMLSPQF.js.map → chunk-CSOLWS7O.js.map} +0 -0
- /package/bundles/{chunk-EKTJ7622.js.map → chunk-GYHDNUIK.js.map} +0 -0
- /package/bundles/{chunk-ELZXPNCU.js.map → chunk-QDHJ26RK.js.map} +0 -0
- /package/bundles/{chunk-Z4QM3XT4.js.map → chunk-QFTMYSLL.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-JZC4T2RR.js.map → chunk-UHYH6BYB.js.map} +0 -0
- /package/bundles/{chunk-MHTLEXGT.js.map → chunk-VNJI35KB.js.map} +0 -0
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CSOLWS7O.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
18
18
|
import ts4 from "typescript";
|
|
19
19
|
|
|
20
|
-
// bazel-out/
|
|
20
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
21
21
|
import ts from "typescript";
|
|
22
22
|
function isDecoratorIdentifier(exp) {
|
|
23
23
|
return ts.isIdentifier(exp) || ts.isPropertyAccessExpression(exp) && ts.isIdentifier(exp.expression) && ts.isIdentifier(exp.name);
|
|
@@ -31,7 +31,7 @@ var ClassMemberKind;
|
|
|
31
31
|
ClassMemberKind2[ClassMemberKind2["Method"] = 4] = "Method";
|
|
32
32
|
})(ClassMemberKind || (ClassMemberKind = {}));
|
|
33
33
|
|
|
34
|
-
// bazel-out/
|
|
34
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
35
35
|
import ts2 from "typescript";
|
|
36
36
|
function typeToValue(typeNode, checker) {
|
|
37
37
|
if (typeNode === null) {
|
|
@@ -197,7 +197,7 @@ function extractModuleName(node) {
|
|
|
197
197
|
return node.moduleSpecifier.text;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
// bazel-out/
|
|
200
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
201
201
|
import ts3 from "typescript";
|
|
202
202
|
function isNamedClassDeclaration(node) {
|
|
203
203
|
return ts3.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -206,7 +206,7 @@ function isIdentifier(node) {
|
|
|
206
206
|
return node !== void 0 && ts3.isIdentifier(node);
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
// bazel-out/
|
|
209
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
210
210
|
var TypeScriptReflectionHost = class {
|
|
211
211
|
constructor(checker) {
|
|
212
212
|
this.checker = checker;
|
|
@@ -640,7 +640,7 @@ function getExportedName(decl, originalId) {
|
|
|
640
640
|
}
|
|
641
641
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
642
642
|
|
|
643
|
-
// bazel-out/
|
|
643
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
644
644
|
import ts5 from "typescript";
|
|
645
645
|
var TS = /\.tsx?$/i;
|
|
646
646
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -741,7 +741,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
741
741
|
return redirectInfo.unredirected;
|
|
742
742
|
}
|
|
743
743
|
|
|
744
|
-
// bazel-out/
|
|
744
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
745
745
|
var Reference = class {
|
|
746
746
|
constructor(node, bestGuessOwningModule = null) {
|
|
747
747
|
this.node = node;
|
|
@@ -804,14 +804,14 @@ var Reference = class {
|
|
|
804
804
|
}
|
|
805
805
|
};
|
|
806
806
|
|
|
807
|
-
// bazel-out/
|
|
807
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
808
808
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
809
809
|
|
|
810
|
-
// bazel-out/
|
|
810
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
811
811
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
812
812
|
import ts7 from "typescript";
|
|
813
813
|
|
|
814
|
-
// bazel-out/
|
|
814
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
815
815
|
var ErrorCode;
|
|
816
816
|
(function(ErrorCode2) {
|
|
817
817
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -890,7 +890,7 @@ var ErrorCode;
|
|
|
890
890
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_IMPORTED_STYLES_STRING"] = 11002] = "LOCAL_COMPILATION_IMPORTED_STYLES_STRING";
|
|
891
891
|
})(ErrorCode || (ErrorCode = {}));
|
|
892
892
|
|
|
893
|
-
// bazel-out/
|
|
893
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
894
894
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
895
895
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
896
896
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -902,10 +902,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
902
902
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
903
903
|
]);
|
|
904
904
|
|
|
905
|
-
// bazel-out/
|
|
905
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
906
906
|
import ts6 from "typescript";
|
|
907
907
|
|
|
908
|
-
// bazel-out/
|
|
908
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
909
909
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
910
910
|
function replaceTsWithNgInErrors(errors) {
|
|
911
911
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -914,7 +914,7 @@ function ngErrorCode(code) {
|
|
|
914
914
|
return parseInt("-99" + code);
|
|
915
915
|
}
|
|
916
916
|
|
|
917
|
-
// bazel-out/
|
|
917
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
918
918
|
var FatalDiagnosticError = class {
|
|
919
919
|
constructor(code, node, message, relatedInformation) {
|
|
920
920
|
this.code = code;
|
|
@@ -970,10 +970,10 @@ function addDiagnosticChain(messageText, add) {
|
|
|
970
970
|
return messageText;
|
|
971
971
|
}
|
|
972
972
|
|
|
973
|
-
// bazel-out/
|
|
973
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
974
974
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
975
975
|
|
|
976
|
-
// bazel-out/
|
|
976
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
977
977
|
var ExtendedTemplateDiagnosticName;
|
|
978
978
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
979
979
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -987,7 +987,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
987
987
|
ExtendedTemplateDiagnosticName2["INTERPOLATED_SIGNAL_NOT_INVOKED"] = "interpolatedSignalNotInvoked";
|
|
988
988
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
989
989
|
|
|
990
|
-
// bazel-out/
|
|
990
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
991
991
|
function findExportedNameOfNode(target, file, reflector) {
|
|
992
992
|
const exports = reflector.getExportsOfModule(file);
|
|
993
993
|
if (exports === null) {
|
|
@@ -1007,7 +1007,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1007
1007
|
return foundExportName;
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
|
-
// bazel-out/
|
|
1010
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1011
1011
|
var ImportFlags;
|
|
1012
1012
|
(function(ImportFlags2) {
|
|
1013
1013
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1223,7 +1223,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1223
1223
|
}
|
|
1224
1224
|
};
|
|
1225
1225
|
|
|
1226
|
-
// bazel-out/
|
|
1226
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1227
1227
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1228
1228
|
var UnifiedModulesAliasingHost = class {
|
|
1229
1229
|
constructor(unifiedModulesHost) {
|
|
@@ -1290,7 +1290,7 @@ var AliasStrategy = class {
|
|
|
1290
1290
|
}
|
|
1291
1291
|
};
|
|
1292
1292
|
|
|
1293
|
-
// bazel-out/
|
|
1293
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1294
1294
|
function relativePathBetween(from, to) {
|
|
1295
1295
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1296
1296
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1299,7 +1299,7 @@ function normalizeSeparators(path) {
|
|
|
1299
1299
|
return path.replace(/\\/g, "/");
|
|
1300
1300
|
}
|
|
1301
1301
|
|
|
1302
|
-
// bazel-out/
|
|
1302
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1303
1303
|
var NoopImportRewriter = class {
|
|
1304
1304
|
shouldImportSymbol(symbol, specifier) {
|
|
1305
1305
|
return true;
|
|
@@ -1358,7 +1358,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1358
1358
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1359
1359
|
}
|
|
1360
1360
|
|
|
1361
|
-
// bazel-out/
|
|
1361
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
1362
1362
|
import ts8 from "typescript";
|
|
1363
1363
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1364
1364
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1393,7 +1393,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1393
1393
|
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.");
|
|
1394
1394
|
}
|
|
1395
1395
|
|
|
1396
|
-
// bazel-out/
|
|
1396
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1397
1397
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1398
1398
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1399
1399
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1434,7 +1434,7 @@ var DefaultImportTracker = class {
|
|
|
1434
1434
|
}
|
|
1435
1435
|
};
|
|
1436
1436
|
|
|
1437
|
-
// bazel-out/
|
|
1437
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
1438
1438
|
import ts9 from "typescript";
|
|
1439
1439
|
var AssumeEager = "AssumeEager";
|
|
1440
1440
|
var DeferredSymbolTracker = class {
|
|
@@ -1532,7 +1532,7 @@ var DeferredSymbolTracker = class {
|
|
|
1532
1532
|
}
|
|
1533
1533
|
};
|
|
1534
1534
|
|
|
1535
|
-
// bazel-out/
|
|
1535
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1536
1536
|
var ModuleResolver = class {
|
|
1537
1537
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
1538
1538
|
this.program = program;
|
|
@@ -1613,4 +1613,4 @@ export {
|
|
|
1613
1613
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1614
1614
|
* found in the LICENSE file at https://angular.io/license
|
|
1615
1615
|
*/
|
|
1616
|
-
//# sourceMappingURL=chunk-
|
|
1616
|
+
//# sourceMappingURL=chunk-CLTYCPJK.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
__require
|
|
7
7
|
} from "./chunk-XI2RTGAL.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 {
|
|
@@ -225,7 +225,7 @@ var NgtscCompilerHost = class {
|
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
227
|
|
|
228
|
-
// bazel-out/
|
|
228
|
+
// bazel-out/darwin_arm64-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/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
275
275
|
import fs2 from "fs";
|
|
276
276
|
import module 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-CSOLWS7O.js.map
|
|
@@ -3,11 +3,11 @@
|
|
|
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/sourcemaps/src/source_file.mjs
|
|
7
7
|
import { decode, encode } from "@jridgewell/sourcemap-codec";
|
|
8
8
|
import mapHelpers from "convert-source-map";
|
|
9
9
|
|
|
10
|
-
// bazel-out/
|
|
10
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
|
|
11
11
|
function compareSegments(a, b) {
|
|
12
12
|
return a.position - b.position;
|
|
13
13
|
}
|
|
@@ -27,7 +27,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
|
|
|
27
27
|
return { line, column, position, next: void 0 };
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
// bazel-out/
|
|
30
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
31
31
|
function removeSourceMapComments(contents) {
|
|
32
32
|
return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
|
|
33
33
|
}
|
|
@@ -278,10 +278,10 @@ var Cache = class {
|
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
280
|
|
|
281
|
-
// bazel-out/
|
|
281
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
282
282
|
import mapHelpers2 from "convert-source-map";
|
|
283
283
|
|
|
284
|
-
// bazel-out/
|
|
284
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
|
|
285
285
|
var ContentOrigin;
|
|
286
286
|
(function(ContentOrigin2) {
|
|
287
287
|
ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
|
|
@@ -289,7 +289,7 @@ var ContentOrigin;
|
|
|
289
289
|
ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
|
|
290
290
|
})(ContentOrigin || (ContentOrigin = {}));
|
|
291
291
|
|
|
292
|
-
// bazel-out/
|
|
292
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
293
293
|
var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
|
|
294
294
|
var SourceFileLoader = class {
|
|
295
295
|
constructor(fs, logger, schemeMap) {
|
|
@@ -416,4 +416,4 @@ export {
|
|
|
416
416
|
* Use of this source code is governed by an MIT-style license that can be
|
|
417
417
|
* found in the LICENSE file at https://angular.io/license
|
|
418
418
|
*/
|
|
419
|
-
//# sourceMappingURL=chunk-
|
|
419
|
+
//# sourceMappingURL=chunk-GYHDNUIK.js.map
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
NoopImportRewriter,
|
|
8
8
|
Reference,
|
|
9
9
|
assertSuccessfulReferenceEmit
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CLTYCPJK.js";
|
|
11
11
|
|
|
12
|
-
// bazel-out/
|
|
12
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
13
13
|
var Context = class {
|
|
14
14
|
constructor(isStatement) {
|
|
15
15
|
this.isStatement = isStatement;
|
|
@@ -22,7 +22,7 @@ var Context = class {
|
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
26
26
|
import * as o from "@angular/compiler";
|
|
27
27
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
28
28
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -260,7 +260,7 @@ function createRange(span) {
|
|
|
260
260
|
};
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
// bazel-out/
|
|
263
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
264
264
|
import ts from "typescript";
|
|
265
265
|
var ImportManager = class {
|
|
266
266
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -296,7 +296,7 @@ var ImportManager = class {
|
|
|
296
296
|
}
|
|
297
297
|
};
|
|
298
298
|
|
|
299
|
-
// bazel-out/
|
|
299
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
300
300
|
import ts2 from "typescript";
|
|
301
301
|
var INELIGIBLE = {};
|
|
302
302
|
function canEmitType(type, canEmit) {
|
|
@@ -371,7 +371,7 @@ var TypeEmitter = class {
|
|
|
371
371
|
}
|
|
372
372
|
};
|
|
373
373
|
|
|
374
|
-
// bazel-out/
|
|
374
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
375
375
|
import * as o2 from "@angular/compiler";
|
|
376
376
|
import ts3 from "typescript";
|
|
377
377
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
@@ -587,7 +587,7 @@ var TypeTranslatorVisitor = class {
|
|
|
587
587
|
}
|
|
588
588
|
};
|
|
589
589
|
|
|
590
|
-
// bazel-out/
|
|
590
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
591
591
|
import ts4 from "typescript";
|
|
592
592
|
var PureAnnotation;
|
|
593
593
|
(function(PureAnnotation2) {
|
|
@@ -783,7 +783,7 @@ function attachComments(statement, leadingComments) {
|
|
|
783
783
|
}
|
|
784
784
|
}
|
|
785
785
|
|
|
786
|
-
// bazel-out/
|
|
786
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
787
787
|
function translateExpression(expression, imports, options = {}) {
|
|
788
788
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
789
789
|
}
|
|
@@ -808,4 +808,4 @@ export {
|
|
|
808
808
|
* Use of this source code is governed by an MIT-style license that can be
|
|
809
809
|
* found in the LICENSE file at https://angular.io/license
|
|
810
810
|
*/
|
|
811
|
-
//# sourceMappingURL=chunk-
|
|
811
|
+
//# sourceMappingURL=chunk-QDHJ26RK.js.map
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import {
|
|
6
6
|
Context,
|
|
7
7
|
ExpressionTranslatorVisitor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QDHJ26RK.js";
|
|
9
9
|
import {
|
|
10
10
|
SourceFileLoader
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GYHDNUIK.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
|
constructor(node, message) {
|
|
16
16
|
super(message);
|
|
@@ -22,14 +22,14 @@ function isFatalLinkerError(e) {
|
|
|
22
22
|
return e && e.type === "FatalLinkerError";
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/ast/utils.mjs
|
|
26
26
|
function assert(node, predicate, expected) {
|
|
27
27
|
if (!predicate(node)) {
|
|
28
28
|
throw new FatalLinkerError(node, `Unsupported syntax, expected ${expected}.`);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
// bazel-out/
|
|
32
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/ast/ast_value.mjs
|
|
33
33
|
import * as o from "@angular/compiler";
|
|
34
34
|
var AstObject = class {
|
|
35
35
|
static parse(expression, host) {
|
|
@@ -155,10 +155,10 @@ var AstValue = class {
|
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
-
// bazel-out/
|
|
158
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
159
159
|
import { ConstantPool } from "@angular/compiler";
|
|
160
160
|
|
|
161
|
-
// bazel-out/
|
|
161
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
|
|
162
162
|
var LinkerImportGenerator = class {
|
|
163
163
|
constructor(ngImport) {
|
|
164
164
|
this.ngImport = ngImport;
|
|
@@ -178,7 +178,7 @@ var LinkerImportGenerator = class {
|
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
|
|
181
|
-
// bazel-out/
|
|
181
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
182
182
|
var EmitScope = class {
|
|
183
183
|
constructor(ngImport, translator, factory) {
|
|
184
184
|
this.ngImport = ngImport;
|
|
@@ -207,7 +207,7 @@ var EmitScope = class {
|
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
209
|
|
|
210
|
-
// bazel-out/
|
|
210
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
|
|
211
211
|
var LocalEmitScope = class extends EmitScope {
|
|
212
212
|
translateDefinition(definition) {
|
|
213
213
|
return super.translateDefinition({
|
|
@@ -220,10 +220,10 @@ var LocalEmitScope = class extends EmitScope {
|
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
|
|
223
|
-
// bazel-out/
|
|
223
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
224
224
|
import semver2 from "semver";
|
|
225
225
|
|
|
226
|
-
// bazel-out/
|
|
226
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
227
227
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
228
228
|
if (loader === null) {
|
|
229
229
|
return () => null;
|
|
@@ -238,7 +238,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
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_class_metadata_linker_1.mjs
|
|
242
242
|
import { compileClassMetadata } from "@angular/compiler";
|
|
243
243
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
244
244
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -258,16 +258,16 @@ function toR3ClassMetadata(metaObj) {
|
|
|
258
258
|
};
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
// bazel-out/
|
|
261
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
262
262
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher, ViewEncapsulation } from "@angular/compiler";
|
|
263
263
|
import semver from "semver";
|
|
264
264
|
|
|
265
|
-
// bazel-out/
|
|
265
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
266
266
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
267
267
|
|
|
268
|
-
// bazel-out/
|
|
268
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
269
269
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
270
|
-
var PLACEHOLDER_VERSION = "17.0.
|
|
270
|
+
var PLACEHOLDER_VERSION = "17.0.5";
|
|
271
271
|
function wrapReference(wrapped) {
|
|
272
272
|
return { value: wrapped, type: wrapped };
|
|
273
273
|
}
|
|
@@ -314,7 +314,7 @@ function extractForwardRef(expr) {
|
|
|
314
314
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
315
315
|
}
|
|
316
316
|
|
|
317
|
-
// bazel-out/
|
|
317
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
318
318
|
var PartialDirectiveLinkerVersion1 = class {
|
|
319
319
|
constructor(sourceUrl, code) {
|
|
320
320
|
this.sourceUrl = sourceUrl;
|
|
@@ -444,7 +444,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
444
444
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
-
// bazel-out/
|
|
447
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
448
448
|
function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
|
|
449
449
|
return {
|
|
450
450
|
kind: R3TemplateDependencyKind.Directive,
|
|
@@ -660,7 +660,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
660
660
|
return enumValue;
|
|
661
661
|
}
|
|
662
662
|
|
|
663
|
-
// bazel-out/
|
|
663
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
664
664
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
665
665
|
var PartialFactoryLinkerVersion1 = class {
|
|
666
666
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -696,7 +696,7 @@ function getDependencies(metaObj, propName) {
|
|
|
696
696
|
return null;
|
|
697
697
|
}
|
|
698
698
|
|
|
699
|
-
// bazel-out/
|
|
699
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
700
700
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
701
701
|
var PartialInjectableLinkerVersion1 = class {
|
|
702
702
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -734,7 +734,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
734
734
|
return meta;
|
|
735
735
|
}
|
|
736
736
|
|
|
737
|
-
// bazel-out/
|
|
737
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
738
738
|
import { compileInjector } from "@angular/compiler";
|
|
739
739
|
var PartialInjectorLinkerVersion1 = class {
|
|
740
740
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -756,7 +756,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
756
756
|
};
|
|
757
757
|
}
|
|
758
758
|
|
|
759
|
-
// bazel-out/
|
|
759
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
760
760
|
import { compileNgModule, R3NgModuleMetadataKind, R3SelectorScopeMode } from "@angular/compiler";
|
|
761
761
|
var PartialNgModuleLinkerVersion1 = class {
|
|
762
762
|
constructor(emitInline) {
|
|
@@ -828,7 +828,7 @@ function wrapReferences(values) {
|
|
|
828
828
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
829
829
|
}
|
|
830
830
|
|
|
831
|
-
// bazel-out/
|
|
831
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
832
832
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
833
833
|
var PartialPipeLinkerVersion1 = class {
|
|
834
834
|
constructor() {
|
|
@@ -857,7 +857,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
857
857
|
};
|
|
858
858
|
}
|
|
859
859
|
|
|
860
|
-
// bazel-out/
|
|
860
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
861
861
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
862
862
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
863
863
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -951,7 +951,7 @@ function getRange(comparator, versionStr) {
|
|
|
951
951
|
return new semver2.Range(`${comparator}${version.format()}`);
|
|
952
952
|
}
|
|
953
953
|
|
|
954
|
-
// bazel-out/
|
|
954
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
955
955
|
var FileLinker = class {
|
|
956
956
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
957
957
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -994,14 +994,14 @@ var FileLinker = class {
|
|
|
994
994
|
}
|
|
995
995
|
};
|
|
996
996
|
|
|
997
|
-
// bazel-out/
|
|
997
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
998
998
|
var DEFAULT_LINKER_OPTIONS = {
|
|
999
999
|
sourceMapping: true,
|
|
1000
1000
|
linkerJitMode: false,
|
|
1001
1001
|
unknownDeclarationVersionHandling: "error"
|
|
1002
1002
|
};
|
|
1003
1003
|
|
|
1004
|
-
// bazel-out/
|
|
1004
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
1005
1005
|
var Translator = class {
|
|
1006
1006
|
constructor(factory) {
|
|
1007
1007
|
this.factory = factory;
|
|
@@ -1014,7 +1014,7 @@ var Translator = class {
|
|
|
1014
1014
|
}
|
|
1015
1015
|
};
|
|
1016
1016
|
|
|
1017
|
-
// bazel-out/
|
|
1017
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
1018
1018
|
var LinkerEnvironment = class {
|
|
1019
1019
|
constructor(fileSystem, logger, host, factory, options) {
|
|
1020
1020
|
this.fileSystem = fileSystem;
|
|
@@ -1035,7 +1035,7 @@ var LinkerEnvironment = class {
|
|
|
1035
1035
|
}
|
|
1036
1036
|
};
|
|
1037
1037
|
|
|
1038
|
-
// bazel-out/
|
|
1038
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
1039
1039
|
function needsLinking(path, source) {
|
|
1040
1040
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
1041
1041
|
}
|
|
@@ -1056,4 +1056,4 @@ export {
|
|
|
1056
1056
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1057
1057
|
* found in the LICENSE file at https://angular.io/license
|
|
1058
1058
|
*/
|
|
1059
|
-
//# sourceMappingURL=chunk-
|
|
1059
|
+
//# sourceMappingURL=chunk-QFTMYSLL.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/logging/src/logger.mjs
|
|
7
7
|
var LogLevel;
|
|
8
8
|
(function(LogLevel2) {
|
|
9
9
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -12,7 +12,7 @@ var LogLevel;
|
|
|
12
12
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
13
13
|
})(LogLevel || (LogLevel = {}));
|
|
14
14
|
|
|
15
|
-
// bazel-out/
|
|
15
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
16
16
|
var RESET = "\x1B[0m";
|
|
17
17
|
var RED = "\x1B[31m";
|
|
18
18
|
var YELLOW = "\x1B[33m";
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
* Use of this source code is governed by an MIT-style license that can be
|
|
54
54
|
* found in the LICENSE file at https://angular.io/license
|
|
55
55
|
*/
|
|
56
|
-
//# sourceMappingURL=chunk-
|
|
56
|
+
//# sourceMappingURL=chunk-SBDNBITT.js.map
|