@angular/common 14.2.0 → 15.0.0-next.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.
Files changed (59) hide show
  1. package/esm2020/http/src/client.mjs +3 -3
  2. package/esm2020/http/src/interceptor.mjs +3 -3
  3. package/esm2020/http/src/jsonp.mjs +7 -7
  4. package/esm2020/http/src/module.mjs +15 -15
  5. package/esm2020/http/src/xhr.mjs +3 -3
  6. package/esm2020/http/src/xsrf.mjs +7 -7
  7. package/esm2020/http/testing/src/backend.mjs +3 -3
  8. package/esm2020/http/testing/src/module.mjs +4 -4
  9. package/esm2020/src/common_module.mjs +4 -4
  10. package/esm2020/src/directives/ng_class.mjs +3 -3
  11. package/esm2020/src/directives/ng_component_outlet.mjs +3 -3
  12. package/esm2020/src/directives/ng_for_of.mjs +3 -3
  13. package/esm2020/src/directives/ng_if.mjs +3 -3
  14. package/esm2020/src/directives/ng_optimized_image/lcp_image_observer.mjs +3 -3
  15. package/esm2020/src/directives/ng_optimized_image/ng_optimized_image.mjs +3 -3
  16. package/esm2020/src/directives/ng_optimized_image/preconnect_link_checker.mjs +3 -3
  17. package/esm2020/src/directives/ng_plural.mjs +7 -7
  18. package/esm2020/src/directives/ng_style.mjs +3 -3
  19. package/esm2020/src/directives/ng_switch.mjs +10 -10
  20. package/esm2020/src/directives/ng_template_outlet.mjs +3 -3
  21. package/esm2020/src/i18n/localization.mjs +6 -6
  22. package/esm2020/src/location/hash_location_strategy.mjs +3 -3
  23. package/esm2020/src/location/location.mjs +3 -3
  24. package/esm2020/src/location/location_strategy.mjs +6 -6
  25. package/esm2020/src/location/platform_location.mjs +6 -6
  26. package/esm2020/src/pipes/async_pipe.mjs +3 -3
  27. package/esm2020/src/pipes/case_conversion_pipes.mjs +9 -9
  28. package/esm2020/src/pipes/date_pipe.mjs +3 -3
  29. package/esm2020/src/pipes/i18n_plural_pipe.mjs +3 -3
  30. package/esm2020/src/pipes/i18n_select_pipe.mjs +3 -3
  31. package/esm2020/src/pipes/json_pipe.mjs +3 -3
  32. package/esm2020/src/pipes/keyvalue_pipe.mjs +3 -3
  33. package/esm2020/src/pipes/number_pipe.mjs +9 -9
  34. package/esm2020/src/pipes/slice_pipe.mjs +3 -3
  35. package/esm2020/src/version.mjs +1 -1
  36. package/esm2020/testing/src/location_mock.mjs +3 -3
  37. package/esm2020/testing/src/mock_location_strategy.mjs +3 -3
  38. package/esm2020/testing/src/mock_platform_location.mjs +3 -3
  39. package/esm2020/upgrade/src/location_upgrade_module.mjs +4 -4
  40. package/fesm2015/common.mjs +111 -111
  41. package/fesm2015/common.mjs.map +1 -1
  42. package/fesm2015/http/testing.mjs +8 -8
  43. package/fesm2015/http.mjs +37 -37
  44. package/fesm2015/http.mjs.map +1 -1
  45. package/fesm2015/testing.mjs +10 -10
  46. package/fesm2015/upgrade.mjs +5 -5
  47. package/fesm2020/common.mjs +111 -111
  48. package/fesm2020/common.mjs.map +1 -1
  49. package/fesm2020/http/testing.mjs +8 -8
  50. package/fesm2020/http.mjs +37 -37
  51. package/fesm2020/http.mjs.map +1 -1
  52. package/fesm2020/testing.mjs +10 -10
  53. package/fesm2020/upgrade.mjs +5 -5
  54. package/http/index.d.ts +1 -1
  55. package/http/testing/index.d.ts +1 -1
  56. package/index.d.ts +13 -13
  57. package/package.json +2 -2
  58. package/testing/index.d.ts +1 -1
  59. package/upgrade/index.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.2.0
2
+ * @license Angular v15.0.0-next.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -210,9 +210,9 @@ class SpyLocation {
210
210
  this._historyIndex = this._history.length - 1;
211
211
  }
