@angular/compiler-cli 15.0.0-next.0 → 15.0.0-next.1
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-RCXOJZDO.js → chunk-2HPI44CB.js} +5 -5
- package/bundles/{chunk-RCXOJZDO.js.map → chunk-2HPI44CB.js.map} +0 -0
- package/bundles/{chunk-DM4TYSFG.js → chunk-7YHMCUJT.js} +2 -2
- package/bundles/{chunk-DM4TYSFG.js.map → chunk-7YHMCUJT.js.map} +0 -0
- package/bundles/{chunk-56O2PTWU.js → chunk-CYVTLM4Z.js} +7 -7
- package/bundles/{chunk-56O2PTWU.js.map → chunk-CYVTLM4Z.js.map} +0 -0
- package/bundles/{chunk-5FZBUSFV.js → chunk-E7NQQTT7.js} +3 -3
- package/bundles/{chunk-5FZBUSFV.js.map → chunk-E7NQQTT7.js.map} +0 -0
- package/bundles/{chunk-KUSEWNLW.js → chunk-FHVSPC32.js} +31 -31
- package/bundles/{chunk-KUSEWNLW.js.map → chunk-FHVSPC32.js.map} +0 -0
- package/bundles/{chunk-ICPLY7FO.js → chunk-FM6NPN5V.js} +4 -4
- package/bundles/{chunk-ICPLY7FO.js.map → chunk-FM6NPN5V.js.map} +0 -0
- package/bundles/{chunk-TR3BZDPT.js → chunk-HTGNPCKD.js} +6 -7
- package/bundles/chunk-HTGNPCKD.js.map +6 -0
- package/bundles/{chunk-MQGVI6KC.js → chunk-I6QQYDN3.js} +71 -71
- package/bundles/{chunk-MQGVI6KC.js.map → chunk-I6QQYDN3.js.map} +0 -0
- package/bundles/{chunk-4CS5WLPD.js → chunk-NJU6754X.js} +135 -107
- package/bundles/chunk-NJU6754X.js.map +6 -0
- package/bundles/{chunk-PLV54QMQ.js → chunk-NX4VAKY6.js} +40 -40
- package/bundles/{chunk-PLV54QMQ.js.map → chunk-NX4VAKY6.js.map} +0 -0
- package/bundles/{chunk-HMWNYAAE.js → chunk-R3C7RFJ4.js} +2 -2
- package/bundles/{chunk-HMWNYAAE.js.map → chunk-R3C7RFJ4.js.map} +0 -0
- package/bundles/{chunk-IKKP4LXM.js → chunk-TF2TR2WS.js} +39 -26
- package/bundles/chunk-TF2TR2WS.js.map +6 -0
- package/bundles/{chunk-4NRCP3Y6.js → chunk-TOKOIIBI.js} +7 -7
- package/bundles/{chunk-4NRCP3Y6.js.map → chunk-TOKOIIBI.js.map} +0 -0
- package/bundles/{chunk-MT76GVED.js → chunk-TTNGBVW6.js} +71 -71
- package/bundles/{chunk-MT76GVED.js.map → chunk-TTNGBVW6.js.map} +0 -0
- package/bundles/{chunk-JN4TT3OU.js → chunk-UZLFREET.js} +7 -7
- package/bundles/{chunk-JN4TT3OU.js.map → chunk-UZLFREET.js.map} +0 -0
- package/bundles/{chunk-MOE5WKIA.js → chunk-XDX5RDY5.js} +7 -7
- package/bundles/{chunk-MOE5WKIA.js.map → chunk-XDX5RDY5.js.map} +0 -0
- 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 +13 -13
- package/bundles/ngcc/main-ngcc.js +14 -14
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -14
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
- 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 +3 -3
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ngc.js +9 -9
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/core/api/src/public_options.d.ts +1 -13
- package/src/ngtsc/diagnostics/index.d.ts +1 -1
- package/src/ngtsc/diagnostics/src/error.d.ts +1 -0
- package/src/ngtsc/typecheck/diagnostics/src/diagnostic.d.ts +4 -0
- package/src/transformers/util.d.ts +0 -1
- package/bundles/chunk-4CS5WLPD.js.map +0 -6
- package/bundles/chunk-IKKP4LXM.js.map +0 -6
- package/bundles/chunk-TR3BZDPT.js.map +0 -6
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
removeLockFile
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-R3C7RFJ4.js";
|
|
9
9
|
import {
|
|
10
10
|
Deferred,
|
|
11
11
|
DirectPackageJsonUpdater,
|
|
@@ -38,22 +38,22 @@ import {
|
|
|
38
38
|
sendMessageToWorker,
|
|
39
39
|
sortTasksByPriority,
|
|
40
40
|
stringifyTask
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-TTNGBVW6.js";
|
|
42
42
|
import {
|
|
43
43
|
LogLevel
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-E7NQQTT7.js";
|
|
45
45
|
import {
|
|
46
46
|
absoluteFrom,
|
|
47
47
|
getFileSystem
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-TOKOIIBI.js";
|
|
49
49
|
import {
|
|
50
50
|
__require
|
|
51
51
|
} from "./chunk-XYNRD7NE.js";
|
|
52
52
|
|
|
53
|
-
// bazel-out/
|
|
53
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.mjs
|
|
54
54
|
import ts from "typescript";
|
|
55
55
|
|
|
56
|
-
// bazel-out/
|
|
56
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/module_resolver.mjs
|
|
57
57
|
var ModuleResolver = class {
|
|
58
58
|
constructor(fs, pathMappings, relativeExtensions = ["", ".js", "/index.js"]) {
|
|
59
59
|
this.fs = fs;
|
|
@@ -191,7 +191,7 @@ function isRelativeImport(from, to) {
|
|
|
191
191
|
return to.startsWith(from) && !to.includes("node_modules");
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
// bazel-out/
|
|
194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_host.mjs
|
|
195
195
|
function createDependencyInfo() {
|
|
196
196
|
return { dependencies: /* @__PURE__ */ new Set(), missing: /* @__PURE__ */ new Set(), deepImports: /* @__PURE__ */ new Set() };
|
|
197
197
|
}
|
|
@@ -248,7 +248,7 @@ var DependencyHostBase = class {
|
|
|
248
248
|
}
|
|
249
249
|
};
|
|
250
250
|
|
|
251
|
-
// bazel-out/
|
|
251
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.mjs
|
|
252
252
|
var CommonJsDependencyHost = class extends DependencyHostBase {
|
|
253
253
|
canSkipFile(fileContents) {
|
|
254
254
|
return !hasRequireCalls(fileContents);
|
|
@@ -292,7 +292,7 @@ function hasRequireCalls(source) {
|
|
|
292
292
|
return /require\(['"]/.test(source);
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
// bazel-out/
|
|
295
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_resolver.mjs
|
|
296
296
|
import { DepGraph } from "dependency-graph";
|
|
297
297
|
import module from "module";
|
|
298
298
|
var builtinNodeJsModules = new Set(module.builtinModules);
|
|
@@ -396,7 +396,7 @@ var DependencyResolver = class {
|
|
|
396
396
|
}
|
|
397
397
|
};
|
|
398
398
|
|
|
399
|
-
// bazel-out/
|
|
399
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/esm_dependency_host.mjs
|
|
400
400
|
import ts2 from "typescript";
|
|
401
401
|
var EsmDependencyHost = class extends DependencyHostBase {
|
|
402
402
|
constructor(fs, moduleResolver, scanImportExpressions = true) {
|
|
@@ -562,7 +562,7 @@ function canPrecedeARegex(kind) {
|
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
564
|
|
|
565
|
-
// bazel-out/
|
|
565
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dts_dependency_host.mjs
|
|
566
566
|
var DtsDependencyHost = class extends EsmDependencyHost {
|
|
567
567
|
constructor(fs, pathMappings) {
|
|
568
568
|
super(fs, new ModuleResolver(fs, pathMappings, ["", ".d.ts", "/index.d.ts", ".js", "/index.js"]), false);
|
|
@@ -572,7 +572,7 @@ var DtsDependencyHost = class extends EsmDependencyHost {
|
|
|
572
572
|
}
|
|
573
573
|
};
|
|
574
574
|
|
|
575
|
-
// bazel-out/
|
|
575
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/umd_dependency_host.mjs
|
|
576
576
|
import ts3 from "typescript";
|
|
577
577
|
var UmdDependencyHost = class extends DependencyHostBase {
|
|
578
578
|
canSkipFile(fileContents) {
|
|
@@ -592,7 +592,7 @@ var UmdDependencyHost = class extends DependencyHostBase {
|
|
|
592
592
|
}
|
|
593
593
|
};
|
|
594
594
|
|
|
595
|
-
// bazel-out/
|
|
595
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/utils.mjs
|
|
596
596
|
function getBasePaths(logger, sourceDirectory, pathMappings) {
|
|
597
597
|
const fs = getFileSystem();
|
|
598
598
|
const basePaths = [sourceDirectory];
|
|
@@ -702,7 +702,7 @@ function convertToLeaf(node, path) {
|
|
|
702
702
|
node.path = path;
|
|
703
703
|
}
|
|
704
704
|
|
|
705
|
-
// bazel-out/
|
|
705
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/directory_walker_entry_point_finder.mjs
|
|
706
706
|
var DirectoryWalkerEntryPointFinder = class {
|
|
707
707
|
constructor(logger, resolver, entryPointCollector, entryPointManifest, sourceDirectory, pathMappings) {
|
|
708
708
|
this.logger = logger;
|
|
@@ -729,7 +729,7 @@ var DirectoryWalkerEntryPointFinder = class {
|
|
|
729
729
|
}
|
|
730
730
|
};
|
|
731
731
|
|
|
732
|
-
// bazel-out/
|
|
732
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/entry_point_collector.mjs
|
|
733
733
|
var EntryPointCollector = class {
|
|
734
734
|
constructor(fs, config, logger, resolver) {
|
|
735
735
|
this.fs = fs;
|
|
@@ -807,7 +807,7 @@ function isIgnorablePath(path) {
|
|
|
807
807
|
return path.startsWith(".") || path === "node_modules" || path === NGCC_DIRECTORY;
|
|
808
808
|
}
|
|
809
809
|
|
|
810
|
-
// bazel-out/
|
|
810
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/tracing_entry_point_finder.mjs
|
|
811
811
|
var TracingEntryPointFinder = class {
|
|
812
812
|
constructor(fs, config, logger, resolver, basePath, pathMappings) {
|
|
813
813
|
this.fs = fs;
|
|
@@ -844,7 +844,7 @@ var TracingEntryPointFinder = class {
|
|
|
844
844
|
}
|
|
845
845
|
};
|
|
846
846
|
|
|
847
|
-
// bazel-out/
|
|
847
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/program_based_entry_point_finder.mjs
|
|
848
848
|
var ProgramBasedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
849
849
|
constructor(fs, config, logger, resolver, entryPointCollector, entryPointManifest, basePath, tsConfig, projectPath) {
|
|
850
850
|
super(fs, config, logger, resolver, basePath, getPathMappingsFromTsConfig(fs, tsConfig, projectPath));
|
|
@@ -895,8 +895,8 @@ var ProgramBasedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
|
895
895
|
}
|
|
896
896
|
};
|
|
897
897
|
|
|
898
|
-
// bazel-out/
|
|
899
|
-
var NGCC_VERSION = "15.0.0-next.
|
|
898
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/build_marker.mjs
|
|
899
|
+
var NGCC_VERSION = "15.0.0-next.1";
|
|
900
900
|
function needsCleaning(packageJson) {
|
|
901
901
|
return Object.values(packageJson.__processed_by_ivy_ngcc__ || {}).some((value) => value !== NGCC_VERSION);
|
|
902
902
|
}
|
|
@@ -937,7 +937,7 @@ function markAsProcessed(pkgJsonUpdater, packageJson, packageJsonPath, formatPro
|
|
|
937
937
|
update.writeChanges(packageJsonPath, packageJson);
|
|
938
938
|
}
|
|
939
939
|
|
|
940
|
-
// bazel-out/
|
|
940
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/targeted_entry_point_finder.mjs
|
|
941
941
|
var TargetedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
942
942
|
constructor(fs, config, logger, resolver, basePath, pathMappings, targetPath) {
|
|
943
943
|
super(fs, config, logger, resolver, basePath, pathMappings);
|
|
@@ -1052,7 +1052,7 @@ var TargetedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
|
1052
1052
|
}
|
|
1053
1053
|
};
|
|
1054
1054
|
|
|
1055
|
-
// bazel-out/
|
|
1055
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/base_task_queue.mjs
|
|
1056
1056
|
var BaseTaskQueue = class {
|
|
1057
1057
|
constructor(logger, tasks, dependencies) {
|
|
1058
1058
|
this.logger = logger;
|
|
@@ -1118,7 +1118,7 @@ ${indentation}- ${stringifyTask(task)}`).join("");
|
|
|
1118
1118
|
}
|
|
1119
1119
|
};
|
|
1120
1120
|
|
|
1121
|
-
// bazel-out/
|
|
1121
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/parallel_task_queue.mjs
|
|
1122
1122
|
var ParallelTaskQueue = class extends BaseTaskQueue {
|
|
1123
1123
|
constructor(logger, tasks, dependencies) {
|
|
1124
1124
|
super(logger, sortTasksByPriority(tasks, dependencies), dependencies);
|
|
@@ -1158,7 +1158,7 @@ ${indentation}- ${stringifyTask(task)} (${blockingTasks.size}): ` + this.stringi
|
|
|
1158
1158
|
}
|
|
1159
1159
|
};
|
|
1160
1160
|
|
|
1161
|
-
// bazel-out/
|
|
1161
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/serial_task_queue.mjs
|
|
1162
1162
|
var SerialTaskQueue = class extends BaseTaskQueue {
|
|
1163
1163
|
computeNextTask() {
|
|
1164
1164
|
const nextTask = this.tasks.shift() || null;
|
|
@@ -1173,7 +1173,7 @@ var SerialTaskQueue = class extends BaseTaskQueue {
|
|
|
1173
1173
|
}
|
|
1174
1174
|
};
|
|
1175
1175
|
|
|
1176
|
-
// bazel-out/
|
|
1176
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/utils.mjs
|
|
1177
1177
|
function isLocalDirectory(fs, path) {
|
|
1178
1178
|
if (fs.exists(path)) {
|
|
1179
1179
|
const stat = fs.lstat(path);
|
|
@@ -1183,7 +1183,7 @@ function isLocalDirectory(fs, path) {
|
|
|
1183
1183
|
}
|
|
1184
1184
|
}
|
|
1185
1185
|
|
|
1186
|
-
// bazel-out/
|
|
1186
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/cleaning_strategies.mjs
|
|
1187
1187
|
var PackageJsonCleaner = class {
|
|
1188
1188
|
constructor(fs) {
|
|
1189
1189
|
this.fs = fs;
|
|
@@ -1222,7 +1222,7 @@ var BackupFileCleaner = class {
|
|
|
1222
1222
|
}
|
|
1223
1223
|
};
|
|
1224
1224
|
|
|
1225
|
-
// bazel-out/
|
|
1225
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/package_cleaner.mjs
|
|
1226
1226
|
var PackageCleaner = class {
|
|
1227
1227
|
constructor(fs, cleaners) {
|
|
1228
1228
|
this.fs = fs;
|
|
@@ -1265,7 +1265,7 @@ function cleanOutdatedPackages(fileSystem, entryPoints) {
|
|
|
1265
1265
|
return packagesToClean.size > 0;
|
|
1266
1266
|
}
|
|
1267
1267
|
|
|
1268
|
-
// bazel-out/
|
|
1268
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/analyze_entry_points.mjs
|
|
1269
1269
|
function getAnalyzeEntryPointsFn(logger, finder, fileSystem, supportedPropertiesToConsider, typingsOnly, compileAllFormats, propertiesToConsider, inParallel) {
|
|
1270
1270
|
return () => {
|
|
1271
1271
|
logger.debug("Analyzing entry-points...");
|
|
@@ -1354,7 +1354,7 @@ function getTaskQueue(logger, inParallel, tasks, graph) {
|
|
|
1354
1354
|
return inParallel ? new ParallelTaskQueue(logger, tasks, dependencies) : new SerialTaskQueue(logger, tasks, dependencies);
|
|
1355
1355
|
}
|
|
1356
1356
|
|
|
1357
|
-
// bazel-out/
|
|
1357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/master.mjs
|
|
1358
1358
|
import cluster from "cluster";
|
|
1359
1359
|
import module2 from "module";
|
|
1360
1360
|
var ClusterMaster = class {
|
|
@@ -1551,7 +1551,7 @@ function getClusterWorkerScriptPath(fileSystem) {
|
|
|
1551
1551
|
return fileSystem.resolve(workerScriptPath);
|
|
1552
1552
|
}
|
|
1553
1553
|
|
|
1554
|
-
// bazel-out/
|
|
1554
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/executor.mjs
|
|
1555
1555
|
var ClusterExecutor = class {
|
|
1556
1556
|
constructor(workerCount, fileSystem, logger, fileWriter, pkgJsonUpdater, lockFile, createTaskCompletedCallback) {
|
|
1557
1557
|
this.workerCount = workerCount;
|
|
@@ -1571,7 +1571,7 @@ var ClusterExecutor = class {
|
|
|
1571
1571
|
}
|
|
1572
1572
|
};
|
|
1573
1573
|
|
|
1574
|
-
// bazel-out/
|
|
1574
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/single_process_executor.mjs
|
|
1575
1575
|
var SingleProcessorExecutorBase = class {
|
|
1576
1576
|
constructor(logger, createTaskCompletedCallback) {
|
|
1577
1577
|
this.logger = logger;
|
|
@@ -1613,7 +1613,7 @@ var SingleProcessExecutorAsync = class extends SingleProcessorExecutorBase {
|
|
|
1613
1613
|
}
|
|
1614
1614
|
};
|
|
1615
1615
|
|
|
1616
|
-
// bazel-out/
|
|
1616
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/completion.mjs
|
|
1617
1617
|
function composeTaskCompletedCallbacks(callbacks) {
|
|
1618
1618
|
return (task, outcome, message) => {
|
|
1619
1619
|
const callback = callbacks[outcome];
|
|
@@ -1653,7 +1653,7 @@ function createErrorMessage(fs, task, message) {
|
|
|
1653
1653
|
return `Failed to compile entry-point ${task.entryPoint.name} (${format})` + message;
|
|
1654
1654
|
}
|
|
1655
1655
|
|
|
1656
|
-
// bazel-out/
|
|
1656
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/async_locker.mjs
|
|
1657
1657
|
var TimeoutError = class extends Error {
|
|
1658
1658
|
constructor() {
|
|
1659
1659
|
super(...arguments);
|
|
@@ -1702,11 +1702,11 @@ Waiting up to ${this.retryDelay * this.retryAttempts / 1e3}s for it to finish.
|
|
|
1702
1702
|
}
|
|
1703
1703
|
};
|
|
1704
1704
|
|
|
1705
|
-
// bazel-out/
|
|
1705
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.mjs
|
|
1706
1706
|
import { fork } from "child_process";
|
|
1707
1707
|
import module4 from "module";
|
|
1708
1708
|
|
|
1709
|
-
// bazel-out/
|
|
1709
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file.mjs
|
|
1710
1710
|
import module3 from "module";
|
|
1711
1711
|
function getLockFilePath(fs) {
|
|
1712
1712
|
const requireFn = typeof __require !== "undefined" ? __require : module3.createRequire(__ESM_IMPORT_META_URL__);
|
|
@@ -1714,7 +1714,7 @@ function getLockFilePath(fs) {
|
|
|
1714
1714
|
return fs.resolve(ngccEntryPointFile, "../../../.ngcc_lock_file");
|
|
1715
1715
|
}
|
|
1716
1716
|
|
|
1717
|
-
// bazel-out/
|
|
1717
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.mjs
|
|
1718
1718
|
var LockFileWithChildProcess = class {
|
|
1719
1719
|
constructor(fs, logger) {
|
|
1720
1720
|
this.fs = fs;
|
|
@@ -1763,7 +1763,7 @@ function getLockFileUnlockerScriptPath(fileSystem) {
|
|
|
1763
1763
|
return fileSystem.resolve(unlockerScriptPath);
|
|
1764
1764
|
}
|
|
1765
1765
|
|
|
1766
|
-
// bazel-out/
|
|
1766
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/sync_locker.mjs
|
|
1767
1767
|
var SyncLocker = class {
|
|
1768
1768
|
constructor(lockFile) {
|
|
1769
1769
|
this.lockFile = lockFile;
|
|
@@ -1794,7 +1794,7 @@ If you are running multiple builds in parallel then you might try pre-processing
|
|
|
1794
1794
|
}
|
|
1795
1795
|
};
|
|
1796
1796
|
|
|
1797
|
-
// bazel-out/
|
|
1797
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/configuration.mjs
|
|
1798
1798
|
import { createHash } from "crypto";
|
|
1799
1799
|
import module5 from "module";
|
|
1800
1800
|
import semver from "semver";
|
|
@@ -1981,7 +1981,7 @@ var NgccConfiguration = class {
|
|
|
1981
1981
|
}
|
|
1982
1982
|
};
|
|
1983
1983
|
|
|
1984
|
-
// bazel-out/
|
|
1984
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_manifest.mjs
|
|
1985
1985
|
import { createHash as createHash2 } from "crypto";
|
|
1986
1986
|
var EntryPointManifest = class {
|
|
1987
1987
|
constructor(fs, config, logger) {
|
|
@@ -2089,7 +2089,7 @@ var InvalidatingEntryPointManifest = class extends EntryPointManifest {
|
|
|
2089
2089
|
}
|
|
2090
2090
|
};
|
|
2091
2091
|
|
|
2092
|
-
// bazel-out/
|
|
2092
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/main.mjs
|
|
2093
2093
|
function mainNgcc(options) {
|
|
2094
2094
|
const { basePath, targetEntryPointPath, propertiesToConsider, typingsOnly, compileAllFormats, logger, pathMappings, async, errorOnFailedEntryPoint, enableI18nLegacyMessageIdFormat, invalidateEntryPointManifest, fileSystem, absBasePath, projectPath, tsConfig, getFileWriter } = getSharedSetup(options);
|
|
2095
2095
|
const config = new NgccConfiguration(fileSystem, projectPath);
|
|
@@ -2182,4 +2182,4 @@ export {
|
|
|
2182
2182
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2183
2183
|
* found in the LICENSE file at https://angular.io/license
|
|
2184
2184
|
*/
|
|
2185
|
-
//# sourceMappingURL=chunk-
|
|
2185
|
+
//# sourceMappingURL=chunk-NX4VAKY6.js.map
|
|
File without changes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
const __ESM_IMPORT_META_URL__ = import.meta.url;
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/util.mjs
|
|
7
7
|
function removeLockFile(fs, logger, lockFilePath, pid) {
|
|
8
8
|
try {
|
|
9
9
|
logger.debug(`Attempting to remove lock-file at ${lockFilePath}.`);
|
|
@@ -26,4 +26,4 @@ function removeLockFile(fs, logger, lockFilePath, pid) {
|
|
|
26
26
|
export {
|
|
27
27
|
removeLockFile
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-R3C7RFJ4.js.map
|
|
File without changes
|
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
resolve,
|
|
14
14
|
stripExtension,
|
|
15
15
|
toRelativeImport
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TOKOIIBI.js";
|
|
17
17
|
|
|
18
|
-
// bazel-out/
|
|
18
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
19
19
|
import ts from "typescript";
|
|
20
20
|
var TS = /\.tsx?$/i;
|
|
21
21
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -110,7 +110,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
110
110
|
return redirectInfo.unredirected;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
// bazel-out/
|
|
113
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
114
114
|
var Reference = class {
|
|
115
115
|
constructor(node, bestGuessOwningModule = null) {
|
|
116
116
|
this.node = node;
|
|
@@ -173,14 +173,14 @@ var Reference = class {
|
|
|
173
173
|
}
|
|
174
174
|
};
|
|
175
175
|
|
|
176
|
-
// bazel-out/
|
|
176
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
177
177
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
178
178
|
|
|
179
|
-
// bazel-out/
|
|
179
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
180
180
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
181
181
|
import ts3 from "typescript";
|
|
182
182
|
|
|
183
|
-
// bazel-out/
|
|
183
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
184
184
|
var ErrorCode;
|
|
185
185
|
(function(ErrorCode2) {
|
|
186
186
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -247,7 +247,7 @@ var ErrorCode;
|
|
|
247
247
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
248
248
|
})(ErrorCode || (ErrorCode = {}));
|
|
249
249
|
|
|
250
|
-
// bazel-out/
|
|
250
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
251
251
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
252
252
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
253
253
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -259,10 +259,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
259
259
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
260
260
|
]);
|
|
261
261
|
|
|
262
|
-
// bazel-out/
|
|
262
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
263
263
|
import ts2 from "typescript";
|
|
264
264
|
|
|
265
|
-
// bazel-out/
|
|
265
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
266
266
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
267
267
|
function replaceTsWithNgInErrors(errors) {
|
|
268
268
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -271,7 +271,7 @@ function ngErrorCode(code) {
|
|
|
271
271
|
return parseInt("-99" + code);
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
// bazel-out/
|
|
274
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
275
275
|
var FatalDiagnosticError = class {
|
|
276
276
|
constructor(code, node, message, relatedInformation) {
|
|
277
277
|
this.code = code;
|
|
@@ -315,14 +315,25 @@ function makeRelatedInformation(node, messageText) {
|
|
|
315
315
|
messageText
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
|
+
function addDiagnosticChain(messageText, add) {
|
|
319
|
+
if (typeof messageText === "string") {
|
|
320
|
+
return makeDiagnosticChain(messageText, add);
|
|
321
|
+
}
|
|
322
|
+
if (messageText.next === void 0) {
|
|
323
|
+
messageText.next = add;
|
|
324
|
+
} else {
|
|
325
|
+
messageText.next.push(...add);
|
|
326
|
+
}
|
|
327
|
+
return messageText;
|
|
328
|
+
}
|
|
318
329
|
function isFatalDiagnosticError(err) {
|
|
319
330
|
return err._isFatalDiagnosticError === true;
|
|
320
331
|
}
|
|
321
332
|
|
|
322
|
-
// bazel-out/
|
|
333
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
323
334
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
324
335
|
|
|
325
|
-
// bazel-out/
|
|
336
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
326
337
|
var ExtendedTemplateDiagnosticName;
|
|
327
338
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
328
339
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -334,7 +345,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
334
345
|
ExtendedTemplateDiagnosticName2["SUFFIX_NOT_SUPPORTED"] = "suffixNotSupported";
|
|
335
346
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
336
347
|
|
|
337
|
-
// bazel-out/
|
|
348
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
338
349
|
function findExportedNameOfNode(target, file, reflector) {
|
|
339
350
|
const exports = reflector.getExportsOfModule(file);
|
|
340
351
|
if (exports === null) {
|
|
@@ -354,7 +365,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
354
365
|
return foundExportName;
|
|
355
366
|
}
|
|
356
367
|
|
|
357
|
-
// bazel-out/
|
|
368
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
358
369
|
var ImportFlags;
|
|
359
370
|
(function(ImportFlags2) {
|
|
360
371
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -570,7 +581,7 @@ var UnifiedModulesStrategy = class {
|
|
|
570
581
|
}
|
|
571
582
|
};
|
|
572
583
|
|
|
573
|
-
// bazel-out/
|
|
584
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
574
585
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
575
586
|
var UnifiedModulesAliasingHost = class {
|
|
576
587
|
constructor(unifiedModulesHost) {
|
|
@@ -637,7 +648,7 @@ var AliasStrategy = class {
|
|
|
637
648
|
}
|
|
638
649
|
};
|
|
639
650
|
|
|
640
|
-
// bazel-out/
|
|
651
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
641
652
|
function relativePathBetween(from, to) {
|
|
642
653
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
643
654
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -646,7 +657,7 @@ function normalizeSeparators(path) {
|
|
|
646
657
|
return path.replace(/\\/g, "/");
|
|
647
658
|
}
|
|
648
659
|
|
|
649
|
-
// bazel-out/
|
|
660
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
650
661
|
var NoopImportRewriter = class {
|
|
651
662
|
shouldImportSymbol(symbol, specifier) {
|
|
652
663
|
return true;
|
|
@@ -704,7 +715,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
704
715
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
705
716
|
}
|
|
706
717
|
|
|
707
|
-
// bazel-out/
|
|
718
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
708
719
|
import ts4 from "typescript";
|
|
709
720
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
710
721
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
@@ -749,7 +760,7 @@ var DefaultImportTracker = class {
|
|
|
749
760
|
}
|
|
750
761
|
};
|
|
751
762
|
|
|
752
|
-
// bazel-out/
|
|
763
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
753
764
|
var ModuleResolver = class {
|
|
754
765
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
755
766
|
this.program = program;
|
|
@@ -766,7 +777,7 @@ var ModuleResolver = class {
|
|
|
766
777
|
}
|
|
767
778
|
};
|
|
768
779
|
|
|
769
|
-
// bazel-out/
|
|
780
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
770
781
|
var Context = class {
|
|
771
782
|
constructor(isStatement) {
|
|
772
783
|
this.isStatement = isStatement;
|
|
@@ -779,7 +790,7 @@ var Context = class {
|
|
|
779
790
|
}
|
|
780
791
|
};
|
|
781
792
|
|
|
782
|
-
// bazel-out/
|
|
793
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
783
794
|
import * as o from "@angular/compiler";
|
|
784
795
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
785
796
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -1003,7 +1014,7 @@ function createRange(span) {
|
|
|
1003
1014
|
};
|
|
1004
1015
|
}
|
|
1005
1016
|
|
|
1006
|
-
// bazel-out/
|
|
1017
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
1007
1018
|
import ts5 from "typescript";
|
|
1008
1019
|
var ImportManager = class {
|
|
1009
1020
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -1039,7 +1050,7 @@ var ImportManager = class {
|
|
|
1039
1050
|
}
|
|
1040
1051
|
};
|
|
1041
1052
|
|
|
1042
|
-
// bazel-out/
|
|
1053
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
1043
1054
|
import * as o2 from "@angular/compiler";
|
|
1044
1055
|
import ts6 from "typescript";
|
|
1045
1056
|
function translateType(type, imports) {
|
|
@@ -1210,7 +1221,7 @@ var TypeTranslatorVisitor = class {
|
|
|
1210
1221
|
}
|
|
1211
1222
|
};
|
|
1212
1223
|
|
|
1213
|
-
// bazel-out/
|
|
1224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
1214
1225
|
import ts7 from "typescript";
|
|
1215
1226
|
var PureAnnotation;
|
|
1216
1227
|
(function(PureAnnotation2) {
|
|
@@ -1388,7 +1399,7 @@ function attachComments(statement, leadingComments) {
|
|
|
1388
1399
|
}
|
|
1389
1400
|
}
|
|
1390
1401
|
|
|
1391
|
-
// bazel-out/
|
|
1402
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
1392
1403
|
function translateExpression(expression, imports, options = {}) {
|
|
1393
1404
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
1394
1405
|
}
|
|
@@ -1403,7 +1414,9 @@ export {
|
|
|
1403
1414
|
ngErrorCode,
|
|
1404
1415
|
FatalDiagnosticError,
|
|
1405
1416
|
makeDiagnostic,
|
|
1417
|
+
makeDiagnosticChain,
|
|
1406
1418
|
makeRelatedInformation,
|
|
1419
|
+
addDiagnosticChain,
|
|
1407
1420
|
isFatalDiagnosticError,
|
|
1408
1421
|
ERROR_DETAILS_PAGE_BASE_URL,
|
|
1409
1422
|
ExtendedTemplateDiagnosticName,
|
|
@@ -1456,4 +1469,4 @@ export {
|
|
|
1456
1469
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1457
1470
|
* found in the LICENSE file at https://angular.io/license
|
|
1458
1471
|
*/
|
|
1459
|
-
//# sourceMappingURL=chunk-
|
|
1472
|
+
//# sourceMappingURL=chunk-TF2TR2WS.js.map
|