mirror of
https://github.com/danbulant/node-x11
synced 2026-05-19 04:18:35 +00:00
Merge pull request #192 from mat-sz/master
Replaced os-homedir (deprecated) with os.homedir()
This commit is contained in:
commit
e17e8b04a1
3 changed files with 6 additions and 4 deletions
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
*.log
|
||||
yarn.lock
|
||||
package-lock.json
|
||||
node_modules
|
||||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -50,7 +50,5 @@
|
|||
"test": "node test-runner.js",
|
||||
"prepublish": "npm prune"
|
||||
},
|
||||
"dependencies": {
|
||||
"os-homedir": "^1.0.1"
|
||||
}
|
||||
"dependencies": {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue