@formatjs/intl 2.10.14 → 2.10.15

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
@@ -38,4 +38,3 @@ Object.defineProperty(exports, "formatNumber", { enumerable: true, get: function
38
38
  Object.defineProperty(exports, "formatNumberToParts", { enumerable: true, get: function () { return number_1.formatNumberToParts; } });
39
39
  var create_intl_1 = require("./src/create-intl");
40
40
  Object.defineProperty(exports, "createIntl", { enumerable: true, get: function () { return create_intl_1.createIntl; } });
41
- //# sourceMappingURL=index.js.map
package/lib/index.js CHANGED
@@ -15,4 +15,3 @@ export { formatPlural } from './src/plural';
15
15
  export { formatRelativeTime } from './src/relativeTime';
16
16
  export { formatNumber, formatNumberToParts } from './src/number';
17
17
  export { createIntl } from './src/create-intl';
18
- //# sourceMappingURL=index.js.map
@@ -53,4 +53,3 @@ export function createIntl(config, cache) {
53
53
  // @ts-expect-error TODO: will get to this later
54
54
  $t: formatMessage.bind(null, resolvedConfig, formatters), formatList: formatList.bind(null, resolvedConfig, formatters.getListFormat), formatListToParts: formatListToParts.bind(null, resolvedConfig, formatters.getListFormat), formatDisplayName: formatDisplayName.bind(null, resolvedConfig, formatters.getDisplayNames) });
55
55
  }
56
- //# sourceMappingURL=create-intl.js.map
@@ -115,4 +115,3 @@ export function formatTimeToParts(config, getDateTimeFormat) {
115
115
  }
116
116
  return [];
117
117
  }
118
- //# sourceMappingURL=dateTime.js.map
@@ -21,4 +21,3 @@ export function formatDisplayName(_a, getDisplayNames, value, options) {
21
21
  onError(new IntlFormatError('Error formatting display name.', locale, e));
22
22
  }
23
23
  }
24
- //# sourceMappingURL=displayName.js.map
package/lib/src/error.js CHANGED
@@ -89,4 +89,3 @@ var MissingTranslationError = /** @class */ (function (_super) {
89
89
  return MissingTranslationError;
90
90
  }(IntlError));
91
91
  export { MissingTranslationError };
92
- //# sourceMappingURL=error.js.map
package/lib/src/list.js CHANGED
@@ -59,4 +59,3 @@ export function formatListToParts(_a, getListFormat, values, options) {
59
59
  // @ts-ignore
60
60
  return values;
61
61
  }
62
- //# sourceMappingURL=list.js.map
@@ -101,4 +101,3 @@ export var formatMessage = function (_a, state, messageDescriptor, values, opts)
101
101
  }
102
102
  return id;
103
103
  };
104
- //# sourceMappingURL=message.js.map
package/lib/src/number.js CHANGED
@@ -56,4 +56,3 @@ export function formatNumberToParts(config, getNumberFormat, value, options) {
56
56
  }
57
57
  return [];
58
58
  }
59
- //# sourceMappingURL=number.js.map
package/lib/src/plural.js CHANGED
@@ -17,4 +17,3 @@ export function formatPlural(_a, getPluralRules, value, options) {
17
17
  }
18
18
  return 'other';
19
19
  }
20
- //# sourceMappingURL=plural.js.map
@@ -27,4 +27,3 @@ export function formatRelativeTime(config, getRelativeTimeFormat, value, unit, o
27
27
  }
28
28
  return String(value);
29
29
  }
30
- //# sourceMappingURL=relativeTime.js.map
package/lib/src/types.js CHANGED
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=types.js.map
package/lib/src/utils.js CHANGED
@@ -160,4 +160,3 @@ export function getNamedFormat(formats, type, name, onError) {
160
160
  }
161
161
  onError(new UnsupportedFormatterError("No ".concat(type, " format named: ").concat(name)));
162
162
  }
163
- //# sourceMappingURL=utils.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/intl",
3
- "version": "2.10.14",
3
+ "version": "2.10.15",
4
4
  "description": "Internationalize JS apps. This library provides an API to format dates, numbers, and strings, including pluralization and handling translations.",
