@angular/common 14.0.0-next.5 → 14.0.0-next.6

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 (63) hide show
  1. package/common.d.ts +2 -2
  2. package/esm2020/http/src/client.mjs +3 -3
  3. package/esm2020/http/src/interceptor.mjs +3 -3
  4. package/esm2020/http/src/jsonp.mjs +6 -6
  5. package/esm2020/http/src/module.mjs +15 -15
  6. package/esm2020/http/src/xhr.mjs +3 -3
  7. package/esm2020/http/src/xsrf.mjs +6 -6
  8. package/esm2020/http/testing/src/backend.mjs +3 -3
  9. package/esm2020/http/testing/src/module.mjs +4 -4
  10. package/esm2020/src/common_module.mjs +4 -4
  11. package/esm2020/src/directives/ng_class.mjs +3 -3
  12. package/esm2020/src/directives/ng_component_outlet.mjs +3 -3
  13. package/esm2020/src/directives/ng_for_of.mjs +3 -3
  14. package/esm2020/src/directives/ng_if.mjs +3 -3
  15. package/esm2020/src/directives/ng_plural.mjs +6 -6
  16. package/esm2020/src/directives/ng_style.mjs +3 -3
  17. package/esm2020/src/directives/ng_switch.mjs +9 -9
  18. package/esm2020/src/directives/ng_template_outlet.mjs +3 -3
  19. package/esm2020/src/dom_adapter.mjs +1 -1
  20. package/esm2020/src/i18n/localization.mjs +6 -6
  21. package/esm2020/src/location/hash_location_strategy.mjs +3 -3
  22. package/esm2020/src/location/location.mjs +3 -3
  23. package/esm2020/src/location/location_strategy.mjs +6 -6
  24. package/esm2020/src/location/platform_location.mjs +6 -6
  25. package/esm2020/src/pipes/async_pipe.mjs +3 -3
  26. package/esm2020/src/pipes/case_conversion_pipes.mjs +9 -9
  27. package/esm2020/src/pipes/date_pipe.mjs +3 -3
  28. package/esm2020/src/pipes/i18n_plural_pipe.mjs +3 -3
  29. package/esm2020/src/pipes/i18n_select_pipe.mjs +3 -3
  30. package/esm2020/src/pipes/json_pipe.mjs +3 -3
  31. package/esm2020/src/pipes/keyvalue_pipe.mjs +3 -3
  32. package/esm2020/src/pipes/number_pipe.mjs +9 -9
  33. package/esm2020/src/pipes/slice_pipe.mjs +3 -3
  34. package/esm2020/src/version.mjs +1 -1
  35. package/esm2020/testing/src/location_mock.mjs +3 -3
  36. package/esm2020/testing/src/mock_location_strategy.mjs +3 -3
  37. package/esm2020/testing/src/mock_platform_location.mjs +3 -3
  38. package/esm2020/upgrade/src/location_upgrade_module.mjs +4 -4
  39. package/fesm2015/common.mjs +102 -102
  40. package/fesm2015/common.mjs.map +1 -1
  41. package/fesm2015/http/testing.mjs +8 -8
  42. package/fesm2015/http/testing.mjs.map +1 -1
  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/testing.mjs.map +1 -1
  47. package/fesm2015/upgrade.mjs +5 -5
  48. package/fesm2015/upgrade.mjs.map +1 -1
  49. package/fesm2020/common.mjs +102 -102
  50. package/fesm2020/common.mjs.map +1 -1
  51. package/fesm2020/http/testing.mjs +8 -8
  52. package/fesm2020/http/testing.mjs.map +1 -1
  53. package/fesm2020/http.mjs +37 -37
  54. package/fesm2020/http.mjs.map +1 -1
  55. package/fesm2020/testing.mjs +10 -10
  56. package/fesm2020/testing.mjs.map +1 -1
  57. package/fesm2020/upgrade.mjs +5 -5
  58. package/fesm2020/upgrade.mjs.map +1 -1
  59. package/http/http.d.ts +1 -1
  60. package/http/testing/testing.d.ts +1 -1
  61. package/package.json +3 -3
  62. package/testing/testing.d.ts +1 -1
  63. package/upgrade/upgrade.d.ts +1 -1
@@ -59,9 +59,9 @@ export class KeyValuePipe {
59
59
  return this.keyValues;
60
60
  }
61
61
  }
62
- KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
63
- KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: KeyValuePipe, name: "keyvalue", pure: false });
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: KeyValuePipe, decorators: [{
62
+ KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
63
+ KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: KeyValuePipe, name: "keyvalue", pure: false });
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: KeyValuePipe, decorators: [{
65
65
  type: Pipe,
66
66
  args: [{ name: 'keyvalue', pure: false }]
67
67
  }], ctorParameters: function () { return [{ type: i0.KeyValueDiffers }]; } });
@@ -97,9 +97,9 @@ export class DecimalPipe {
97
97
  }
98
98
  }
99
99
  }
