@angular/compiler-cli 14.2.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-CLRZAXXE.js → chunk-7YHMCUJT.js} +10 -3
- package/bundles/chunk-7YHMCUJT.js.map +6 -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-DEPZI7L5.js → chunk-FHVSPC32.js} +54 -32
- package/bundles/chunk-FHVSPC32.js.map +6 -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-TTIGAMYZ.js → chunk-HTGNPCKD.js} +6 -7
- package/bundles/chunk-HTGNPCKD.js.map +6 -0
- package/bundles/{chunk-J6AVV3MN.js → chunk-I6QQYDN3.js} +291 -118
- package/bundles/chunk-I6QQYDN3.js.map +6 -0
- package/bundles/{chunk-NDIOQ2EH.js → chunk-NJU6754X.js} +165 -114
- package/bundles/chunk-NJU6754X.js.map +6 -0
- package/bundles/{chunk-DGTSPJIN.js → chunk-NX4VAKY6.js} +40 -40
- package/bundles/{chunk-DGTSPJIN.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-XR6BVLNN.js → chunk-TF2TR2WS.js} +42 -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-I4BG3CAN.js → chunk-TTNGBVW6.js} +76 -74
- package/bundles/chunk-TTNGBVW6.js.map +6 -0
- package/bundles/{chunk-3GWIAJ6N.js → chunk-UZLFREET.js} +31 -21
- package/bundles/chunk-UZLFREET.js.map +6 -0
- package/bundles/{chunk-NJ2FQOJT.js → chunk-XDX5RDY5.js} +10 -8
- package/bundles/chunk-XDX5RDY5.js.map +6 -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/analysis/decoration_analyzer.d.ts +2 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/common/src/diagnostics.d.ts +2 -1
- package/src/ngtsc/annotations/component/src/handler.d.ts +3 -2
- package/src/ngtsc/annotations/component/src/metadata.d.ts +5 -1
- package/src/ngtsc/annotations/directive/src/handler.d.ts +6 -3
- package/src/ngtsc/annotations/directive/src/shared.d.ts +5 -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/diagnostics/src/error_code.d.ts +12 -0
- package/src/ngtsc/metadata/index.d.ts +1 -0
- package/src/ngtsc/metadata/src/api.d.ts +28 -0
- package/src/ngtsc/metadata/src/host_directives_resolver.d.ts +28 -0
- package/src/ngtsc/metadata/src/util.d.ts +3 -2
- package/src/ngtsc/scope/src/typecheck.d.ts +4 -3
- package/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.d.ts +36 -2
- package/src/ngtsc/typecheck/diagnostics/src/diagnostic.d.ts +4 -0
- package/src/ngtsc/typecheck/src/type_check_block.d.ts +1 -1
- package/src/transformers/util.d.ts +0 -1
- package/bundles/chunk-3GWIAJ6N.js.map +0 -6
- package/bundles/chunk-CLRZAXXE.js.map +0 -6
- package/bundles/chunk-DEPZI7L5.js.map +0 -6
- package/bundles/chunk-I4BG3CAN.js.map +0 -6
- package/bundles/chunk-J6AVV3MN.js.map +0 -6
- package/bundles/chunk-NDIOQ2EH.js.map +0 -6
- package/bundles/chunk-NJ2FQOJT.js.map +0 -6
- package/bundles/chunk-TTIGAMYZ.js.map +0 -6
- package/bundles/chunk-XR6BVLNN.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 = "
|
|
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";
|
|
@@ -202,6 +202,9 @@ var ErrorCode;
|
|
|
202
202
|
ErrorCode2[ErrorCode2["COMPONENT_NOT_STANDALONE"] = 2010] = "COMPONENT_NOT_STANDALONE";
|
|
203
203
|
ErrorCode2[ErrorCode2["COMPONENT_IMPORT_NOT_STANDALONE"] = 2011] = "COMPONENT_IMPORT_NOT_STANDALONE";
|
|
204
204
|
ErrorCode2[ErrorCode2["COMPONENT_UNKNOWN_IMPORT"] = 2012] = "COMPONENT_UNKNOWN_IMPORT";
|
|
205
|
+
ErrorCode2[ErrorCode2["HOST_DIRECTIVE_INVALID"] = 2013] = "HOST_DIRECTIVE_INVALID";
|
|
206
|
+
ErrorCode2[ErrorCode2["HOST_DIRECTIVE_NOT_STANDALONE"] = 2014] = "HOST_DIRECTIVE_NOT_STANDALONE";
|
|
207
|
+
ErrorCode2[ErrorCode2["HOST_DIRECTIVE_COMPONENT"] = 2015] = "HOST_DIRECTIVE_COMPONENT";
|
|
205
208
|
ErrorCode2[ErrorCode2["SYMBOL_NOT_EXPORTED"] = 3001] = "SYMBOL_NOT_EXPORTED";
|
|
206
209
|
ErrorCode2[ErrorCode2["IMPORT_CYCLE_DETECTED"] = 3003] = "IMPORT_CYCLE_DETECTED";
|
|
207
210
|
ErrorCode2[ErrorCode2["IMPORT_GENERATION_FAILURE"] = 3004] = "IMPORT_GENERATION_FAILURE";
|
|
@@ -244,7 +247,7 @@ var ErrorCode;
|
|
|
244
247
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
245
248
|
})(ErrorCode || (ErrorCode = {}));
|
|
246
249
|
|
|
247
|
-
// bazel-out/
|
|
250
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
248
251
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
249
252
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
250
253
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -256,10 +259,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
256
259
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
257
260
|
]);
|
|
258
261
|
|
|
259
|
-
// bazel-out/
|
|
262
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
260
263
|
import ts2 from "typescript";
|
|
261
264
|
|
|
262
|
-
// bazel-out/
|
|
265
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
263
266
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
264
267
|
function replaceTsWithNgInErrors(errors) {
|
|
265
268
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -268,7 +271,7 @@ function ngErrorCode(code) {
|
|
|
268
271
|
return parseInt("-99" + code);
|
|
269
272
|
}
|
|
270
273
|
|
|
271
|
-
// bazel-out/
|
|
274
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
272
275
|
var FatalDiagnosticError = class {
|
|
273
276
|
constructor(code, node, message, relatedInformation) {
|
|
274
277
|
this.code = code;
|
|
@@ -312,14 +315,25 @@ function makeRelatedInformation(node, messageText) {
|
|
|
312
315
|
messageText
|
|
313
316
|
};
|
|
314
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
|
+
}
|
|
315
329
|
function isFatalDiagnosticError(err) {
|
|
316
330
|
return err._isFatalDiagnosticError === true;
|
|
317
331
|
}
|
|
318
332
|
|
|
319
|
-
// bazel-out/
|
|
333
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
320
334
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
321
335
|
|
|
322
|
-
// bazel-out/
|
|
336
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
323
337
|
var ExtendedTemplateDiagnosticName;
|
|
324
338
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
325
339
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -331,7 +345,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
331
345
|
ExtendedTemplateDiagnosticName2["SUFFIX_NOT_SUPPORTED"] = "suffixNotSupported";
|
|
332
346
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
333
347
|
|
|
334
|
-
// bazel-out/
|
|
348
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
335
349
|
function findExportedNameOfNode(target, file, reflector) {
|
|
336
350
|
const exports = reflector.getExportsOfModule(file);
|
|
337
351
|
if (exports === null) {
|
|
@@ -351,7 +365,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
351
365
|
return foundExportName;
|
|
352
366
|
}
|
|
353
367
|
|
|
354
|
-
// bazel-out/
|
|
368
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
355
369
|
var ImportFlags;
|
|
356
370
|
(function(ImportFlags2) {
|
|
357
371
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -567,7 +581,7 @@ var UnifiedModulesStrategy = class {
|
|
|
567
581
|
}
|
|
568
582
|
};
|
|
569
583
|
|
|
570
|
-
// bazel-out/
|
|
584
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
571
585
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
572
586
|
var UnifiedModulesAliasingHost = class {
|
|
573
587
|
constructor(unifiedModulesHost) {
|
|
@@ -634,7 +648,7 @@ var AliasStrategy = class {
|
|
|
634
648
|
}
|
|
635
649
|
};
|
|
636
650
|
|
|
637
|
-
// bazel-out/
|
|
651
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
638
652
|
function relativePathBetween(from, to) {
|
|
639
653
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
640
654
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -643,7 +657,7 @@ function normalizeSeparators(path) {
|
|
|
643
657
|
return path.replace(/\\/g, "/");
|
|
644
658
|
}
|
|
645
659
|
|
|
646
|
-
// bazel-out/
|
|
660
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
647
661
|
var NoopImportRewriter = class {
|
|
648
662
|
shouldImportSymbol(symbol, specifier) {
|
|
649
663
|
return true;
|
|
@@ -701,7 +715,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
701
715
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
702
716
|
}
|
|
703
717
|
|
|
704
|
-
// bazel-out/
|
|
718
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
705
719
|
import ts4 from "typescript";
|
|
706
720
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
707
721
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
@@ -746,7 +760,7 @@ var DefaultImportTracker = class {
|
|
|
746
760
|
}
|
|
747
761
|
};
|
|
748
762
|
|
|
749
|
-
// bazel-out/
|
|
763
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
750
764
|
var ModuleResolver = class {
|
|
751
765
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
752
766
|
this.program = program;
|
|
@@ -763,7 +777,7 @@ var ModuleResolver = class {
|
|
|
763
777
|
}
|
|
764
778
|
};
|
|
765
779
|
|
|
766
|
-
// bazel-out/
|
|
780
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
767
781
|
var Context = class {
|
|
768
782
|
constructor(isStatement) {
|
|
769
783
|
this.isStatement = isStatement;
|
|
@@ -776,7 +790,7 @@ var Context = class {
|
|
|
776
790
|
}
|
|
777
791
|
};
|
|
778
792
|
|
|
779
|
-
// bazel-out/
|
|
793
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
780
794
|
import * as o from "@angular/compiler";
|
|
781
795
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
782
796
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -1000,7 +1014,7 @@ function createRange(span) {
|
|
|
1000
1014
|
};
|
|
1001
1015
|
}
|
|
1002
1016
|
|
|
1003
|
-
// bazel-out/
|
|
1017
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
1004
1018
|
import ts5 from "typescript";
|
|
1005
1019
|
var ImportManager = class {
|
|
1006
1020
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -1036,7 +1050,7 @@ var ImportManager = class {
|
|
|
1036
1050
|
}
|
|
1037
1051
|
};
|
|
1038
1052
|
|
|
1039
|
-
// bazel-out/
|
|
1053
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
1040
1054
|
import * as o2 from "@angular/compiler";
|
|
1041
1055
|
import ts6 from "typescript";
|
|
1042
1056
|
function translateType(type, imports) {
|
|
@@ -1207,7 +1221,7 @@ var TypeTranslatorVisitor = class {
|
|
|
1207
1221
|
}
|
|
1208
1222
|
};
|
|
1209
1223
|
|
|
1210
|
-
// bazel-out/
|
|
1224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
1211
1225
|
import ts7 from "typescript";
|
|
1212
1226
|
var PureAnnotation;
|
|
1213
1227
|
(function(PureAnnotation2) {
|
|
@@ -1385,7 +1399,7 @@ function attachComments(statement, leadingComments) {
|
|
|
1385
1399
|
}
|
|
1386
1400
|
}
|
|
1387
1401
|
|
|
1388
|
-
// bazel-out/
|
|
1402
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
1389
1403
|
function translateExpression(expression, imports, options = {}) {
|
|
1390
1404
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
1391
1405
|
}
|
|
@@ -1400,7 +1414,9 @@ export {
|
|
|
1400
1414
|
ngErrorCode,
|
|
1401
1415
|
FatalDiagnosticError,
|
|
1402
1416
|
makeDiagnostic,
|
|
1417
|
+
makeDiagnosticChain,
|
|
1403
1418
|
makeRelatedInformation,
|
|
1419
|
+
addDiagnosticChain,
|
|
1404
1420
|
isFatalDiagnosticError,
|
|
1405
1421
|
ERROR_DETAILS_PAGE_BASE_URL,
|
|
1406
1422
|
ExtendedTemplateDiagnosticName,
|
|
@@ -1453,4 +1469,4 @@ export {
|
|
|
1453
1469
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1454
1470
|
* found in the LICENSE file at https://angular.io/license
|
|
1455
1471
|
*/
|
|
1456
|
-
//# sourceMappingURL=chunk-
|
|
1472
|
+
//# sourceMappingURL=chunk-TF2TR2WS.js.map
|