@angular/compiler-cli 14.0.1 → 14.0.4
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-5K2JLFXT.js} +6 -6
- package/bundles/{chunk-ZJCM37WF.js.map → chunk-5K2JLFXT.js.map} +0 -0
- package/bundles/{chunk-RT3OZMJ6.js → chunk-74GV6EUR.js} +101 -121
- package/bundles/chunk-74GV6EUR.js.map +6 -0
- package/bundles/{chunk-U2VFXNL7.js → chunk-BRHP6XKM.js} +4 -4
- package/bundles/{chunk-U2VFXNL7.js.map → chunk-BRHP6XKM.js.map} +0 -0
- package/bundles/{chunk-KIWI22Y5.js → chunk-BU7ESD7N.js} +5 -5
- package/bundles/{chunk-KIWI22Y5.js.map → chunk-BU7ESD7N.js.map} +0 -0
- package/bundles/{chunk-SFACRVMZ.js → chunk-C2OTZTPY.js} +26 -26
- package/bundles/{chunk-SFACRVMZ.js.map → chunk-C2OTZTPY.js.map} +0 -0
- package/bundles/{chunk-VEAB5CR7.js → chunk-GN23SRRJ.js} +31 -31
- package/bundles/{chunk-VEAB5CR7.js.map → chunk-GN23SRRJ.js.map} +0 -0
- package/bundles/{chunk-AXU2Z2WN.js → chunk-I5XLLSQO.js} +70 -70
- package/bundles/{chunk-AXU2Z2WN.js.map → chunk-I5XLLSQO.js.map} +0 -0
- package/bundles/{chunk-QK4SXRQA.js → chunk-LC26KH5A.js} +5 -5
- package/bundles/{chunk-QK4SXRQA.js.map → chunk-LC26KH5A.js.map} +0 -0
- package/bundles/{chunk-HMWNYAAE.js → chunk-SJL5HBUW.js} +2 -2
- package/bundles/{chunk-HMWNYAAE.js.map → chunk-SJL5HBUW.js.map} +0 -0
- package/bundles/{chunk-MURZUYM7.js → chunk-TD64C4QJ.js} +7 -7
- package/bundles/{chunk-MURZUYM7.js.map → chunk-TD64C4QJ.js.map} +0 -0
- package/bundles/{chunk-AKU7LV22.js → chunk-TV7VZNWL.js} +6 -6
- package/bundles/{chunk-AKU7LV22.js.map → chunk-TV7VZNWL.js.map} +0 -0
- package/bundles/{chunk-NTRR4N4C.js → chunk-UT3V7UNM.js} +74 -71
- package/bundles/{chunk-NTRR4N4C.js.map → chunk-UT3V7UNM.js.map} +1 -1
- package/bundles/{chunk-BFPVXDJN.js → chunk-WH4QSABR.js} +7 -7
- package/bundles/{chunk-BFPVXDJN.js.map → chunk-WH4QSABR.js.map} +0 -0
- package/bundles/{chunk-EI6PFDB4.js → chunk-Z3OO24P2.js} +40 -40
- package/bundles/{chunk-EI6PFDB4.js.map → chunk-Z3OO24P2.js.map} +0 -0
- package/bundles/{chunk-7J66ZDC5.js → chunk-ZCDB56AX.js} +3 -3
- package/bundles/{chunk-7J66ZDC5.js.map → chunk-ZCDB56AX.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/program.d.ts +1 -0
- package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -1
- package/src/ngtsc/typecheck/src/ts_util.d.ts +0 -3
- package/src/perform_compile.d.ts +2 -1
- package/src/transformers/api.d.ts +2 -1
- package/bundles/chunk-RT3OZMJ6.js.map +0 -6
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
__spreadValues
|
|
8
8
|
} from "./chunk-GMSUYBZP.js";
|
|
9
9
|
|
|
10
|
-
// bazel-out/
|
|
10
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
11
11
|
import mapHelpers from "convert-source-map";
|
|
12
12
|
import { decode, encode } from "sourcemap-codec";
|
|
13
13
|
|
|
14
|
-
// bazel-out/
|
|
14
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
|
|
15
15
|
function compareSegments(a, b) {
|
|
16
16
|
return a.position - b.position;
|
|
17
17
|
}
|
|
@@ -31,7 +31,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
|
|
|
31
31
|
return { line, column, position, next: void 0 };
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
// bazel-out/
|
|
34
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
35
35
|
function removeSourceMapComments(contents) {
|
|
36
36
|
return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
|
|
37
37
|
}
|
|
@@ -282,10 +282,10 @@ var Cache = class {
|
|
|
282
282
|
}
|
|
283
283
|
};
|
|
284
284
|
|
|
285
|
-
// bazel-out/
|
|
285
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
286
286
|
import mapHelpers2 from "convert-source-map";
|
|
287
287
|
|
|
288
|
-
// bazel-out/
|
|
288
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
|
|
289
289
|
var ContentOrigin;
|
|
290
290
|
(function(ContentOrigin2) {
|
|
291
291
|
ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
|
|
@@ -293,7 +293,7 @@ var ContentOrigin;
|
|
|
293
293
|
ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
|
|
294
294
|
})(ContentOrigin || (ContentOrigin = {}));
|
|
295
295
|
|
|
296
|
-
// bazel-out/
|
|
296
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
297
297
|
var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
|
|
298
298
|
var SourceFileLoader = class {
|
|
299
299
|
constructor(fs, logger, schemeMap) {
|
|
@@ -421,4 +421,4 @@ export {
|
|
|
421
421
|
* Use of this source code is governed by an MIT-style license that can be
|
|
422
422
|
* found in the LICENSE file at https://angular.io/license
|
|
423
423
|
*/
|
|
424
|
-
//# sourceMappingURL=chunk-
|
|
424
|
+
//# sourceMappingURL=chunk-WH4QSABR.js.map
|
|
File without changes
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
removeLockFile
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SJL5HBUW.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-I5XLLSQO.js";
|
|
42
42
|
import {
|
|
43
43
|
LogLevel
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-ZCDB56AX.js";
|
|
45
45
|
import {
|
|
46
46
|
absoluteFrom,
|
|
47
47
|
getFileSystem
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-TD64C4QJ.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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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.
|
|
900
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/build_marker.mjs
|
|
901
|
+
var NGCC_VERSION = "14.0.4";
|
|
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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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/darwin-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-Z3OO24P2.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/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
|
|
7
7
|
var LogLevel;
|
|
8
8
|
(function(LogLevel2) {
|
|
9
9
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -12,7 +12,7 @@ var LogLevel;
|
|
|
12
12
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
13
13
|
})(LogLevel || (LogLevel = {}));
|
|
14
14
|
|
|
15
|
-
// bazel-out/
|
|
15
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
16
16
|
var RESET = "\x1B[0m";
|
|
17
17
|
var RED = "\x1B[31m";
|
|
18
18
|
var YELLOW = "\x1B[33m";
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
* Use of this source code is governed by an MIT-style license that can be
|
|
54
54
|
* found in the LICENSE file at https://angular.io/license
|
|
55
55
|
*/
|
|
56
|
-
//# sourceMappingURL=chunk-
|
|
56
|
+
//# sourceMappingURL=chunk-ZCDB56AX.js.map
|
|
File without changes
|
package/bundles/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
GLOBAL_DEFS_FOR_TERSER,
|
|
8
8
|
GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
|
|
9
9
|
constructorParametersDownlevelTransform
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TV7VZNWL.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_ERROR_CODE,
|
|
13
13
|
EmitFlags,
|
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
performCompilation,
|
|
32
32
|
readConfiguration,
|
|
33
33
|
untagAllTsFiles
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-74GV6EUR.js";
|
|
35
|
+
import "./chunk-UT3V7UNM.js";
|
|
36
|
+
import "./chunk-5K2JLFXT.js";
|
|
37
37
|
import {
|
|
38
38
|
ConsoleLogger,
|
|
39
39
|
LogLevel
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-ZCDB56AX.js";
|
|
41
|
+
import "./chunk-C2OTZTPY.js";
|
|
42
42
|
import {
|
|
43
43
|
LogicalFileSystem,
|
|
44
44
|
LogicalProjectPath,
|
|
@@ -59,20 +59,20 @@ import {
|
|
|
59
59
|
resolve,
|
|
60
60
|
setFileSystem,
|
|
61
61
|
toRelativeImport
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-TD64C4QJ.js";
|
|
63
63
|
import {
|
|
64
64
|
ActivePerfRecorder,
|
|
65
65
|
PerfPhase
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-LC26KH5A.js";
|
|
67
67
|
import {
|
|
68
68
|
__spreadValues
|
|
69
69
|
} from "./chunk-GMSUYBZP.js";
|
|
70
70
|
|
|
71
|
-
// bazel-out/
|
|
71
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
72
72
|
import { Version } from "@angular/compiler";
|
|
73
|
-
var VERSION = new Version("14.0.
|
|
73
|
+
var VERSION = new Version("14.0.4");
|
|
74
74
|
|
|
75
|
-
// bazel-out/
|
|
75
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs
|
|
76
76
|
var NgTscPlugin = class {
|
|
77
77
|
constructor(ngOptions) {
|
|
78
78
|
this.ngOptions = ngOptions;
|
|
@@ -141,7 +141,7 @@ var NgTscPlugin = class {
|
|
|
141
141
|
}
|
|
142
142
|
};
|
|
143
143
|
|
|
144
|
-
// bazel-out/
|
|
144
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/index.mjs
|
|
145
145
|
setFileSystem(new NodeJSFileSystem());
|
|
146
146
|
export {
|
|
147
147
|
ConsoleLogger,
|
|
@@ -6,26 +6,26 @@
|
|
|
6
6
|
import {
|
|
7
7
|
ConsoleLogger,
|
|
8
8
|
LogLevel
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-ZCDB56AX.js";
|
|
10
10
|
import {
|
|
11
11
|
FatalLinkerError,
|
|
12
12
|
FileLinker,
|
|
13
13
|
LinkerEnvironment,
|
|
14
14
|
assert,
|
|
15
15
|
isFatalLinkerError
|
|
16
|
-
} from "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
18
|
-
import "../../chunk-
|
|
16
|
+
} from "../../chunk-GN23SRRJ.js";
|
|
17
|
+
import "../../chunk-WH4QSABR.js";
|
|
18
|
+
import "../../chunk-C2OTZTPY.js";
|
|
19
19
|
import {
|
|
20
20
|
NodeJSFileSystem
|
|
21
|
-
} from "../../chunk-
|
|
21
|
+
} from "../../chunk-TD64C4QJ.js";
|
|
22
22
|
import {
|
|
23
23
|
__objRest,
|
|
24
24
|
__spreadProps,
|
|
25
25
|
__spreadValues
|
|
26
26
|
} from "../../chunk-GMSUYBZP.js";
|
|
27
27
|
|
|
28
|
-
// bazel-out/
|
|
28
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_core.mjs
|
|
29
29
|
import * as _babelNamespace from "@babel/core";
|
|
30
30
|
import _babelDefault from "@babel/core";
|
|
31
31
|
var _a;
|
|
@@ -39,7 +39,7 @@ var NodePath = babel.NodePath;
|
|
|
39
39
|
var transformSync = babel.transformSync;
|
|
40
40
|
var parse = babel.parse;
|
|
41
41
|
|
|
42
|
-
// bazel-out/
|
|
42
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_factory.mjs
|
|
43
43
|
var BabelAstFactory = class {
|
|
44
44
|
constructor(sourceUrl) {
|
|
45
45
|
this.sourceUrl = sourceUrl;
|
|
@@ -152,7 +152,7 @@ function isLExpression(expr) {
|
|
|
152
152
|
return types2.isLVal(expr);
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
// bazel-out/
|
|
155
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/babel/src/ast/babel_ast_host.mjs
|
|
156
156
|
var BabelAstHost = class {
|
|
157
157
|
constructor() {
|
|
158
158
|
this.isStringLiteral = types2.isStringLiteral;
|
|
@@ -269,7 +269,7 @@ function isMinifiedBooleanLiteral(node) {
|
|
|
269
269
|
return types2.isUnaryExpression(node) && node.prefix && node.operator === "!" && types2.isNumericLiteral(node.argument) && (node.argument.value === 0 || node.argument.value === 1);
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
// bazel-out/
|
|
272
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_declaration_scope.mjs
|
|
273
273
|
var BabelDeclarationScope = class {
|
|
274
274
|
constructor(declarationScope) {
|
|
275
275
|
this.declarationScope = declarationScope;
|
|
@@ -294,7 +294,7 @@ var BabelDeclarationScope = class {
|
|
|
294
294
|
}
|
|
295
295
|
};
|
|
296
296
|
|
|
297
|
-
// bazel-out/
|
|
297
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/babel/src/es2015_linker_plugin.mjs
|
|
298
298
|
function createEs2015LinkerPlugin(_a2) {
|
|
299
299
|
var _b = _a2, { fileSystem, logger } = _b, options = __objRest(_b, ["fileSystem", "logger"]);
|
|
300
300
|
let fileLinker = null;
|
|
@@ -396,7 +396,7 @@ function buildCodeFrameError(file, message, node) {
|
|
|
396
396
|
return `${filename}: ${error.message}`;
|
|
397
397
|
}
|
|
398
398
|
|
|
399
|
-
// bazel-out/
|
|
399
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/babel/src/babel_plugin.mjs
|
|
400
400
|
function defaultLinkerPlugin(api, options) {
|
|
401
401
|
api.assertVersion(7);
|
|
402
402
|
return createEs2015LinkerPlugin(__spreadProps(__spreadValues({}, options), {
|
|
@@ -405,7 +405,7 @@ function defaultLinkerPlugin(api, options) {
|
|
|
405
405
|
}));
|
|
406
406
|
}
|
|
407
407
|
|
|
408
|
-
// bazel-out/
|
|
408
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/linker/babel/index.mjs
|
|
409
409
|
var babel_default = defaultLinkerPlugin;
|
|
410
410
|
export {
|
|
411
411
|
createEs2015LinkerPlugin,
|
package/bundles/linker/index.js
CHANGED
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
assert,
|
|
12
12
|
isFatalLinkerError,
|
|
13
13
|
needsLinking
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-GN23SRRJ.js";
|
|
15
|
+
import "../chunk-WH4QSABR.js";
|
|
16
|
+
import "../chunk-C2OTZTPY.js";
|
|
17
|
+
import "../chunk-TD64C4QJ.js";
|
|
18
18
|
import "../chunk-GMSUYBZP.js";
|
|
19
19
|
export {
|
|
20
20
|
DEFAULT_LINKER_OPTIONS,
|
package/bundles/ngcc/index.js
CHANGED
|
@@ -5,28 +5,28 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
mainNgcc
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-Z3OO24P2.js";
|
|
9
|
+
import "../chunk-SJL5HBUW.js";
|
|
10
10
|
import {
|
|
11
11
|
clearTsConfigCache
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-I5XLLSQO.js";
|
|
13
|
+
import "../chunk-74GV6EUR.js";
|
|
14
|
+
import "../chunk-UT3V7UNM.js";
|
|
15
|
+
import "../chunk-5K2JLFXT.js";
|
|
16
16
|
import {
|
|
17
17
|
ConsoleLogger,
|
|
18
18
|
LogLevel
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-ZCDB56AX.js";
|
|
20
|
+
import "../chunk-WH4QSABR.js";
|
|
21
|
+
import "../chunk-C2OTZTPY.js";
|
|
22
22
|
import {
|
|
23
23
|
NodeJSFileSystem,
|
|
24
24
|
setFileSystem
|
|
25
|
-
} from "../chunk-
|
|
26
|
-
import "../chunk-
|
|
25
|
+
} from "../chunk-TD64C4QJ.js";
|
|
26
|
+
import "../chunk-LC26KH5A.js";
|
|
27
27
|
import "../chunk-GMSUYBZP.js";
|
|
28
28
|
|
|
29
|
-
// bazel-out/
|
|
29
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/index.mjs
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { fileURLToPath } from "url";
|
|
32
32
|
function process(options) {
|
|
@@ -6,23 +6,23 @@
|
|
|
6
6
|
|
|
7
7
|
import {
|
|
8
8
|
parseCommandLineOptions
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-BRHP6XKM.js";
|
|
10
10
|
import {
|
|
11
11
|
mainNgcc
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-Z3OO24P2.js";
|
|
13
|
+
import "../chunk-SJL5HBUW.js";
|
|
14
|
+
import "../chunk-I5XLLSQO.js";
|
|
15
|
+
import "../chunk-74GV6EUR.js";
|
|
16
|
+
import "../chunk-UT3V7UNM.js";
|
|
17
|
+
import "../chunk-5K2JLFXT.js";
|
|
18
|
+
import "../chunk-ZCDB56AX.js";
|
|
19
|
+
import "../chunk-WH4QSABR.js";
|
|
20
|
+
import "../chunk-C2OTZTPY.js";
|
|
21
|
+
import "../chunk-TD64C4QJ.js";
|
|
22
|
+
import "../chunk-LC26KH5A.js";
|
|
23
23
|
import "../chunk-GMSUYBZP.js";
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/main-ngcc.mjs
|
|
26
26
|
process.title = "ngcc";
|
|
27
27
|
var startTime = Date.now();
|
|
28
28
|
var options = parseCommandLineOptions(process.argv.slice(2));
|