5
5
  "keywords": [
6
6
  "intl",
@@ -30,16 +30,16 @@
30
30
  "sideEffects": false,
31
31
  "dependencies": {
32
32
  "tslib": "2",
33
- "@formatjs/ecma402-abstract": "2.2.3",
33
+ "@formatjs/ecma402-abstract": "2.2.4",
34
+ "@formatjs/icu-messageformat-parser": "2.9.4",
35
+ "@formatjs/intl-listformat": "7.7.5",
34
36
  "@formatjs/fast-memoize": "2.2.3",
35
- "@formatjs/icu-messageformat-parser": "2.9.3",
36
- "@formatjs/intl-displaynames": "6.8.4",
37
- "intl-messageformat": "10.7.6",
38
- "@formatjs/intl-listformat": "7.7.4"
37
+ "@formatjs/intl-displaynames": "6.8.5",
38
+ "intl-messageformat": "10.7.7"
39
39
  },
40
40
  "devDependencies": {
41
- "@formatjs/intl-numberformat": "8.14.4",
42
- "@formatjs/intl-datetimeformat": "6.16.4"
41
+ "@formatjs/intl-datetimeformat": "6.16.5",
42
+ "@formatjs/intl-numberformat": "8.14.5"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "typescript": "^4.7 || 5"
@@ -56,4 +56,3 @@ function createIntl(config, cache) {
56
56
  // @ts-expect-error TODO: will get to this later
57
57
  $t: message_1.formatMessage.bind(null, resolvedConfig, formatters), formatList: list_1.formatList.bind(null, resolvedConfig, formatters.getListFormat), formatListToParts: list_1.formatListToParts.bind(null, resolvedConfig, formatters.getListFormat), formatDisplayName: displayName_1.formatDisplayName.bind(null, resolvedConfig, formatters.getDisplayNames) });
58
58
  }
59
- //# sourceMappingURL=create-intl.js.map
package/src/dateTime.js CHANGED
@@ -123,4 +123,3 @@ function formatTimeToParts(config, getDateTimeFormat) {
123
123
  }
124
124
  return [];
125
125
  }
126
- //# sourceMappingURL=dateTime.js.map
@@ -24,4 +24,3 @@ function formatDisplayName(_a, getDisplayNames, value, options) {
24
24
  onError(new error_1.IntlFormatError('Error formatting display name.', locale, e));
25
25
  }
26
26
  }
27
- //# sourceMappingURL=displayName.js.map
package/src/error.js CHANGED
@@ -92,4 +92,3 @@ var MissingTranslationError = /** @class */ (function (_super) {
92
92
  return MissingTranslationError;
93
93
  }(IntlError));
94
94
  exports.MissingTranslationError = MissingTranslationError;
95
- //# sourceMappingURL=error.js.map
package/src/list.js CHANGED
@@ -63,4 +63,3 @@ function formatListToParts(_a, getListFormat, values, options) {
63
63
  // @ts-ignore
64
64
  return values;
65
65
  }
66
- //# sourceMappingURL=list.js.map
package/src/message.js CHANGED
@@ -105,4 +105,3 @@ var formatMessage = function (_a, state, messageDescriptor, values, opts) {
105
105
  return id;
106
106
  };
107
107
  exports.formatMessage = formatMessage;
108
- //# sourceMappingURL=message.js.map
package/src/number.js CHANGED
@@ -61,4 +61,3 @@ function formatNumberToParts(config, getNumberFormat, value, options) {
61
61
  }
62
62
  return [];
63
63
  }
64
- //# sourceMappingURL=number.js.map
package/src/plural.js CHANGED
@@ -20,4 +20,3 @@ function formatPlural(_a, getPluralRules, value, options) {
20
20
  }
21
21
  return 'other';
22
22
  }
23
- //# sourceMappingURL=plural.js.map
@@ -30,4 +30,3 @@ function formatRelativeTime(config, getRelativeTimeFormat, value, unit, options)
30
30
  }
31
31
  return String(value);
32
32
  }
33
- //# sourceMappingURL=relativeTime.js.map
package/src/types.js CHANGED
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
package/src/utils.js CHANGED
@@ -167,4 +167,3 @@ function getNamedFormat(formats, type, name, onError) {
167
167
  }
168
168
  onError(new error_1.UnsupportedFormatterError("No ".concat(type, " format named: ").concat(name)));
169
169
  }
170
- //# sourceMappingURL=utils.js.map