feat: initial commit
This commit is contained in:
13
node_modules/restore-cursor/index.d.ts
generated
vendored
13
node_modules/restore-cursor/index.d.ts
generated
vendored
@ -1,13 +0,0 @@
|
||||
/**
|
||||
Gracefully restore the CLI cursor on exit.
|
||||
|
||||
@example
|
||||
```
|
||||
import restoreCursor = require('restore-cursor');
|
||||
|
||||
restoreCursor();
|
||||
```
|
||||
*/
|
||||
declare function restoreCursor(): void;
|
||||
|
||||
export = restoreCursor;
|
2
node_modules/restore-cursor/index.js
generated
vendored
2
node_modules/restore-cursor/index.js
generated
vendored
@ -4,6 +4,6 @@ const signalExit = require('signal-exit');
|
||||
|
||||
module.exports = onetime(() => {
|
||||
signalExit(() => {
|
||||
process.stderr.write('\u001B[?25h');
|
||||
process.stderr.write('\u001b[?25h');
|
||||
}, {alwaysLast: true});
|
||||
});
|
||||
|
20
node_modules/restore-cursor/license
generated
vendored
20
node_modules/restore-cursor/license
generated
vendored
@ -1,9 +1,21 @@
|
||||
MIT License
|
||||
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:
|
||||
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 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.
|
||||
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.
|
||||
|
92
node_modules/restore-cursor/package.json
generated
vendored
92
node_modules/restore-cursor/package.json
generated
vendored
@ -1,52 +1,44 @@
|
||||
{
|
||||
"name": "restore-cursor",
|
||||
"version": "3.1.0",
|
||||
"description": "Gracefully restore the CLI cursor on exit",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/restore-cursor",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && tsd"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts"
|
||||
],
|
||||
"keywords": [
|
||||
"exit",
|
||||
"quit",
|
||||
"process",
|
||||
"graceful",
|
||||
"shutdown",
|
||||
"sigterm",
|
||||
"sigint",
|
||||
"terminate",
|
||||
"kill",
|
||||
"stop",
|
||||
"cli",
|
||||
"cursor",
|
||||
"ansi",
|
||||
"show",
|
||||
"term",
|
||||
"terminal",
|
||||
"console",
|
||||
"tty",
|
||||
"shell",
|
||||
"command-line"
|
||||
],
|
||||
"dependencies": {
|
||||
"onetime": "^5.1.0",
|
||||
"signal-exit": "^3.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"tsd": "^0.7.2",
|
||||
"xo": "^0.24.0"
|
||||
}
|
||||
"name": "restore-cursor",
|
||||
"version": "2.0.0",
|
||||
"description": "Gracefully restore the CLI cursor on exit",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/restore-cursor",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=4"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"keywords": [
|
||||
"exit",
|
||||
"quit",
|
||||
"process",
|
||||
"graceful",
|
||||
"shutdown",
|
||||
"sigterm",
|
||||
"sigint",
|
||||
"terminate",
|
||||
"kill",
|
||||
"stop",
|
||||
"cli",
|
||||
"cursor",
|
||||
"ansi",
|
||||
"show",
|
||||
"term",
|
||||
"terminal",
|
||||
"console",
|
||||
"tty",
|
||||
"shell",
|
||||
"command-line"
|
||||
],
|
||||
"dependencies": {
|
||||
"onetime": "^2.0.0",
|
||||
"signal-exit": "^3.0.2"
|
||||
}
|
||||
}
|
||||
|
5
node_modules/restore-cursor/readme.md
generated
vendored
5
node_modules/restore-cursor/readme.md
generated
vendored
@ -1,4 +1,4 @@
|
||||
# restore-cursor [](https://travis-ci.org/sindresorhus/restore-cursor)
|
||||
# restore-cursor
|
||||
|
||||
> Gracefully restore the CLI cursor on exit
|
||||
|
||||
@ -8,7 +8,7 @@ Prevent the cursor you've hidden interactively from remaining hidden if the proc
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install restore-cursor
|
||||
$ npm install --save restore-cursor
|
||||
```
|
||||
|
||||
|
||||
@ -16,7 +16,6 @@ $ npm install restore-cursor
|
||||
|
||||
```js
|
||||
const restoreCursor = require('restore-cursor');
|
||||
|
||||
restoreCursor();
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user