intl-messageformat 10.4.0 → 10.5.1
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.
|
@@ -1883,7 +1883,7 @@ var SPACE_SEPARATOR_END_REGEX = new RegExp("".concat(SPACE_SEPARATOR_REGEX.sourc
|
|
|
1883
1883
|
function createLocation(start, end) {
|
|
1884
1884
|
return { start, end };
|
|
1885
1885
|
}
|
|
1886
|
-
var hasNativeStartsWith = !!String.prototype.startsWith;
|
|
1886
|
+
var hasNativeStartsWith = !!String.prototype.startsWith && "_a".startsWith("a", 1);
|
|
1887
1887
|
var hasNativeFromCodePoint = !!String.fromCodePoint;
|
|
1888
1888
|
var hasNativeFromEntries = !!Object.fromEntries;
|
|
1889
1889
|
var hasNativeCodePointAt = !!String.prototype.codePointAt;
|
|
@@ -1952,7 +1952,7 @@ var IntlMessageFormat = (() => {
|
|
|
1952
1952
|
function createLocation(start, end) {
|
|
1953
1953
|
return { start, end };
|
|
1954
1954
|
}
|
|
1955
|
-
var hasNativeStartsWith = !!String.prototype.startsWith;
|
|
1955
|
+
var hasNativeStartsWith = !!String.prototype.startsWith && "_a".startsWith("a", 1);
|
|
1956
1956
|
var hasNativeFromCodePoint = !!String.fromCodePoint;
|
|
1957
1957
|
var hasNativeFromEntries = !!Object.fromEntries;
|
|
1958
1958
|
var hasNativeCodePointAt = !!String.prototype.codePointAt;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "intl-messageformat",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.5.1",
|
|
4
4
|
"description": "Formats ICU Message strings with number, date, plural, and select placeholders to create localized messages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"i18n",
|
|
@@ -30,18 +30,10 @@
|
|
|
30
30
|
"main": "index.js",
|
|
31
31
|
"module": "lib/index.js",
|
|
32
32
|
"types": "index.d.ts",
|
|
33
|
-
"exports": {
|
|
34
|
-
".": {
|
|
35
|
-
"types": "./index.d.ts",
|
|
36
|
-
"import": "./lib/index.js",
|
|
37
|
-
"default": "./index.js"
|
|
38
|
-
},
|
|
39
|
-
"./package.json": "./package.json"
|
|
40
|
-
},
|
|
41
33
|
"dependencies": {
|
|
42
|
-
"@formatjs/ecma402-abstract": "1.
|
|
43
|
-
"@formatjs/fast-memoize": "2.
|
|
44
|
-
"@formatjs/icu-messageformat-parser": "2.
|
|
34
|
+
"@formatjs/ecma402-abstract": "1.17.1",
|
|
35
|
+
"@formatjs/fast-memoize": "2.2.0",
|
|
36
|
+
"@formatjs/icu-messageformat-parser": "2.6.1",
|
|
45
37
|
"tslib": "^2.4.0"
|
|
46
38
|
},
|
|
47
39
|
"sideEffects": false,
|