@angular/core 16.2.4 → 16.2.5

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.2.4
2
+ * @license Angular v16.2.5
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -164,16 +164,6 @@ export declare function afterNextRender(callback: VoidFunction, options?: AfterR
164
164
  */
165
165
  export declare function afterRender(callback: VoidFunction, options?: AfterRenderOptions): AfterRenderRef;
166
166
 
167
- /**
168
- * A wrapper around a function to be used as an after render callback.
169
- * @private
170
- */
171
- declare class AfterRenderCallback {
172
- private callback;
173
- constructor(callback: VoidFunction);
174
- invoke(): void;
175
- }
176
-
177
167
  /**
178
168
  * Options passed to `afterRender` and `afterNextRender`.
179
169
  *
@@ -10405,25 +10395,21 @@ export declare function ɵ_sanitizeHtml(defaultDoc: any, unsafeHtmlInput: string
10405
10395
  export declare function ɵ_sanitizeUrl(url: string): string;
10406
10396
 
10407
10397
  /**
10408
- * Implements `afterRender` and `afterNextRender` callback manager logic.
10398
+ * Implements core timing for `afterRender` and `afterNextRender` events.
10399
+ * Delegates to an optional `AfterRenderCallbackHandler` for implementation.
10409
10400
  */
10410
10401
  export declare class ɵAfterRenderEventManager {
10411
- private callbacks;
10412
- private deferredCallbacks;
10413
10402
  private renderDepth;
10414
- private runningCallbacks;
10415
10403
  /**
10416
10404
  * Mark the beginning of a render operation (i.e. CD cycle).
10417
- * Throws if called from an `afterRender` callback.
10405
+ * Throws if called while executing callbacks.
10418
10406
  */
10419
10407
  begin(): void;
10420
10408
  /**
10421
- * Mark the end of a render operation. Registered callbacks
10422
- * are invoked if there are no more pending operations.
10409
+ * Mark the end of a render operation. Callbacks will be
10410
+ * executed if there are no more pending operations.
10423
10411
  */
10424
10412
  end(): void;
10425
- register(callback: AfterRenderCallback): void;
10426
- unregister(callback: AfterRenderCallback): void;
10427
10413
  ngOnDestroy(): void;
10428
10414
  /** @nocollapse */
10429
10415
  static ɵprov: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "16.2.4",
3
+ "version": "16.2.5",
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.4
2
+ * @license Angular v16.2.5
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -21920,7 +21920,7 @@ function publishFacade(global) {
21920
21920
  }
21921
21921
 
21922
21922
  // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
21923
- var VERSION2 = new Version("16.2.4");
21923
+ var VERSION2 = new Version("16.2.5");
21924
21924
 
21925
21925
  // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
21926
21926
  var _I18N_ATTR = "i18n";
@@ -23362,7 +23362,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
23362
23362
  function compileDeclareClassMetadata(metadata) {
23363
23363
  const definitionMap = new DefinitionMap();
23364
23364
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
23365
- definitionMap.set("version", literal("16.2.4"));
23365
+ definitionMap.set("version", literal("16.2.5"));
23366
23366
  definitionMap.set("ngImport", importExpr(Identifiers.core));
23367
23367
  definitionMap.set("type", metadata.type);
23368
23368
  definitionMap.set("decorators", metadata.decorators);
@@ -23433,7 +23433,7 @@ function createDirectiveDefinitionMap(meta) {
23433
23433
  const hasTransformFunctions = Object.values(meta.inputs).some((input) => input.transformFunction !== null);
23434
23434
  const minVersion = hasTransformFunctions ? MINIMUM_PARTIAL_LINKER_VERSION2 : "14.0.0";
23435
23435
  definitionMap.set("minVersion", literal(minVersion));
23436
- definitionMap.set("version", literal("16.2.4"));
23436
+ definitionMap.set("version", literal("16.2.5"));
23437
23437
  definitionMap.set("type", meta.type.value);
23438
23438
  if (meta.isStandalone) {
23439
23439
  definitionMap.set("isStandalone", literal(meta.isStandalone));
@@ -23618,7 +23618,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
23618
23618
  function compileDeclareFactoryFunction(meta) {
23619
23619
  const definitionMap = new DefinitionMap();
23620
23620
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
23621
- definitionMap.set("version", literal("16.2.4"));
23621
+ definitionMap.set("version", literal("16.2.5"));
23622
23622
  definitionMap.set("ngImport", importExpr(Identifiers.core));
23623
23623
  definitionMap.set("type", meta.type.value);
23624
23624
  definitionMap.set("deps", compileDependencies(meta.deps));
@@ -23641,7 +23641,7 @@ function compileDeclareInjectableFromMetadata(meta) {
23641
23641
  function createInjectableDefinitionMap(meta) {
23642
23642
  const definitionMap = new DefinitionMap();
23643
23643
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
23644
- definitionMap.set("version", literal("16.2.4"));
23644
+ definitionMap.set("version", literal("16.2.5"));
23645
23645
  definitionMap.set("ngImport", importExpr(Identifiers.core));
23646
23646
  definitionMap.set("type", meta.type.value);
23647
23647
  if (meta.providedIn !== void 0) {
@@ -23679,7 +23679,7 @@ function compileDeclareInjectorFromMetadata(meta) {
23679
23679
  function createInjectorDefinitionMap(meta) {
23680
23680
  const definitionMap = new DefinitionMap();
23681
23681
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
23682
- definitionMap.set("version", literal("16.2.4"));
23682
+ definitionMap.set("version", literal("16.2.5"));
23683
23683
  definitionMap.set("ngImport", importExpr(Identifiers.core));
23684
23684
  definitionMap.set("type", meta.type.value);
23685
23685
  definitionMap.set("providers", meta.providers);
@@ -23703,7 +23703,7 @@ function createNgModuleDefinitionMap(meta) {
23703
23703
  throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
23704
23704
  }
23705
23705
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
23706
- definitionMap.set("version", literal("16.2.4"));
23706
+ definitionMap.set("version", literal("16.2.5"));
23707
23707
  definitionMap.set("ngImport", importExpr(Identifiers.core));
23708
23708
  definitionMap.set("type", meta.type.value);
23709
23709
  if (meta.bootstrap.length > 0) {
@@ -23738,7 +23738,7 @@ function compileDeclarePipeFromMetadata(meta) {
23738
23738
  function createPipeDefinitionMap(meta) {
23739
23739
  const definitionMap = new DefinitionMap();
23740
23740
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
23741
- definitionMap.set("version", literal("16.2.4"));
23741
+ definitionMap.set("version", literal("16.2.5"));
23742
23742
  definitionMap.set("ngImport", importExpr(Identifiers.core));
23743
23743
  definitionMap.set("type", meta.type.value);
23744
23744
  if (meta.isStandalone) {
@@ -23755,7 +23755,7 @@ function createPipeDefinitionMap(meta) {
23755
23755
  publishFacade(_global);
23756
23756
 
23757
23757
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
23758
- var VERSION3 = new Version("16.2.4");
23758
+ var VERSION3 = new Version("16.2.5");
23759
23759
 
23760
23760
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
23761
23761
  var EmitFlags;