diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..49b66ea --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.log +yarn.lock +package-lock.json +node_modules \ No newline at end of file diff --git a/lib/auth.js b/lib/auth.js index 1546e5d..afd7f59 100644 --- a/lib/auth.js +++ b/lib/auth.js @@ -50,7 +50,7 @@ function parseXauth( buf ) return auth; } -var homedir = require('os-homedir'); +var homedir = require('os').homedir(); var path = require('path'); function readXauthority(cb) { diff --git a/package.json b/package.json index c72938d..124abd7 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,5 @@ "test": "node test-runner.js", "prepublish": "npm prune" }, - "dependencies": { - "os-homedir": "^1.0.1" - } + "dependencies": {} }