icu-minify 0.0.0-canary-c1152a2 → 0.0.0-canary-dc800af
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.
|
@@ -5,6 +5,7 @@ import { T as TYPE_POUND, c as TYPE_TIME, b as TYPE_DATE, a as TYPE_NUMBER, e as
|
|
|
5
5
|
// Could potentially share this with `use-intl` if we had a shared package for both
|
|
6
6
|
|
|
7
7
|
function format(message, locale, values = {}, options) {
|
|
8
|
+
// Hot path for plain strings
|
|
8
9
|
if (typeof message === 'string') {
|
|
9
10
|
return message;
|
|
10
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "icu-minify",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-dc800af",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"author": "Jan Amann <jan@amann.work>",
|
|
6
6
|
"funding": [
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@formatjs/icu-messageformat-parser": "^3.4.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "cb3f1d97f6593c4797c260adea0d0c4b2a8d72b3"
|
|
59
59
|
}
|