212
212
  }
213
- SpyLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SpyLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
214
- SpyLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SpyLocation });
215
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SpyLocation, decorators: [{
213
+ SpyLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.0", ngImport: i0, type: SpyLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
214
+ SpyLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.0", ngImport: i0, type: SpyLocation });
215
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.0", ngImport: i0, type: SpyLocation, decorators: [{
216
216
  type: Injectable
217
217
  }] });
218
218
  class LocationState {
@@ -299,9 +299,9 @@ class MockLocationStrategy extends LocationStrategy {
299
299
  return this.stateChanges[(this.stateChanges.length || 1) - 1];
300
300
  }
301
301
  }
302
- MockLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MockLocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
303
- MockLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MockLocationStrategy });
304
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MockLocationStrategy, decorators: [{
302
+ MockLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.0", ngImport: i0, type: MockLocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
303
+ MockLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.0", ngImport: i0, type: MockLocationStrategy });
304
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.0", ngImport: i0, type: MockLocationStrategy, decorators: [{
305
305
  type: Injectable
306
306
  }], ctorParameters: function () { return []; } });
307
307
  class _MockPopStateEvent {
@@ -487,9 +487,9 @@ class MockPlatformLocation {
487
487
  }
488
488
  }
489
489
  }
490
- MockPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MockPlatformLocation, deps: [{ token: MOCK_PLATFORM_LOCATION_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
491
- MockPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MockPlatformLocation });
492
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MockPlatformLocation, decorators: [{
490
+ MockPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.0", ngImport: i0, type: MockPlatformLocation, deps: [{ token: MOCK_PLATFORM_LOCATION_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
491
+ MockPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.0", ngImport: i0, type: MockPlatformLocation });
492
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.0", ngImport: i0, type: MockPlatformLocation, decorators: [{
493
493
  type: Injectable
494
494
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
495
495
  type: Inject,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.2.0
2
+ * @license Angular v15.0.0-next.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -881,10 +881,10 @@ class LocationUpgradeModule {
881
881
  };
882
882
  }
883
883
  }
884
- LocationUpgradeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LocationUpgradeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
885
- LocationUpgradeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
886
- LocationUpgradeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
887
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LocationUpgradeModule, decorators: [{
884
+ LocationUpgradeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.0", ngImport: i0, type: LocationUpgradeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
885
+ LocationUpgradeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0-next.0", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
886
+ LocationUpgradeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0-next.0", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
887
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.0", ngImport: i0, type: LocationUpgradeModule, decorators: [{
888
888
  type: NgModule,
889
889
  args: [{ imports: [CommonModule] }]
890
890
  }] });
package/http/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.2.0
2
+ * @license Angular v15.0.0-next.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.2.0
2
+ * @license Angular v15.0.0-next.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.2.0
2
+ * @license Angular v15.0.0-next.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1542,7 +1542,7 @@ export declare class NgClass implements DoCheck {
1542
1542
  private _removeClasses;
1543
1543
  private _toggleClass;
1544
1544
  static ɵfac: i0.ɵɵFactoryDeclaration<NgClass, never>;
1545
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgClass, "[ngClass]", never, { "klass": "class"; "ngClass": "ngClass"; }, {}, never, never, true>;
1545
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgClass, "[ngClass]", never, { "klass": "class"; "ngClass": "ngClass"; }, {}, never, never, true, never>;
1546
1546
  }
1547
1547
 
1548
1548
  /**
@@ -1622,7 +1622,7 @@ export declare class NgComponentOutlet implements OnChanges, OnDestroy {
1622
1622
  /** @nodoc */
1623
1623
  ngOnDestroy(): void;
1624
1624
  static ɵfac: i0.ɵɵFactoryDeclaration<NgComponentOutlet, never>;
1625
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgComponentOutlet, "[ngComponentOutlet]", never, { "ngComponentOutlet": "ngComponentOutlet"; "ngComponentOutletInjector": "ngComponentOutletInjector"; "ngComponentOutletContent": "ngComponentOutletContent"; "ngComponentOutletNgModule": "ngComponentOutletNgModule"; "ngComponentOutletNgModuleFactory": "ngComponentOutletNgModuleFactory"; }, {}, never, never, true>;
1625
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgComponentOutlet, "[ngComponentOutlet]", never, { "ngComponentOutlet": "ngComponentOutlet"; "ngComponentOutletInjector": "ngComponentOutletInjector"; "ngComponentOutletContent": "ngComponentOutletContent"; "ngComponentOutletNgModule": "ngComponentOutletNgModule"; "ngComponentOutletNgModuleFactory": "ngComponentOutletNgModuleFactory"; }, {}, never, never, true, never>;
1626
1626
  }
