@angular/core 16.0.0-rc.4 → 16.0.0
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/di/injectable.mjs +1 -2
- package/esm2022/src/di/metadata.mjs +5 -6
- package/esm2022/src/di/metadata_attr.mjs +1 -2
- package/esm2022/src/metadata/di.mjs +4 -5
- package/esm2022/src/metadata/directives.mjs +7 -7
- package/esm2022/src/metadata/ng_module.mjs +1 -2
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +15 -20
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +6 -9
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +14 -28
- package/package.json +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- 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/fesm2022/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.0.0
|
|
2
|
+
* @license Angular v16.0.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -2042,7 +2042,6 @@ function formatError(text, obj, injectorErrorName, source = null) {
|
|
|
2042
2042
|
/**
|
|
2043
2043
|
* Inject decorator and metadata.
|
|
2044
2044
|
*
|
|
2045
|
-
* @Annotation
|
|
2046
2045
|
* @publicApi
|
|
2047
2046
|
*/
|
|
2048
2047
|
const Inject = attachInjectFlag(
|
|
@@ -2052,7 +2051,7 @@ makeParamDecorator('Inject', (token) => ({ token })), -1 /* DecoratorFlags.Injec
|
|
|
2052
2051
|
/**
|
|
2053
2052
|
* Optional decorator and metadata.
|
|
2054
2053
|
*
|
|
2055
|
-
|
|
2054
|
+
|
|
2056
2055
|
* @publicApi
|
|
2057
2056
|
*/
|
|
2058
2057
|
const Optional =
|
|
@@ -2062,7 +2061,7 @@ attachInjectFlag(makeParamDecorator('Optional'), 8 /* InternalInjectFlags.Option
|
|
|
2062
2061
|
/**
|
|
2063
2062
|
* Self decorator and metadata.
|
|
2064
2063
|
*
|
|
2065
|
-
|
|
2064
|
+
|
|
2066
2065
|
* @publicApi
|
|
2067
2066
|
*/
|
|
2068
2067
|
const Self =
|
|
@@ -2072,7 +2071,7 @@ attachInjectFlag(makeParamDecorator('Self'), 2 /* InternalInjectFlags.Self */);
|
|
|
2072
2071
|
/**
|
|
2073
2072
|
* `SkipSelf` decorator and metadata.
|
|
2074
2073
|
*
|
|
2075
|
-
|
|
2074
|
+
|
|
2076
2075
|
* @publicApi
|
|
2077
2076
|
*/
|
|
2078
2077
|
const SkipSelf =
|
|
@@ -2082,7 +2081,7 @@ attachInjectFlag(makeParamDecorator('SkipSelf'), 4 /* InternalInjectFlags.SkipSe
|
|
|
2082
2081
|
/**
|
|
2083
2082
|
* Host decorator and metadata.
|
|
2084
2083
|
*
|
|
2085
|
-
|
|
2084
|
+
|
|
2086
2085
|
* @publicApi
|
|
2087
2086
|
*/
|
|
2088
2087
|
const Host =
|
|
@@ -6084,7 +6083,6 @@ function ɵɵinjectAttribute(attrNameToInject) {
|
|
|
6084
6083
|
/**
|
|
6085
6084
|
* Attribute decorator and metadata.
|
|
6086
6085
|
*
|
|
6087
|
-
* @Annotation
|
|
6088
6086
|
* @publicApi
|
|
6089
6087
|
*/
|
|
6090
6088
|
const Attribute = makeParamDecorator('Attribute', (attributeName) => ({ attributeName, __NG_ELEMENT_ID__: () => ɵɵinjectAttribute(attributeName) }));
|
|
@@ -10377,7 +10375,7 @@ class Version {
|
|
|
10377
10375
|
/**
|
|
10378
10376
|
* @publicApi
|
|
10379
10377
|
*/
|
|
10380
|
-
const VERSION = new Version('16.0.0
|
|
10378
|
+
const VERSION = new Version('16.0.0');
|
|
10381
10379
|
|
|
10382
10380
|
// This default value is when checking the hierarchy for a token.
|
|
10383
10381
|
//
|
|
@@ -10914,7 +10912,6 @@ function getInjectableMetadata(type, srcMeta) {
|
|
|
10914
10912
|
/**
|
|
10915
10913
|
* Injectable decorator and metadata.
|
|
10916
10914
|
*
|
|
10917
|
-
* @Annotation
|
|
10918
10915
|
* @publicApi
|
|
10919
10916
|
*/
|
|
10920
10917
|
const Injectable = makeDecorator('Injectable', undefined, undefined, undefined, (type, meta) => compileInjectable(type, meta));
|