@ethnolib/find-language 0.1.4 → 0.1.5

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "A library for fuzzy-searching for languages and other utils for language choosers",
4
4
  "author": "SIL Global",
5
5
  "license": "MIT",
6
- "version": "0.1.4",
6
+ "version": "0.1.5",
7
7
  "main": "./index.js",
8
8
  "types": "./index.d.ts",
9
9
  "scripts": {
@@ -12,6 +12,7 @@
12
12
  "build": "nx vite:build",
13
13
  "typecheck": "tsc",
14
14
  "test": "nx vite:test --config vitest.config.ts",
15
+ "testonce": "nx vite:test --config vitest.config.ts --run",
15
16
  "lint": "eslint ."
16
17
  },
17
18
  "dependencies": {
@@ -4,5 +4,5 @@ export declare function modifyScripts(scriptModifier: (value: IScript) => IScrip
4
4
  export declare function rawIsoCode(result: ILanguage): string | undefined;
5
5
  export declare function substituteInModifiedEntry(targetCode: string, getModifiedEntry: (result: ILanguage) => ILanguage, results: ILanguage[]): ILanguage[];
6
6
  export declare function filterOnLanguageCode(langCodeFilter: (value: string) => boolean, results: ILanguage[]): ILanguage[];
7
- export declare function prioritizeLangByKeywords(keywords: string[], searchString: string, langCodeToPrioritize: string, results: ILanguage[]): ILanguage[];
7
+ export declare function prioritizeLangByKeywords(keywords: string[], searchString: string, lang639_3CodeToPrioritize: string, results: ILanguage[]): ILanguage[];
8
8
  export declare function defaultSearchResultModifier(results: ILanguage[], searchString: string): ILanguage[];