--
This commit is contained in:
parent
24f3d27984
commit
6b60015c02
9588 changed files with 1149251 additions and 49 deletions
9
node_modules/restore-cursor/index.js
generated
vendored
Normal file
9
node_modules/restore-cursor/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
var onetime = require('onetime');
|
||||
var exitHook = require('exit-hook');
|
||||
|
||||
module.exports = onetime(function () {
|
||||
exitHook(function () {
|
||||
process.stdout.write('\u001b[?25h');
|
||||
});
|
||||
});
|
||||
21
node_modules/restore-cursor/license
generated
vendored
Normal file
21
node_modules/restore-cursor/license
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
109
node_modules/restore-cursor/package.json
generated
vendored
Normal file
109
node_modules/restore-cursor/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,109 @@
|
|||
{
|
||||
"_args": [
|
||||
[
|
||||
{
|
||||
"raw": "restore-cursor@^1.0.1",
|
||||
"scope": null,
|
||||
"escapedName": "restore-cursor",
|
||||
"name": "restore-cursor",
|
||||
"rawSpec": "^1.0.1",
|
||||
"spec": ">=1.0.1 <2.0.0",
|
||||
"type": "range"
|
||||
},
|
||||
"/Users/jose/Documents/GitHub/Mods/node_modules/cli-cursor"
|
||||
]
|
||||
],
|
||||
"_from": "restore-cursor@>=1.0.1 <2.0.0",
|
||||
"_id": "restore-cursor@1.0.1",
|
||||
"_inCache": true,
|
||||
"_location": "/restore-cursor",
|
||||
"_nodeVersion": "4.1.0",
|
||||
"_npmUser": {
|
||||
"name": "sindresorhus",
|
||||
"email": "sindresorhus@gmail.com"
|
||||
},
|
||||
"_npmVersion": "2.14.3",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"raw": "restore-cursor@^1.0.1",
|
||||
"scope": null,
|
||||
"escapedName": "restore-cursor",
|
||||
"name": "restore-cursor",
|
||||
"rawSpec": "^1.0.1",
|
||||
"spec": ">=1.0.1 <2.0.0",
|
||||
"type": "range"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/cli-cursor"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz",
|
||||
"_shasum": "34661f46886327fed2991479152252df92daa541",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "restore-cursor@^1.0.1",
|
||||
"_where": "/Users/jose/Documents/GitHub/Mods/node_modules/cli-cursor",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "http://sindresorhus.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/sindresorhus/restore-cursor/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"exit-hook": "^1.0.0",
|
||||
"onetime": "^1.0.0"
|
||||
},
|
||||
"description": "Gracefully restore the CLI cursor on exit",
|
||||
"devDependencies": {},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "34661f46886327fed2991479152252df92daa541",
|
||||
"tarball": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"gitHead": "91542e5be16d7ccda8e42a63d56cc783d2cfaba2",
|
||||
"homepage": "https://github.com/sindresorhus/restore-cursor#readme",
|
||||
"keywords": [
|
||||
"exit",
|
||||
"quit",
|
||||
"process",
|
||||
"graceful",
|
||||
"shutdown",
|
||||
"sigterm",
|
||||
"sigint",
|
||||
"terminate",
|
||||
"kill",
|
||||
"stop",
|
||||
"cli",
|
||||
"cursor",
|
||||
"ansi",
|
||||
"show",
|
||||
"term",
|
||||
"terminal",
|
||||
"console",
|
||||
"tty",
|
||||
"shell",
|
||||
"command-line"
|
||||
],
|
||||
"license": "MIT",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "sindresorhus",
|
||||
"email": "sindresorhus@gmail.com"
|
||||
}
|
||||
],
|
||||
"name": "restore-cursor",
|
||||
"optionalDependencies": {},
|
||||
"readme": "ERROR: No README data found!",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/sindresorhus/restore-cursor.git"
|
||||
},
|
||||
"scripts": {},
|
||||
"version": "1.0.1"
|
||||
}
|
||||
25
node_modules/restore-cursor/readme.md
generated
vendored
Normal file
25
node_modules/restore-cursor/readme.md
generated
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# restore-cursor
|
||||
|
||||
> Gracefully restore the CLI cursor on exit
|
||||
|
||||
Prevent the cursor you've hidden interactively to remain hidden if the process crashes.
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
$ npm install --save restore-cursor
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var restoreCursor = require('restore-cursor');
|
||||
restoreCursor();
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
||||
Loading…
Reference in a new issue