@angular/compiler-cli 17.0.0-rc.1 → 17.0.0-rc.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-W22VYY2W.js → chunk-3IBJEGH3.js} +5 -5
- package/bundles/{chunk-47YFDVF5.js → chunk-6JN5EFEW.js} +84 -80
- package/bundles/{chunk-47YFDVF5.js.map → chunk-6JN5EFEW.js.map} +1 -1
- package/bundles/{chunk-BBHDYHY4.js → chunk-6WFRHXYB.js} +5 -5
- package/bundles/{chunk-NATK4QBU.js → chunk-CLTYCPJK.js} +27 -27
- package/bundles/{chunk-W653LDC7.js → chunk-CSOLWS7O.js} +7 -7
- package/bundles/{chunk-OULZQUKT.js → chunk-GYHDNUIK.js} +7 -7
- package/bundles/{chunk-UN5ELNTU.js → chunk-KIPH6OCC.js} +396 -352
- package/bundles/chunk-KIPH6OCC.js.map +6 -0
- package/bundles/{chunk-IB7D76E2.js → chunk-QDHJ26RK.js} +224 -154
- package/bundles/chunk-QDHJ26RK.js.map +6 -0
- package/bundles/{chunk-YSUF4ELW.js → chunk-QFTMYSLL.js} +30 -30
- package/bundles/{chunk-CF2CT7RQ.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-3O3O4L34.js → chunk-UHYH6BYB.js} +1 -1
- package/bundles/{chunk-L2LBTQAL.js → chunk-VNJI35KB.js} +4 -4
- package/bundles/index.js +15 -13
- package/bundles/index.js.map +1 -1
- 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 +3 -3
- package/src/ngtsc/docs/src/decorator_extractor.d.ts +15 -0
- package/src/ngtsc/docs/src/entities.d.ts +13 -2
- package/src/ngtsc/docs/src/jsdoc_extractor.d.ts +2 -2
- package/src/ngtsc/metadata/src/api.d.ts +1 -1
- package/src/ngtsc/translator/index.d.ts +1 -0
- package/src/ngtsc/typecheck/src/environment.d.ts +2 -2
- package/bundles/chunk-IB7D76E2.js.map +0 -6
- package/bundles/chunk-UN5ELNTU.js.map +0 -6
- /package/bundles/{chunk-W22VYY2W.js.map → chunk-3IBJEGH3.js.map} +0 -0
- /package/bundles/{chunk-BBHDYHY4.js.map → chunk-6WFRHXYB.js.map} +0 -0
- /package/bundles/{chunk-NATK4QBU.js.map → chunk-CLTYCPJK.js.map} +0 -0
- /package/bundles/{chunk-W653LDC7.js.map → chunk-CSOLWS7O.js.map} +0 -0
- /package/bundles/{chunk-OULZQUKT.js.map → chunk-GYHDNUIK.js.map} +0 -0
- /package/bundles/{chunk-YSUF4ELW.js.map → chunk-QFTMYSLL.js.map} +0 -0
- /package/bundles/{chunk-CF2CT7RQ.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-3O3O4L34.js.map → chunk-UHYH6BYB.js.map} +0 -0
- /package/bundles/{chunk-L2LBTQAL.js.map → chunk-VNJI35KB.js.map} +0 -0
- /package/src/ngtsc/{typecheck → translator}/src/type_emitter.d.ts +0 -0
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
formatDiagnostics,
|
|
13
13
|
performCompilation,
|
|
14
14
|
readConfiguration
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KIPH6OCC.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";
|
|
@@ -234,7 +234,7 @@ function performWatchCompilation(host) {
|
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
// bazel-out/
|
|
237
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
238
238
|
function main(args, consoleError = console.error, config, customTransformers, programReuse, modifiedResourceFiles) {
|
|
239
239
|
let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
|
|
240
240
|
if (configErrors.length) {
|
|
@@ -342,4 +342,4 @@ export {
|
|
|
342
342
|
* Use of this source code is governed by an MIT-style license that can be
|
|
343
343
|
* found in the LICENSE file at https://angular.io/license
|
|
344
344
|
*/
|
|
345
|
-
//# sourceMappingURL=chunk-
|
|
345
|
+
//# sourceMappingURL=chunk-6WFRHXYB.js.map
|
|
@@ -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
|