100
- DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
101
- DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: DecimalPipe, name: "number" });
102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: DecimalPipe, decorators: [{
100
+ DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
101
+ DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: DecimalPipe, name: "number" });
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: DecimalPipe, decorators: [{
103
103
  type: Pipe,
104
104
  args: [{ name: 'number' }]
105
105
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -159,9 +159,9 @@ export class PercentPipe {
159
159
  }
160
160
  }
161
161
  }
162
- PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
163
- PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: PercentPipe, name: "percent" });
164
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: PercentPipe, decorators: [{
162
+ PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
163
+ PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: PercentPipe, name: "percent" });
164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: PercentPipe, decorators: [{
165
165
  type: Pipe,
166
166
  args: [{ name: 'percent' }]
167
167
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -274,9 +274,9 @@ export class CurrencyPipe {
274
274
  }
275
275
  }
276
276
  }
277
- CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
278
- CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CurrencyPipe, name: "currency" });
279
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CurrencyPipe, decorators: [{
277
+ CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
278
+ CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CurrencyPipe, name: "currency" });
279
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CurrencyPipe, decorators: [{
280
280
  type: Pipe,
281
281
  args: [{ name: 'currency' }]
282
282
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -56,9 +56,9 @@ export class SlicePipe {
56
56
  return typeof obj === 'string' || Array.isArray(obj);
57
57
  }
58
58
  }
59
- SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
60
- SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: SlicePipe, name: "slice", pure: false });
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: SlicePipe, decorators: [{
59
+ SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
60
+ SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: SlicePipe, name: "slice", pure: false });
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: SlicePipe, decorators: [{
62
62
  type: Pipe,
63
63
  args: [{ name: 'slice', pure: false }]
64
64
  }] });
@@ -14,5 +14,5 @@ import { Version } from '@angular/core';
14
14
  /**
15
15
  * @publicApi
16
16
  */
17
- export const VERSION = new Version('14.0.0-next.5');
17
+ export const VERSION = new Version('14.0.0-next.6');
18
18
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbW1vbi9zcmMvdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSDs7OztHQUlHO0FBRUgsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUV0Qzs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbi8qKlxuICogQG1vZHVsZVxuICogQGRlc2NyaXB0aW9uXG4gKiBFbnRyeSBwb2ludCBmb3IgYWxsIHB1YmxpYyBBUElzIG9mIHRoZSBjb21tb24gcGFja2FnZS5cbiAqL1xuXG5pbXBvcnQge1ZlcnNpb259IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG4vKipcbiAqIEBwdWJsaWNBcGlcbiAqL1xuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSBuZXcgVmVyc2lvbignMC4wLjAtUExBQ0VIT0xERVInKTtcbiJdfQ==
@@ -140,9 +140,9 @@ export class SpyLocation {
140
140
  this._historyIndex = this._history.length - 1;
141
141
  }
142
142
  }
143
- SpyLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: SpyLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
144
- SpyLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: SpyLocation });
145
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: SpyLocation, decorators: [{
143
+ SpyLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: SpyLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
144
+ SpyLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: SpyLocation });
145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: SpyLocation, decorators: [{
146
146
  type: Injectable
147
147
  }] });
148
148
  class LocationState {
@@ -77,9 +77,9 @@ export class MockLocationStrategy extends LocationStrategy {
77
77
  return this.stateChanges[(this.stateChanges.length || 1) - 1];
78
78
  }
79
79
  }
80
- MockLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: MockLocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
81
- MockLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: MockLocationStrategy });
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: MockLocationStrategy, decorators: [{
80
+ MockLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: MockLocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
81
+ MockLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: MockLocationStrategy });
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: MockLocationStrategy, decorators: [{
83
83
  type: Injectable
84
84
  }], ctorParameters: function () { return []; } });
85
85
  class _MockPopStateEvent {
@@ -176,9 +176,9 @@ export class MockPlatformLocation {
176
176
  }
177
177
  }
178
178
  }
179
- MockPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: MockPlatformLocation, deps: [{ token: MOCK_PLATFORM_LOCATION_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
180
- MockPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: MockPlatformLocation });
181
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: MockPlatformLocation, decorators: [{
179
+ MockPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: MockPlatformLocation, deps: [{ token: MOCK_PLATFORM_LOCATION_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
180
+ MockPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: MockPlatformLocation });
181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: MockPlatformLocation, decorators: [{
182
182
  type: Injectable
183
183
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
184
184
  type: Inject,
@@ -56,10 +56,10 @@ export class LocationUpgradeModule {
56
56
  };
57
57
  }
58
58
  }
59
- LocationUpgradeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: LocationUpgradeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
60
- LocationUpgradeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
61
- LocationUpgradeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: LocationUpgradeModule, imports: [[CommonModule]] });
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: LocationUpgradeModule, decorators: [{
59
+ LocationUpgradeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LocationUpgradeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
60
+ LocationUpgradeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
61
+ LocationUpgradeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LocationUpgradeModule, imports: [[CommonModule]] });
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: LocationUpgradeModule, decorators: [{
63
63
  type: NgModule,
64
64
  args: [{ imports: [CommonModule] }]
65
65
  }] });