is-language-code 4.0.3 → 4.0.7
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/CHANGELOG.md +0 -20
- package/LICENSE +1 -1
- package/dist/is-language-code.esm.js +9249 -217
- package/dist/is-language-code.umd.js +2 -2
- package/package.json +21 -25
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "is-language-code",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.7",
|
|
4
4
|
"description": "Is given string a language code (as per IANA)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"check",
|
|
@@ -40,13 +40,12 @@
|
|
|
40
40
|
"types": "types/index.d.ts",
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "rollup -c",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
43
|
+
"build:esbuild": "node '../../scripts/esbuild.js'",
|
|
44
|
+
"build:esbuild:dev": "cross-env MODE=dev node '../../scripts/esbuild.js'",
|
|
45
|
+
"ci_test": "npm run build && npm run format && tap --no-only --reporter=silent",
|
|
45
46
|
"clean_types": "../../scripts/cleanTypes.js",
|
|
46
47
|
"dev": "rollup -c --dev",
|
|
47
48
|
"devunittest": "npm run dev && tap --only -R 'base'",
|
|
48
|
-
"esbuild": "node '../../scripts/esbuild.js'",
|
|
49
|
-
"esbuild_dev": "cross-env MODE=dev node '../../scripts/esbuild.js'",
|
|
50
49
|
"format": "npm run lect && npm run prettier && npm run lint",
|
|
51
50
|
"lect": "lect",
|
|
52
51
|
"lint": "../../node_modules/eslint/bin/eslint.js . --ext .js --ext .ts --fix --config \"../../.eslintrc.json\" --quiet",
|
|
@@ -55,17 +54,14 @@
|
|
|
55
54
|
"republish": "npm publish || :",
|
|
56
55
|
"tap": "tap",
|
|
57
56
|
"pretest": "npm run build",
|
|
58
|
-
"test": "npm run
|
|
57
|
+
"test": "npm run test:ci && npm run perf",
|
|
58
|
+
"test:ci": "npm run unittest && npm run test:examples && npm run format",
|
|
59
59
|
"test:examples": "../../scripts/test-examples.js && npm run lect && npm run prettier",
|
|
60
60
|
"tsc": "tsc",
|
|
61
|
-
"unittest": "tap --no-only --
|
|
61
|
+
"unittest": "tap --no-only --reporter=terse && tsc -p tsconfig.json --noEmit"
|
|
62
62
|
},
|
|
63
63
|
"tap": {
|
|
64
64
|
"check-coverage": false,
|
|
65
|
-
"coverage-report": [
|
|
66
|
-
"json-summary",
|
|
67
|
-
"text"
|
|
68
|
-
],
|
|
69
65
|
"node-arg": [
|
|
70
66
|
"--no-warnings",
|
|
71
67
|
"--experimental-loader",
|
|
@@ -85,7 +81,7 @@
|
|
|
85
81
|
}
|
|
86
82
|
},
|
|
87
83
|
"dependencies": {
|
|
88
|
-
"@babel/runtime": "^7.16.
|
|
84
|
+
"@babel/runtime": "^7.16.3"
|
|
89
85
|
},
|
|
90
86
|
"devDependencies": {
|
|
91
87
|
"@babel/cli": "^7.16.0",
|
|
@@ -96,8 +92,8 @@
|
|
|
96
92
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0",
|
|
97
93
|
"@babel/plugin-proposal-object-rest-spread": "^7.16.0",
|
|
98
94
|
"@babel/plugin-proposal-optional-chaining": "^7.16.0",
|
|
99
|
-
"@babel/plugin-transform-runtime": "^7.16.
|
|
100
|
-
"@babel/preset-env": "^7.16.
|
|
95
|
+
"@babel/plugin-transform-runtime": "^7.16.4",
|
|
96
|
+
"@babel/preset-env": "^7.16.4",
|
|
101
97
|
"@babel/preset-typescript": "^7.16.0",
|
|
102
98
|
"@babel/register": "^7.16.0",
|
|
103
99
|
"@istanbuljs/esm-loader-hook": "^0.1.2",
|
|
@@ -107,25 +103,25 @@
|
|
|
107
103
|
"@rollup/plugin-node-resolve": "^13.0.6",
|
|
108
104
|
"@rollup/plugin-strip": "^2.1.0",
|
|
109
105
|
"@rollup/plugin-typescript": "^8.3.0",
|
|
110
|
-
"@types/node": "^16.11.
|
|
106
|
+
"@types/node": "^16.11.10",
|
|
111
107
|
"@types/tap": "^15.0.5",
|
|
112
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
113
|
-
"@typescript-eslint/parser": "^5.
|
|
114
|
-
"core-js": "^3.19.
|
|
108
|
+
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
|
109
|
+
"@typescript-eslint/parser": "^5.5.0",
|
|
110
|
+
"core-js": "^3.19.2",
|
|
115
111
|
"cross-env": "^7.0.3",
|
|
116
|
-
"eslint": "^8.
|
|
117
|
-
"lect": "^0.18.
|
|
118
|
-
"rollup": "^2.
|
|
112
|
+
"eslint": "^8.3.0",
|
|
113
|
+
"lect": "^0.18.7",
|
|
114
|
+
"rollup": "^2.60.1",
|
|
119
115
|
"rollup-plugin-ascii": "^0.0.3",
|
|
120
116
|
"rollup-plugin-banner": "^0.2.1",
|
|
121
117
|
"rollup-plugin-cleanup": "^3.2.1",
|
|
122
|
-
"rollup-plugin-dts": "^4.0.
|
|
118
|
+
"rollup-plugin-dts": "^4.0.1",
|
|
123
119
|
"rollup-plugin-terser": "^7.0.2",
|
|
124
|
-
"tap": "^15.
|
|
120
|
+
"tap": "^15.1.5",
|
|
125
121
|
"tslib": "^2.3.1",
|
|
126
|
-
"typescript": "^4.
|
|
122
|
+
"typescript": "^4.5.2"
|
|
127
123
|
},
|
|
128
124
|
"engines": {
|
|
129
|
-
"node": ">=
|
|
125
|
+
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
|
130
126
|
}
|
|
131
127
|
}
|