@ethnolib/language-chooser-react-mui 0.1.8 → 0.1.9
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/index.js +1 -1
- package/index.mjs +2 -0
- package/package.json +3 -3
package/index.mjs
CHANGED
@@ -354129,6 +354129,8 @@ function pg(e) {
|
|
354129
354129
|
};
|
354130
354130
|
}
|
354131
354131
|
function yF(e, i) {
|
354132
|
+
if (!e)
|
354133
|
+
return;
|
354132
354134
|
const { languageSubtag: t, scriptSubtag: s, regionSubtag: r, variantSubtag: l, privateUseSubtag: m, otherSubtags: L } = pg(e);
|
354133
354135
|
if (L != null && L.length || l) {
|
354134
354136
|
console.log("langtag parsing found unexpected subtags", L);
|
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"description": "A language chooser React component using MUI",
|
4
4
|
"author": "SIL Global",
|
5
5
|
"license": "MIT",
|
6
|
-
"version": "0.1.
|
6
|
+
"version": "0.1.9",
|
7
7
|
"main": "./index.js",
|
8
8
|
"types": "./index.d.ts",
|
9
9
|
"exports": {
|
@@ -18,8 +18,8 @@
|
|
18
18
|
"e2e": "playwright test"
|
19
19
|
},
|
20
20
|
"dependencies": {
|
21
|
-
"@ethnolib/find-language": "0.1.
|
22
|
-
"@ethnolib/language-chooser-react-hook": "0.1.
|
21
|
+
"@ethnolib/find-language": "0.1.7",
|
22
|
+
"@ethnolib/language-chooser-react-hook": "0.1.8",
|
23
23
|
"lodash": "^4.17.21",
|
24
24
|
"react-lazyload": "^3.2.1",
|
25
25
|
"@mui/icons-material": "^5.15.19"
|