Update dependencies

This commit is contained in:
grandeljay 2022-05-29 11:24:36 +02:00
parent 48e8c8a1af
commit 95d054f9b4
7555 changed files with 144369 additions and 196135 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) {
let defaultOpts = {
var defaultOpts = {
defaultWidth: 0,
output: process.stdout,
tty: require("tty"),
tty: require('tty')
};
if (!options) {
@ -23,7 +23,7 @@ function normalizeOpts(options) {
}
function cliWidth(options) {
let opts = normalizeOpts(options);
var 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) {
let width = parseInt(process.env.CLI_WIDTH, 10);
var width = parseInt(process.env.CLI_WIDTH, 10);
if (!isNaN(width) && width !== 0) {
return width;
@ -46,4 +46,4 @@ function cliWidth(options) {
}
return opts.defaultWidth;
}
};