editorconfig 1.0.2 → 1.0.3
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/lib/index.js +2 -0
- package/package.json +13 -13
package/lib/index.js
CHANGED
|
@@ -177,6 +177,7 @@ function normalizeProps(options) {
|
|
|
177
177
|
const value = options[key];
|
|
178
178
|
const key2 = key.toLowerCase();
|
|
179
179
|
let value2 = value;
|
|
180
|
+
// @ts-ignore -- Fix types here
|
|
180
181
|
if (knownProps[key2]) {
|
|
181
182
|
// All of the values for the known props are lowercase.
|
|
182
183
|
value2 = String(value).toLowerCase();
|
|
@@ -190,6 +191,7 @@ function normalizeProps(options) {
|
|
|
190
191
|
// in editorconfig) & should just be returned as regular strings.
|
|
191
192
|
value2 = String(value);
|
|
192
193
|
}
|
|
194
|
+
// @ts-ignore -- Fix types here
|
|
193
195
|
props[key2] = value2;
|
|
194
196
|
}
|
|
195
197
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "editorconfig",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "EditorConfig File Locator and Interpreter for Node.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"editorconfig",
|
|
@@ -41,23 +41,23 @@
|
|
|
41
41
|
"license": "MIT",
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@one-ini/wasm": "0.1.1",
|
|
44
|
-
"commander": "^
|
|
45
|
-
"minimatch": "
|
|
46
|
-
"semver": "^7.3
|
|
44
|
+
"commander": "^11.0.0",
|
|
45
|
+
"minimatch": "9.0.1",
|
|
46
|
+
"semver": "^7.5.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/mocha": "^10.0.1",
|
|
50
|
-
"@types/node": "^
|
|
51
|
-
"@types/semver": "^7.
|
|
52
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
53
|
-
"@typescript-eslint/parser": "5.
|
|
54
|
-
"c8": "
|
|
55
|
-
"eslint": "8.
|
|
56
|
-
"eslint-plugin-jsdoc": "
|
|
50
|
+
"@types/node": "^20.3.1",
|
|
51
|
+
"@types/semver": "^7.5.0",
|
|
52
|
+
"@typescript-eslint/eslint-plugin": "5.60.0",
|
|
53
|
+
"@typescript-eslint/parser": "5.60.0",
|
|
54
|
+
"c8": "8.0.0",
|
|
55
|
+
"eslint": "8.43.0",
|
|
56
|
+
"eslint-plugin-jsdoc": "46.2.6",
|
|
57
57
|
"mocha": "^10.2.0",
|
|
58
|
-
"rimraf": "^
|
|
58
|
+
"rimraf": "^5.0.1",
|
|
59
59
|
"should": "^13.2.3",
|
|
60
|
-
"typescript": "^
|
|
60
|
+
"typescript": "^5.1.3"
|
|
61
61
|
},
|
|
62
62
|
"engines": {
|
|
63
63
|
"node": ">=14"
|