@will-stone/eslint-config 11.0.0 → 11.0.1

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/dist/index.js +1 -1
  2. package/package.json +3 -2
package/dist/index.js CHANGED
@@ -1365,7 +1365,7 @@ function checkDepsExist(depNames) {
1365
1365
  const data = new TextDecoder().decode(buffer);
1366
1366
  const package_ = JSON.parse(data);
1367
1367
  for (const depName of depNames) {
1368
- if (package_ && (package_?.dependencies[depName] || package_?.devDependencies[depName])) {
1368
+ if (package_ && (package_.dependencies?.[depName] || package_.devDependencies?.[depName])) {
1369
1369
  hasPackageMap[depName] = true;
1370
1370
  foundCount = foundCount + 1;
1371
1371
  if (foundCount === depCount) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@will-stone/eslint-config",
3
- "version": "11.0.0",
3
+ "version": "11.0.1",
4
4
  "description": "Will Stone's ESLint config",
5
5
  "keywords": [
6
6
  "eslint-config"
@@ -62,7 +62,8 @@
62
62
  "eslint-plugin-unicorn": "^55.0.0",
63
63
  "eslint-plugin-vitest": "^0.5.4",
64
64
  "globals": "^15.9.0",
65
- "globby": "^14.0.2"
65
+ "globby": "^14.0.2",
66
+ "type-fest": "^4.24.0"
66
67
  },
67
68
  "devDependencies": {
68
69
  "@commits-with-character/conventional-changelog-preset": "^0.2.2",