react-intl 5.21.1 → 5.21.2
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 +3 -3
- package/react-intl.iife.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-intl",
|
|
3
|
-
"version": "5.21.
|
|
3
|
+
"version": "5.21.2",
|
|
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",
|
|
@@ -130,13 +130,13 @@
|
|
|
130
130
|
"dependencies": {
|
|
131
131
|
"@formatjs/ecma402-abstract": "1.10.0",
|
|
132
132
|
"@formatjs/icu-messageformat-parser": "2.0.14",
|
|
133
|
-
"@formatjs/intl": "1.15.
|
|
133
|
+
"@formatjs/intl": "1.15.2",
|
|
134
134
|
"@formatjs/intl-displaynames": "5.2.5",
|
|
135
135
|
"@formatjs/intl-listformat": "6.3.5",
|
|
136
136
|
"@types/hoist-non-react-statics": "^3.3.1",
|
|
137
137
|
"@types/react": "16 || 17",
|
|
138
138
|
"hoist-non-react-statics": "^3.3.2",
|
|
139
|
-
"intl-messageformat": "9.9.
|
|
139
|
+
"intl-messageformat": "9.9.6",
|
|
140
140
|
"tslib": "^2.1.0"
|
|
141
141
|
},
|
|
142
142
|
"peerDependencies": {
|
package/react-intl.iife.js
CHANGED
|
@@ -2279,7 +2279,7 @@ var ReactIntl = (function() {
|
|
|
2279
2279
|
continue;
|
|
2280
2280
|
}
|
|
2281
2281
|
var varName = el.value;
|
|
2282
|
-
if (!(values &&
|
|
2282
|
+
if (!(values && varName in values)) {
|
|
2283
2283
|
throw new MissingValueError(varName, originalMessage);
|
|
2284
2284
|
}
|
|
2285
2285
|
var value = values[varName];
|