@angular/core 17.0.1 → 17.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.
Files changed (33) hide show
  1. package/esm2022/src/core_private_export.mjs +2 -2
  2. package/esm2022/src/core_render3_private_export.mjs +2 -2
  3. package/esm2022/src/defer/instructions.mjs +3 -3
  4. package/esm2022/src/hydration/api.mjs +3 -3
  5. package/esm2022/src/image_performance_warning.mjs +4 -4
  6. package/esm2022/src/linker/component_factory.mjs +1 -3
  7. package/esm2022/src/render3/after_render_hooks.mjs +4 -4
  8. package/esm2022/src/render3/features/standalone_feature.mjs +3 -6
  9. package/esm2022/src/render3/instructions/control_flow.mjs +4 -7
  10. package/esm2022/src/render3/list_reconciliation.mjs +5 -4
  11. package/esm2022/src/render3/metadata.mjs +20 -20
  12. package/esm2022/src/util/performance.mjs +9 -4
  13. package/esm2022/src/version.mjs +1 -1
  14. package/esm2022/testing/src/logger.mjs +3 -3
  15. package/esm2022/testing/src/test_bed.mjs +3 -3
  16. package/esm2022/testing/src/test_bed_compiler.mjs +7 -7
  17. package/fesm2022/core.mjs +44 -46
  18. package/fesm2022/core.mjs.map +1 -1
  19. package/fesm2022/primitives/signals.mjs +1 -1
  20. package/fesm2022/rxjs-interop.mjs +1 -1
  21. package/fesm2022/testing.mjs +8 -8
  22. package/fesm2022/testing.mjs.map +1 -1
  23. package/index.d.ts +9 -10
  24. package/package.json +1 -1
  25. package/primitives/signals/index.d.ts +1 -1
  26. package/rxjs-interop/index.d.ts +1 -1
  27. package/schematics/migrations/block-template-entities/bundle.js +1 -1
  28. package/schematics/migrations/block-template-entities/bundle.js.map +1 -1
  29. package/schematics/ng-generate/control-flow-migration/bundle.js +1 -1
  30. package/schematics/ng-generate/control-flow-migration/bundle.js.map +1 -1
  31. package/schematics/ng-generate/standalone-migration/bundle.js +86 -32
  32. package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
  33. package/testing/index.d.ts +1 -1
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.0.1
2
+ * @license Angular v17.0.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1620,8 +1620,6 @@ declare interface ComponentDependencies {
1620
1620
  * Instantiate a factory for a given type of component with `resolveComponentFactory()`.
1621
1621
  * Use the resulting `ComponentFactory.create()` method to create a component of that type.
1622
1622
  *
1623
- * @see [Dynamic Components](guide/dynamic-component-loader)
1624
- *
1625
1623
  * @publicApi
1626
1624
  *
1627
1625
  * @deprecated Angular no longer requires Component factories. Please use other APIs where
@@ -11369,10 +11367,11 @@ export declare function ɵformatRuntimeError<T extends number = ɵRuntimeErrorCo
11369
11367
  export declare function ɵgenerateStandaloneInDeclarationsError(type: Type<any>, location: string): string;
11370
11368
 
11371
11369
  /**
11372
- * If a given component has unresolved async metadata - this function returns a reference to
11373
- * a Promise that represents dependency loading. Otherwise - this function returns `null`.
11370
+ * If a given component has unresolved async metadata - returns a reference
11371
+ * to a function that applies component metadata after resolving defer-loadable
11372
+ * dependencies. Otherwise - this function returns `null`.
11374
11373
  */
11375
- export declare function ɵgetAsyncClassMetadata(type: Type<unknown>): Promise<Array<Type<unknown>>> | null;
11374
+ export declare function ɵgetAsyncClassMetadataFn(type: Type<unknown>): (() => Promise<Array<Type<unknown>>>) | null;
11376
11375
 
11377
11376
  /**
11378
11377
  * Retrieves all defer blocks in a given LView.
@@ -11878,13 +11877,13 @@ export declare function ɵpatchComponentDefWithScope<C>(componentDef: ɵComponen
11878
11877
 
11879
11878
 
11880
11879
  /**
11881
- * A guarded `performance.mark`.
11880
+ * A guarded `performance.mark` for feature marking.
11882
11881
  *
11883
11882
  * This method exists because while all supported browser and node.js version supported by Angular
11884
11883
  * support performance.mark API. This is not the case for other environments such as JSDOM and
11885
11884
  * Cloudflare workers.
11886
11885
  */
11887
- export declare function ɵperformanceMark(markName: string, markOptions?: PerformanceMarkOptions | undefined): PerformanceMark | undefined;
11886
+ export declare function ɵperformanceMarkFeature(feature: string): void;
11888
11887
 
11889
11888
  /**
11890
11889
  * Runtime link information for Pipes.
@@ -12347,13 +12346,13 @@ export declare function ɵsetClassMetadata(type: Type<any>, decorators: any[] |
12347
12346
 
12348
12347
  /**
12349
12348
  * Handles the process of applying metadata info to a component class in case
12350
- * component template had defer blocks (thus some dependencies became deferrable).
12349
+ * component template has defer blocks (thus some dependencies became deferrable).
12351
12350
  *
12352
12351
  * @param type Component class where metadata should be added
12353
12352
  * @param dependencyLoaderFn Function that loads dependencies
12354
12353
  * @param metadataSetterFn Function that forms a scope in which the `setClassMetadata` is invoked
12355
12354
  */
12356
- export declare function ɵsetClassMetadataAsync(type: Type<any>, dependencyLoaderFn: () => Array<Promise<Type<unknown>>>, metadataSetterFn: (...types: Type<unknown>[]) => void): Promise<Array<Type<unknown>>>;
12355
+ export declare function ɵsetClassMetadataAsync(type: Type<any>, dependencyLoaderFn: () => Array<Promise<Type<unknown>>>, metadataSetterFn: (...types: Type<unknown>[]) => void): () => Promise<Array<Type<unknown>>>;
12357
12356
 
12358
12357
  export declare function ɵsetCurrentInjector(injector: Injector | null | undefined): Injector | undefined | null;
12359
12358
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "17.0.1",
3
+ "version": "17.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 v17.0.1
2
+ * @license Angular v17.0.2
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 v17.0.1
2
+ * @license Angular v17.0.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -24750,7 +24750,7 @@ function publishFacade(global) {
24750
24750
  }
24751
24751
 
24752
24752
  // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
24753
- var VERSION2 = new Version("17.0.1");
24753
+ var VERSION2 = new Version("17.0.2");
24754
24754
 
24755
24755
  // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
24756
24756
  var _VisitorMode;