X-Git-Url: https://git.josue.xyz/?p=VSoRC%2F.git;a=blobdiff_plain;f=node_modules%2Fnode-pty%2Flib%2Findex.js;fp=node_modules%2Fnode-pty%2Flib%2Findex.js;h=0000000000000000000000000000000000000000;hp=904748e9dd476b670a0927acaa3c973b0389b085;hb=5e96dd57ddd883604e87f62bdddcb111c63a6e1a;hpb=acb5f682a2b75b972710cabd81658f63071324b0 diff --git a/node_modules/node-pty/lib/index.js b/node_modules/node-pty/lib/index.js deleted file mode 100644 index 904748e..0000000 --- a/node_modules/node-pty/lib/index.js +++ /dev/null @@ -1,50 +0,0 @@ -"use strict"; -/** - * Copyright (c) 2012-2015, Christopher Jeffrey, Peter Sunde (MIT License) - * Copyright (c) 2016, Daniel Imms (MIT License). - * Copyright (c) 2018, Microsoft Corporation (MIT License). - */ -Object.defineProperty(exports, "__esModule", { value: true }); -var terminalCtor; -if (process.platform === 'win32') { - terminalCtor = require('./windowsTerminal').WindowsTerminal; -} -else { - terminalCtor = require('./unixTerminal').UnixTerminal; -} -/** - * Forks a process as a pseudoterminal. - * @param file The file to launch. - * @param args The file's arguments as argv (string[]) or in a pre-escaped - * CommandLine format (string). Note that the CommandLine option is only - * available on Windows and is expected to be escaped properly. - * @param options The options of the terminal. - * @throws When the file passed to spawn with does not exists. - * @see CommandLineToArgvW https://msdn.microsoft.com/en-us/library/windows/desktop/bb776391(v=vs.85).aspx - * @see Parsing C++ Comamnd-Line Arguments https://msdn.microsoft.com/en-us/library/17w5ykft.aspx - * @see GetCommandLine https://msdn.microsoft.com/en-us/library/windows/desktop/ms683156.aspx - */ -function spawn(file, args, opt) { - return new terminalCtor(file, args, opt); -} -exports.spawn = spawn; -/** @deprecated */ -function fork(file, args, opt) { - return new terminalCtor(file, args, opt); -} -exports.fork = fork; -/** @deprecated */ -function createTerminal(file, args, opt) { - return new terminalCtor(file, args, opt); -} -exports.createTerminal = createTerminal; -function open(options) { - return terminalCtor.open(options); -} -exports.open = open; -/** - * Expose the native API when not Windows, note that this is not public API and - * could be removed at any time. - */ -exports.native = (process.platform !== 'win32' ? require('../build/Release/pty.node') : null); -//# sourceMappingURL=index.js.map \ No newline at end of file