node-pty 0.11.0-beta23 → 0.11.0-beta24
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.
- package/package.json +2 -6
- package/deps/winpty/.gitignore +0 -15
- package/deps/winpty/misc/.gitignore +0 -2
- package/scripts/install.js +0 -18
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Microsoft Corporation"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.11.0-
|
|
7
|
+
"version": "0.11.0-beta24",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"main": "./lib/index.js",
|
|
10
10
|
"types": "./typings/node-pty.d.ts",
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
"build": "tsc -b ./src/tsconfig.json",
|
|
37
37
|
"watch": "tsc -b -w ./src/tsconfig.json",
|
|
38
38
|
"lint": "eslint -c .eslintrc.js --ext .ts src/",
|
|
39
|
-
"install": "node scripts/install.js",
|
|
40
39
|
"postinstall": "node scripts/post-install.js",
|
|
41
40
|
"test": "cross-env NODE_ENV=test mocha -R spec --exit lib/*.test.js",
|
|
42
41
|
"posttest": "npm run lint",
|
|
@@ -44,7 +43,7 @@
|
|
|
44
43
|
"prepublishOnly": "npm run build"
|
|
45
44
|
},
|
|
46
45
|
"dependencies": {
|
|
47
|
-
"nan": "^2.
|
|
46
|
+
"nan": "^2.17.0"
|
|
48
47
|
},
|
|
49
48
|
"devDependencies": {
|
|
50
49
|
"@types/mocha": "^7.0.2",
|
|
@@ -56,8 +55,5 @@
|
|
|
56
55
|
"mocha": "^7.1.1",
|
|
57
56
|
"ps-list": "^6.0.0",
|
|
58
57
|
"typescript": "^3.8.3"
|
|
59
|
-
},
|
|
60
|
-
"peerDependencies": {
|
|
61
|
-
"node-gyp": "^8.3.0"
|
|
62
58
|
}
|
|
63
59
|
}
|
package/deps/winpty/.gitignore
DELETED
package/scripts/install.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
const os = require('os');
|
|
4
|
-
const path = require('path');
|
|
5
|
-
const spawn = require('child_process').spawn;
|
|
6
|
-
|
|
7
|
-
const gypArgs = ['rebuild'];
|
|
8
|
-
if (process.env.NODE_PTY_DEBUG) {
|
|
9
|
-
gypArgs.push('--debug');
|
|
10
|
-
}
|
|
11
|
-
const gypProcess = spawn(os.platform() === 'win32' ? 'node-gyp.cmd' : 'node-gyp', gypArgs, {
|
|
12
|
-
cwd: path.join(__dirname, '..'),
|
|
13
|
-
stdio: 'inherit'
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
gypProcess.on('exit', function (code) {
|
|
17
|
-
process.exit(code);
|
|
18
|
-
});
|