editorconfig 1.0.2 → 1.0.4

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 (2) hide show
  1. package/lib/index.js +2 -0
  2. package/package.json +12 -12
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.2",
3
+ "version": "1.0.4",
4
4
  "description": "EditorConfig File Locator and Interpreter for Node.js",
5
5
  "keywords": [
6
6
  "editorconfig",
@@ -42,22 +42,22 @@
42
42
  "dependencies": {
43
43
  "@one-ini/wasm": "0.1.1",
44
44
  "commander": "^10.0.0",
45
- "minimatch": "6.1.6",
46
- "semver": "^7.3.8"
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": "^18.11.18",
51
- "@types/semver": "^7.3.13",
52
- "@typescript-eslint/eslint-plugin": "5.50.0",
53
- "@typescript-eslint/parser": "5.50.0",
54
- "c8": "7.12.0",
55
- "eslint": "8.33.0",
56
- "eslint-plugin-jsdoc": "39.7.5",
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": "^4.1.2",
58
+ "rimraf": "^5.0.1",
59
59
  "should": "^13.2.3",
60
- "typescript": "^4.9.5"
60
+ "typescript": "^5.1.3"
61
61
  },
62
62
  "engines": {
63
63
  "node": ">=14"