@formatjs/intl-durationformat 0.6.2 → 0.6.4

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/index.js CHANGED
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./src/core"), exports);
5
- //# sourceMappingURL=index.js.map
package/lib/index.js CHANGED
@@ -1,2 +1 @@
1
1
  export * from './src/core';
2
- //# sourceMappingURL=index.js.map
@@ -16,4 +16,3 @@ if (typeof Intl === 'undefined') {
16
16
  Object.defineProperty(Intl, 'DurationFormat', {
17
17
  value: DurationFormat,
18
18
  });
19
- //# sourceMappingURL=polyfill-force.js.map
package/lib/polyfill.js CHANGED
@@ -19,4 +19,3 @@ if (shouldPolyfill()) {
19
19
  value: DurationFormat,
20
20
  });
21
21
  }
22
- //# sourceMappingURL=polyfill.js.map
@@ -1,4 +1,3 @@
1
1
  export function shouldPolyfill() {
2
2
  return typeof Intl === 'undefined' || !('DurationFormat' in Intl);
3
3
  }
4
- //# sourceMappingURL=should-polyfill.js.map
@@ -11,4 +11,3 @@ export function DurationRecordSign(record) {
11
11
  }
12
12
  return 0;
13
13
  }
14
- //# sourceMappingURL=DurationRecordSign.js.map
@@ -41,4 +41,3 @@ export function GetDurationUnitOptions(unit, options, baseStyle, stylesList, dig
41
41
  display: display,
42
42
  };
43
43
  }
44
- //# sourceMappingURL=GetDurationUnitOptions.js.map
@@ -16,4 +16,3 @@ export function IsValidDurationRecord(record) {
16
16
  }
17
17
  return true;
18
18
  }
19
- //# sourceMappingURL=IsValidDurationRecord.js.map
@@ -147,4 +147,3 @@ export function PartitionDurationFormatPattern(df, duration) {
147
147
  }
148
148
  return flattened;
149
149
  }
150
- //# sourceMappingURL=PartitionDurationFormatPattern.js.map
@@ -66,4 +66,3 @@ export function ToDurationRecord(input) {
66
66
  }
67
67
  return result;
68
68
  }
69
- //# sourceMappingURL=ToDurationRecord.js.map
@@ -6,4 +6,3 @@ export function ToIntegerIfIntegral(arg) {
6
6
  }
7
7
  return number;
8
8
  }
9
- //# sourceMappingURL=ToIntegerIfIntegral.js.map
@@ -82,4 +82,3 @@ export var TABLE_2 = [
82
82
  numberFormatUnit: 'nanosecond',
83
83
  },
84
84
  ];
85
- //# sourceMappingURL=constants.js.map
package/lib/src/core.js CHANGED
@@ -234,4 +234,3 @@ var DurationFormat = /** @class */ (function () {
234
234
  return DurationFormat;
235
235
  }());
236
236
  export { DurationFormat };
237
- //# sourceMappingURL=core.js.map
@@ -7,4 +7,3 @@ export function getInternalSlots(x) {
7
7
  }
8
8
  return internalSlots;
9
9
  }
10
- //# sourceMappingURL=get_internal_slots.js.map
@@ -1,2 +1 @@
1
1
  export var numberingSystemNames = ["adlm", "ahom", "arab", "arabext", "armn", "armnlow", "bali", "beng", "bhks", "brah", "cakm", "cham", "cyrl", "deva", "diak", "ethi", "fullwide", "gara", "geor", "gong", "gonm", "grek", "greklow", "gujr", "gukh", "guru", "hanidays", "hanidec", "hans", "hansfin", "hant", "hantfin", "hebr", "hmng", "hmnp", "java", "jpan", "jpanfin", "jpanyear", "kali", "kawi", "khmr", "knda", "krai", "lana", "lanatham", "laoo", "latn", "lepc", "limb", "mathbold", "mathdbl", "mathmono", "mathsanb", "mathsans", "mlym", "modi", "mong", "mroo", "mtei", "mymr", "mymrepka", "mymrpao", "mymrshan", "mymrtlng", "nagm", "newa", "nkoo", "olck", "onao", "orya", "osma", "outlined", "rohg", "roman", "romanlow", "saur", "segment", "shrd", "sind", "sinh", "sora", "sund", "sunu", "takr", "talu", "taml", "tamldec", "telu", "thai", "tibt", "tirh", "tnsa", "vaii", "wara", "wcho"];
2
- //# sourceMappingURL=numbering-systems.generated.js.map
@@ -3699,4 +3699,3 @@ export var TIME_SEPARATORS = {
3699
3699
  }
3700
3700
  }
3701
3701
  };
3702
- //# sourceMappingURL=time-separators.generated.js.map
package/lib/src/types.js CHANGED
@@ -1,3 +1,2 @@
1
1
  // Public --------------------------------------------------------------------------------------------------------------
2
2
  export {};
3
- //# sourceMappingURL=types.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/intl-durationformat",
3
- "version": "0.6.2",
3
+ "version": "0.6.4",
4
4
  "description": "Intl.DurationFormat polyfill",
