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

12
node_modules/cli-width/index.js generated vendored
View file

@ -1,12 +1,12 @@
'use strict';
"use strict";
exports = module.exports = cliWidth;
function normalizeOpts(options) {
var defaultOpts = {
let defaultOpts = {
defaultWidth: 0,
output: process.stdout,
tty: require('tty')
tty: require("tty"),
};
if (!options) {
@ -23,7 +23,7 @@ function normalizeOpts(options) {
}
function cliWidth(options) {
var opts = normalizeOpts(options);
let opts = normalizeOpts(options);
if (opts.output.getWindowSize) {
return opts.output.getWindowSize()[0] || opts.defaultWidth;
@ -38,7 +38,7 @@ function cliWidth(options) {
}
if (process.env.CLI_WIDTH) {
var width = parseInt(process.env.CLI_WIDTH, 10);
let width = parseInt(process.env.CLI_WIDTH, 10);
if (!isNaN(width) && width !== 0) {
return width;
@ -46,4 +46,4 @@ function cliWidth(options) {
}
return opts.defaultWidth;
};
}