@formatjs/intl
Advanced tools
+3
-3
| { | ||
| "name": "@formatjs/intl", | ||
| "description": "Internationalize JS apps. This library provides an API to format dates, numbers, and strings, including pluralization and handling translations.", | ||
| "version": "4.1.0", | ||
| "version": "4.1.1", | ||
| "license": "MIT", | ||
@@ -17,4 +17,4 @@ "author": "Long Ho <holevietlong@gmail.com>", | ||
| "@formatjs/fast-memoize": "3.1.0", | ||
| "intl-messageformat": "11.1.0", | ||
| "@formatjs/icu-messageformat-parser": "3.4.0" | ||
| "@formatjs/icu-messageformat-parser": "3.5.0", | ||
| "intl-messageformat": "11.1.1" | ||
| }, | ||
@@ -21,0 +21,0 @@ "peerDependencies": { |
+0
-4
@@ -54,6 +54,2 @@ import "./types.js"; | ||
| } | ||
| // IMPORTANT: Hot path straight lookup for performance | ||
| if (!values && message && typeof message === "string" && !defaultRichTextElements) { | ||
| return message.replace(/'\{(.*?)\}'/gi, `{$1}`); | ||
| } | ||
| values = { | ||
@@ -60,0 +56,0 @@ ...defaultRichTextElements, |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
43907
-0.44%936
-0.43%+ Added
+ Added
- Removed
- Removed
Updated