Comparing version 1.1.0-beta4 to 1.1.0-beta5
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "1.1.0-beta4", | ||
"version": "1.1.0-beta5", | ||
"license": "MIT", | ||
@@ -57,2 +57,3 @@ "main": "./lib/index.js", | ||
"mocha": "10", | ||
"node-gyp": "^9.4.0", | ||
"ps-list": "^6.0.0", | ||
@@ -59,0 +60,0 @@ "typescript": "^3.8.3" |
@@ -21,8 +21,8 @@ # node-pty | ||
```js | ||
var os = require('os'); | ||
var pty = require('node-pty'); | ||
import * as os from 'node:os'; | ||
import * as pty from 'node-pty'; | ||
var shell = os.platform() === 'win32' ? 'powershell.exe' : 'bash'; | ||
const shell = os.platform() === 'win32' ? 'powershell.exe' : 'bash'; | ||
var ptyProcess = pty.spawn(shell, [], { | ||
const ptyProcess = pty.spawn(shell, [], { | ||
name: 'xterm-color', | ||
@@ -29,0 +29,0 @@ cols: 80, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1152866
10