@angular/core 16.0.0 → 16.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/application_ref.mjs +60 -55
- package/esm2022/src/change_detection/change_detector_ref.mjs +2 -2
- package/esm2022/src/core_private_export.mjs +1 -2
- package/esm2022/src/di/injectable.mjs +2 -1
- package/esm2022/src/di/metadata.mjs +6 -5
- package/esm2022/src/di/metadata_attr.mjs +2 -1
- package/esm2022/src/di/r3_injector.mjs +6 -3
- package/esm2022/src/errors.mjs +1 -1
- package/esm2022/src/hydration/annotate.mjs +1 -1
- package/esm2022/src/hydration/api.mjs +32 -4
- package/esm2022/src/hydration/skip_hydration.mjs +12 -1
- package/esm2022/src/hydration/utils.mjs +9 -3
- package/esm2022/src/i18n/locale_data_api.mjs +2 -2
- package/esm2022/src/linker/element_ref.mjs +1 -1
- package/esm2022/src/linker/view_container_ref.mjs +16 -6
- package/esm2022/src/metadata/di.mjs +5 -4
- package/esm2022/src/metadata/directives.mjs +7 -7
- package/esm2022/src/metadata/ng_module.mjs +2 -1
- package/esm2022/src/render/api.mjs +1 -1
- package/esm2022/src/render3/bindings.mjs +2 -2
- package/esm2022/src/render3/component.mjs +4 -4
- package/esm2022/src/render3/definition.mjs +5 -2
- package/esm2022/src/render3/errors.mjs +6 -3
- package/esm2022/src/render3/instructions/element_validation.mjs +2 -2
- package/esm2022/src/render3/instructions/listener.mjs +1 -3
- package/esm2022/src/render3/instructions/shared.mjs +7 -3
- package/esm2022/src/render3/interfaces/document.mjs +6 -4
- package/esm2022/src/render3/interfaces/node.mjs +1 -1
- package/esm2022/src/render3/node_manipulation.mjs +10 -2
- package/esm2022/src/signals/src/api.mjs +5 -3
- package/esm2022/src/transfer_state.mjs +13 -28
- package/esm2022/src/util/assert.mjs +2 -5
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/logger.mjs +3 -3
- package/esm2022/testing/src/test_bed.mjs +4 -4
- package/esm2022/testing/src/test_bed_common.mjs +1 -1
- package/fesm2022/core.mjs +237 -171
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +5 -3
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +134 -102
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +48 -43
- package/package.json +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/guard-and-resolve-interfaces/bundle.js +13 -13
- package/schematics/migrations/remove-module-id/bundle.js +14 -14
- package/schematics/ng-generate/standalone-migration/bundle.js +415 -361
- package/schematics/ng-generate/standalone-migration/bundle.js.map +3 -3
- package/testing/index.d.ts +5 -5
package/testing/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.0.
|
|
2
|
+
* @license Angular v16.0.2
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -368,14 +368,14 @@ export declare interface TestEnvironmentOptions {
|
|
|
368
368
|
* Whether errors should be thrown when unknown elements are present in component's template.
|
|
369
369
|
* Defaults to `false`, where the error is simply logged.
|
|
370
370
|
* If set to `true`, the error is thrown.
|
|
371
|
-
* @see
|
|
371
|
+
* @see [NG8001](/errors/NG8001) for the description of the error and how to fix it
|
|
372
372
|
*/
|
|
373
373
|
errorOnUnknownElements?: boolean;
|
|
374
374
|
/**
|
|
375
375
|
* Whether errors should be thrown when unknown properties are present in component's template.
|
|
376
376
|
* Defaults to `false`, where the error is simply logged.
|
|
377
377
|
* If set to `true`, the error is thrown.
|
|
378
|
-
* @see
|
|
378
|
+
* @see [NG8002](/errors/NG8002) for the description of the error and how to fix it
|
|
379
379
|
*/
|
|
380
380
|
errorOnUnknownProperties?: boolean;
|
|
381
381
|
}
|
|
@@ -393,14 +393,14 @@ export declare interface TestModuleMetadata {
|
|
|
393
393
|
* Whether NG0304 runtime errors should be thrown when unknown elements are present in component's
|
|
394
394
|
* template. Defaults to `false`, where the error is simply logged. If set to `true`, the error is
|
|
395
395
|
* thrown.
|
|
396
|
-
* @see
|
|
396
|
+
* @see [NG8001](/errors/NG8001) for the description of the problem and how to fix it
|
|
397
397
|
*/
|
|
398
398
|
errorOnUnknownElements?: boolean;
|
|
399
399
|
/**
|
|
400
400
|
* Whether errors should be thrown when unknown properties are present in component's template.
|
|
401
401
|
* Defaults to `false`, where the error is simply logged.
|
|
402
402
|
* If set to `true`, the error is thrown.
|
|
403
|
-
* @see
|
|
403
|
+
* @see [NG8002](/errors/NG8002) for the description of the error and how to fix it
|
|
404
404
|
*/
|
|
405
405
|
errorOnUnknownProperties?: boolean;
|
|
406
406
|
}
|