react-intl 10.1.2 → 10.1.3
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 +4 -4
- package/react-intl.iife.js +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-intl",
|
|
3
3
|
"description": "Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.",
|
|
4
|
-
"version": "10.1.
|
|
4
|
+
"version": "10.1.3",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"author": "Eric Ferraiuolo <edf@ericf.me>",
|
|
7
7
|
"type": "module",
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"./server": "./server.js"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@formatjs/icu-messageformat-parser": "3.5.
|
|
16
|
-
"intl
|
|
17
|
-
"
|
|
15
|
+
"@formatjs/icu-messageformat-parser": "3.5.5",
|
|
16
|
+
"@formatjs/intl": "4.1.7",
|
|
17
|
+
"intl-messageformat": "11.2.2"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@types/react": "19",
|
package/react-intl.iife.js
CHANGED
|
@@ -2863,10 +2863,10 @@ function filterProps(props, allowlist, defaults = {}) {
|
|
|
2863
2863
|
}, {});
|
|
2864
2864
|
}
|
|
2865
2865
|
const defaultErrorHandler = (error) => {
|
|
2866
|
-
console.error(error);
|
|
2866
|
+
if (process.env.NODE_ENV !== "production") console.error(error);
|
|
2867
2867
|
};
|
|
2868
2868
|
const defaultWarnHandler = (warning) => {
|
|
2869
|
-
console.warn(warning);
|
|
2869
|
+
if (process.env.NODE_ENV !== "production") console.warn(warning);
|
|
2870
2870
|
};
|
|
2871
2871
|
const DEFAULT_INTL_CONFIG$1 = {
|
|
2872
2872
|
formats: {},
|