Switch to FUI nightly

This commit is contained in:
Jay Trees 2022-04-07 09:06:43 +02:00
parent 0ea1ad469d
commit ec5b6c905c
6595 changed files with 171884 additions and 136424 deletions

45
node_modules/cli-cursor/index.d.ts generated vendored Normal file
View file

@ -0,0 +1,45 @@
/// <reference types="node"/>
/**
Show cursor.
@param stream - Default: `process.stderr`.
@example
```
import * as cliCursor from 'cli-cursor';
cliCursor.show();
```
*/
export function show(stream?: NodeJS.WritableStream): void;
/**
Hide cursor.
@param stream - Default: `process.stderr`.
@example
```
import * as cliCursor from 'cli-cursor';
cliCursor.hide();
```
*/
export function hide(stream?: NodeJS.WritableStream): void;
/**
Toggle cursor visibility.
@param force - Is useful to show or hide the cursor based on a boolean.
@param stream - Default: `process.stderr`.
@example
```
import * as cliCursor from 'cli-cursor';
const unicornsAreAwesome = true;
cliCursor.toggle(unicornsAreAwesome);
```
*/
export function toggle(force?: boolean, stream?: NodeJS.WritableStream): void;

32
node_modules/cli-cursor/index.js generated vendored
View file

@ -1,39 +1,35 @@
'use strict';
const restoreCursor = require('restore-cursor');
let hidden = false;
let isHidden = false;
exports.show = stream => {
const s = stream || process.stderr;
if (!s.isTTY) {
exports.show = (writableStream = process.stderr) => {
if (!writableStream.isTTY) {
return;
}
hidden = false;
s.write('\u001b[?25h');
isHidden = false;
writableStream.write('\u001B[?25h');
};
exports.hide = stream => {
const s = stream || process.stderr;
if (!s.isTTY) {
exports.hide = (writableStream = process.stderr) => {
if (!writableStream.isTTY) {
return;
}
restoreCursor();
hidden = true;
s.write('\u001b[?25l');
isHidden = true;
writableStream.write('\u001B[?25l');
};
exports.toggle = (force, stream) => {
exports.toggle = (force, writableStream) => {
if (force !== undefined) {
hidden = force;
isHidden = force;
}
if (hidden) {
exports.show(stream);
if (isHidden) {
exports.show(writableStream);
} else {
exports.hide(stream);
exports.hide(writableStream);
}
};

20
node_modules/cli-cursor/license generated vendored
View file

@ -1,21 +1,9 @@
The MIT License (MIT)
MIT License
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.

123
node_modules/cli-cursor/package.json generated vendored
View file

@ -1,81 +1,46 @@
{
"_args": [
[
"cli-cursor@2.1.0",
"F:\\laragon\\www\\wishthis"
]
],
"_from": "cli-cursor@2.1.0",
"_id": "cli-cursor@2.1.0",
"_inBundle": false,
"_integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=",
"_location": "/cli-cursor",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "cli-cursor@2.1.0",
"name": "cli-cursor",
"escapedName": "cli-cursor",
"rawSpec": "2.1.0",
"saveSpec": null,
"fetchSpec": "2.1.0"
},
"_requiredBy": [
"/inquirer"
],
"_resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz",
"_spec": "2.1.0",
"_where": "F:\\laragon\\www\\wishthis",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/cli-cursor/issues"
},
"dependencies": {
"restore-cursor": "^2.0.0"
},
"description": "Toggle the CLI cursor",
"devDependencies": {
"ava": "*",
"xo": "*"
},
"engines": {
"node": ">=4"
},
"files": [
"index.js"
],
"homepage": "https://github.com/sindresorhus/cli-cursor#readme",
"keywords": [
"cli",
"cursor",
"ansi",
"toggle",
"display",
"show",
"hide",
"term",
"terminal",
"console",
"tty",
"shell",
"command-line"
],
"license": "MIT",
"name": "cli-cursor",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/cli-cursor.git"
},
"scripts": {
"test": "xo && ava"
},
"version": "2.1.0",
"xo": {
"esnext": true
}
"name": "cli-cursor",
"version": "3.1.0",
"description": "Toggle the CLI cursor",
"license": "MIT",
"repository": "sindresorhus/cli-cursor",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"engines": {
"node": ">=8"
},
"scripts": {
"test": "xo && ava && tsd"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"cli",
"cursor",
"ansi",
"toggle",
"display",
"show",
"hide",
"term",
"terminal",
"console",
"tty",
"shell",
"command-line"
],
"dependencies": {
"restore-cursor": "^3.1.0"
},
"devDependencies": {
"@types/node": "^12.0.7",
"ava": "^2.1.0",
"tsd": "^0.7.2",
"xo": "^0.24.0"
}
}

26
node_modules/cli-cursor/readme.md generated vendored
View file

@ -8,7 +8,7 @@ The cursor is [gracefully restored](https://github.com/sindresorhus/restore-curs
## Install
```
$ npm install --save cli-cursor
$ npm install cli-cursor
```
@ -26,20 +26,30 @@ cliCursor.toggle(unicornsAreAwesome);
## API
### .show([stream])
### .show(stream?)
### .hide([stream])
### .hide(stream?)
### .toggle(force, [stream])
### .toggle(force?, stream?)
`force` is useful to show or hide the cursor based on a boolean.
#### force
Useful for showing or hiding the cursor based on a boolean.
#### stream
Type: `Stream`<br>
Type: `stream.Writable`<br>
Default: `process.stderr`
## License
---
MIT © [Sindre Sorhus](https://sindresorhus.com)
<div align="center">
<b>
<a href="https://tidelift.com/subscription/pkg/npm-cli-cursor?utm_source=npm-cli-cursor&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
</b>
<br>
<sub>
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
</sub>
</div>