1627
1627
 
1628
1628
  /**
@@ -1776,7 +1776,7 @@ export declare class NgForOf<T, U extends NgIterable<T> = NgIterable<T>> impleme
1776
1776
  */
1777
1777
  static ngTemplateContextGuard<T, U extends NgIterable<T>>(dir: NgForOf<T, U>, ctx: any): ctx is NgForOfContext<T, U>;
1778
1778
  static ɵfac: i0.ɵɵFactoryDeclaration<NgForOf<any, any>, never>;
1779
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgForOf<any, any>, "[ngFor][ngForOf]", never, { "ngForOf": "ngForOf"; "ngForTrackBy": "ngForTrackBy"; "ngForTemplate": "ngForTemplate"; }, {}, never, never, true>;
1779
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgForOf<any, any>, "[ngFor][ngForOf]", never, { "ngForOf": "ngForOf"; "ngForTrackBy": "ngForTrackBy"; "ngForTemplate": "ngForTemplate"; }, {}, never, never, true, never>;
1780
1780
  }
1781
1781
 
1782
1782
  /**
@@ -1971,7 +1971,7 @@ export declare class NgIf<T = unknown> {
1971
1971
  */
1972
1972
  static ngTemplateContextGuard<T>(dir: NgIf<T>, ctx: any): ctx is NgIfContext<Exclude<T, false | 0 | '' | null | undefined>>;
1973
1973
  static ɵfac: i0.ɵɵFactoryDeclaration<NgIf<any>, never>;
1974
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgIf<any>, "[ngIf]", never, { "ngIf": "ngIf"; "ngIfThen": "ngIfThen"; "ngIfElse": "ngIfElse"; }, {}, never, never, true>;
1974
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgIf<any>, "[ngIf]", never, { "ngIf": "ngIf"; "ngIfThen": "ngIfThen"; "ngIfElse": "ngIfElse"; }, {}, never, never, true, never>;
1975
1975
  }
1976
1976
 
1977
1977
  /**
@@ -2168,7 +2168,7 @@ export declare class NgOptimizedImage implements OnInit, OnChanges, OnDestroy {
2168
2168
  ngOnDestroy(): void;
2169
2169
  private setHostAttribute;
2170
2170
  static ɵfac: i0.ɵɵFactoryDeclaration<NgOptimizedImage, never>;
2171
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgOptimizedImage, "img[rawSrc]", never, { "rawSrc": "rawSrc"; "rawSrcset": "rawSrcset"; "width": "width"; "height": "height"; "loading": "loading"; "priority": "priority"; "src": "src"; "srcset": "srcset"; }, {}, never, never, true>;
2171
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgOptimizedImage, "img[rawSrc]", never, { "rawSrc": "rawSrc"; "rawSrcset": "rawSrcset"; "width": "width"; "height": "height"; "loading": "loading"; "priority": "priority"; "src": "src"; "srcset": "srcset"; }, {}, never, never, true, never>;
2172
2172
  }
2173
2173
 
2174
2174
  /**
@@ -2214,7 +2214,7 @@ export declare class NgPlural {
2214
2214
  private _clearViews;
2215
2215
  private _activateView;
2216
2216
  static ɵfac: i0.ɵɵFactoryDeclaration<NgPlural, never>;
2217
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgPlural, "[ngPlural]", never, { "ngPlural": "ngPlural"; }, {}, never, never, true>;
2217
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgPlural, "[ngPlural]", never, { "ngPlural": "ngPlural"; }, {}, never, never, true, never>;
2218
2218
  }
2219
2219
 
2220
2220
  /**
@@ -2241,7 +2241,7 @@ export declare class NgPluralCase {
2241
2241
  value: string;
2242
2242
  constructor(value: string, template: TemplateRef<Object>, viewContainer: ViewContainerRef, ngPlural: NgPlural);
2243
2243
  static ɵfac: i0.ɵɵFactoryDeclaration<NgPluralCase, [{ attribute: "ngPluralCase"; }, null, null, { host: true; }]>;
2244
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgPluralCase, "[ngPluralCase]", never, {}, {}, never, never, true>;
2244
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgPluralCase, "[ngPluralCase]", never, {}, {}, never, never, true, never>;
2245
2245
  }
2246
2246
 
2247
2247
  /**
@@ -2294,7 +2294,7 @@ export declare class NgStyle implements DoCheck {
2294
2294
  private _setStyle;
2295
2295
  private _applyChanges;
2296
2296
  static ɵfac: i0.ɵɵFactoryDeclaration<NgStyle, never>;
2297
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgStyle, "[ngStyle]", never, { "ngStyle": "ngStyle"; }, {}, never, never, true>;
2297
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgStyle, "[ngStyle]", never, { "ngStyle": "ngStyle"; }, {}, never, never, true, never>;
2298
2298
  }
2299
2299
 
2300
2300
  /**
@@ -2373,7 +2373,7 @@ export declare class NgSwitch {
2373
2373
  set ngSwitch(newValue: any);
2374
2374
  private _updateDefaultCases;
2375
2375
  static ɵfac: i0.ɵɵFactoryDeclaration<NgSwitch, never>;
2376
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitch, "[ngSwitch]", never, { "ngSwitch": "ngSwitch"; }, {}, never, never, true>;
2376
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitch, "[ngSwitch]", never, { "ngSwitch": "ngSwitch"; }, {}, never, never, true, never>;
2377
2377
  }
2378
2378
 
2379
2379
  /**
@@ -2423,7 +2423,7 @@ export declare class NgSwitchCase implements DoCheck {
2423
2423
  */
