@angular/core 16.0.1 → 16.0.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.
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v16.0.1
2
+ * @license Angular v16.0.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -710,7 +710,7 @@ declare type ChangeDetectionStrategy_2 = number;
710
710
  *
711
711
  * The following example sets the `OnPush` change-detection strategy for a component
712
712
  * (`CheckOnce`, rather than the default `CheckAlways`), then forces a second check
713
- * after an interval. See [live demo](https://plnkr.co/edit/GC512b?p=preview).
713
+ * after an interval.
714
714
  *
715
715
  * <code-example path="core/ts/change_detect/change-detection.ts"
716
716
  * region="mark-for-check"></code-example>
@@ -1801,12 +1801,12 @@ declare const CONTEXT = 8;
1801
1801
  * @param component Component class reference.
1802
1802
  * @param options Set of options to use:
1803
1803
  * * `environmentInjector`: An `EnvironmentInjector` instance to be used for the component, see
1804
- * additional info about it at https://angular.io/guide/standalone-components#environment-injectors.
1804
+ * additional info about it [here](/guide/standalone-components#environment-injectors).
1805
1805
  * * `hostElement` (optional): A DOM node that should act as a host node for the component. If not
1806
1806
  * provided, Angular creates one based on the tag name used in the component selector (and falls
1807
1807
  * back to using `div` if selector doesn't have tag name info).
1808
- * * `elementInjector` (optional): An `ElementInjector` instance, see additional info about it at
1809
- * https://angular.io/guide/hierarchical-dependency-injection#elementinjector.
1808
+ * * `elementInjector` (optional): An `ElementInjector` instance, see additional info about it
1809
+ * [here](/guide/hierarchical-dependency-injection#elementinjector).
1810
1810
  * * `projectableNodes` (optional): A list of DOM nodes that should be projected through
1811
1811
  * [`<ng-content>`](api/core/ng-content) of the new component instance.
1812
1812
  * @returns ComponentRef instance that represents a given Component.
@@ -4685,14 +4685,16 @@ declare interface InternalViewRef extends ViewRef {
4685
4685
  export declare function isDevMode(): boolean;
4686
4686
 
4687
4687
  /**
4688
- * Checks if the given `value` function is a reactive `Signal`.
4688
+ * Checks if the given `value` is a reactive `Signal`.
4689
+ *
4690
+ * @developerPreview
4689
4691
  */
4690
- export declare function isSignal(value: Function): value is Signal<unknown>;
4692
+ export declare function isSignal(value: unknown): value is Signal<unknown>;
4691
4693
 
4692
4694
  /**
4693
4695
  * Checks whether a given Component, Directive or Pipe is marked as standalone.
4694
4696
  * This will return false if passed anything other than a Component, Directive, or Pipe class
4695
- * See this guide for additional information: https://angular.io/guide/standalone-components
4697
+ * See [this guide](/guide/standalone-components) for additional information:
4696
4698
  *
4697
4699
  * @param type A reference to a Component, Directive or Pipe.
4698
4700
  * @publicApi
@@ -7547,6 +7549,7 @@ declare const enum RuntimeErrorCode {
7547
7549
  UNSUPPORTED_PROJECTION_DOM_NODES = -503,
7548
7550
  INVALID_SKIP_HYDRATION_HOST = -504,
7549
7551
  MISSING_HYDRATION_ANNOTATIONS = -505,
7552
+ HYDRATION_STABLE_TIMEDOUT = -506,
7550
7553
  SIGNAL_WRITE_FROM_ILLEGAL_CONTEXT = 600,
7551
7554
  REQUIRE_SYNC_WITHOUT_SYNC_EMIT = 601,
7552
7555
  INVALID_I18N_STRUCTURE = 700,
@@ -7868,6 +7871,7 @@ export declare interface SkipSelfDecorator {
7868
7871
  new (): SkipSelf;
7869
7872
  }
7870
7873
 
7874
+
7871
7875
  /**
7872
7876
  * A type-safe key to use with `TransferState`.
7873
7877
  *
@@ -10688,9 +10692,6 @@ export declare interface ɵDirectiveType<T> extends Type<T> {
10688
10692
  */
10689
10693
  export declare const ɵENABLED_SSR_FEATURES: InjectionToken<Set<string>>;
10690
10694
 
10691
-
10692
- export declare function ɵescapeTransferStateContent(text: string): string;
10693
-
10694
10695
  /**
10695
10696
  * Index of each type of locale data from the extra locale data array
10696
10697
  */
@@ -10809,7 +10810,7 @@ export declare function ɵgetLocaleCurrencyCode(locale: string): string | null;
10809
10810
  * @param locale A locale code for the locale format rules to use.
10810
10811
  * @returns The plural function for the locale.
10811
10812
  * @see `NgPlural`
10812
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
10813
+ * @see [Internationalization (i18n) Guide](/guide/i18n-overview)
10813
10814
  */
10814
10815
  export declare function ɵgetLocalePluralCase(locale: string): (value: number) => number;
10815
10816
 
@@ -11558,8 +11559,6 @@ export declare const ɵTESTABILITY_GETTER: InjectionToken<GetTestability>;
11558
11559
  */
11559
11560
  export declare function ɵtransitiveScopesFor<T>(type: Type<T>): ɵNgModuleTransitiveScopes;
11560
11561
 
11561
- export declare function ɵunescapeTransferStateContent(text: string): string;
11562
-
11563
11562
  /**
11564
11563
  * Helper function to remove all the locale data from `LOCALE_DATA`.
11565
11564
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "16.0.1",
3
+ "version": "16.0.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.0.1
2
+ * @license Angular v16.0.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -18543,7 +18543,7 @@ function publishFacade(global2) {
18543
18543
  }
18544
18544
 
18545
18545
  // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
18546
- var VERSION2 = new Version("16.0.1");
18546
+ var VERSION2 = new Version("16.0.2");
18547
18547
 
18548
18548
  // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
18549
18549
  var _I18N_ATTR = "i18n";
@@ -19862,7 +19862,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
19862
19862
  function compileDeclareClassMetadata(metadata) {
19863
19863
  const definitionMap = new DefinitionMap();
19864
19864
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
19865
- definitionMap.set("version", literal("16.0.1"));
19865
+ definitionMap.set("version", literal("16.0.2"));
19866
19866
  definitionMap.set("ngImport", importExpr(Identifiers.core));
19867
19867
  definitionMap.set("type", metadata.type);
19868
19868
  definitionMap.set("decorators", metadata.decorators);
@@ -19931,7 +19931,7 @@ function createDirectiveDefinitionMap(meta) {
19931
19931
  var _a2;
19932
19932
  const definitionMap = new DefinitionMap();
19933
19933
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
19934
- definitionMap.set("version", literal("16.0.1"));
19934
+ definitionMap.set("version", literal("16.0.2"));
19935
19935
  definitionMap.set("type", meta.type.value);
19936
19936
  if (meta.isStandalone) {
19937
19937
  definitionMap.set("isStandalone", literal(meta.isStandalone));
@@ -20113,7 +20113,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
20113
20113
  function compileDeclareFactoryFunction(meta) {
20114
20114
  const definitionMap = new DefinitionMap();
20115
20115
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
20116
- definitionMap.set("version", literal("16.0.1"));
20116
+ definitionMap.set("version", literal("16.0.2"));
20117
20117
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20118
20118
  definitionMap.set("type", meta.type.value);
20119
20119
  definitionMap.set("deps", compileDependencies(meta.deps));
@@ -20136,7 +20136,7 @@ function compileDeclareInjectableFromMetadata(meta) {
20136
20136
  function createInjectableDefinitionMap(meta) {
20137
20137
  const definitionMap = new DefinitionMap();
20138
20138
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
20139
- definitionMap.set("version", literal("16.0.1"));
20139
+ definitionMap.set("version", literal("16.0.2"));
20140
20140
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20141
20141
  definitionMap.set("type", meta.type.value);
20142
20142
  if (meta.providedIn !== void 0) {
@@ -20174,7 +20174,7 @@ function compileDeclareInjectorFromMetadata(meta) {
20174
20174
  function createInjectorDefinitionMap(meta) {
20175
20175
  const definitionMap = new DefinitionMap();
20176
20176
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
20177
- definitionMap.set("version", literal("16.0.1"));
20177
+ definitionMap.set("version", literal("16.0.2"));
20178
20178
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20179
20179
  definitionMap.set("type", meta.type.value);
20180
20180
  definitionMap.set("providers", meta.providers);
@@ -20195,7 +20195,7 @@ function compileDeclareNgModuleFromMetadata(meta) {
20195
20195
  function createNgModuleDefinitionMap(meta) {
20196
20196
  const definitionMap = new DefinitionMap();
20197
20197
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
20198
- definitionMap.set("version", literal("16.0.1"));
20198
+ definitionMap.set("version", literal("16.0.2"));
20199
20199
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20200
20200
  definitionMap.set("type", meta.type.value);
20201
20201
  if (meta.bootstrap.length > 0) {
@@ -20230,7 +20230,7 @@ function compileDeclarePipeFromMetadata(meta) {
20230
20230
  function createPipeDefinitionMap(meta) {
20231
20231
  const definitionMap = new DefinitionMap();
20232
20232
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
20233
- definitionMap.set("version", literal("16.0.1"));
20233
+ definitionMap.set("version", literal("16.0.2"));
20234
20234
  definitionMap.set("ngImport", importExpr(Identifiers.core));
20235
20235
  definitionMap.set("type", meta.type.value);
20236
20236
  if (meta.isStandalone) {
@@ -20247,7 +20247,7 @@ function createPipeDefinitionMap(meta) {
20247
20247
  publishFacade(_global);
20248
20248
 
20249
20249
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
20250
- var VERSION3 = new Version("16.0.1");
20250
+ var VERSION3 = new Version("16.0.2");
20251
20251
 
20252
20252
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
20253
20253
  var EmitFlags;