@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.
- package/esm2022/src/core_private_export.mjs +2 -2
- package/esm2022/src/core_render3_private_export.mjs +2 -2
- package/esm2022/src/defer/instructions.mjs +3 -3
- package/esm2022/src/hydration/api.mjs +3 -3
- package/esm2022/src/image_performance_warning.mjs +4 -4
- package/esm2022/src/linker/component_factory.mjs +1 -3
- package/esm2022/src/render3/after_render_hooks.mjs +4 -4
- package/esm2022/src/render3/features/standalone_feature.mjs +3 -6
- package/esm2022/src/render3/instructions/control_flow.mjs +4 -7
- package/esm2022/src/render3/list_reconciliation.mjs +5 -4
- package/esm2022/src/render3/metadata.mjs +20 -20
- package/esm2022/src/util/performance.mjs +9 -4
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/esm2022/testing/src/test_bed.mjs +3 -3
- package/esm2022/testing/src/test_bed_compiler.mjs +7 -7
- package/fesm2022/core.mjs +44 -46
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +8 -8
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +9 -10
- package/package.json +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/block-template-entities/bundle.js +1 -1
- package/schematics/migrations/block-template-entities/bundle.js.map +1 -1
- package/schematics/ng-generate/control-flow-migration/bundle.js +1 -1
- package/schematics/ng-generate/control-flow-migration/bundle.js.map +1 -1
- package/schematics/ng-generate/standalone-migration/bundle.js +86 -32
- package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
- package/testing/index.d.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v17.0.
|
|
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 -
|
|
11373
|
-
* a
|
|
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
|
|
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
|
|
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
|
|
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
package/rxjs-interop/index.d.ts
CHANGED
|
@@ -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.
|
|
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;
|