@angular/core 16.2.0-next.0 → 16.2.0-next.2

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 (42) hide show
  1. package/esm2022/rxjs-interop/src/take_until_destroyed.mjs +3 -3
  2. package/esm2022/rxjs-interop/src/to_observable.mjs +1 -1
  3. package/esm2022/rxjs-interop/src/to_signal.mjs +1 -1
  4. package/esm2022/src/di/contextual.mjs +10 -7
  5. package/esm2022/src/di/injection_token.mjs +2 -2
  6. package/esm2022/src/di/injector_compatibility.mjs +4 -3
  7. package/esm2022/src/di/interface/defs.mjs +3 -2
  8. package/esm2022/src/di/interface/injector.mjs +2 -2
  9. package/esm2022/src/di/provider_collection.mjs +2 -2
  10. package/esm2022/src/di/r3_injector.mjs +1 -1
  11. package/esm2022/src/errors.mjs +1 -1
  12. package/esm2022/src/linker/component_factory.mjs +1 -1
  13. package/esm2022/src/linker/template_ref.mjs +1 -1
  14. package/esm2022/src/render3/assert.mjs +8 -3
  15. package/esm2022/src/render3/component.mjs +1 -1
  16. package/esm2022/src/render3/component_ref.mjs +12 -2
  17. package/esm2022/src/render3/definition.mjs +1 -1
  18. package/esm2022/src/render3/deps_tracker/api.mjs +9 -0
  19. package/esm2022/src/render3/deps_tracker/deps_tracker.mjs +43 -0
  20. package/esm2022/src/render3/features/standalone_feature.mjs +4 -4
  21. package/esm2022/src/render3/interfaces/definition.mjs +1 -1
  22. package/esm2022/src/render3/pipe.mjs +26 -2
  23. package/esm2022/src/render3/reactivity/effect.mjs +1 -1
  24. package/esm2022/src/signals/src/graph.mjs +7 -3
  25. package/esm2022/src/util/raf.mjs +20 -5
  26. package/esm2022/src/version.mjs +1 -1
  27. package/esm2022/src/zone/ng_zone.mjs +10 -1
  28. package/esm2022/testing/src/logger.mjs +3 -3
  29. package/fesm2022/core.mjs +98 -26
  30. package/fesm2022/core.mjs.map +1 -1
  31. package/fesm2022/rxjs-interop.mjs +9 -5
  32. package/fesm2022/rxjs-interop.mjs.map +1 -1
  33. package/fesm2022/testing.mjs +70 -22
  34. package/fesm2022/testing.mjs.map +1 -1
  35. package/index.d.ts +52 -29
  36. package/package.json +1 -1
  37. package/rxjs-interop/index.d.ts +15 -12
  38. package/schematics/migrations/guard-and-resolve-interfaces/bundle.js +13 -13
  39. package/schematics/migrations/remove-module-id/bundle.js +14 -14
  40. package/schematics/ng-generate/standalone-migration/bundle.js +1446 -604
  41. package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
  42. package/testing/index.d.ts +1 -1
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v16.2.0-next.0
2
+ * @license Angular v16.2.0-next.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -545,7 +545,8 @@ export declare class ApplicationRef {
545
545
  export declare function asNativeElements(debugEls: DebugElement[]): any;
546
546
 
547
547
  /**
548
- * Asserts that the current stack frame is within an injection context and has access to `inject`.
548
+ * Asserts that the current stack frame is within an [injection
549
+ * context](guide/dependency-injection-context) and has access to `inject`.
549
550
  *
550
551
  * @param debugFn a reference to the function making the assertion (used for the error message).
551
552
  *
@@ -1368,6 +1369,7 @@ declare abstract class ComponentFactory<C> {
1368
1369
  abstract get inputs(): {
1369
1370
  propName: string;
1370
1371
  templateName: string;
1372
+ transform?: (value: any) => any;
1371
1373
  }[];
1372
1374
  /**
1373
1375
  * The outputs of the component.
@@ -1438,6 +1440,7 @@ export declare interface ComponentMirror<C> {
1438
1440
  get inputs(): ReadonlyArray<{
1439
1441
  readonly propName: string;
1440
1442
  readonly templateName: string;
1443
+ readonly transform?: (value: any) => any;
1441
1444
  }>;
1442
1445
  /**
1443
1446
  * The outputs of the component.
@@ -1853,7 +1856,8 @@ export declare interface CreateEffectOptions {
1853
1856
  /**
1854
1857
  * The `Injector` in which to create the effect.
1855
1858
  *
1856
- * If this is not provided, the current injection context will be used instead (via `inject`).
1859
+ * If this is not provided, the current [injection context](guide/dependency-injection-context)
1860
+ * will be used instead (via `inject`).
1857
1861
  */
1858
1862
  injector?: Injector;
1859
1863
  /**
@@ -3183,9 +3187,9 @@ export declare abstract class EnvironmentInjector implements Injector {
3183
3187
  /**
3184
3188
  * Runs the given function in the context of this `EnvironmentInjector`.
3185
3189
  *
3186
- * Within the function's stack frame, `inject` can be used to inject dependencies from this
3187
- * injector. Note that `inject` is only usable synchronously, and cannot be used in any
3188
- * asynchronous callbacks or after any `await` points.
3190
+ * Within the function's stack frame, [`inject`](api/core/inject) can be used to inject
3191
+ * dependencies from this injector. Note that `inject` is only usable synchronously, and cannot be
3192
+ * used in any asynchronous callbacks or after any `await` points.
3189
3193
  *
3190
3194
  * @param fn the closure to be run in the context of this injector
3191
3195
  * @returns the return value of the function, if any
@@ -4404,7 +4408,7 @@ export declare interface InjectDecorator {
4404
4408
  * Injection flags for DI.
4405
4409
  *
4406
4410
  * @publicApi
4407
- * @deprecated use an options object for `inject` instead.
4411
+ * @deprecated use an options object for [`inject`](api/core/inject) instead.
4408
4412
  */
4409
4413
  export declare enum InjectFlags {
4410
4414
  /** Check self and check parent injector if needed */
@@ -4442,7 +4446,7 @@ export declare enum InjectFlags {
4442
4446
  * (possibly by creating) a default value of the parameterized type `T`. This sets up the
4443
4447
  * `InjectionToken` using this factory as a provider as if it was defined explicitly in the
4444
4448
  * application's root injector. If the factory function, which takes zero arguments, needs to inject
4445
- * dependencies, it can do so using the `inject` function.
4449
+ * dependencies, it can do so using the [`inject`](api/core/inject) function.
4446
4450
  * As you can see in the Tree-shakable InjectionToken example below.
4447
4451
  *
4448
4452
  * Additionally, if a `factory` is specified you can also specify the `providedIn` option, which
@@ -4483,7 +4487,7 @@ export declare class InjectionToken<T> {
4483
4487
  }
4484
4488
 
4485
4489
  /**
4486
- * Type of the options argument to `inject`.
4490
+ * Type of the options argument to [`inject`](api/core/inject).
4487
4491
  *
4488
4492
  * @publicApi
4489
4493
  */
@@ -5551,7 +5555,7 @@ declare const enum LViewFlags {
5551
5555
 
5552
5556
  /**
5553
5557
  * Wrap an array of `Provider`s into `EnvironmentProviders`, preventing them from being accidentally
5554
- * referenced in `@Component in a component injector.
5558
+ * referenced in `@Component` in a component injector.
5555
5559
  */
5556
5560
  export declare function makeEnvironmentProviders(providers: (Provider | EnvironmentProviders)[]): EnvironmentProviders;
5557
5561
 
@@ -5899,6 +5903,21 @@ export declare abstract class NgModuleRef<T> {
5899
5903
  abstract onDestroy(callback: () => void): void;
5900
5904
  }
5901
5905
 
5906
+ /**
5907
+ * NgModule scope info as provided by NgModule decorator.
5908
+ */
5909
+ declare interface NgModuleScopeInfoFromDecorator {
5910
+ /** List of components, directives, and pipes declared by this module. */
5911
+ declarations?: Type<any>[] | (() => Type<any>[]);
5912
+ /** List of modules or `ModuleWithProviders` imported by this module. */
5913
+ imports?: Type<any>[] | (() => Type<any>[]);
5914
+ /**
5915
+ * List of modules, `ModuleWithProviders`, components, directives, or pipes exported by this
5916
+ * module.
5917
+ */
5918
+ exports?: Type<any>[] | (() => Type<any>[]);
5919
+ }
5920
+
5902
5921
  /**
5903
5922
  * A token for third-party components that can register themselves with NgProbe.
5904
5923
  *
@@ -6016,8 +6035,17 @@ export declare class NgZone {
6016
6035
  shouldCoalesceEventChangeDetection?: boolean | undefined;
6017
6036
  shouldCoalesceRunChangeDetection?: boolean | undefined;
6018
6037
  });
6038
+ /**
6039
+ This method checks whether the method call happens within an Angular Zone instance.
6040
+ */
6019
6041
  static isInAngularZone(): boolean;
6042
+ /**
6043
+ Assures that the method is called within the Angular Zone, otherwise throws an error.
6044
+ */
6020
6045
  static assertInAngularZone(): void;
6046
+ /**
6047
+ Assures that the method is called outside of the Angular Zone, otherwise throws an error.
6048
+ */
6021
6049
  static assertNotInAngularZone(): void;
6022
6050
  /**
6023
6051
  * Executes the `fn` function synchronously within the Angular zone and returns value returned by
@@ -7561,13 +7589,15 @@ declare interface RText extends RNode {
7561
7589
  }
7562
7590
 
7563
7591
  /**
7564
- * Runs the given function in the context of the given `Injector`.
7592
+ * Runs the given function in the [context](guide/dependency-injection-context) of the given
7593
+ * `Injector`.
7565
7594
  *
7566
- * Within the function's stack frame, `inject` can be used to inject dependencies from the given
7567
- * `Injector`. Note that `inject` is only usable synchronously, and cannot be used in any
7568
- * asynchronous callbacks or after any `await` points.
7595
+ * Within the function's stack frame, [`inject`](api/core/inject) can be used to inject dependencies
7596
+ * from the given `Injector`. Note that `inject` is only usable synchronously, and cannot be used in
7597
+ * any asynchronous callbacks or after any `await` points.
7569
7598
  *
7570
- * @param injector the injector which will satisfy calls to `inject` while `fn` is executing
7599
+ * @param injector the injector which will satisfy calls to [`inject`](api/core/inject) while `fn`
7600
+ * is executing
7571
7601
  * @param fn the closure to be run in the context of `injector`
7572
7602
  * @returns the return value of the function, if any
7573
7603
  * @publicApi
@@ -7619,6 +7649,7 @@ declare const enum RuntimeErrorCode {
7619
7649
  HOST_DIRECTIVE_COMPONENT = 310,
7620
7650
  HOST_DIRECTIVE_UNDEFINED_BINDING = 311,
7621
7651
  HOST_DIRECTIVE_CONFLICTING_ALIAS = 312,
7652
+ MULTIPLE_MATCHING_PIPES = 313,
7622
7653
  MULTIPLE_PLATFORMS = 400,
7623
7654
  PLATFORM_NOT_FOUND = 401,
7624
7655
  MISSING_REQUIRED_INJECTABLE_IN_BOOTSTRAP = 402,
@@ -8178,8 +8209,8 @@ export declare abstract class TemplateRef<C> {
8178
8209
  /**
8179
8210
  * The anchor element in the parent view for this embedded view.
8180
8211
  *
8181
- * The data-binding and injection contexts of embedded views created from this `TemplateRef`
8182
- * inherit from the contexts of this location.
8212
+ * The data-binding and [injection contexts](guide/dependency-injection-context) of embedded views
8213
+ * created from this `TemplateRef` inherit from the contexts of this location.
8183
8214
  *
8184
8215
  * Typically new embedded views are attached to the view container of this location, but in
8185
8216
  * advanced use-cases, the view can be attached to a different container while keeping the
@@ -11396,6 +11427,7 @@ export declare class ɵRender3ComponentFactory<T> extends ComponentFactory<T> {
11396
11427
  get inputs(): {
11397
11428
  propName: string;
11398
11429
  templateName: string;
11430
+ transform?: (value: any) => any;
11399
11431
  }[];
11400
11432
  get outputs(): {
11401
11433
  propName: string;
@@ -12636,7 +12668,8 @@ export declare function ɵɵdefineDirective<T>(directiveDefinition: DirectiveDef
12636
12668
  * with an `@NgModule` or other `InjectorType`, or by specifying that this injectable should be
12637
12669
  * provided in the `'root'` injector, which will be the application-level injector in most apps.
12638
12670
  * * `factory` gives the zero argument function which will create an instance of the injectable.
12639
- * The factory can call `inject` to access the `Injector` and request injection of dependencies.
12671
+ * The factory can call [`inject`](api/core/inject) to access the `Injector` and request injection
12672
+ * of dependencies.
12640
12673
  *
12641
12674
  * @codeGenApi
12642
12675
  * @publicApi This instruction has been emitted by ViewEngine for some time and is deployed to npm.
@@ -14279,17 +14312,7 @@ export declare function ɵɵsetComponentScope(type: ɵComponentType<any>, direct
14279
14312
  *
14280
14313
  * @codeGenApi
14281
14314
  */
14282
- export declare function ɵɵsetNgModuleScope(type: any, scope: {
14283
- /** List of components, directives, and pipes declared by this module. */
14284
- declarations?: Type<any>[] | (() => Type<any>[]);
14285
- /** List of modules or `ModuleWithProviders` imported by this module. */
14286
- imports?: Type<any>[] | (() => Type<any>[]);
14287
- /**
14288
- * List of modules, `ModuleWithProviders`, components, directives, or pipes exported by this
14289
- * module.
14290
- */
14291
- exports?: Type<any>[] | (() => Type<any>[]);
14292
- }): unknown;
14315
+ export declare function ɵɵsetNgModuleScope(type: any, scope: NgModuleScopeInfoFromDecorator): unknown;
14293
14316
 
14294
14317
  /**
14295
14318
  * A feature that acts as a setup code for the {@link StandaloneService}.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "16.2.0-next.0",
3
+ "version": "16.2.0-next.2",
4
4
  "description": "Angular - the core framework",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v16.2.0-next.0
2
+ * @license Angular v16.2.0-next.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -17,8 +17,8 @@ import { Subscribable } from 'rxjs';
17
17
  * etc) is destroyed.
18
18
  *
19
19
  * @param destroyRef optionally, the `DestroyRef` representing the current context. This can be
20
- * passed explicitly to use `takeUntilDestroyed` outside of an injection context. Otherwise, the
21
- * current `DestroyRef` is injected.
20
+ * passed explicitly to use `takeUntilDestroyed` outside of an [injection
21
+ * context](guide/dependency-injection-context). Otherwise, the current `DestroyRef` is injected.
22
22
  *
23
23
  * @developerPreview
24
24
  */
@@ -44,7 +44,8 @@ export declare interface ToObservableOptions {
44
44
  /**
45
45
  * The `Injector` to use when creating the underlying `effect` which watches the signal.
46
46
  *
47
- * If this isn't specified, the current injection context will be used.
47
+ * If this isn't specified, the current [injection context](guide/dependency-injection-context)
48
+ * will be used.
48
49
  */
49
50
  injector?: Injector;
50
51
  }
@@ -60,10 +61,11 @@ export declare interface ToObservableOptions {
60
61
  * Before the `Observable` emits its first value, the `Signal` will return `undefined`. To avoid
61
62
  * this, either an `initialValue` can be passed or the `requireSync` option enabled.
62
63
  *
63
- * By default, the subscription will be automatically cleaned up when the current injection context
64
- * is destroyed. For example, when `toObservable` is called during the construction of a component,
65
- * the subscription will be cleaned up when the component is destroyed. If an injection context is
66
- * not available, an explicit `Injector` can be passed instead.
64
+ * By default, the subscription will be automatically cleaned up when the current [injection
65
+ * context](guide/dependency-injection-context) is destroyed. For example, when `toObservable` is
66
+ * called during the construction of a component, the subscription will be cleaned up when the
67
+ * component is destroyed. If an injection context is not available, an explicit `Injector` can be
68
+ * passed instead.
67
69
  *
68
70
  * If the subscription should persist until the `Observable` itself completes, the `manualCleanup`
69
71
  * option can be specified instead, which disables the automatic subscription teardown. No injection
@@ -110,10 +112,11 @@ export declare function toSignal<T>(source: Observable<T> | Subscribable<T>, opt
110
112
  * `initialValue`. If the `Observable` is guaranteed to emit synchronously, then the `requireSync`
111
113
  * option can be passed instead.
112
114
  *
113
- * By default, the subscription will be automatically cleaned up when the current injection context
114
- * is destroyed. For example, when `toObservable` is called during the construction of a component,
115
- * the subscription will be cleaned up when the component is destroyed. If an injection context is
116
- * not available, an explicit `Injector` can be passed instead.
115
+ * By default, the subscription will be automatically cleaned up when the current [injection
116
+ * context](guide/dependency-injection-context) is destroyed. For example, when `toObservable` is
117
+ * called during the construction of a component, the subscription will be cleaned up when the
118
+ * component is destroyed. If an injection context is not available, an explicit `Injector` can be
119
+ * passed instead.
117
120
  *
118
121
  * If the subscription should persist until the `Observable` itself completes, the `manualCleanup`
119
122
  * option can be specified instead, which disables the automatic subscription teardown. No injection
@@ -60,7 +60,7 @@ var __async = (__this, __arguments, generator) => {
60
60
  });
61
61
  };
62
62
 
63
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/guard-and-resolve-interfaces/index.mjs
63
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/migrations/guard-and-resolve-interfaces/index.mjs
64
64
  var guard_and_resolve_interfaces_exports = {};
65
65
  __export(guard_and_resolve_interfaces_exports, {
66
66
  default: () => guard_and_resolve_interfaces_default
@@ -69,7 +69,7 @@ module.exports = __toCommonJS(guard_and_resolve_interfaces_exports);
69
69
  var import_schematics = require("@angular-devkit/schematics");
70
70
  var import_path3 = require("path");
71
71
 
72
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
72
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
73
73
  var import_core = require("@angular-devkit/core");
74
74
  function getProjectTsConfigPaths(tree) {
75
75
  return __async(this, null, function* () {
@@ -149,11 +149,11 @@ function getWorkspace(tree) {
149
149
  });
150
150
  }
151
151
 
152
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
152
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
153
153
  var import_path = require("path");
154
154
  var import_typescript2 = __toESM(require("typescript"), 1);
155
155
 
156
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
156
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
157
157
  var path = __toESM(require("path"), 1);
158
158
  var import_typescript = __toESM(require("typescript"), 1);
159
159
  function parseTsconfigFile(tsconfigPath, basePath) {
@@ -170,7 +170,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
170
170
  return import_typescript.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
171
171
  }
172
172
 
173
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
173
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
174
174
  function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
175
175
  const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
176
176
  return import_typescript2.default.createProgram(rootNames, options, host);
@@ -203,13 +203,13 @@ function canMigrateFile(basePath, sourceFile, program) {
203
203
  return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
204
204
  }
205
205
 
206
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/guard-and-resolve-interfaces/util.mjs
206
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/migrations/guard-and-resolve-interfaces/util.mjs
207
207
  var import_typescript7 = __toESM(require("typescript"), 1);
208
208
 
209
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
209
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
210
210
  var import_typescript4 = __toESM(require("typescript"), 1);
211
211
 
212
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
212
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
213
213
  var import_path2 = require("path");
214
214
  var import_typescript3 = __toESM(require("typescript"), 1);
215
215
  var ImportManager = class {
@@ -393,7 +393,7 @@ ${text}`;
393
393
  }
394
394
  };
395
395
 
396
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
396
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
397
397
  var ChangeTracker = class {
398
398
  constructor(_printer, _importRemapper) {
399
399
  __publicField(this, "_printer");
@@ -449,7 +449,7 @@ function normalizePath(path2) {
449
449
  return path2.replace(/\\/g, "/");
450
450
  }
451
451
 
452
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
452
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
453
453
  var import_typescript5 = __toESM(require("typescript"), 1);
454
454
  function getImportOfIdentifier(typeChecker, node) {
455
455
  const symbol = typeChecker.getSymbolAtLocation(node);
@@ -521,7 +521,7 @@ function findImportSpecifier(nodes, specifierName) {
521
521
  });
522
522
  }
523
523
 
524
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
524
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
525
525
  var import_typescript6 = __toESM(require("typescript"), 1);
526
526
  function closestNode(node, predicate) {
527
527
  let current = node.parent;
@@ -534,7 +534,7 @@ function closestNode(node, predicate) {
534
534
  return null;
535
535
  }
536
536
 
537
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/guard-and-resolve-interfaces/util.mjs
537
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/migrations/guard-and-resolve-interfaces/util.mjs
538
538
  var deprecatedInterfaces = /* @__PURE__ */ new Set(["CanLoad", "CanMatch", "CanActivate", "CanDeactivate", "CanActivateChild", "Resolve"]);
539
539
  var routerModule = "@angular/router";
540
540
  function migrateFile(sourceFile, typeChecker, rewriteFn) {
@@ -647,7 +647,7 @@ function visitTypeReference(typeReference, typeChecker, changeTracker, sourceFil
647
647
  import_typescript7.default.forEachChild(typeReference, visitTypeReferenceChildren);
648
648
  }
649
649
 
650
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/guard-and-resolve-interfaces/index.mjs
650
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/migrations/guard-and-resolve-interfaces/index.mjs
651
651
  function guard_and_resolve_interfaces_default() {
652
652
  return (tree) => __async(this, null, function* () {
653
653
  const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);
@@ -56,7 +56,7 @@ var __async = (__this, __arguments, generator) => {
56
56
  });
57
57
  };
58
58
 
59
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/remove-module-id/index.mjs
59
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/migrations/remove-module-id/index.mjs
60
60
  var remove_module_id_exports = {};
61
61
  __export(remove_module_id_exports, {
62
62
  default: () => remove_module_id_default
@@ -66,13 +66,13 @@ var import_schematics = require("@angular-devkit/schematics");
66
66
  var import_path2 = require("path");
67
67
  var import_typescript8 = __toESM(require("typescript"), 1);
68
68
 
69
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/extract_metadata.mjs
69
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/extract_metadata.mjs
70
70
  var import_typescript4 = __toESM(require("typescript"), 1);
71
71
 
72
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
72
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
73
73
  var import_typescript2 = __toESM(require("typescript"), 1);
74
74
 
75
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
75
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
76
76
  var import_typescript = __toESM(require("typescript"), 1);
77
77
  function getImportOfIdentifier(typeChecker, node) {
78
78
  const symbol = typeChecker.getSymbolAtLocation(node);
@@ -94,7 +94,7 @@ function getImportOfIdentifier(typeChecker, node) {
94
94
  };
95
95
  }
96
96
 
97
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
97
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
98
98
  function getCallDecoratorImport(typeChecker, decorator) {
99
99
  if (!import_typescript2.default.isCallExpression(decorator.expression) || !import_typescript2.default.isIdentifier(decorator.expression.expression)) {
100
100
  return null;
@@ -103,7 +103,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
103
103
  return getImportOfIdentifier(typeChecker, identifier);
104
104
  }
105
105
 
106
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
106
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
107
107
  function getAngularDecorators(typeChecker, decorators) {
108
108
  return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
109
109
  node,
@@ -113,7 +113,7 @@ function getAngularDecorators(typeChecker, decorators) {
113
113
  }));
114
114
  }
115
115
 
116
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/functions.mjs
116
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/functions.mjs
117
117
  var import_typescript3 = __toESM(require("typescript"), 1);
118
118
  function unwrapExpression(node) {
119
119
  if (import_typescript3.default.isParenthesizedExpression(node) || import_typescript3.default.isAsExpression(node)) {
@@ -123,7 +123,7 @@ function unwrapExpression(node) {
123
123
  }
124
124
  }
125
125
 
126
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/extract_metadata.mjs
126
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/extract_metadata.mjs
127
127
  function extractAngularClassMetadata(typeChecker, node) {
128
128
  const decorators = import_typescript4.default.getDecorators(node);
129
129
  if (!decorators || !decorators.length) {
@@ -150,7 +150,7 @@ function extractAngularClassMetadata(typeChecker, node) {
150
150
  };
151
151
  }
152
152
 
153
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
153
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
154
154
  var import_core = require("@angular-devkit/core");
155
155
  function getProjectTsConfigPaths(tree) {
156
156
  return __async(this, null, function* () {
@@ -230,11 +230,11 @@ function getWorkspace(tree) {
230
230
  });
231
231
  }
232
232
 
233
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
233
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
234
234
  var import_path = require("path");
235
235
  var import_typescript6 = __toESM(require("typescript"), 1);
236
236
 
237
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
237
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
238
238
  var path = __toESM(require("path"), 1);
239
239
  var import_typescript5 = __toESM(require("typescript"), 1);
240
240
  function parseTsconfigFile(tsconfigPath, basePath) {
@@ -251,7 +251,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
251
251
  return import_typescript5.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
252
252
  }
253
253
 
254
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
254
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
255
255
  function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
256
256
  const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
257
257
  return import_typescript6.default.createProgram(rootNames, options, host);
@@ -284,7 +284,7 @@ function canMigrateFile(basePath, sourceFile, program) {
284
284
  return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
285
285
  }
286
286
 
287
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/property_name.mjs
287
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/property_name.mjs
288
288
  var import_typescript7 = __toESM(require("typescript"), 1);
289
289
  function getPropertyNameText(node) {
290
290
  if (import_typescript7.default.isIdentifier(node) || import_typescript7.default.isStringLiteralLike(node)) {
@@ -293,7 +293,7 @@ function getPropertyNameText(node) {
293
293
  return null;
294
294
  }
295
295
 
296
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/remove-module-id/index.mjs
296
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/migrations/remove-module-id/index.mjs
297
297
  function remove_module_id_default() {
298
298
  return (tree) => __async(this, null, function* () {
299
299
  const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);