react-intl 5.6.8 → 5.6.9
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/package.json +9 -9
- package/react-intl-no-parser.umd.js +4 -0
- package/react-intl.umd.js +11 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-intl",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.9",
|
|
4
4
|
"description": "Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"intl",
|
|
@@ -128,17 +128,17 @@
|
|
|
128
128
|
"types": "react-intl.d.ts",
|
|
129
129
|
"sideEffects": false,
|
|
130
130
|
"dependencies": {
|
|
131
|
-
"@formatjs/ecma402-abstract": "^1.0.
|
|
132
|
-
"@formatjs/intl-datetimeformat": "^2.6.
|
|
133
|
-
"@formatjs/intl-displaynames": "^3.3.
|
|
134
|
-
"@formatjs/intl-listformat": "^4.2.
|
|
135
|
-
"@formatjs/intl-numberformat": "^5.5.
|
|
136
|
-
"@formatjs/intl-relativetimeformat": "^7.2.
|
|
131
|
+
"@formatjs/ecma402-abstract": "^1.0.3",
|
|
132
|
+
"@formatjs/intl-datetimeformat": "^2.6.3",
|
|
133
|
+
"@formatjs/intl-displaynames": "^3.3.3",
|
|
134
|
+
"@formatjs/intl-listformat": "^4.2.3",
|
|
135
|
+
"@formatjs/intl-numberformat": "^5.5.3",
|
|
136
|
+
"@formatjs/intl-relativetimeformat": "^7.2.3",
|
|
137
137
|
"@types/hoist-non-react-statics": "^3.3.1",
|
|
138
138
|
"fast-memoize": "^2.5.2",
|
|
139
139
|
"hoist-non-react-statics": "^3.3.2",
|
|
140
|
-
"intl-messageformat": "^9.3.
|
|
141
|
-
"intl-messageformat-parser": "^6.0.
|
|
140
|
+
"intl-messageformat": "^9.3.3",
|
|
141
|
+
"intl-messageformat-parser": "^6.0.2",
|
|
142
142
|
"shallow-equal": "^1.2.1"
|
|
143
143
|
},
|
|
144
144
|
"peerDependencies": {
|
|
@@ -795,6 +795,10 @@
|
|
|
795
795
|
return IntlMessageFormat;
|
|
796
796
|
}());
|
|
797
797
|
|
|
798
|
+
/**
|
|
799
|
+
* Cannot do Math.log(x) / Math.log(10) bc if IEEE floating point issue
|
|
800
|
+
* @param x number
|
|
801
|
+
*/
|
|
798
802
|
function invariant(condition, message, Err) {
|
|
799
803
|
if (Err === void 0) { Err = Error; }
|
|
800
804
|
if (!condition) {
|
package/react-intl.umd.js
CHANGED
|
@@ -4204,13 +4204,6 @@
|
|
|
4204
4204
|
return IntlMessageFormat;
|
|
4205
4205
|
}());
|
|
4206
4206
|
|
|
4207
|
-
function invariant(condition, message, Err) {
|
|
4208
|
-
if (Err === void 0) { Err = Error; }
|
|
4209
|
-
if (!condition) {
|
|
4210
|
-
throw new Err(message);
|
|
4211
|
-
}
|
|
4212
|
-
}
|
|
4213
|
-
|
|
4214
4207
|
function createCommonjsModule(fn, basedir, module) {
|
|
4215
4208
|
return module = {
|
|
4216
4209
|
path: basedir,
|
|
@@ -4225,6 +4218,17 @@
|
|
|
4225
4218
|
throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
|
|
4226
4219
|
}
|
|
4227
4220
|
|
|
4221
|
+
/**
|
|
4222
|
+
* Cannot do Math.log(x) / Math.log(10) bc if IEEE floating point issue
|
|
4223
|
+
* @param x number
|
|
4224
|
+
*/
|
|
4225
|
+
function invariant(condition, message, Err) {
|
|
4226
|
+
if (Err === void 0) { Err = Error; }
|
|
4227
|
+
if (!condition) {
|
|
4228
|
+
throw new Err(message);
|
|
4229
|
+
}
|
|
4230
|
+
}
|
|
4231
|
+
|
|
4228
4232
|
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
4229
4233
|
var extendStatics = function (d, b) {
|
|
4230
4234
|
extendStatics = Object.setPrototypeOf ||
|