bare-tty 3.3.0 → 3.3.1

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.
Files changed (2) hide show
  1. package/index.js +3 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /* global Bare */
2
- const { Readable, Writable } = require('streamx')
2
+ const { Readable, Writable } = require('bare-stream')
3
3
  const binding = require('./binding')
4
4
  const constants = require('./lib/constants')
5
5
 
@@ -179,6 +179,8 @@ exports.constants = constants
179
179
 
180
180
  exports.isTTY = binding.isTTY
181
181
 
182
+ exports.isatty = exports.isTTY // For Node.js compatibility
183
+
182
184
  Bare
183
185
  .on('exit', () => {
184
186
  for (const stream of exports.ReadStream._streams) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare-tty",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "Native TTY streams for JavaScript",
5
5
  "exports": {
6
6
  ".": "./index.js",
@@ -31,7 +31,7 @@
31
31
  "homepage": "https://github.com/holepunchto/bare-tty#readme",
32
32
  "dependencies": {
33
33
  "bare-events": "^2.2.0",
34
- "streamx": "^2.13.2"
34
+ "bare-stream": "^1.0.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "brittle": "^3.2.1",