@angular/compiler-cli 15.0.1 → 15.0.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.
Files changed (52) hide show
  1. package/bundles/{chunk-XVHC4VAO.js → chunk-4F26FKLW.js} +5 -5
  2. package/bundles/{chunk-XVHC4VAO.js.map → chunk-4F26FKLW.js.map} +0 -0
  3. package/bundles/{chunk-22N3RTKA.js → chunk-ALSLKTUB.js} +7 -7
  4. package/bundles/{chunk-22N3RTKA.js.map → chunk-ALSLKTUB.js.map} +0 -0
  5. package/bundles/{chunk-VOEFUUJH.js → chunk-DLVFMDSC.js} +2 -2
  6. package/bundles/{chunk-VOEFUUJH.js.map → chunk-DLVFMDSC.js.map} +0 -0
  7. package/bundles/{chunk-UUIUKASM.js → chunk-DSVWG4QJ.js} +2 -2
  8. package/bundles/{chunk-UUIUKASM.js.map → chunk-DSVWG4QJ.js.map} +0 -0
  9. package/bundles/{chunk-NXGWYLNC.js → chunk-E7DPJFUS.js} +7 -7
  10. package/bundles/{chunk-NXGWYLNC.js.map → chunk-E7DPJFUS.js.map} +0 -0
  11. package/bundles/{chunk-C3UJTEDQ.js → chunk-JA6DFT5T.js} +5 -5
  12. package/bundles/{chunk-C3UJTEDQ.js.map → chunk-JA6DFT5T.js.map} +0 -0
  13. package/bundles/{chunk-GIA6ASYG.js → chunk-JGWOWDGB.js} +7 -7
  14. package/bundles/{chunk-GIA6ASYG.js.map → chunk-JGWOWDGB.js.map} +0 -0
  15. package/bundles/{chunk-NAJWFXRP.js → chunk-MMP4UVEC.js} +40 -40
  16. package/bundles/{chunk-NAJWFXRP.js.map → chunk-MMP4UVEC.js.map} +0 -0
  17. package/bundles/{chunk-FPQZA7NP.js → chunk-OFXSI6E3.js} +3 -3
  18. package/bundles/{chunk-FPQZA7NP.js.map → chunk-OFXSI6E3.js.map} +0 -0
  19. package/bundles/{chunk-JY5KP5YT.js → chunk-QVO57CDR.js} +4 -4
  20. package/bundles/{chunk-JY5KP5YT.js.map → chunk-QVO57CDR.js.map} +0 -0
  21. package/bundles/{chunk-LHZD6YT2.js → chunk-R3UUI3WU.js} +31 -31
  22. package/bundles/{chunk-LHZD6YT2.js.map → chunk-R3UUI3WU.js.map} +0 -0
  23. package/bundles/{chunk-RRZN7SI2.js → chunk-SYXTR5F3.js} +71 -71
  24. package/bundles/{chunk-RRZN7SI2.js.map → chunk-SYXTR5F3.js.map} +0 -0
  25. package/bundles/{chunk-TZNP5L2W.js → chunk-TOW3O33K.js} +26 -26
  26. package/bundles/{chunk-TZNP5L2W.js.map → chunk-TOW3O33K.js.map} +0 -0
  27. package/bundles/{chunk-OKDR75TI.js → chunk-TTNJEW7O.js} +7 -7
  28. package/bundles/{chunk-OKDR75TI.js.map → chunk-TTNJEW7O.js.map} +0 -0
  29. package/bundles/{chunk-J6BGLPIM.js → chunk-V4R3BHFY.js} +102 -99
  30. package/bundles/{chunk-J6BGLPIM.js.map → chunk-V4R3BHFY.js.map} +1 -1
  31. package/bundles/{chunk-5S4T5JRZ.js → chunk-VF6SIDZK.js} +85 -75
  32. package/bundles/chunk-VF6SIDZK.js.map +6 -0
  33. package/bundles/index.js +13 -13
  34. package/bundles/linker/babel/index.js +13 -13
  35. package/bundles/linker/index.js +5 -5
  36. package/bundles/ngcc/index.js +13 -13
  37. package/bundles/ngcc/main-ngcc.js +14 -14
  38. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -14
  39. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
  40. package/bundles/private/bazel.js +1 -1
  41. package/bundles/private/localize.js +3 -3
  42. package/bundles/private/migrations.js +6 -6
  43. package/bundles/private/tooling.js +3 -3
  44. package/bundles/src/bin/ng_xi18n.js +11 -11
  45. package/bundles/src/bin/ngc.js +9 -9
  46. package/bundles_metadata.json +1 -1
  47. package/ngcc/src/packages/build_marker.d.ts +1 -1
  48. package/package.json +3 -3
  49. package/src/ngtsc/metadata/src/inheritance.d.ts +1 -1
  50. package/src/ngtsc/scope/src/typecheck.d.ts +1 -1
  51. package/src/ngtsc/typecheck/api/scope.d.ts +1 -1
  52. package/bundles/chunk-5S4T5JRZ.js.map +0 -6
