@angular/core 11.0.2 → 11.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 (64) hide show
  1. package/bundles/core-testing.umd.js +16 -281
  2. package/bundles/core-testing.umd.js.map +1 -1
  3. package/bundles/core-testing.umd.min.js +11 -25
  4. package/bundles/core-testing.umd.min.js.map +1 -1
  5. package/bundles/core.umd.js +5063 -5033
  6. package/bundles/core.umd.js.map +1 -1
  7. package/bundles/core.umd.min.js +158 -158
  8. package/bundles/core.umd.min.js.map +1 -1
  9. package/core.d.ts +9 -6
  10. package/core.metadata.json +1 -1
  11. package/esm2015/core.js +2 -2
  12. package/esm2015/src/change_detection/change_detector_ref.js +2 -2
  13. package/esm2015/src/core_render3_private_export.js +2 -1
  14. package/esm2015/src/di/interface/defs.js +2 -2
  15. package/esm2015/src/di/jit/util.js +3 -2
  16. package/esm2015/src/di/metadata.js +2 -10
  17. package/esm2015/src/di/metadata_attr.js +24 -0
  18. package/esm2015/src/linker/element_ref.js +2 -2
  19. package/esm2015/src/metadata.js +2 -2
  20. package/esm2015/src/render3/definition.js +2 -2
  21. package/esm2015/src/render3/i18n/i18n_parse.js +3 -2
  22. package/esm2015/src/render3/instructions/all.js +2 -1
  23. package/esm2015/src/render3/instructions/di.js +2 -10
  24. package/esm2015/src/render3/instructions/di_attr.js +18 -0
  25. package/esm2015/src/render3/instructions/listener.js +6 -1
  26. package/esm2015/src/render3/util/stringify_utils.js +5 -2
  27. package/esm2015/src/sanitization/bypass.js +3 -3
  28. package/esm2015/src/sanitization/html_sanitizer.js +6 -6
  29. package/esm2015/src/sanitization/sanitization.js +2 -2
  30. package/esm2015/src/sanitization/url_sanitizer.js +2 -2
  31. package/esm2015/src/version.js +1 -1
  32. package/esm2015/src/zone/ng_zone.js +2 -2
  33. package/esm2015/testing/src/async.js +5 -6
  34. package/esm2015/testing/src/fake_async.js +9 -20
  35. package/fesm2015/core.js +4700 -4670
  36. package/fesm2015/core.js.map +1 -1
  37. package/fesm2015/testing.js +17 -274
  38. package/fesm2015/testing.js.map +1 -1
  39. package/package.json +1 -1
  40. package/schematics/migrations/abstract-control-parent/index.js +2 -2
  41. package/schematics/migrations/dynamic-queries/index.js +2 -2
  42. package/schematics/migrations/initial-navigation/index.js +3 -3
  43. package/schematics/migrations/initial-navigation/transform.d.ts +1 -2
  44. package/schematics/migrations/initial-navigation/transform.js +2 -13
  45. package/schematics/migrations/missing-injectable/index.js +2 -2
  46. package/schematics/migrations/module-with-providers/index.js +2 -2
  47. package/schematics/migrations/move-document/index.js +2 -2
  48. package/schematics/migrations/native-view-encapsulation/index.js +2 -2
  49. package/schematics/migrations/navigation-extras-omissions/index.js +2 -2
  50. package/schematics/migrations/relative-link-resolution/index.js +2 -2
  51. package/schematics/migrations/renderer-to-renderer2/index.js +2 -2
  52. package/schematics/migrations/router-preserve-query-params/index.js +2 -2
  53. package/schematics/migrations/static-queries/index.js +2 -2
  54. package/schematics/migrations/template-var-assignment/index.js +2 -2
  55. package/schematics/migrations/undecorated-classes-with-decorated-fields/index.js +2 -2
  56. package/schematics/migrations/undecorated-classes-with-di/index.js +2 -2
  57. package/schematics/migrations/wait-for-async/index.js +2 -2
  58. package/schematics/utils/typescript/compiler_host.d.ts +7 -0
  59. package/schematics/utils/typescript/compiler_host.js +21 -2
  60. package/src/r3_symbols.d.ts +3 -3
  61. package/testing/testing.d.ts +1 -1
  62. package/testing.d.ts +1 -1
  63. package/esm2015/testing/src/async_fallback.js +0 -102
  64. package/esm2015/testing/src/fake_async_fallback.js +0 -145
