@angular/core 16.1.6 → 16.1.7
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/rxjs-interop/src/to_signal.mjs +1 -1
- package/esm2022/src/di/interface/provider.mjs +1 -1
- package/esm2022/src/metadata/di.mjs +5 -5
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +6 -6
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +2 -2
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +9 -9
- package/package.json +1 -1
- package/rxjs-interop/index.d.ts +17 -15
- package/schematics/ng-generate/standalone-migration/bundle.js +9 -9
- package/schematics/ng-generate/standalone-migration/bundle.js.map +1 -1
- package/testing/index.d.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.1.
|
|
2
|
+
* @license Angular v16.1.7
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1685,7 +1685,7 @@ export declare const ContentChildren: ContentChildrenDecorator;
|
|
|
1685
1685
|
/**
|
|
1686
1686
|
* Type of the ContentChildren decorator / constructor function.
|
|
1687
1687
|
*
|
|
1688
|
-
* @see {@link ContentChildren}
|
|
1688
|
+
* @see {@link ContentChildren}
|
|
1689
1689
|
* @publicApi
|
|
1690
1690
|
*/
|
|
1691
1691
|
export declare interface ContentChildrenDecorator {
|
|
@@ -6694,10 +6694,10 @@ export declare interface Query {
|
|
|
6694
6694
|
/**
|
|
6695
6695
|
* Base class for query metadata.
|
|
6696
6696
|
*
|
|
6697
|
-
* @see {@link ContentChildren}
|
|
6698
|
-
* @see {@link ContentChild}
|
|
6699
|
-
* @see {@link ViewChildren}
|
|
6700
|
-
* @see {@link ViewChild}
|
|
6697
|
+
* @see {@link ContentChildren}
|
|
6698
|
+
* @see {@link ContentChild}
|
|
6699
|
+
* @see {@link ViewChildren}
|
|
6700
|
+
* @see {@link ViewChild}
|
|
6701
6701
|
*
|
|
6702
6702
|
* @publicApi
|
|
6703
6703
|
*/
|
|
@@ -8046,7 +8046,7 @@ export declare interface StaticClassSansProvider {
|
|
|
8046
8046
|
* Describes how an `Injector` should be configured as static (that is, without reflection).
|
|
8047
8047
|
* A static provider provides tokens to an injector for various types of dependencies.
|
|
8048
8048
|
*
|
|
8049
|
-
* @see {@link Injector.create()}
|
|
8049
|
+
* @see {@link Injector.create()}
|
|
8050
8050
|
* @see ["Dependency Injection Guide"](guide/dependency-injection-providers).
|
|
8051
8051
|
*
|
|
8052
8052
|
* @publicApi
|
|
@@ -9776,7 +9776,7 @@ export declare const ViewChild: ViewChildDecorator;
|
|
|
9776
9776
|
/**
|
|
9777
9777
|
* Type of the ViewChild decorator / constructor function.
|
|
9778
9778
|
*
|
|
9779
|
-
* @see {@link ViewChild}
|
|
9779
|
+
* @see {@link ViewChild}
|
|
9780
9780
|
* @publicApi
|
|
9781
9781
|
*/
|
|
9782
9782
|
export declare interface ViewChildDecorator {
|
|
@@ -9853,7 +9853,7 @@ export declare const ViewChildren: ViewChildrenDecorator;
|
|
|
9853
9853
|
/**
|
|
9854
9854
|
* Type of the ViewChildren decorator / constructor function.
|
|
9855
9855
|
*
|
|
9856
|
-
* @see {@link ViewChildren}
|
|
9856
|
+
* @see {@link ViewChildren}
|
|
9857
9857
|
*
|
|
9858
9858
|
* @publicApi
|
|
9859
9859
|
*/
|
package/package.json
CHANGED
package/rxjs-interop/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.1.
|
|
2
|
+
* @license Angular v16.1.7
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -64,8 +64,8 @@ export declare interface ToObservableOptions {
|
|
|
64
64
|
* By default, the subscription will be automatically cleaned up when the current [injection
|
|
65
65
|
* context](guide/dependency-injection-context) is destroyed. For example, when `toObservable` is
|
|
66
66
|
* called during the construction of a component, the subscription will be cleaned up when the
|
|
67
|
-
* component is destroyed. If an injection context is not
|
|
68
|
-
* passed instead.
|
|
67
|
+
* component is destroyed. If an [injection context](/guide/dependency-injection-context) is not
|
|
68
|
+
* available, an explicit `Injector` can be passed instead.
|
|
69
69
|
*
|
|
70
70
|
* If the subscription should persist until the `Observable` itself completes, the `manualCleanup`
|
|
71
71
|
* option can be specified instead, which disables the automatic subscription teardown. No injection
|
|
@@ -85,10 +85,11 @@ export declare function toSignal<T>(source: Observable<T> | Subscribable<T>): Si
|
|
|
85
85
|
* `initialValue`, or `undefined` if no `initialValue` is provided. If the `Observable` is
|
|
86
86
|
* guaranteed to emit synchronously, then the `requireSync` option can be passed instead.
|
|
87
87
|
*
|
|
88
|
-
* By default, the subscription will be automatically cleaned up when the current injection
|
|
89
|
-
* is destroyed. For example, when `toObservable` is
|
|
90
|
-
* the subscription will be cleaned up when the
|
|
91
|
-
* not available, an explicit `Injector` can be
|
|
88
|
+
* By default, the subscription will be automatically cleaned up when the current [injection
|
|
89
|
+
* context](/guide/dependency-injection-context) is destroyed. For example, when `toObservable` is
|
|
90
|
+
* called during the construction of a component, the subscription will be cleaned up when the
|
|
91
|
+
* component is destroyed. If an injection context is not available, an explicit `Injector` can be
|
|
92
|
+
* passed instead.
|
|
92
93
|
*
|
|
93
94
|
* If the subscription should persist until the `Observable` itself completes, the `manualCleanup`
|
|
94
95
|
* option can be specified instead, which disables the automatic subscription teardown. No injection
|
|
@@ -115,8 +116,8 @@ export declare function toSignal<T>(source: Observable<T> | Subscribable<T>, opt
|
|
|
115
116
|
* By default, the subscription will be automatically cleaned up when the current [injection
|
|
116
117
|
* context](guide/dependency-injection-context) is destroyed. For example, when `toObservable` is
|
|
117
118
|
* called during the construction of a component, the subscription will be cleaned up when the
|
|
118
|
-
* component is destroyed. If an injection context is not
|
|
119
|
-
* passed instead.
|
|
119
|
+
* component is destroyed. If an [injection context](/guide/dependency-injection-context) is not
|
|
120
|
+
* available, an explicit `Injector` can be passed instead.
|
|
120
121
|
*
|
|
121
122
|
* If the subscription should persist until the `Observable` itself completes, the `manualCleanup`
|
|
122
123
|
* option can be specified instead, which disables the automatic subscription teardown. No injection
|
|
@@ -141,10 +142,11 @@ export declare function toSignal<T, U extends T | null | undefined>(source: Obse
|
|
|
141
142
|
* immediately upon subscription. No `initialValue` is needed in this case, and the returned signal
|
|
142
143
|
* does not include an `undefined` type.
|
|
143
144
|
*
|
|
144
|
-
* By default, the subscription will be automatically cleaned up when the current injection
|
|
145
|
-
* is destroyed. For example, when `toObservable` is
|
|
146
|
-
* the subscription will be cleaned up when the
|
|
147
|
-
* not available, an explicit `Injector` can be
|
|
145
|
+
* By default, the subscription will be automatically cleaned up when the current [injection
|
|
146
|
+
* context](/guide/dependency-injection-context) is destroyed. For example, when `toObservable` is
|
|
147
|
+
* called during the construction of a component, the subscription will be cleaned up when the
|
|
148
|
+
* component is destroyed. If an injection context is not available, an explicit `Injector` can be
|
|
149
|
+
* passed instead.
|
|
148
150
|
*
|
|
149
151
|
* If the subscription should persist until the `Observable` itself completes, the `manualCleanup`
|
|
150
152
|
* option can be specified instead, which disables the automatic subscription teardown. No injection
|
|
@@ -180,8 +182,8 @@ export declare interface ToSignalOptions<T> {
|
|
|
180
182
|
/**
|
|
181
183
|
* `Injector` which will provide the `DestroyRef` used to clean up the Observable subscription.
|
|
182
184
|
*
|
|
183
|
-
* If this is not provided, a `DestroyRef` will be retrieved from the current injection
|
|
184
|
-
* unless manual cleanup is requested.
|
|
185
|
+
* If this is not provided, a `DestroyRef` will be retrieved from the current [injection
|
|
186
|
+
* context](/guide/dependency-injection-context), unless manual cleanup is requested.
|
|
185
187
|
*/
|
|
186
188
|
injector?: Injector;
|
|
187
189
|
/**
|
|
@@ -19437,7 +19437,7 @@ function publishFacade(global2) {
|
|
|
19437
19437
|
}
|
|
19438
19438
|
|
|
19439
19439
|
// bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
|
|
19440
|
-
var VERSION2 = new Version("16.1.
|
|
19440
|
+
var VERSION2 = new Version("16.1.7");
|
|
19441
19441
|
|
|
19442
19442
|
// bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
|
|
19443
19443
|
var _I18N_ATTR = "i18n";
|
|
@@ -20756,7 +20756,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
|
|
|
20756
20756
|
function compileDeclareClassMetadata(metadata) {
|
|
20757
20757
|
const definitionMap = new DefinitionMap();
|
|
20758
20758
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
20759
|
-
definitionMap.set("version", literal("16.1.
|
|
20759
|
+
definitionMap.set("version", literal("16.1.7"));
|
|
20760
20760
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
20761
20761
|
definitionMap.set("type", metadata.type);
|
|
20762
20762
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -20825,7 +20825,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
20825
20825
|
var _a2;
|
|
20826
20826
|
const definitionMap = new DefinitionMap();
|
|
20827
20827
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
|
|
20828
|
-
definitionMap.set("version", literal("16.1.
|
|
20828
|
+
definitionMap.set("version", literal("16.1.7"));
|
|
20829
20829
|
definitionMap.set("type", meta.type.value);
|
|
20830
20830
|
if (meta.isStandalone) {
|
|
20831
20831
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -21010,7 +21010,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
|
|
|
21010
21010
|
function compileDeclareFactoryFunction(meta) {
|
|
21011
21011
|
const definitionMap = new DefinitionMap();
|
|
21012
21012
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
|
|
21013
|
-
definitionMap.set("version", literal("16.1.
|
|
21013
|
+
definitionMap.set("version", literal("16.1.7"));
|
|
21014
21014
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
21015
21015
|
definitionMap.set("type", meta.type.value);
|
|
21016
21016
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -21033,7 +21033,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
21033
21033
|
function createInjectableDefinitionMap(meta) {
|
|
21034
21034
|
const definitionMap = new DefinitionMap();
|
|
21035
21035
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
|
|
21036
|
-
definitionMap.set("version", literal("16.1.
|
|
21036
|
+
definitionMap.set("version", literal("16.1.7"));
|
|
21037
21037
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
21038
21038
|
definitionMap.set("type", meta.type.value);
|
|
21039
21039
|
if (meta.providedIn !== void 0) {
|
|
@@ -21071,7 +21071,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
21071
21071
|
function createInjectorDefinitionMap(meta) {
|
|
21072
21072
|
const definitionMap = new DefinitionMap();
|
|
21073
21073
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
|
|
21074
|
-
definitionMap.set("version", literal("16.1.
|
|
21074
|
+
definitionMap.set("version", literal("16.1.7"));
|
|
21075
21075
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
21076
21076
|
definitionMap.set("type", meta.type.value);
|
|
21077
21077
|
definitionMap.set("providers", meta.providers);
|
|
@@ -21095,7 +21095,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
21095
21095
|
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
21096
21096
|
}
|
|
21097
21097
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
|
|
21098
|
-
definitionMap.set("version", literal("16.1.
|
|
21098
|
+
definitionMap.set("version", literal("16.1.7"));
|
|
21099
21099
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
21100
21100
|
definitionMap.set("type", meta.type.value);
|
|
21101
21101
|
if (meta.bootstrap.length > 0) {
|
|
@@ -21130,7 +21130,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
21130
21130
|
function createPipeDefinitionMap(meta) {
|
|
21131
21131
|
const definitionMap = new DefinitionMap();
|
|
21132
21132
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
|
|
21133
|
-
definitionMap.set("version", literal("16.1.
|
|
21133
|
+
definitionMap.set("version", literal("16.1.7"));
|
|
21134
21134
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
21135
21135
|
definitionMap.set("type", meta.type.value);
|
|
21136
21136
|
if (meta.isStandalone) {
|
|
@@ -21147,7 +21147,7 @@ function createPipeDefinitionMap(meta) {
|
|
|
21147
21147
|
publishFacade(_global);
|
|
21148
21148
|
|
|
21149
21149
|
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
|
|
21150
|
-
var VERSION3 = new Version("16.1.
|
|
21150
|
+
var VERSION3 = new Version("16.1.7");
|
|
21151
21151
|
|
|
21152
21152
|
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
21153
21153
|
var EmitFlags;
|