@ethnolib/language-chooser-react-hook 0.0.4 → 0.0.6

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.
Files changed (3) hide show
  1. package/index.js +6 -6
  2. package/index.mjs +403 -403
  3. package/package.json +5 -10
package/package.json CHANGED
@@ -3,18 +3,18 @@
3
3
  "description": "A React hook providing the logic for a language chooser",
4
4
  "author": "SIL Global",
5
5
  "license": "MIT",
6
- "version": "0.0.4",
6
+ "version": "0.0.6",
7
7
  "main": "./index.js",
8
8
  "types": "./index.d.ts",
9
9
  "scripts": {
10
10
  "typecheck": "tsc",
11
11
  "prebuild": "npm run typecheck",
12
12
  "build": "nx vite:build",
13
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
13
+ "lint": "eslint .",
14
14
  "test": "nx vite:test --config vitest.config.ts"
15
15
  },
16
16
  "dependencies": {
17
- "@ethnolib/find-language": "0.0.9",
17
+ "@ethnolib/find-language": "0.0.10",
18
18
  "fuse.js": "^7.0.0",
19
19
  "iso-15924": "^3.2.0",
20
20
  "iso-3166": "^4.3.0"
@@ -23,17 +23,12 @@
23
23
  "@types/lodash": "^4.17.7",
24
24
  "@types/react": "^17",
25
25
  "@types/react-dom": "^17",
26
- "@typescript-eslint/eslint-plugin": "^6.14.0",
27
- "@typescript-eslint/parser": "^6.14.0",
28
26
  "@vitejs/plugin-react": "^4.2.1",
29
- "eslint": "^8.55.0",
30
- "eslint-plugin-react-hooks": "^4.6.0",
31
- "eslint-plugin-react-refresh": "^0.4.5",
32
27
  "typescript": "^5.2.2",
33
28
  "vite-plugin-dts": "^4.2.1"
34
29
  },
35
- "// We've tested with 18 and have no reason to believe it won't work with higher versions": "",
30
+ "// We've tested with 18.18 and have no reason to believe it won't work with higher versions": "",
36
31
  "engines": {
37
- "node": ">=18.0.0"
32
+ "node": ">=18.18"
38
33
  }
39
34
  }