@angular/compiler-cli 14.0.0-rc.2 → 14.0.0-rc.3
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-ZJCM37WF.js → chunk-2IMT6JFI.js} +6 -6
- package/bundles/{chunk-ZJCM37WF.js.map → chunk-2IMT6JFI.js.map} +0 -0
- package/bundles/{chunk-VEAB5CR7.js → chunk-7XY4OMWJ.js} +31 -31
- package/bundles/{chunk-VEAB5CR7.js.map → chunk-7XY4OMWJ.js.map} +0 -0
- package/bundles/{chunk-VLER5B3O.js → chunk-AWUSLKAS.js} +100 -98
- package/bundles/chunk-AWUSLKAS.js.map +6 -0
- package/bundles/{chunk-SYV2KBTF.js → chunk-EN4WVK2E.js} +5 -5
- package/bundles/{chunk-SYV2KBTF.js.map → chunk-EN4WVK2E.js.map} +0 -0
- package/bundles/{chunk-VSZPIAX6.js → chunk-GWA6QBDZ.js} +85 -76
- package/bundles/{chunk-VSZPIAX6.js.map → chunk-GWA6QBDZ.js.map} +1 -1
- package/bundles/{chunk-GGBQTGO6.js → chunk-I7TI6THJ.js} +40 -40
- package/bundles/{chunk-GGBQTGO6.js.map → chunk-I7TI6THJ.js.map} +0 -0
- package/bundles/{chunk-SFACRVMZ.js → chunk-JDKMNZ6O.js} +26 -26
- package/bundles/{chunk-SFACRVMZ.js.map → chunk-JDKMNZ6O.js.map} +0 -0
- package/bundles/{chunk-RV5PLZZB.js → chunk-KAZROYQX.js} +70 -70
- package/bundles/{chunk-RV5PLZZB.js.map → chunk-KAZROYQX.js.map} +0 -0
- package/bundles/{chunk-7J66ZDC5.js → chunk-LX5Q27EF.js} +3 -3
- package/bundles/{chunk-7J66ZDC5.js.map → chunk-LX5Q27EF.js.map} +0 -0
- package/bundles/{chunk-U2VFXNL7.js → chunk-OLGEBPBY.js} +4 -4
- package/bundles/{chunk-U2VFXNL7.js.map → chunk-OLGEBPBY.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-QK4SXRQA.js → chunk-R4NY3TJC.js} +5 -5
- package/bundles/{chunk-QK4SXRQA.js.map → chunk-R4NY3TJC.js.map} +0 -0
- package/bundles/{chunk-MURZUYM7.js → chunk-T7MYRXIE.js} +7 -7
- package/bundles/{chunk-MURZUYM7.js.map → chunk-T7MYRXIE.js.map} +0 -0
- package/bundles/{chunk-AKU7LV22.js → chunk-W6KM7BUM.js} +6 -6
- package/bundles/{chunk-AKU7LV22.js.map → chunk-W6KM7BUM.js.map} +0 -0
- package/bundles/{chunk-BFPVXDJN.js → chunk-WGBFSDVQ.js} +7 -7
- package/bundles/{chunk-BFPVXDJN.js.map → chunk-WGBFSDVQ.js.map} +0 -0
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +12 -12
- package/bundles/ngcc/main-ngcc.js +13 -13
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +13 -13
- 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 +5 -5
- package/bundles/private/tooling.js +2 -2
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/ng_module/src/handler.d.ts +2 -1
- package/src/ngtsc/typecheck/src/dom.d.ts +2 -2
- package/bundles/chunk-VLER5B3O.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,24 +38,24 @@ import {
|
|
|
38
38
|
sendMessageToWorker,
|
|
39
39
|
sortTasksByPriority,
|
|
40
40
|
stringifyTask
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-KAZROYQX.js";
|
|
42
42
|
import {
|
|
43
43
|
LogLevel
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-LX5Q27EF.js";
|
|
45
45
|
import {
|
|
46
46
|
absoluteFrom,
|
|
47
47
|
getFileSystem
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-T7MYRXIE.js";
|
|
49
49
|
import {
|
|
50
50
|
__require,
|
|
51
51
|
__spreadProps,
|
|
52
52
|
__spreadValues
|
|
53
53
|
} from "./chunk-GMSUYBZP.js";
|
|
54
54
|
|
|
55
|
-
// bazel-out/
|
|
55
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.mjs
|
|
56
56
|
import ts from "typescript";
|
|
57
57
|
|
|
58
|
-
// bazel-out/
|
|
58
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/module_resolver.mjs
|
|
59
59
|
var ModuleResolver = class {
|
|
60
60
|
constructor(fs, pathMappings, relativeExtensions = ["", ".js", "/index.js"]) {
|
|
61
61
|
this.fs = fs;
|
|
@@ -193,7 +193,7 @@ function isRelativeImport(from, to) {
|
|
|
193
193
|
return to.startsWith(from) && !to.includes("node_modules");
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
// bazel-out/
|
|
196
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_host.mjs
|
|
197
197
|
function createDependencyInfo() {
|
|
198
198
|
return { dependencies: /* @__PURE__ */ new Set(), missing: /* @__PURE__ */ new Set(), deepImports: /* @__PURE__ */ new Set() };
|
|
199
199
|
}
|
|
@@ -250,7 +250,7 @@ var DependencyHostBase = class {
|
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
// bazel-out/
|
|
253
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.mjs
|
|
254
254
|
var CommonJsDependencyHost = class extends DependencyHostBase {
|
|
255
255
|
canSkipFile(fileContents) {
|
|
256
256
|
return !hasRequireCalls(fileContents);
|
|
@@ -294,7 +294,7 @@ function hasRequireCalls(source) {
|
|
|
294
294
|
return /require\(['"]/.test(source);
|
|
295
295
|
}
|
|
296
296
|
|
|
297
|
-
// bazel-out/
|
|
297
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_resolver.mjs
|
|
298
298
|
import { DepGraph } from "dependency-graph";
|
|
299
299
|
import module from "module";
|
|
300
300
|
var builtinNodeJsModules = new Set(module.builtinModules);
|
|
@@ -398,7 +398,7 @@ var DependencyResolver = class {
|
|
|
398
398
|
}
|
|
399
399
|
};
|
|
400
400
|
|
|
401
|
-
// bazel-out/
|
|
401
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/esm_dependency_host.mjs
|
|
402
402
|
import ts2 from "typescript";
|
|
403
403
|
var EsmDependencyHost = class extends DependencyHostBase {
|
|
404
404
|
constructor(fs, moduleResolver, scanImportExpressions = true) {
|
|
@@ -564,7 +564,7 @@ function canPrecedeARegex(kind) {
|
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
566
|
|
|
567
|
-
// bazel-out/
|
|
567
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dts_dependency_host.mjs
|
|
568
568
|
var DtsDependencyHost = class extends EsmDependencyHost {
|
|
569
569
|
constructor(fs, pathMappings) {
|
|
570
570
|
super(fs, new ModuleResolver(fs, pathMappings, ["", ".d.ts", "/index.d.ts", ".js", "/index.js"]), false);
|
|
@@ -574,7 +574,7 @@ var DtsDependencyHost = class extends EsmDependencyHost {
|
|
|
574
574
|
}
|
|
575
575
|
};
|
|
576
576
|
|
|
577
|
-
// bazel-out/
|
|
577
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/umd_dependency_host.mjs
|
|
578
578
|
import ts3 from "typescript";
|
|
579
579
|
var UmdDependencyHost = class extends DependencyHostBase {
|
|
580
580
|
canSkipFile(fileContents) {
|
|
@@ -594,7 +594,7 @@ var UmdDependencyHost = class extends DependencyHostBase {
|
|
|
594
594
|
}
|
|
595
595
|
};
|
|
596
596
|
|
|
597
|
-
// bazel-out/
|
|
597
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/utils.mjs
|
|
598
598
|
function getBasePaths(logger, sourceDirectory, pathMappings) {
|
|
599
599
|
const fs = getFileSystem();
|
|
600
600
|
const basePaths = [sourceDirectory];
|
|
@@ -704,7 +704,7 @@ function convertToLeaf(node, path) {
|
|
|
704
704
|
node.path = path;
|
|
705
705
|
}
|
|
706
706
|
|
|
707
|
-
// bazel-out/
|
|
707
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/directory_walker_entry_point_finder.mjs
|
|
708
708
|
var DirectoryWalkerEntryPointFinder = class {
|
|
709
709
|
constructor(logger, resolver, entryPointCollector, entryPointManifest, sourceDirectory, pathMappings) {
|
|
710
710
|
this.logger = logger;
|
|
@@ -731,7 +731,7 @@ var DirectoryWalkerEntryPointFinder = class {
|
|
|
731
731
|
}
|
|
732
732
|
};
|
|
733
733
|
|
|
734
|
-
// bazel-out/
|
|
734
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/entry_point_collector.mjs
|
|
735
735
|
var EntryPointCollector = class {
|
|
736
736
|
constructor(fs, config, logger, resolver) {
|
|
737
737
|
this.fs = fs;
|
|
@@ -809,7 +809,7 @@ function isIgnorablePath(path) {
|
|
|
809
809
|
return path.startsWith(".") || path === "node_modules" || path === NGCC_DIRECTORY;
|
|
810
810
|
}
|
|
811
811
|
|
|
812
|
-
// bazel-out/
|
|
812
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/tracing_entry_point_finder.mjs
|
|
813
813
|
var TracingEntryPointFinder = class {
|
|
814
814
|
constructor(fs, config, logger, resolver, basePath, pathMappings) {
|
|
815
815
|
this.fs = fs;
|
|
@@ -846,7 +846,7 @@ var TracingEntryPointFinder = class {
|
|
|
846
846
|
}
|
|
847
847
|
};
|
|
848
848
|
|
|
849
|
-
// bazel-out/
|
|
849
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/program_based_entry_point_finder.mjs
|
|
850
850
|
var ProgramBasedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
851
851
|
constructor(fs, config, logger, resolver, entryPointCollector, entryPointManifest, basePath, tsConfig, projectPath) {
|
|
852
852
|
super(fs, config, logger, resolver, basePath, getPathMappingsFromTsConfig(fs, tsConfig, projectPath));
|
|
@@ -897,8 +897,8 @@ var ProgramBasedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
|
897
897
|
}
|
|
898
898
|
};
|
|
899
899
|
|
|
900
|
-
// bazel-out/
|
|
901
|
-
var NGCC_VERSION = "14.0.0-rc.
|
|
900
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/build_marker.mjs
|
|
901
|
+
var NGCC_VERSION = "14.0.0-rc.3";
|
|
902
902
|
function needsCleaning(packageJson) {
|
|
903
903
|
return Object.values(packageJson.__processed_by_ivy_ngcc__ || {}).some((value) => value !== NGCC_VERSION);
|
|
904
904
|
}
|
|
@@ -939,7 +939,7 @@ function markAsProcessed(pkgJsonUpdater, packageJson, packageJsonPath, formatPro
|
|
|
939
939
|
update.writeChanges(packageJsonPath, packageJson);
|
|
940
940
|
}
|
|
941
941
|
|
|
942
|
-
// bazel-out/
|
|
942
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/targeted_entry_point_finder.mjs
|
|
943
943
|
var TargetedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
944
944
|
constructor(fs, config, logger, resolver, basePath, pathMappings, targetPath) {
|
|
945
945
|
super(fs, config, logger, resolver, basePath, pathMappings);
|
|
@@ -1054,7 +1054,7 @@ var TargetedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
};
|
|
1056
1056
|
|
|
1057
|
-
// bazel-out/
|
|
1057
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/base_task_queue.mjs
|
|
1058
1058
|
var BaseTaskQueue = class {
|
|
1059
1059
|
constructor(logger, tasks, dependencies) {
|
|
1060
1060
|
this.logger = logger;
|
|
@@ -1120,7 +1120,7 @@ ${indentation}- ${stringifyTask(task)}`).join("");
|
|
|
1120
1120
|
}
|
|
1121
1121
|
};
|
|
1122
1122
|
|
|
1123
|
-
// bazel-out/
|
|
1123
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/parallel_task_queue.mjs
|
|
1124
1124
|
var ParallelTaskQueue = class extends BaseTaskQueue {
|
|
1125
1125
|
constructor(logger, tasks, dependencies) {
|
|
1126
1126
|
super(logger, sortTasksByPriority(tasks, dependencies), dependencies);
|
|
@@ -1160,7 +1160,7 @@ ${indentation}- ${stringifyTask(task)} (${blockingTasks.size}): ` + this.stringi
|
|
|
1160
1160
|
}
|
|
1161
1161
|
};
|
|
1162
1162
|
|
|
1163
|
-
// bazel-out/
|
|
1163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/serial_task_queue.mjs
|
|
1164
1164
|
var SerialTaskQueue = class extends BaseTaskQueue {
|
|
1165
1165
|
computeNextTask() {
|
|
1166
1166
|
const nextTask = this.tasks.shift() || null;
|
|
@@ -1175,7 +1175,7 @@ var SerialTaskQueue = class extends BaseTaskQueue {
|
|
|
1175
1175
|
}
|
|
1176
1176
|
};
|
|
1177
1177
|
|
|
1178
|
-
// bazel-out/
|
|
1178
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/utils.mjs
|
|
1179
1179
|
function isLocalDirectory(fs, path) {
|
|
1180
1180
|
if (fs.exists(path)) {
|
|
1181
1181
|
const stat = fs.lstat(path);
|
|
@@ -1185,7 +1185,7 @@ function isLocalDirectory(fs, path) {
|
|
|
1185
1185
|
}
|
|
1186
1186
|
}
|
|
1187
1187
|
|
|
1188
|
-
// bazel-out/
|
|
1188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/cleaning_strategies.mjs
|
|
1189
1189
|
var PackageJsonCleaner = class {
|
|
1190
1190
|
constructor(fs) {
|
|
1191
1191
|
this.fs = fs;
|
|
@@ -1224,7 +1224,7 @@ var BackupFileCleaner = class {
|
|
|
1224
1224
|
}
|
|
1225
1225
|
};
|
|
1226
1226
|
|
|
1227
|
-
// bazel-out/
|
|
1227
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/package_cleaner.mjs
|
|
1228
1228
|
var PackageCleaner = class {
|
|
1229
1229
|
constructor(fs, cleaners) {
|
|
1230
1230
|
this.fs = fs;
|
|
@@ -1267,7 +1267,7 @@ function cleanOutdatedPackages(fileSystem, entryPoints) {
|
|
|
1267
1267
|
return packagesToClean.size > 0;
|
|
1268
1268
|
}
|
|
1269
1269
|
|
|
1270
|
-
// bazel-out/
|
|
1270
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/analyze_entry_points.mjs
|
|
1271
1271
|
function getAnalyzeEntryPointsFn(logger, finder, fileSystem, supportedPropertiesToConsider, typingsOnly, compileAllFormats, propertiesToConsider, inParallel) {
|
|
1272
1272
|
return () => {
|
|
1273
1273
|
logger.debug("Analyzing entry-points...");
|
|
@@ -1356,7 +1356,7 @@ function getTaskQueue(logger, inParallel, tasks, graph) {
|
|
|
1356
1356
|
return inParallel ? new ParallelTaskQueue(logger, tasks, dependencies) : new SerialTaskQueue(logger, tasks, dependencies);
|
|
1357
1357
|
}
|
|
1358
1358
|
|
|
1359
|
-
// bazel-out/
|
|
1359
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/master.mjs
|
|
1360
1360
|
import cluster from "cluster";
|
|
1361
1361
|
import module2 from "module";
|
|
1362
1362
|
var ClusterMaster = class {
|
|
@@ -1553,7 +1553,7 @@ function getClusterWorkerScriptPath(fileSystem) {
|
|
|
1553
1553
|
return fileSystem.resolve(workerScriptPath);
|
|
1554
1554
|
}
|
|
1555
1555
|
|
|
1556
|
-
// bazel-out/
|
|
1556
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/executor.mjs
|
|
1557
1557
|
var ClusterExecutor = class {
|
|
1558
1558
|
constructor(workerCount, fileSystem, logger, fileWriter, pkgJsonUpdater, lockFile, createTaskCompletedCallback) {
|
|
1559
1559
|
this.workerCount = workerCount;
|
|
@@ -1573,7 +1573,7 @@ var ClusterExecutor = class {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
};
|
|
1575
1575
|
|
|
1576
|
-
// bazel-out/
|
|
1576
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/single_process_executor.mjs
|
|
1577
1577
|
var SingleProcessorExecutorBase = class {
|
|
1578
1578
|
constructor(logger, createTaskCompletedCallback) {
|
|
1579
1579
|
this.logger = logger;
|
|
@@ -1615,7 +1615,7 @@ var SingleProcessExecutorAsync = class extends SingleProcessorExecutorBase {
|
|
|
1615
1615
|
}
|
|
1616
1616
|
};
|
|
1617
1617
|
|
|
1618
|
-
// bazel-out/
|
|
1618
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/completion.mjs
|
|
1619
1619
|
function composeTaskCompletedCallbacks(callbacks) {
|
|
1620
1620
|
return (task, outcome, message) => {
|
|
1621
1621
|
const callback = callbacks[outcome];
|
|
@@ -1655,7 +1655,7 @@ function createErrorMessage(fs, task, message) {
|
|
|
1655
1655
|
return `Failed to compile entry-point ${task.entryPoint.name} (${format})` + message;
|
|
1656
1656
|
}
|
|
1657
1657
|
|
|
1658
|
-
// bazel-out/
|
|
1658
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/async_locker.mjs
|
|
1659
1659
|
var TimeoutError = class extends Error {
|
|
1660
1660
|
constructor() {
|
|
1661
1661
|
super(...arguments);
|
|
@@ -1704,11 +1704,11 @@ Waiting up to ${this.retryDelay * this.retryAttempts / 1e3}s for it to finish.
|
|
|
1704
1704
|
}
|
|
1705
1705
|
};
|
|
1706
1706
|
|
|
1707
|
-
// bazel-out/
|
|
1707
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.mjs
|
|
1708
1708
|
import { fork } from "child_process";
|
|
1709
1709
|
import module4 from "module";
|
|
1710
1710
|
|
|
1711
|
-
// bazel-out/
|
|
1711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file.mjs
|
|
1712
1712
|
import module3 from "module";
|
|
1713
1713
|
function getLockFilePath(fs) {
|
|
1714
1714
|
const requireFn = typeof __require !== "undefined" ? __require : module3.createRequire(__ESM_IMPORT_META_URL__);
|
|
@@ -1716,7 +1716,7 @@ function getLockFilePath(fs) {
|
|
|
1716
1716
|
return fs.resolve(ngccEntryPointFile, "../../../.ngcc_lock_file");
|
|
1717
1717
|
}
|
|
1718
1718
|
|
|
1719
|
-
// bazel-out/
|
|
1719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.mjs
|
|
1720
1720
|
var LockFileWithChildProcess = class {
|
|
1721
1721
|
constructor(fs, logger) {
|
|
1722
1722
|
this.fs = fs;
|
|
@@ -1765,7 +1765,7 @@ function getLockFileUnlockerScriptPath(fileSystem) {
|
|
|
1765
1765
|
return fileSystem.resolve(unlockerScriptPath);
|
|
1766
1766
|
}
|
|
1767
1767
|
|
|
1768
|
-
// bazel-out/
|
|
1768
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/sync_locker.mjs
|
|
1769
1769
|
var SyncLocker = class {
|
|
1770
1770
|
constructor(lockFile) {
|
|
1771
1771
|
this.lockFile = lockFile;
|
|
@@ -1796,7 +1796,7 @@ If you are running multiple builds in parallel then you might try pre-processing
|
|
|
1796
1796
|
}
|
|
1797
1797
|
};
|
|
1798
1798
|
|
|
1799
|
-
// bazel-out/
|
|
1799
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/configuration.mjs
|
|
1800
1800
|
import { createHash } from "crypto";
|
|
1801
1801
|
import module5 from "module";
|
|
1802
1802
|
import semver from "semver";
|
|
@@ -1982,7 +1982,7 @@ var NgccConfiguration = class {
|
|
|
1982
1982
|
}
|
|
1983
1983
|
};
|
|
1984
1984
|
|
|
1985
|
-
// bazel-out/
|
|
1985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_manifest.mjs
|
|
1986
1986
|
import { createHash as createHash2 } from "crypto";
|
|
1987
1987
|
var EntryPointManifest = class {
|
|
1988
1988
|
constructor(fs, config, logger) {
|
|
@@ -2090,7 +2090,7 @@ var InvalidatingEntryPointManifest = class extends EntryPointManifest {
|
|
|
2090
2090
|
}
|
|
2091
2091
|
};
|
|
2092
2092
|
|
|
2093
|
-
// bazel-out/
|
|
2093
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/main.mjs
|
|
2094
2094
|
function mainNgcc(options) {
|
|
2095
2095
|
const { basePath, targetEntryPointPath, propertiesToConsider, typingsOnly, compileAllFormats, logger, pathMappings, async, errorOnFailedEntryPoint, enableI18nLegacyMessageIdFormat, invalidateEntryPointManifest, fileSystem, absBasePath, projectPath, tsConfig, getFileWriter } = getSharedSetup(options);
|
|
2096
2096
|
const config = new NgccConfiguration(fileSystem, projectPath);
|
|
@@ -2183,4 +2183,4 @@ export {
|
|
|
2183
2183
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2184
2184
|
* found in the LICENSE file at https://angular.io/license
|
|
2185
2185
|
*/
|
|
2186
|
-
//# sourceMappingURL=chunk-
|
|
2186
|
+
//# sourceMappingURL=chunk-I7TI6THJ.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-T7MYRXIE.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";
|
|
@@ -241,7 +241,7 @@ var ErrorCode;
|
|
|
241
241
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
242
242
|
})(ErrorCode || (ErrorCode = {}));
|
|
243
243
|
|
|
244
|
-
// bazel-out/
|
|
244
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
245
245
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
246
246
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
247
247
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -253,10 +253,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
253
253
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
254
254
|
]);
|
|
255
255
|
|
|
256
|
-
// bazel-out/
|
|
256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
257
257
|
import ts2 from "typescript";
|
|
258
258
|
|
|
259
|
-
// bazel-out/
|
|
259
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
260
260
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
261
261
|
function replaceTsWithNgInErrors(errors) {
|
|
262
262
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -265,7 +265,7 @@ function ngErrorCode(code) {
|
|
|
265
265
|
return parseInt("-99" + code);
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
// bazel-out/
|
|
268
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
269
269
|
var FatalDiagnosticError = class {
|
|
270
270
|
constructor(code, node, message, relatedInformation) {
|
|
271
271
|
this.code = code;
|
|
@@ -313,17 +313,17 @@ function isFatalDiagnosticError(err) {
|
|
|
313
313
|
return err._isFatalDiagnosticError === true;
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
// bazel-out/
|
|
316
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
317
317
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
318
318
|
|
|
319
|
-
// bazel-out/
|
|
319
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
320
320
|
var ExtendedTemplateDiagnosticName;
|
|
321
321
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
322
322
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
323
323
|
ExtendedTemplateDiagnosticName2["NULLISH_COALESCING_NOT_NULLABLE"] = "nullishCoalescingNotNullable";
|
|
324
324
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
325
325
|
|
|
326
|
-
// bazel-out/
|
|
326
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
327
327
|
function findExportedNameOfNode(target, file, reflector) {
|
|
328
328
|
const exports = reflector.getExportsOfModule(file);
|
|
329
329
|
if (exports === null) {
|
|
@@ -343,7 +343,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
343
343
|
return foundExportName;
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
// bazel-out/
|
|
346
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
347
347
|
var ImportFlags;
|
|
348
348
|
(function(ImportFlags2) {
|
|
349
349
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -559,7 +559,7 @@ var UnifiedModulesStrategy = class {
|
|
|
559
559
|
}
|
|
560
560
|
};
|
|
561
561
|
|
|
562
|
-
// bazel-out/
|
|
562
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
563
563
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
564
564
|
var UnifiedModulesAliasingHost = class {
|
|
565
565
|
constructor(unifiedModulesHost) {
|
|
@@ -626,7 +626,7 @@ var AliasStrategy = class {
|
|
|
626
626
|
}
|
|
627
627
|
};
|
|
628
628
|
|
|
629
|
-
// bazel-out/
|
|
629
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
630
630
|
function relativePathBetween(from, to) {
|
|
631
631
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
632
632
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -635,7 +635,7 @@ function normalizeSeparators(path) {
|
|
|
635
635
|
return path.replace(/\\/g, "/");
|
|
636
636
|
}
|
|
637
637
|
|
|
638
|
-
// bazel-out/
|
|
638
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
639
639
|
var NoopImportRewriter = class {
|
|
640
640
|
shouldImportSymbol(symbol, specifier) {
|
|
641
641
|
return true;
|
|
@@ -693,7 +693,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
693
693
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
694
694
|
}
|
|
695
695
|
|
|
696
|
-
// bazel-out/
|
|
696
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
697
697
|
import ts4 from "typescript";
|
|
698
698
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
699
699
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
@@ -738,7 +738,7 @@ var DefaultImportTracker = class {
|
|
|
738
738
|
}
|
|
739
739
|
};
|
|
740
740
|
|
|
741
|
-
// bazel-out/
|
|
741
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
742
742
|
var ModuleResolver = class {
|
|
743
743
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
744
744
|
this.program = program;
|
|
@@ -755,7 +755,7 @@ var ModuleResolver = class {
|
|
|
755
755
|
}
|
|
756
756
|
};
|
|
757
757
|
|
|
758
|
-
// bazel-out/
|
|
758
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
759
759
|
var Context = class {
|
|
760
760
|
constructor(isStatement) {
|
|
761
761
|
this.isStatement = isStatement;
|
|
@@ -768,7 +768,7 @@ var Context = class {
|
|
|
768
768
|
}
|
|
769
769
|
};
|
|
770
770
|
|
|
771
|
-
// bazel-out/
|
|
771
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
772
772
|
import * as o from "@angular/compiler";
|
|
773
773
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
774
774
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -992,7 +992,7 @@ function createRange(span) {
|
|
|
992
992
|
};
|
|
993
993
|
}
|
|
994
994
|
|
|
995
|
-
// bazel-out/
|
|
995
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
|
|
996
996
|
import ts5 from "typescript";
|
|
997
997
|
var ImportManager = class {
|
|
998
998
|
constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
|
|
@@ -1028,7 +1028,7 @@ var ImportManager = class {
|
|
|
1028
1028
|
}
|
|
1029
1029
|
};
|
|
1030
1030
|
|
|
1031
|
-
// bazel-out/
|
|
1031
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
1032
1032
|
import * as o2 from "@angular/compiler";
|
|
1033
1033
|
import ts6 from "typescript";
|
|
1034
1034
|
function translateType(type, imports) {
|
|
@@ -1199,7 +1199,7 @@ var TypeTranslatorVisitor = class {
|
|
|
1199
1199
|
}
|
|
1200
1200
|
};
|
|
1201
1201
|
|
|
1202
|
-
// bazel-out/
|
|
1202
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
1203
1203
|
import ts7 from "typescript";
|
|
1204
1204
|
var PureAnnotation;
|
|
1205
1205
|
(function(PureAnnotation2) {
|
|
@@ -1377,7 +1377,7 @@ function attachComments(statement, leadingComments) {
|
|
|
1377
1377
|
}
|
|
1378
1378
|
}
|
|
1379
1379
|
|
|
1380
|
-
// bazel-out/
|
|
1380
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
1381
1381
|
function translateExpression(expression, imports, options = {}) {
|
|
1382
1382
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
|
|
1383
1383
|
}
|
|
@@ -1445,4 +1445,4 @@ export {
|
|
|
1445
1445
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1446
1446
|
* found in the LICENSE file at https://angular.io/license
|
|
1447
1447
|
*/
|
|
1448
|
-
//# sourceMappingURL=chunk-
|
|
1448
|
+
//# sourceMappingURL=chunk-JDKMNZ6O.js.map
|
|
File without changes
|