package/core.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v11.0.2
2
+ * @license Angular v11.0.3
3
3
  * (c) 2010-2020 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -435,6 +435,7 @@ export declare interface Attribute {
435
435
  */
436
436
  export declare const Attribute: AttributeDecorator;
437
437
 
438
+
438
439
  /**
439
440
  * Type of the Attribute decorator / constructor function.
440
441
  *
@@ -553,7 +554,7 @@ export declare enum ChangeDetectionStrategy {
553
554
  *
554
555
  * The following example sets the `OnPush` change-detection strategy for a component
555
556
  * (`CheckOnce`, rather than the default `CheckAlways`), then forces a second check
556
- * after an interval. See [live demo](http://plnkr.co/edit/GC512b?p=preview).
557
+ * after an interval. See [live demo](https://plnkr.co/edit/GC512b?p=preview).
557
558
  *
558
559
  * <code-example path="core/ts/change_detect/change-detection.ts"
559
560
  * region="mark-for-check"></code-example>
@@ -1708,7 +1709,7 @@ export declare class DefaultIterableDiffer<V> implements IterableDiffer<V>, Iter
1708
1709
  }
1709
1710
 
1710
1711
  /**
1711
- * @deprecated in v8, delete after v10. This API should be used only be generated code, and that
1712
+ * @deprecated in v8, delete after v10. This API should be used only by generated code, and that
1712
1713
  * code should now use ɵɵdefineInjectable instead.
1713
1714
  * @publicApi
1714
1715
  */
@@ -2180,7 +2181,7 @@ declare interface ElementHandleEventFn {
2180
2181
  *
2181
2182
  * @security Permitting direct access to the DOM can make your application more vulnerable to
2182
2183
  * XSS attacks. Carefully review any use of `ElementRef` in your code. For more detail, see the
2183
- * [Security Guide](http://g.co/ng/security).
2184
+ * [Security Guide](https://g.co/ng/security).
2184
2185
  *
2185
2186
  * @publicApi
2186
2187
  */
@@ -8999,9 +9000,9 @@ export declare function ɵangular_packages_core_core_bm(lView: ɵangular_package
8999
9000
  */
9000
9001
  export declare function ɵangular_packages_core_core_bn(tag: string, prop: string): typeof ɵɵsanitizeResourceUrl;
9001
9002
 
9002
- export declare function ɵangular_packages_core_core_bo(name: string, props?: (...args: any[]) => any, parentClass?: any): any;
9003
+ export declare function ɵangular_packages_core_core_bo(name: string, props?: (...args: any[]) => any, parentClass?: any, additionalProcessing?: (target: any, name: string, ...args: any[]) => void): any;
9003
9004
 
9004
- export declare function ɵangular_packages_core_core_bp(name: string, props?: (...args: any[]) => any, parentClass?: any, additionalProcessing?: (target: any, name: string, ...args: any[]) => void): any;
9005
+ export declare function ɵangular_packages_core_core_bp(name: string, props?: (...args: any[]) => any, parentClass?: any): any;
9005
9006
 
9006
9007
 
9007
9008
  export declare function ɵangular_packages_core_core_bq<T>(objWithPropertyToExtract: T): string;
@@ -9959,6 +9960,8 @@ export declare class ɵConsole {
9959
9960
  warn(message: string): void;
9960
9961
  }
9961
9962
 
9963
+ export declare function ɵCREATE_ATTRIBUTE_DECORATOR__POST_R3__(): AttributeDecorator;
9964
+
9962
9965
  /**
9963
9966
  * Create a new `Injector` which is configured using a `defType` of `InjectorType<any>`s.
9964
9967
  *