@angular/core 16.1.7 → 16.1.8

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v16.1.7
2
+ * @license Angular v16.1.8
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v16.1.7
2
+ * @license Angular v16.1.8
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -9448,12 +9448,12 @@ const CIRCULAR = {};
9448
9448
  /**
9449
9449
  * A lazily initialized NullInjector.
9450
9450
  */
9451
- let NULL_INJECTOR$1 = undefined;
9451
+ let NULL_INJECTOR = undefined;
9452
9452
  function getNullInjector() {
9453
- if (NULL_INJECTOR$1 === undefined) {
9454
- NULL_INJECTOR$1 = new NullInjector();
9453
+ if (NULL_INJECTOR === undefined) {
9454
+ NULL_INJECTOR = new NullInjector();
9455
9455
  }
9456
- return NULL_INJECTOR$1;
9456
+ return NULL_INJECTOR;
9457
9457
  }
9458
9458
  /**
9459
9459
  * An `Injector` that's part of the environment injector hierarchy, which exists outside of the
@@ -10493,7 +10493,7 @@ class Version {
10493
10493
  /**
10494
10494
  * @publicApi
10495
10495
  */
10496
- const VERSION = new Version('16.1.7');
10496
+ const VERSION = new Version('16.1.8');
10497
10497
 
10498
10498
  // This default value is when checking the hierarchy for a token.
10499
10499
  //
@@ -11018,8 +11018,6 @@ const Injectable = makeDecorator('Injectable', undefined, undefined, undefined,
11018
11018
 
11019
11019
  /**
11020
11020
  * Create a new `Injector` which is configured using a `defType` of `InjectorType<any>`s.
11021
- *
11022
- * @publicApi
11023
11021
  */
11024
11022
  function createInjector(defType, parent = null, additionalProviders = null, name) {
11025
11023
  const injector = createInjectorWithoutInjectorInstances(defType, parent, additionalProviders, name);
@@ -13528,12 +13526,6 @@ class ComponentRef extends ComponentRef$1 {
13528
13526
  this.hostView.onDestroy(callback);
13529
13527
  }
13530
13528
  }
13531
- // TODO: A hack to not pull in the NullInjector from @angular/core.
13532
- const NULL_INJECTOR = {
13533
- get: (token, notFoundValue) => {
13534
- throwProviderNotFoundError(token, 'NullInjector');
13535
- }
13536
- };
13537
13529
  /** Creates a TNode that can be used to instantiate a root component. */
13538
13530
  function createRootComponentTNode(lView, rNode) {
13539
13531
  const tView = lView[TVIEW];