2424
2424
  ngDoCheck(): void;
2425
2425
  static ɵfac: i0.ɵɵFactoryDeclaration<NgSwitchCase, [null, null, { optional: true; host: true; }]>;
2426
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitchCase, "[ngSwitchCase]", never, { "ngSwitchCase": "ngSwitchCase"; }, {}, never, never, true>;
2426
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitchCase, "[ngSwitchCase]", never, { "ngSwitchCase": "ngSwitchCase"; }, {}, never, never, true, never>;
2427
2427
  }
2428
2428
 
2429
2429
  /**
@@ -2443,7 +2443,7 @@ export declare class NgSwitchCase implements DoCheck {
2443
2443
  export declare class NgSwitchDefault {
2444
2444
  constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, ngSwitch: NgSwitch);
2445
2445
  static ɵfac: i0.ɵɵFactoryDeclaration<NgSwitchDefault, [null, null, { optional: true; host: true; }]>;
2446
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitchDefault, "[ngSwitchDefault]", never, {}, {}, never, never, true>;
2446
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgSwitchDefault, "[ngSwitchDefault]", never, {}, {}, never, never, true, never>;
2447
2447
  }
2448
2448
 
2449
2449
  /**
@@ -2490,7 +2490,7 @@ export declare class NgTemplateOutlet implements OnChanges {
2490
2490
  /** @nodoc */
2491
2491
  ngOnChanges(changes: SimpleChanges): void;
2492
2492
  static ɵfac: i0.ɵɵFactoryDeclaration<NgTemplateOutlet, never>;
2493
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgTemplateOutlet, "[ngTemplateOutlet]", never, { "ngTemplateOutletContext": "ngTemplateOutletContext"; "ngTemplateOutlet": "ngTemplateOutlet"; "ngTemplateOutletInjector": "ngTemplateOutletInjector"; }, {}, never, never, true>;
2493
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgTemplateOutlet, "[ngTemplateOutlet]", never, { "ngTemplateOutletContext": "ngTemplateOutletContext"; "ngTemplateOutlet": "ngTemplateOutlet"; "ngTemplateOutletInjector": "ngTemplateOutletInjector"; }, {}, never, never, true, never>;
2494
2494
  }
2495
2495
 
2496
2496
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/common",
3
- "version": "14.2.0",
3
+ "version": "15.0.0-next.0",
4
4
  "description": "Angular - commonly needed directives and services",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -63,7 +63,7 @@
63
63
  }
64
64
  },
65
65
  "peerDependencies": {
66
- "@angular/core": "14.2.0",
66
+ "@angular/core": "15.0.0-next.0",
67
67
  "rxjs": "^6.5.3 || ^7.4.0"
68
68
  },
69
69
  "repository": {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.2.0
2
+ * @license Angular v15.0.0-next.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v14.2.0
2
+ * @license Angular v15.0.0-next.0
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */