@ethnolib/find-language 0.1.9 → 0.1.10
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 +3 -4
- package/languageTagUtils.d.ts +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -102064,10 +102064,9 @@ function fd(l) {
|
|
|
102064
102064
|
});
|
|
102065
102065
|
}
|
|
102066
102066
|
function _d(l, o) {
|
|
102067
|
-
|
|
102068
|
-
|
|
102069
|
-
|
|
102070
|
-
);
|
|
102067
|
+
return !l || Sh(l) || or(l) ? "" : ze(
|
|
102068
|
+
(o == null ? void 0 : o.languageNameInScript) || l.autonym || l.exonym
|
|
102069
|
+
) ?? "";
|
|
102071
102070
|
}
|
|
102072
102071
|
function ce(l) {
|
|
102073
102072
|
return Array.isArray ? Array.isArray(l) : mr(l) === "[object Array]";
|
package/languageTagUtils.d.ts
CHANGED
|
@@ -24,5 +24,5 @@ interface ITagParts {
|
|
|
24
24
|
export declare function splitTag(tag: string): ITagParts;
|
|
25
25
|
export declare function defaultRegionForLangTag(languageTag: string): IRegion | undefined;
|
|
26
26
|
export declare function createTagFromOrthography(orthography: IOrthography): string;
|
|
27
|
-
export declare function defaultDisplayName(language?: ILanguage, script?: IScript): string
|
|
27
|
+
export declare function defaultDisplayName(language?: ILanguage, script?: IScript): string;
|
|
28
28
|
export {};
|
package/package.json
CHANGED