first-base 1.5.0 → 1.5.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.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var normalSpawn = require("child_process").spawn;
|
|
5
|
-
var ptySpawn = require("node-pty").spawn;
|
|
6
5
|
var stripAnsi = require("strip-ansi");
|
|
7
6
|
var _require = require("./sanitizers"),
|
|
8
7
|
sanitizers = _require.sanitizers;
|
|
@@ -134,6 +133,7 @@ var spawn = function spawn(cmd, argsOrOptions, passedOptions) {
|
|
|
134
133
|
}
|
|
135
134
|
};
|
|
136
135
|
if (options.pty) {
|
|
136
|
+
var ptySpawn = require("node-pty").spawn;
|
|
137
137
|
child = ptySpawn(cmd, args, options);
|
|
138
138
|
stdin = child;
|
|
139
139
|
stdout = child;
|