bare-tty 1.0.5 → 1.0.6

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/binding.c +1 -1
  2. package/package.json +1 -1
package/binding.c CHANGED
@@ -157,7 +157,7 @@ on_read (uv_stream_t *stream, ssize_t nread, const uv_buf_t *buf) {
157
157
  assert(err == 0);
158
158
  }
159
159
 
160
- js_call_function(env, ctx, on_read, 1, argv, NULL);
160
+ js_call_function(env, ctx, on_read, 2, argv, NULL);
161
161
 
162
162
  err = js_close_handle_scope(env, scope);
163
163
  assert(err == 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare-tty",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Native TTY streams for JavaScript",
5
5
  "main": "index.js",
6
6
  "files": [