@@ -4,7 +4,7 @@
4
4
  const __ESM_IMPORT_META_URL__ = import.meta.url;
5
5
 
6
6
 
7
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
7
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
8
8
  var PerfPhase;
9
9
  (function(PerfPhase2) {
10
10
  PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
@@ -71,7 +71,7 @@ var PerfCheckpoint;
71
71
  PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
72
72
  })(PerfCheckpoint || (PerfCheckpoint = {}));
73
73
 
74
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
74
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
75
75
  var NoopPerfRecorder = class {
76
76
  eventCount() {
77
77
  }
@@ -88,7 +88,7 @@ var NoopPerfRecorder = class {
88
88
  };
89
89
  var NOOP_PERF_RECORDER = new NoopPerfRecorder();
90
90
 
91
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
91
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
92
92
  function mark() {
93
93
  return process.hrtime();
94
94
  }
@@ -97,7 +97,7 @@ function timeSinceInMicros(mark2) {
97
97
  return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
98
98
  }
99
99
 
100
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
100
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
101
101
  var ActivePerfRecorder = class {
102
102
  constructor(zeroTime) {
103
103
  this.zeroTime = zeroTime;
@@ -206,4 +206,4 @@ export {
206
206
  * Use of this source code is governed by an MIT-style license that can be
207
207
  * found in the LICENSE file at https://angular.io/license
208
208
  */
209
- //# sourceMappingURL=chunk-XVHC4VAO.js.map
209
+ //# sourceMappingURL=chunk-4F26FKLW.js.map
@@ -6,12 +6,12 @@
6
6
  import {
7
7
  getDecorators,
8
8
  getModifiers
9
- } from "./chunk-UUIUKASM.js";
9
+ } from "./chunk-DSVWG4QJ.js";
10
10
 
11
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
11
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
12
12
  import ts4 from "typescript";
13
13
 
14
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
14
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
15
15
  import ts from "typescript";
16
16
  var Decorator = {
17
17
  nodeForError: (decorator) => {
@@ -46,7 +46,7 @@ function isConcreteDeclaration(decl) {
46
46
  return decl.kind === 0;
47
47
  }
48
48
 
49
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
49
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
50
50
  import ts2 from "typescript";
51
51
  function typeToValue(typeNode, checker) {
52
52
  if (typeNode === null) {
@@ -212,7 +212,7 @@ function extractModuleName(node) {
212
212
  return node.moduleSpecifier.text;
213
213
  }
214
214
 
215
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
215
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
216
216
  import ts3 from "typescript";
217
217
  function isNamedClassDeclaration(node) {
218
218
  return ts3.isClassDeclaration(node) && isIdentifier(node.name);
@@ -227,7 +227,7 @@ function isIdentifier(node) {
227
227
  return node !== void 0 && ts3.isIdentifier(node);
228
228
  }
229
229
 
230
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
230
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
231
231
  var TypeScriptReflectionHost = class {
232
232
  constructor(checker) {
233
233
  this.checker = checker;
@@ -685,4 +685,4 @@ export {
685
685
  * Use of this source code is governed by an MIT-style license that can be
686
686
  * found in the LICENSE file at https://angular.io/license
687
687
  */
688
- //# sourceMappingURL=chunk-22N3RTKA.js.map
688
+ //# sourceMappingURL=chunk-ALSLKTUB.js.map
@@ -4,7 +4,7 @@
4
4
  const __ESM_IMPORT_META_URL__ = import.meta.url;
5
5
 
6
6
 
7
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/util.mjs
7
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/util.mjs
8
8
  function removeLockFile(fs, logger, lockFilePath, pid) {
9
9
  try {
10
10
  logger.debug(`Attempting to remove lock-file at ${lockFilePath}.`);
@@ -27,4 +27,4 @@ function removeLockFile(fs, logger, lockFilePath, pid) {
27
27
  export {
28
28
  removeLockFile
29
29
  };
30
- //# sourceMappingURL=chunk-VOEFUUJH.js.map
30
+ //# sourceMappingURL=chunk-DLVFMDSC.js.map
@@ -4,7 +4,7 @@
4
4
  const __ESM_IMPORT_META_URL__ = import.meta.url;
5
5
 
6
6
 
7
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.mjs
7
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.mjs
8
8
  import ts from "typescript";
9
9
  var IS_AFTER_TS_48 = isAfterVersion(4, 8);
10
10
  var updateParameterDeclaration = IS_AFTER_TS_48 ? ts.factory.updateParameterDeclaration : (node, modifiers, dotDotDotToken, name, questionToken, type, initializer) => ts.factory.updateParameterDeclaration(node, ...splitModifiers(modifiers), dotDotDotToken, name, questionToken, type, initializer);
@@ -91,4 +91,4 @@ export {
91
91
  * Use of this source code is governed by an MIT-style license that can be
92
92
  * found in the LICENSE file at https://angular.io/license
93
93
  */
94
- //# sourceMappingURL=chunk-UUIUKASM.js.map
94
+ //# sourceMappingURL=chunk-DSVWG4QJ.js.map
@@ -7,7 +7,7 @@ import {
7
7
  __require
8
8
  } from "./chunk-NDREJTCS.js";
9
9
 
10
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
10
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
11
11
  var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
12
12
  function normalizeSeparators(path) {
13
13
  return path.replace(/\\/g, "/");
@@ -23,7 +23,7 @@ function getSourceFileOrError(program, fileName) {
23
23
  return sf;
24
24
  }
25
25
 
26
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
26
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
27
27
  var InvalidFileSystem = class {
28
28
  exists(path) {
29
29
  throw makeError();
@@ -111,7 +111,7 @@ function makeError() {
111
111
  return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
112
112
  }
113
113
 
114
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
114
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
115
115
  var fs = new InvalidFileSystem();
116
116
  function getFileSystem() {
117
117
  return fs;
@@ -168,7 +168,7 @@ function toRelativeImport(relativePath) {
168
168
  return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
169
169
  }
170
170
 
171
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
171
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
172
172
  import * as os from "os";
173
173
  import ts from "typescript";
174
174
  var NgtscCompilerHost = class {
@@ -226,7 +226,7 @@ var NgtscCompilerHost = class {
226
226
  }
227
227
  };
228
228
 
229
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
229
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
230
230
  var LogicalProjectPath = {
231
231
  relativePathBetween: function(from, to) {
232
232
  const relativePath = relative(dirname(resolve(from)), resolve(to));
@@ -272,7 +272,7 @@ function isWithinBasePath(base, path) {
272
272
  return isLocalRelativePath(relative(base, path));
273
273
  }
274
274
 
275
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
275
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
276
276
  import * as fs2 from "fs";
277
277
  import module from "module";
278
278
  import * as p from "path";
@@ -408,4 +408,4 @@ export {
408
408
  * Use of this source code is governed by an MIT-style license that can be
409
409
  * found in the LICENSE file at https://angular.io/license
410
410
  */
411
- //# sourceMappingURL=chunk-NXGWYLNC.js.map
411
+ //# sourceMappingURL=chunk-E7DPJFUS.js.map
@@ -13,13 +13,13 @@ import {
13
13
  formatDiagnostics,
14
14
  performCompilation,
15
15
  readConfiguration
16
- } from "./chunk-J6BGLPIM.js";
16
+ } from "./chunk-V4R3BHFY.js";
17
17
 
18
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/main.mjs
18
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
19
19
  import ts2 from "typescript";
20
20
  import yargs from "yargs";
21
21
 
22
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_watch.mjs
22
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_watch.mjs
23
23
  import * as chokidar from "chokidar";
24
24
  import * as path from "path";
25
25
  import ts from "typescript";
@@ -235,7 +235,7 @@ function performWatchCompilation(host) {
235
235
  }
236
236
  }
237
237
 
238
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/main.mjs
238
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
239
239
  function main(args, consoleError = console.error, config, customTransformers, programReuse, modifiedResourceFiles, tsickle) {
240
240
  let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
241
241
  if (configErrors.length) {
@@ -376,4 +376,4 @@ export {
376
376
  * Use of this source code is governed by an MIT-style license that can be
377
377
  * found in the LICENSE file at https://angular.io/license
378
378
  */
379
- //# sourceMappingURL=chunk-C3UJTEDQ.js.map
379
+ //# sourceMappingURL=chunk-JA6DFT5T.js.map
@@ -5,7 +5,7 @@
5
5
 
6
6
  import {
7
7
  TypeScriptReflectionHost
8
- } from "./chunk-22N3RTKA.js";
8
+ } from "./chunk-ALSLKTUB.js";
9
9
  import {
10
10
  combineModifiers,
11
11
  createClassDeclaration,
@@ -17,12 +17,12 @@ import {
17
17
  getModifiers,
18
18
  updateConstructorDeclaration,
19
19
  updateParameterDeclaration
20
- } from "./chunk-UUIUKASM.js";
20
+ } from "./chunk-DSVWG4QJ.js";
21
21
 
22
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
22
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
23
23
  import ts2 from "typescript";
24
24
 
25
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.mjs
25
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.mjs
26
26
  import ts from "typescript";
27
27
  var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
28
28
  function loadIsReferencedAliasDeclarationPatch(context) {
@@ -57,7 +57,7 @@ function throwIncompatibleTransformationContextError() {
57
57
  throw Error("Unable to downlevel Angular decorators due to an incompatible TypeScript version.\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
58
58
  }
59
59
 
60
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
60
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
61
61
  function isAngularDecorator(decorator, isCore) {
62
62
  return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
63
63
  }
@@ -376,7 +376,7 @@ function cloneClassElementWithModifiers(node, modifiers) {
376
376
  return ts2.setOriginalNode(clone, node);
377
377
  }
378
378
 
379
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
379
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
380
380
  var GLOBAL_DEFS_FOR_TERSER = {
381
381
  ngDevMode: false,
382
382
  ngI18nClosureMode: false
@@ -410,4 +410,4 @@ export {
410
410
  * Use of this source code is governed by an MIT-style license that can be
411
411
  * found in the LICENSE file at https://angular.io/license
412
412
  */
413
- //# sourceMappingURL=chunk-GIA6ASYG.js.map
413
+ //# sourceMappingURL=chunk-JGWOWDGB.js.map
@@ -5,7 +5,7 @@
5
5
 
6
6
  import {
7
7
  removeLockFile
8
- } from "./chunk-VOEFUUJH.js";
8
+ } from "./chunk-DLVFMDSC.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-RRZN7SI2.js";
41
+ } from "./chunk-SYXTR5F3.js";
42
42
  import {
43
43
  LogLevel
44
- } from "./chunk-FPQZA7NP.js";
44
+ } from "./chunk-OFXSI6E3.js";
45
45
  import {
46
46
  absoluteFrom,
47
47
  getFileSystem
48
- } from "./chunk-NXGWYLNC.js";
48
+ } from "./chunk-E7DPJFUS.js";
49
49
  import {
50
50
  __require
51
51
  } from "./chunk-NDREJTCS.js";
52
52
 
53
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/module_resolver.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_host.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_resolver.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/esm_dependency_host.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dts_dependency_host.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/umd_dependency_host.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/utils.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/directory_walker_entry_point_finder.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/entry_point_collector.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/tracing_entry_point_finder.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/program_based_entry_point_finder.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/build_marker.mjs
899
- var NGCC_VERSION = "15.0.1";
898
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/build_marker.mjs
899
+ var NGCC_VERSION = "15.0.3";
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/targeted_entry_point_finder.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/base_task_queue.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/parallel_task_queue.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/serial_task_queue.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/utils.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/cleaning_strategies.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/package_cleaner.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/analyze_entry_points.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/master.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/executor.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/single_process_executor.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/completion.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/async_locker.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/sync_locker.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/configuration.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_manifest.mjs
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/darwin-fastbuild/bin/packages/compiler-cli/ngcc/src/main.mjs
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-NAJWFXRP.js.map
2185
+ //# sourceMappingURL=chunk-MMP4UVEC.js.map
@@ -4,7 +4,7 @@
4
4
  const __ESM_IMPORT_META_URL__ = import.meta.url;
5
5
 
6
6
 
7
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
7
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
8
8
  var LogLevel;
9
9
  (function(LogLevel2) {
10
10
  LogLevel2[LogLevel2["debug"] = 0] = "debug";
@@ -13,7 +13,7 @@ var LogLevel;
13
13
  LogLevel2[LogLevel2["error"] = 3] = "error";
14
14
  })(LogLevel || (LogLevel = {}));
15
15
 
16
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
16
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
17
17
  var RESET = "\x1B[0m";
18
18
  var RED = "\x1B[31m";
19
19
  var YELLOW = "\x1B[33m";
@@ -54,4 +54,4 @@ export {
54
54
  * Use of this source code is governed by an MIT-style license that can be
55
55
  * found in the LICENSE file at https://angular.io/license
56
56
  */
57
- //# sourceMappingURL=chunk-FPQZA7NP.js.map
57
+ //# sourceMappingURL=chunk-OFXSI6E3.js.map