Initial commit
This commit is contained in:
14
node_modules/set-blocking/LICENSE.txt
generated
vendored
Normal file
14
node_modules/set-blocking/LICENSE.txt
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
Copyright (c) 2016, Contributors
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software
|
||||
for any purpose with or without fee is hereby granted, provided
|
||||
that the above copyright notice and this permission notice
|
||||
appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
||||
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE
|
||||
LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
|
||||
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
||||
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
||||
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
7
node_modules/set-blocking/index.js
generated
vendored
Normal file
7
node_modules/set-blocking/index.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
module.exports = function (blocking) {
|
||||
[process.stdout, process.stderr].forEach(function (stream) {
|
||||
if (stream._handle && stream.isTTY && typeof stream._handle.setBlocking === 'function') {
|
||||
stream._handle.setBlocking(blocking)
|
||||
}
|
||||
})
|
||||
}
|
||||
25
node_modules/set-blocking/package.json
generated
vendored
Normal file
25
node_modules/set-blocking/package.json
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "set-blocking",
|
||||
"version": "2.0.0",
|
||||
"description": "set blocking stdio and stderr ensuring that terminal output does not truncate",
|
||||
"main": "index.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/yargs/set-blocking.git"
|
||||
},
|
||||
"author": "Ben Coe <ben@npmjs.com>",
|
||||
"license": "ISC",
|
||||
"homepage": "https://github.com/yargs/set-blocking#readme",
|
||||
"devDependencies": {
|
||||
"chai": "^3.5.0",
|
||||
"coveralls": "^2.11.9",
|
||||
"mocha": "^2.4.5",
|
||||
"nyc": "^6.4.4",
|
||||
"standard": "^7.0.1",
|
||||
"standard-version": "^2.2.1"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"LICENSE.txt"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user