Merge pull request #192 from mat-sz/master

Replaced os-homedir (deprecated) with os.homedir()
This commit is contained in:
Andrey Sidorov 2020-04-25 14:41:43 +10:00 committed by GitHub
commit e17e8b04a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions

4
.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
*.log
yarn.lock
package-lock.json
node_modules

View file

@ -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) {

View file

@ -50,7 +50,5 @@
"test": "node test-runner.js",
"prepublish": "npm prune"
},
"dependencies": {
"os-homedir": "^1.0.1"
}
"dependencies": {}
}