5
5
  "keywords": [
6
6
  "intl",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "tslib": "2",
29
- "@formatjs/intl-localematcher": "0.5.7",
30
- "@formatjs/ecma402-abstract": "2.2.2"
29
+ "@formatjs/intl-localematcher": "0.5.8",
30
+ "@formatjs/ecma402-abstract": "2.2.4"
31
31
  }
32
32
  }
package/polyfill-force.js CHANGED
@@ -18,4 +18,3 @@ if (typeof Intl === 'undefined') {
18
18
  Object.defineProperty(Intl, 'DurationFormat', {
19
19
  value: _1.DurationFormat,
20
20
  });
21
- //# sourceMappingURL=polyfill-force.js.map
package/polyfill.js CHANGED
@@ -21,4 +21,3 @@ if ((0, should_polyfill_1.shouldPolyfill)()) {
21
21
  value: _1.DurationFormat,
22
22
  });
23
23
  }
24
- //# sourceMappingURL=polyfill.js.map
@@ -4,4 +4,3 @@ exports.shouldPolyfill = shouldPolyfill;
4
4
  function shouldPolyfill() {
5
5
  return typeof Intl === 'undefined' || !('DurationFormat' in Intl);
6
6
  }
7
- //# sourceMappingURL=should-polyfill.js.map
@@ -14,4 +14,3 @@ function DurationRecordSign(record) {
14
14
  }
15
15
  return 0;
16
16
  }
17
- //# sourceMappingURL=DurationRecordSign.js.map
@@ -44,4 +44,3 @@ function GetDurationUnitOptions(unit, options, baseStyle, stylesList, digitalBas
44
44
  display: display,
45
45
  };
46
46
  }
47
- //# sourceMappingURL=GetDurationUnitOptions.js.map
@@ -19,4 +19,3 @@ function IsValidDurationRecord(record) {
19
19
  }
20
20
  return true;
21
21
  }
22
- //# sourceMappingURL=IsValidDurationRecord.js.map
@@ -150,4 +150,3 @@ function PartitionDurationFormatPattern(df, duration) {
150
150
  }
151
151
  return flattened;
152
152
  }
153
- //# sourceMappingURL=PartitionDurationFormatPattern.js.map
@@ -69,4 +69,3 @@ function ToDurationRecord(input) {
69
69
  }
70
70
  return result;
71
71
  }
72
- //# sourceMappingURL=ToDurationRecord.js.map
@@ -9,4 +9,3 @@ function ToIntegerIfIntegral(arg) {
9
9
  }
10
10
  return number;
11
11
  }
12
- //# sourceMappingURL=ToIntegerIfIntegral.js.map
package/src/constants.js CHANGED
@@ -85,4 +85,3 @@ exports.TABLE_2 = [
85
85
  numberFormatUnit: 'nanosecond',
86
86
  },
87
87
  ];
88
- //# sourceMappingURL=constants.js.map
package/src/core.js CHANGED
@@ -237,4 +237,3 @@ var DurationFormat = /** @class */ (function () {
237
237
  return DurationFormat;
238
238
  }());
239
239
  exports.DurationFormat = DurationFormat;
240
- //# sourceMappingURL=core.js.map
@@ -10,4 +10,3 @@ function getInternalSlots(x) {
10
10
  }
11
11
  return internalSlots;
12
12
  }
13
- //# sourceMappingURL=get_internal_slots.js.map
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.numberingSystemNames = void 0;
4
4
  exports.numberingSystemNames = ["adlm", "ahom", "arab", "arabext", "armn", "armnlow", "bali", "beng", "bhks", "brah", "cakm", "cham", "cyrl", "deva", "diak", "ethi", "fullwide", "gara", "geor", "gong", "gonm", "grek", "greklow", "gujr", "gukh", "guru", "hanidays", "hanidec", "hans", "hansfin", "hant", "hantfin", "hebr", "hmng", "hmnp", "java", "jpan", "jpanfin", "jpanyear", "kali", "kawi", "khmr", "knda", "krai", "lana", "lanatham", "laoo", "latn", "lepc", "limb", "mathbold", "mathdbl", "mathmono", "mathsanb", "mathsans", "mlym", "modi", "mong", "mroo", "mtei", "mymr", "mymrepka", "mymrpao", "mymrshan", "mymrtlng", "nagm", "newa", "nkoo", "olck", "onao", "orya", "osma", "outlined", "rohg", "roman", "romanlow", "saur", "segment", "shrd", "sind", "sinh", "sora", "sund", "sunu", "takr", "talu", "taml", "tamldec", "telu", "thai", "tibt", "tirh", "tnsa", "vaii", "wara", "wcho"];
5
- //# sourceMappingURL=numbering-systems.generated.js.map
@@ -3702,4 +3702,3 @@ exports.TIME_SEPARATORS = {
3702
3702
  }
3703
3703
  }
3704
3704
  };
3705
- //# sourceMappingURL=time-separators.generated.js.map
package/src/types.js CHANGED
@@ -1,4 +1,3 @@
1
1
  "use strict";
2
2
  // Public --------------------------------------------------------------------------------------------------------------
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- //# sourceMappingURL=types.js.map