@angular/core 14.0.0 → 14.0.3

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 (40) hide show
  1. package/esm2020/src/application_ref.mjs +10 -24
  2. package/esm2020/src/change_detection/differs/default_iterable_differ.mjs +3 -5
  3. package/esm2020/src/change_detection/differs/default_keyvalue_differ.mjs +3 -5
  4. package/esm2020/src/change_detection/differs/iterable_differs.mjs +3 -5
  5. package/esm2020/src/change_detection/differs/keyvalue_differs.mjs +2 -5
  6. package/esm2020/src/di/injector_compatibility.mjs +4 -9
  7. package/esm2020/src/di/provider_collection.mjs +1 -1
  8. package/esm2020/src/error_handler.mjs +4 -7
  9. package/esm2020/src/errors.mjs +6 -3
  10. package/esm2020/src/render3/component.mjs +9 -9
  11. package/esm2020/src/render3/definition.mjs +4 -4
  12. package/esm2020/src/render3/features/inherit_definition_feature.mjs +3 -5
  13. package/esm2020/src/render3/features/standalone_feature.mjs +4 -4
  14. package/esm2020/src/render3/instructions/all.mjs +2 -2
  15. package/esm2020/src/render3/instructions/element.mjs +3 -79
  16. package/esm2020/src/render3/instructions/element_validation.mjs +264 -0
  17. package/esm2020/src/render3/instructions/shared.mjs +7 -184
  18. package/esm2020/src/render3/interfaces/definition.mjs +1 -1
  19. package/esm2020/src/render3/jit/directive.mjs +20 -3
  20. package/esm2020/src/render3/jit/module.mjs +3 -2
  21. package/esm2020/src/render3/pipe.mjs +20 -6
  22. package/esm2020/src/render3/state.mjs +1 -3
  23. package/esm2020/src/render3/view_ref.mjs +3 -5
  24. package/esm2020/src/sanitization/sanitization.mjs +4 -9
  25. package/esm2020/src/util/errors.mjs +1 -8
  26. package/esm2020/src/version.mjs +1 -1
  27. package/esm2020/testing/src/logger.mjs +3 -3
  28. package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
  29. package/esm2020/testing/src/r3_test_bed_compiler.mjs +30 -25
  30. package/fesm2015/core.mjs +636 -644
  31. package/fesm2015/core.mjs.map +1 -1
  32. package/fesm2015/testing.mjs +633 -630
  33. package/fesm2015/testing.mjs.map +1 -1
  34. package/fesm2020/core.mjs +637 -645
  35. package/fesm2020/core.mjs.map +1 -1
  36. package/fesm2020/testing.mjs +634 -631
  37. package/fesm2020/testing.mjs.map +1 -1
  38. package/index.d.ts +7 -6
  39. package/package.json +1 -1
  40. package/testing/index.d.ts +1 -1
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.0.0
2
+ * @license Angular v14.0.3
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -3533,6 +3533,7 @@ export declare function importProvidersFrom(...sources: ImportProvidersSource[])
3533
3533
  /**
3534
3534
  * A source of providers for the `importProvidersFrom` function.
3535
3535
  *
3536
+ * @developerPreview
3536
3537
  * @publicApi
3537
3538
  */
3538
3539
  export declare type ImportProvidersSource = Type<unknown> | ModuleWithProviders<unknown> | Array<ImportProvidersSource>;
@@ -9692,7 +9693,8 @@ export declare function ɵcompilePipe(type: Type<any>, meta: Pipe): void;
9692
9693
  */
9693
9694
  export declare interface ɵComponentDef<T> extends ɵDirectiveDef<T> {
9694
9695
  /**
9695
- * Runtime unique component ID.
9696
+ * Unique ID for the component. Used in view encapsulation and
9697
+ * to keep track of the injector in standalone components.
9696
9698
  */
9697
9699
  readonly id: string;
9698
9700
  /**
@@ -10239,7 +10241,7 @@ export declare class ɵLContext {
10239
10241
  * renderComponent(AppComponent, {hostFeatures: [LifecycleHooksFeature]});
10240
10242
  * ```
10241
10243
  */
10242
- export declare function ɵLifecycleHooksFeature(component: any, def: ɵComponentDef<any>): void;
10244
+ export declare function ɵLifecycleHooksFeature(): void;
10243
10245
 
10244
10246
  /**
10245
10247
  * Index of each type of locale data from the locale data array
@@ -10864,7 +10866,6 @@ export declare function ɵsetDocument(document: Document | undefined): void;
10864
10866
  */
10865
10867
  export declare function ɵsetLocaleId(localeId: string): void;
10866
10868
 
10867
-
10868
10869
  /**
10869
10870
  * Sets a strict mode for JIT-compiled components to throw an error on unknown elements,
10870
10871
  * instead of just logging the error.
@@ -10903,7 +10904,7 @@ export declare const ɵTESTABILITY_GETTER: InjectionToken<GetTestability>;
10903
10904
 
10904
10905
  /**
10905
10906
  * Compute the pair of transitive scopes (compilation scope and exported scope) for a given type
10906
- * (eaither a NgModule or a standalone component / directive / pipe).
10907
+ * (either a NgModule or a standalone component / directive / pipe).
10907
10908
  */
10908
10909
  export declare function ɵtransitiveScopesFor<T>(type: Type<T>): ɵNgModuleTransitiveScopes;
10909
10910
 
@@ -12436,6 +12437,7 @@ export declare function ɵɵelementContainerStart(index: number, attrsIndex?: nu
12436
12437
  */
12437
12438
  export declare function ɵɵelementEnd(): typeof ɵɵelementEnd;
12438
12439
 
12440
+
12439
12441
  /**
12440
12442
  * Create DOM element. The instruction must later be followed by `elementEnd()` call.
12441
12443
  *
@@ -13726,7 +13728,6 @@ export declare function ɵɵresolveWindow(element: RElement & {
13726
13728
  * @returns Context of the restored OpaqueViewState instance.
13727
13729
  *
13728
13730
  * @codeGenApi
13729
- * @noinline Disable inlining due to issue with Closure in listeners inside embedded views.
13730
13731
  */
13731
13732
  export declare function ɵɵrestoreView<T = any>(viewToRestore: OpaqueViewState): T;
13732
13733
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "14.0.0",
3
+ "version": "14.0.3",
4
4
  "description": "Angular - the core framework",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.0.0
2
+ * @license Angular v14.0.3
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */