Skip to content

Commit

Permalink
Drop some moot dependencies (xojs#600)
Browse files Browse the repository at this point in the history
  • Loading branch information
1000ch authored and devinrhode2 committed Oct 8, 2021
1 parent f22a4ff commit d848af8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions lib/options-manager.js
@@ -1,10 +1,9 @@
import {promises as fs} from 'node:fs';
import {existsSync, promises as fs} from 'node:fs';
import process from 'node:process';
import os from 'node:os';
import path from 'node:path';
import arrify from 'arrify';
import {mergeWith, flow, pick} from 'lodash-es';
import pathExists from 'path-exists';
import findUp from 'find-up';
import findCacheDir from 'find-cache-dir';
import prettier from 'prettier';
Expand Down Expand Up @@ -362,7 +361,7 @@ const buildExtendsConfig = options => config => {
if (options.extends && options.extends.length > 0) {
const configs = options.extends.map(name => {
// Don't do anything if it's a filepath
if (pathExists.sync(name)) {
if (existsSync(name)) {
return name;
}

Expand Down
2 changes: 0 additions & 2 deletions package.json
Expand Up @@ -79,14 +79,12 @@
"get-stdin": "^9.0.0",
"globby": "^12.0.0",
"imurmurhash": "^0.1.4",
"is-path-inside": "^4.0.0",
"json-stable-stringify-without-jsonify": "^1.0.1",
"json5": "^2.2.0",
"lodash-es": "^4.17.21",
"meow": "^10.1.1",
"micromatch": "^4.0.4",
"open-editor": "^3.0.0",
"path-exists": "^4.0.0",
"prettier": "^2.3.2",
"semver": "^7.3.5",
"slash": "^4.0.0",
Expand Down

0 comments on commit d848af8

Please sign in to comment.