0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

Update & make dependency versions consistent in packages/* (#2393)

* docs: improve pnpm development setup info in CONTRIBUTING.md

* build: make dependency versions consistent in packages/*

Updated to latest minor/patch versions; left major version unchanged for now

Did not change react dependencies in ui-theme package

Added .project file for Eclipse IDE users

* revert: rollback @changesets dep versions & maintain kleur v3.0.3
This commit is contained in:
Justin Johansson 2021-08-30 15:49:08 +09:30 committed by GitHub
parent 9805298893
commit 15d5e969c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
89 changed files with 1018 additions and 1197 deletions

11
.project Normal file
View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>verdaccio-dev</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>

View file

@ -1,4 +1,6 @@
{
"private": true,
"name": "verdaccio-dev",
"author": {
"name": "Verdaccio Maintainers",
"email": "verdaccio.npm@gmail.com"
@ -8,7 +10,6 @@
"url": "https://github.com/verdaccio/verdaccio"
},
"homepage": "https://verdaccio.org",
"private": true,
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/verdaccio"
@ -43,31 +44,31 @@
"@changesets/get-dependents-graph": "^1.2.0",
"@commitlint/cli": "8.3.5",
"@commitlint/config-conventional": "8.2.0",
"@crowdin/cli": "^3.6.4",
"@crowdin/cli": "3.6.5",
"@types/async": "3.2.5",
"@types/autocannon": "4.1.0",
"@types/autosuggest-highlight": "3.1.1",
"@types/express": "4.17.6",
"@types/http-errors": "1.8.0",
"@types/jest": "^26.0.20",
"@types/jest": "27.0.1",
"@types/js-base64": "3.0.0",
"@types/lodash": "4.14.167",
"@types/lowdb": "^1.0.9",
"@types/lowdb": "1.0.11",
"@types/mime": "2.0.2",
"@types/minimatch": "3.0.3",
"@types/node": "^14.14.7",
"@types/minimatch": "3.0.5",
"@types/node": "14.6.0",
"@types/react": "17.0.15",
"@types/react-autosuggest": "10.0.1",
"@types/react-dom": "^17.0.9",
"@types/react-helmet": "^6.1.2",
"@types/react-dom": "17.0.9",
"@types/react-helmet": "6.1.2",
"@types/react-router-dom": "5.1.6",
"@types/react-virtualized": "9.21.10",
"@types/request": "2.48.5",
"@types/semver": "7.3.4",
"@types/supertest": "2.0.10",
"@types/testing-library__jest-dom": "^5.9.5",
"@types/validator": "^13.1.3",
"@types/webpack": "^4.41.26",
"@types/testing-library__jest-dom": "5.14.1",
"@types/validator": "13.6.3",
"@types/webpack": "4.41.26",
"@types/webpack-env": "1.16.0",
"@typescript-eslint/eslint-plugin": "4.28.4",
"@typescript-eslint/parser": "4.28.4",
@ -80,12 +81,12 @@
"babel-eslint": "10.1.0",
"babel-jest": "27.0.2",
"babel-plugin-dynamic-import-node": "2.3.3",
"babel-plugin-emotion": "11.0.0",
"babel-plugin-emotion": "10.0.33",
"codecov": "3.8.1",
"concurrently": "^5.3.0",
"core-js": "^3.15.1",
"concurrently": "5.3.0",
"core-js": "3.16.3",
"cross-env": "7.0.3",
"debug": "4.3.1",
"debug": "4.3.2",
"detect-secrets": "1.0.6",
"eslint": "7.26.0",
"eslint-config-google": "0.14.0",
@ -105,22 +106,22 @@
"in-publish": "2.0.1",
"jest": "27.0.4",
"jest-environment-jsdom": "27.0.3",
"jest-environment-jsdom-global": "^2.0.4",
"jest-environment-jsdom-global": "2.0.4",
"jest-environment-node": "27.0.3",
"jest-fetch-mock": "3.0.3",
"jest-junit": "11.0.1",
"kleur": "4.1.4",
"lint-staged": "8.2.1",
"kleur": "3.0.3",
"lint-staged": "9.5.0",
"nock": "12.0.3",
"node-fetch": "2.6.1",
"nodemon": "^2.0.7",
"nodemon": "2.0.12",
"npm-run-all": "4.1.5",
"prettier": "2.3.0",
"rimraf": "3.0.2",
"selfsigned": "1.10.8",
"supertest": "4.0.2",
"ts-node": "^9.1.1",
"typescript": "^4.2.4",
"selfsigned": "1.10.11",
"supertest": "6.1.6",
"ts-node": "10.2.1",
"typescript": "4.4.2",
"update-ts-references": "2.3.0",
"verdaccio": "5.1.0",
"verdaccio-audit": "workspace:*",

View file

@ -49,18 +49,18 @@
"@verdaccio/tarball": "workspace:11.0.0-6-next.6",
"@verdaccio/utils": "workspace:6.0.0-6-next.5",
"cookies": "0.8.0",
"debug": "^4.3.1",
"debug": "4.3.2",
"express": "4.17.1",
"lodash": "^4.17.21",
"lodash": "4.17.21",
"mime": "2.4.4",
"semver": "7.3.2"
"semver": "7.3.5"
},
"devDependencies": {
"@verdaccio/server": "workspace:6.0.0-6-next.16",
"@verdaccio/types": "workspace:11.0.0-6-next.7",
"body-parser": "1.19.0",
"lodash": "^4.17.20",
"supertest": "next"
"lodash": "4.17.21",
"supertest": "6.1.6"
},
"funding": {
"type": "opencollective",

View file

@ -269,7 +269,7 @@ export function publishPackage(storage: IStorageHandler, config: Config, auth: I
req.remote_user,
`${metadataCopy.name}@${versionToPublish}`
);
} catch (error) {
} catch (error: any) {
debug(
'error on notify add a new tag %o',
`${metadataCopy.name}@${versionToPublish}`
@ -319,7 +319,7 @@ export function publishPackage(storage: IStorageHandler, config: Config, auth: I
afterChange(error, API_MESSAGE.PKG_CREATED, metadata);
});
}
} catch (error) {
} catch (error: any) {
debug('error on publish, bad package format %o', packageName);
logger.error({ packageName }, 'error on publish, bad package data for @{packageName}');
return next(ErrorCode.getBadData(API_ERROR.BAD_PACKAGE_DATA));

View file

@ -46,7 +46,7 @@ export default function (
next: '', // TODO: pagination?
},
});
} catch (error) {
} catch (error: any) {
logger.error({ error: error.msg }, 'token list has failed: @{error}');
return next(ErrorCode.getCode(HTTP_STATUS.INTERNAL_ERROR, error.message));
}
@ -116,7 +116,7 @@ export default function (
created: saveToken.created,
})
);
} catch (error) {
} catch (error: any) {
logger.error({ error: error.msg }, 'token creation has failed: @{error}');
return next(ErrorCode.getCode(HTTP_STATUS.INTERNAL_ERROR, error.message));
}
@ -138,7 +138,7 @@ export default function (
await storage.deleteToken(name, tokenKey);
logger.info({ tokenKey, name }, 'token id @{tokenKey} was revoked for user @{name}');
return next({});
} catch (error) {
} catch (error: any) {
logger.error({ error: error.msg }, 'token creation has failed: @{error}');
return next(ErrorCode.getCode(HTTP_STATUS.INTERNAL_ERROR, error.message));
}

View file

@ -44,10 +44,10 @@
"@verdaccio/loaders": "workspace:6.0.0-6-next.4",
"@verdaccio/logger": "workspace:6.0.0-6-next.4",
"@verdaccio/utils": "workspace:6.0.0-6-next.5",
"debug": "^4.3.1",
"debug": "4.3.2",
"express": "4.17.1",
"jsonwebtoken": "8.5.1",
"lodash": "4.17.15",
"lodash": "4.17.21",
"verdaccio-htpasswd": "workspace:11.0.0-alpha.6"
},
"devDependencies": {

View file

@ -116,7 +116,7 @@ class Auth implements IAuth {
let authPlugin;
try {
authPlugin = new HTPasswd(plugingConf, pluginOptions);
} catch (error) {
} catch (error: any) {
debug('error on loading auth htpasswd plugin stack: %o', error);
return [];
}
@ -559,7 +559,7 @@ class Auth implements IAuth {
let credentials;
try {
credentials = verifyJWTPayload(token, this.config.secret);
} catch (err) {
} catch (err: any) {
// FIXME: intended behaviour, do we want it?
}

View file

@ -59,7 +59,7 @@ export function aesDecrypt(value: string, key: string): string | void {
decrypted += decipher.final(inputEncoding);
debug('token decrypted successfully');
return decrypted.toString();
} catch (_) {
} catch (_: any) {
return;
}
}

View file

@ -147,7 +147,7 @@ export function verifyJWTPayload(token: string, secret: string): RemoteUser {
const payload: RemoteUser = verifyPayload(token, secret);
return payload;
} catch (error) {
} catch (error: any) {
// #168 this check should be removed as soon AES encrypt is removed.
if (expireReasons.includes(error.name)) {
// it might be possible the jwt configuration is enabled and

View file

@ -49,13 +49,13 @@
"@verdaccio/node-api": "workspace:6.0.0-6-next.17",
"@verdaccio/fastify-migration": "workspace:6.0.0-6-next.10",
"commander": "6.2.0",
"clipanion": "3.0.0-rc.11",
"clipanion": "3.0.1",
"envinfo": "7.4.0",
"kleur": "3.0.3",
"semver": "7.3.2"
"semver": "7.3.5"
},
"devDependencies": {
"ts-node": "9.1.1"
"ts-node": "10.2.1"
},
"funding": {
"type": "opencollective",

View file

@ -68,7 +68,7 @@ export class InitCommand extends Command {
await initServer(configParsed, this.port as string, version, name);
logger.info('server started');
} catch (err) {
} catch (err: any) {
console.error(err);
process.exit(1);
}

View file

@ -44,7 +44,7 @@ export class NewServer extends Command {
// const { version, name } = require('../../package.json');
const ser = await server({ logger, config: configParsed });
await ser.listen(4873);
} catch (err) {
} catch (err: any) {
console.error(err);
process.exit(1);
}

View file

@ -41,15 +41,15 @@
"dependencies": {
"@verdaccio/commons-api": "workspace:11.0.0-alpha.3",
"@verdaccio/utils": "workspace:6.0.0-6-next.5",
"debug": "^4.3.1",
"debug": "4.3.2",
"js-yaml": "3.14.0",
"lodash": "^4.17.21",
"lodash": "4.17.21",
"minimatch": "3.0.4",
"yup": "^0.29.3"
"yup": "0.32.9"
},
"devDependencies": {
"@types/minimatch": "3.0.3",
"@types/yup": "^0.29.9"
"@types/minimatch": "3.0.5",
"@types/yup": "0.29.13"
},
"funding": {
"type": "opencollective",

View file

@ -9,7 +9,7 @@ export function folderExists(path: string): boolean {
try {
const stat = fs.statSync(path);
return stat.isDirectory();
} catch (_) {
} catch (_: any) {
return false;
}
}
@ -23,7 +23,7 @@ export function fileExists(path: string): boolean {
try {
const stat = fs.statSync(path);
return stat.isFile();
} catch (_) {
} catch (_: any) {
return false;
}
}

View file

@ -16,7 +16,7 @@ export function parseConfigFile(configPath: string): ConfigRuntime {
return Object.assign({}, jsonConfig, {
config_path: configPath,
});
} catch (e) {
} catch (e: any) {
if (e.code !== 'MODULE_NOT_FOUND') {
e.message = APP_ERROR.CONFIG_NOT_VALID;
}

View file

@ -37,8 +37,8 @@
"npm": ">=6"
},
"dependencies": {
"http-errors": "^1.8.0",
"http-status-codes": "^1.4.0"
"http-errors": "1.8.0",
"http-status-codes": "1.4.0"
},
"scripts": {
"clean": "rimraf ./build",

View file

@ -68,7 +68,7 @@ function readFile(
try {
contents = JSON.parse(contents);
return resolve(contents);
} catch (err) {
} catch (err: any) {
return reject(err);
}
});

View file

@ -42,9 +42,9 @@
"unix-crypt-td-js": "1.1.4"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/bcryptjs": "2.4.2",
"@verdaccio/types": "workspace:11.0.0-6-next.7",
"mockdate": "^3.0.5"
"mockdate": "3.0.5"
},
"scripts": {
"clean": "rimraf ./build",

View file

@ -178,7 +178,7 @@ export default class HTPasswd implements IPluginAuth<HTPasswdConfig> {
try {
this._writeFile(addUserToHTPasswd(body, user, password, this.hashConfig), cb);
} catch (err) {
} catch (err: any) {
return cb(err);
}
});
@ -275,7 +275,7 @@ export default class HTPasswd implements IPluginAuth<HTPasswdConfig> {
changePasswordToHTPasswd(body, user, password, newPassword, this.hashConfig),
cb
);
} catch (err) {
} catch (err: any) {
return cb(err);
}
});

View file

@ -252,7 +252,7 @@ describe('changePasswordToHTPasswd', () => {
'newPassword',
defaultHashConfig
);
} catch (error) {
} catch (error: any) {
expect(error.message).toEqual('Invalid old Password');
}
});

View file

@ -40,16 +40,16 @@
"@verdaccio/commons-api": "workspace:11.0.0-alpha.3",
"@verdaccio/file-locking": "workspace:11.0.0-alpha.3",
"@verdaccio/streams": "workspace:11.0.0-alpha.3",
"async": "^3.2.0",
"debug": "^4.3.1",
"lodash": "^4.17.21",
"async": "3.2.1",
"debug": "4.3.2",
"lodash": "4.17.21",
"lowdb": "1.0.0"
},
"devDependencies": {
"@types/minimatch": "^3.0.3",
"@types/minimatch": "3.0.5",
"@verdaccio/types": "workspace:11.0.0-6-next.7",
"minimatch": "^3.0.4",
"rmdir-sync": "^1.0.1"
"minimatch": "3.0.4",
"rmdir-sync": "1.0.1"
},
"scripts": {
"clean": "rimraf ./build",

View file

@ -279,7 +279,7 @@ class LocalDatabase extends TokenActions implements IPluginStorage<{}> {
debug('creating folder %o', folderName);
fs.mkdirSync(folderName, { recursive: true });
debug('sync folder %o created succeed', folderName);
} catch (err) {
} catch (err: any) {
debug('sync create folder has failed with error: %o', err);
return null;
}
@ -289,7 +289,7 @@ class LocalDatabase extends TokenActions implements IPluginStorage<{}> {
debug('sync write succeed');
return null;
} catch (err) {
} catch (err: any) {
debug('sync failed %o', err);
return err;
@ -326,7 +326,7 @@ class LocalDatabase extends TokenActions implements IPluginStorage<{}> {
try {
return await loadPrivatePackages(this.path, this.logger);
} catch (err) {
} catch (err: any) {
// readFileSync is platform specific, macOS, Linux and Windows thrown an error
// Only recreate if file not found to prevent data loss
debug('error on fetch local packages %o', err);

View file

@ -171,7 +171,7 @@ export default class LocalFS implements ILocalFSPackageManager {
debug('read storage file %o has succeed', name);
cb(null, data);
} catch (err) {
} catch (err: any) {
debug('parse storage file %o has failed with error %o', name, err);
cb(err);
}

View file

@ -15,7 +15,7 @@ export async function loadPrivatePackages(path: string, logger: Logger): Promise
let db;
try {
db = JSON.parse(data);
} catch (err) {
} catch (err: any) {
logger.error(
`Package database file corrupted (invalid JSON), please check the error` +
` printed below.\nFile Path: ${path}`,

View file

@ -68,7 +68,7 @@ export async function findPackages(
}
}
}
} catch (error) {
} catch (error: any) {
reject(error);
}

View file

@ -54,7 +54,7 @@ describe('Utitlies', () => {
'./no_such_folder_fake',
jest.fn(() => true)
);
} catch (e) {
} catch (e: any) {
expect(e.code).toEqual(noSuchFile);
}
});

View file

@ -22,7 +22,7 @@ const debug = buildDebug('verdaccio:fastify:debug');
const ser = await server({ logger, config: configParsed });
await ser.listen(4873);
logger.info('fastify running on port 4873');
} catch (err) {
} catch (err: any) {
// eslint-disable-next-line no-console
console.error(err);
process.exit(1);

View file

@ -38,13 +38,13 @@
"@verdaccio/auth": "workspace:6.0.0-6-next.9",
"@verdaccio/logger": "workspace:6.0.0-6-next.4",
"@verdaccio/store": "workspace:6.0.0-6-next.10",
"debug": "4.3.1",
"debug": "4.3.2",
"fastify": "3.15.1",
"fastify-plugin": "3.0.0"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.7",
"ts-node": "9.1.1"
"ts-node": "10.2.1"
},
"scripts": {
"clean": "rimraf ./build",

View file

@ -34,8 +34,8 @@
"access": "public"
},
"dependencies": {
"debug": "^4.3.1",
"lodash": "^4.17.21",
"debug": "4.3.2",
"lodash": "4.17.21",
"@verdaccio/commons-api": "workspace:11.0.0-alpha.3",
"@verdaccio/url": "workspace:11.0.0-6-next.4",
"@verdaccio/utils": "workspace:6.0.0-6-next.5"

View file

@ -35,13 +35,13 @@
},
"dependencies": {
"@verdaccio/commons-api": "workspace:11.0.0-alpha.3",
"debug": "^4.3.1",
"lodash": "^4.17.21",
"validator": "^13.6.0"
"debug": "4.3.2",
"lodash": "4.17.21",
"validator": "13.6.0"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.7",
"node-mocks-http": "^1.10.1"
"node-mocks-http": "1.10.1"
},
"scripts": {
"clean": "rimraf ./build",

View file

@ -82,7 +82,7 @@ export function validateURL(publicUrl: string | void) {
throw Error('invalid protocol');
}
return true;
} catch (err) {
} catch (err: any) {
// TODO: add error logger here
return false;
}

View file

@ -32,10 +32,10 @@
"dependencies": {
"@verdaccio/commons-api": "workspace:11.0.0-alpha.3",
"@verdaccio/logger": "workspace:6.0.0-6-next.4",
"debug": "^4.3.1",
"debug": "4.3.2",
"handlebars": "4.5.3",
"undici": "^4.0.0",
"undici-fetch": "^1.0.0-rc.1"
"undici": "4.5.0",
"undici-fetch": "1.0.0-rc.1"
},
"devDependencies": {
"@verdaccio/auth": "workspace:6.0.0-6-next.9",

View file

@ -32,7 +32,7 @@ export async function notifyRequest(url: string, options: FetchOptions): Promise
'The notification @{content} has been successfully dispatched'
);
return true;
} catch (err) {
} catch (err: any) {
debug('request error %o', err);
logger.error(
{ errorMessage: err?.message },

View file

@ -19,7 +19,7 @@ export function compileTemplate(content, metadata) {
const template: HandlebarsTemplateDelegate = Handlebars.compile(content);
return resolve(template(metadata));
}
} catch (error) {
} catch (error: any) {
debug('error template handler %o', error);
reject(error);
}

View file

@ -14,8 +14,8 @@
},
"dependencies": {
"@verdaccio/logger": "workspace:6.0.0-6-next.4",
"debug": "^4.3.1",
"lodash": "4.17.15"
"debug": "4.3.2",
"lodash": "4.17.21"
},
"devDependencies": {
"@verdaccio/commons-api": "workspace:11.0.0-alpha.3",

View file

@ -17,7 +17,7 @@ export const MODULE_NOT_FOUND = 'MODULE_NOT_FOUND';
function tryLoad(path: string): any {
try {
return require(path);
} catch (err) {
} catch (err: any) {
if (err.code === MODULE_NOT_FOUND) {
return null;
}
@ -122,7 +122,7 @@ export function loadPlugin<T extends IPlugin<T>>(
plugin = isES6(plugin)
? new plugin.default(mergeConfig(config, pluginConfigs[pluginId]), params)
: plugin(pluginConfigs[pluginId], params);
} catch (error) {
} catch (error: any) {
plugin = null;
logger.error({ error, pluginId }, 'error loading a plugin @{pluginId}: @{error}');
}

View file

@ -45,7 +45,7 @@ describe('plugin loader', () => {
loadPlugin(_config, _config.auth, {}, function (p) {
return p.authenticate || p.allow_access || p.allow_publish;
});
} catch (e) {
} catch (e: any) {
expect(e.message).toEqual(
`"${relativePath}/invalid-plugin" plugin does not have the right code structure`
);
@ -59,7 +59,7 @@ describe('plugin loader', () => {
loadPlugin(_config, _config.auth, {}, function (plugin) {
return plugin.authenticate || plugin.allow_access || plugin.allow_publish;
});
} catch (err) {
} catch (err: any) {
expect(err.message).toEqual(
`sanity check has failed, "${relativePath}/invalid-plugin-sanity" is not a valid plugin`
);
@ -73,7 +73,7 @@ describe('plugin loader', () => {
loadPlugin(_config, _config.auth, {}, function (plugin) {
return plugin.authenticate || plugin.allow_access || plugin.allow_publish;
});
} catch (e) {
} catch (e: any) {
expect(e.message).toMatch('plugin not found');
expect(e.message.replace(/\\/g, '/')).toMatch(
'/partials/test-plugin-storage/invalid-package'

View file

@ -39,16 +39,16 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"dayjs": "1.8.36",
"dayjs": "1.9.7",
"fast-safe-stringify": "2.0.7",
"kleur": "3.0.3",
"lodash": "4.17.20",
"lodash": "4.17.21",
"prettier-bytes": "1.0.4",
"pretty-ms": "5.1.0"
},
"devDependencies": {
"@types/pino": "6.0.1",
"pino": "6.2.1"
"@types/pino": "6.3.11",
"pino": "6.11.3"
},
"funding": {
"type": "opencollective",

View file

@ -40,12 +40,12 @@
},
"dependencies": {
"@verdaccio/logger-prettify": "workspace:6.0.0-alpha.3",
"debug": "^4.3.1",
"lodash": "~4.17.21",
"pino": "^6.11.3"
"debug": "4.3.2",
"lodash": "4.17.21",
"pino": "6.11.3"
},
"devDependencies": {
"@types/pino": "^6.3.3",
"@types/pino": "6.3.11",
"@verdaccio/types": "workspace:11.0.0-6-next.7"
},
"funding": {

View file

@ -38,12 +38,12 @@
"build": "pnpm run build:js && pnpm run build:types"
},
"dependencies": {
"debug": "^4.3.1",
"debug": "4.3.2",
"@verdaccio/auth": "workspace:6.0.0-6-next.9",
"@verdaccio/commons-api": "workspace:11.0.0-alpha.3",
"@verdaccio/logger": "workspace:6.0.0-6-next.4",
"@verdaccio/utils": "workspace:6.0.0-6-next.5",
"lodash": "4.17.15"
"lodash": "4.17.21"
},
"funding": {
"type": "opencollective",

View file

@ -240,7 +240,7 @@ export function final(
} else {
// send(null), send(204), etc.
}
} catch (err) {
} catch (err: any) {
// if verdaccio sends headers first, and then calls res.send()
// as an error handler, we can't report error properly,
// and should just close socket

View file

@ -42,11 +42,11 @@
"@verdaccio/commons-api": "workspace:11.0.0-alpha.3",
"@verdaccio/config": "workspace:6.0.0-6-next.7",
"@verdaccio/utils": "workspace:6.0.0-6-next.5",
"debug": "^4.3.1",
"fs-extra": "^8.1.0",
"lodash": "^4.17.21",
"debug": "4.3.2",
"fs-extra": "9.1.0",
"lodash": "4.17.21",
"request": "2.87.0",
"supertest": "^4.0.2"
"supertest": "6.1.6"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.7"

View file

@ -22,7 +22,7 @@ export class PromiseAssert extends Promise<any> implements IRequestPromise {
try {
console.log('-->', expected, selfData?.response?.statusCode);
assert.equal(selfData.response.statusCode, expected);
} catch (err) {
} catch (err: any) {
debug('error status %o', err);
selfData.error.message = err.message;
throw selfData.error;
@ -46,7 +46,7 @@ export class PromiseAssert extends Promise<any> implements IRequestPromise {
assert.equal(body.ok, expected);
}
assert.equal(body.error, null);
} catch (err) {
} catch (err: any) {
debug('body_ok error %o', err.message);
selfData.error.message = err.message;
throw selfData.error;
@ -70,7 +70,7 @@ export class PromiseAssert extends Promise<any> implements IRequestPromise {
assert.equal(body.error, expected);
}
assert.equal(body.ok, null);
} catch (err) {
} catch (err: any) {
selfData.error.message = err.message;
throw selfData.error;
}

View file

@ -43,16 +43,16 @@
"@verdaccio/config": "workspace:6.0.0-6-next.7",
"@verdaccio/logger": "workspace:6.0.0-6-next.4",
"@verdaccio/server": "workspace:6.0.0-6-next.16",
"core-js": "^3.15.1",
"debug": "^4.3.1",
"lodash": "^4.17.21"
"core-js": "3.16.3",
"debug": "4.3.2",
"lodash": "4.17.21"
},
"devDependencies": {
"@verdaccio/mock": "workspace:6.0.0-6-next.7",
"@verdaccio/types": "workspace:11.0.0-6-next.7",
"jest-mock-process": "^1.4.0",
"selfsigned": "1.10.7",
"supertest": "^6.1.3"
"jest-mock-process": "1.4.1",
"selfsigned": "1.10.11",
"supertest": "6.1.6"
},
"publishConfig": {
"access": "public"

View file

@ -67,7 +67,7 @@ export function createServerFactory(config: ConfigRuntime, addr, app) {
// TODO: enable http2 as feature
// if (config.server.http2) <-- check if force http2
serverFactory = https.createServer(httpsOptions, app);
} catch (err) {
} catch (err: any) {
throw new Error(`cannot create https server: ${err.message}`);
}
} else {

View file

@ -35,10 +35,10 @@
},
"dependencies": {
"@verdaccio/commons-api": "workspace:11.0.0-alpha.3",
"activedirectory2": "^1.3.0"
"activedirectory2": "1.3.0"
},
"devDependencies": {
"@types/activedirectory2": "^1.2.1",
"@types/activedirectory2": "1.2.3",
"@verdaccio/types": "workspace:11.0.0-6-next.7"
},
"scripts": {

View file

@ -31,15 +31,15 @@
"npm": ">=6"
},
"dependencies": {
"express": "^4.17.1",
"https-proxy-agent": "^5.0.0",
"node-fetch": "^2.6.0"
"express": "4.17.1",
"https-proxy-agent": "5.0.0",
"node-fetch": "2.6.1"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.7",
"body-parser": "^1.19.0",
"nock": "^12.0.3",
"supertest": "^4.0.2"
"body-parser": "1.19.0",
"nock": "12.0.3",
"supertest": "6.1.6"
},
"scripts": {
"clean": "rimraf ./build",

View file

@ -31,7 +31,7 @@
"npm": ">=6"
},
"dependencies": {
"debug": "^4.3.1",
"debug": "4.3.2",
"@verdaccio/commons-api": "workspace:11.0.0-alpha.3"
},
"devDependencies": {

View file

@ -33,7 +33,7 @@
"dependencies": {
"@verdaccio/commons-api": "workspace:11.0.0-alpha.3",
"@verdaccio/streams": "workspace:11.0.0-alpha.3",
"aws-sdk": "^2.607.0"
"aws-sdk": "2.978.0"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.7",

View file

@ -84,7 +84,7 @@ export default class S3Database implements IPluginStorage<S3Config> {
try {
await this._sync();
callback(null);
} catch (err) {
} catch (err: any) {
callback(err);
}
} else {
@ -161,7 +161,7 @@ export default class S3Database implements IPluginStorage<S3Config> {
await this._sync();
this.logger.trace('s3: [remove] finish sync');
callback(null);
} catch (err) {
} catch (err: any) {
this.logger.error({ err }, 's3: [remove] sync error: @{err}');
callback(err);
}

View file

@ -43,6 +43,6 @@ export function convertS3Error(err: AWSError): VerdaccioError {
case 'RequestAbortedError':
return getInternalError('request aborted');
default:
return getCode(err.statusCode, err.message);
return getCode(err.statusCode!, err.message);
}
}

View file

@ -100,7 +100,7 @@ export default class S3PackageManager implements ILocalPackageManager {
onWrite(name, transformedPackage, onEnd);
}
});
} catch (err) {
} catch (err: any) {
this.logger.error(
{ err },
's3: [S3PackageManager updatePackage updateHandler onEnd catch] @{err}'
@ -132,7 +132,7 @@ export default class S3PackageManager implements ILocalPackageManager {
let data;
try {
data = JSON.parse(body);
} catch (e) {
} catch (e: any) {
this.logger.error({ body }, 's3: [S3PackageManager _getData] error parsing: @{body}');
reject(e);
return;
@ -248,7 +248,7 @@ export default class S3PackageManager implements ILocalPackageManager {
's3: [S3PackageManager readPackage] packageName: @{packageName} / data @data'
);
callback(null, data);
} catch (err) {
} catch (err: any) {
this.logger.error({ err: err.message }, 's3: [S3PackageManager readPackage] @{err}');
callback(err);
@ -347,7 +347,7 @@ export default class S3PackageManager implements ILocalPackageManager {
's3: [S3PackageManager writeTarball uploadStream done] emit success'
);
uploadStream.emit('success');
} catch (err) {
} catch (err: any) {
// already emitted in the promise above, necessary because of some issues
// with promises in jest
this.logger.error(
@ -377,7 +377,7 @@ export default class S3PackageManager implements ILocalPackageManager {
try {
this.logger.debug('s3: [S3PackageManager writeTarball managedUpload abort]');
managedUpload.abort();
} catch (err) {
} catch (err: any) {
const error: HttpError = convertS3Error(err);
uploadStream.emit('error', error);

View file

@ -74,7 +74,7 @@ describe.skip('Local Database', () => {
}
);
});
} catch (err) {
} catch (err: any) {
if (is404Error(err)) {
// ignore
} else {

View file

@ -68,7 +68,7 @@ describe.skip('S3 package manager', () => {
}
);
});
} catch (err) {
} catch (err: any) {
if (is404Error(err)) {
// ignore
} else {

View file

@ -31,8 +31,8 @@
"npm": ">=6"
},
"dependencies": {
"@google-cloud/datastore": "^6.2.0",
"@google-cloud/storage": "^5.3.0",
"@google-cloud/datastore": "6.5.0",
"@google-cloud/storage": "5.14.0",
"@verdaccio/commons-api": "^11.0.0-alpha.3",
"@verdaccio/streams": "workspace:11.0.0-alpha.3"
},

View file

@ -171,7 +171,7 @@ class GoogleCloudDatabase implements IPluginStorage<VerdaccioConfigGoogleStorage
const datastore = this.helper.datastore;
const key = datastore.key([this.kind, datastore.int(item.id)]);
await datastore.delete(key);
} catch (err) {
} catch (err: any) {
return getInternalError(err.message);
}
}

View file

@ -73,7 +73,7 @@ class GoogleCloudStorageHandler implements IPackageStorageManager {
}
try {
onWrite(name, transformPackage(metadata), onEnd);
} catch (err) {
} catch (err: any) {
this.logger.error(
{ name: name, err: err.message },
'gcloud: on write update @{name} package has failed err: @{err}'
@ -124,7 +124,7 @@ class GoogleCloudStorageHandler implements IPackageStorageManager {
);
cb(getInternalError(err.message));
});
} catch (err) {
} catch (err: any) {
this.logger.error(
{ name: file.name, err: err.message },
'gcloud: delete @{name} file has failed err: @{err}'
@ -212,7 +212,7 @@ class GoogleCloudStorageHandler implements IPackageStorageManager {
resumable: this.config.resumable,
});
resolve(null);
} catch (err) {
} catch (err: any) {
reject(getInternalError(err.message));
}
});
@ -253,7 +253,7 @@ class GoogleCloudStorageHandler implements IPackageStorageManager {
{ name: name, exist },
'gcloud: check whether @{name} exist successfully: @{exist}'
);
} catch (err) {
} catch (err: any) {
this.logger.error(
{ name: file.name, err: err.message },
'gcloud: check exist package @{name} has failed, cause: @{err}'
@ -274,7 +274,7 @@ class GoogleCloudStorageHandler implements IPackageStorageManager {
const response: Package = JSON.parse(content[0].toString('utf8'));
resolve(response);
} catch (err) {
} catch (err: any) {
this.logger.debug({ name: this.name }, 'gcloud: @{name} package not found on storage');
reject(getNotFound());
}
@ -355,7 +355,7 @@ class GoogleCloudStorageHandler implements IPackageStorageManager {
uploadStream.emit('error', getInternalError(err.message));
}
);
} catch (err) {
} catch (err: any) {
uploadStream.emit('error', err);
}
return uploadStream;

View file

@ -33,8 +33,8 @@
"dependencies": {
"@verdaccio/commons-api": "workspace:11.0.0-alpha.3",
"@verdaccio/streams": "workspace:11.0.0-alpha.3",
"memory-fs": "^0.5.0",
"debug": "^4.3.1",
"memory-fs": "0.5.0",
"debug": "4.3.2",
"memfs": "3.2.0"
},
"devDependencies": {

View file

@ -57,7 +57,7 @@ class MemoryHandler implements IPackageStorageManager {
try {
pkg = parsePackage(json) as Package;
} catch (err) {
} catch (err: any) {
return onEnd(err);
}
@ -67,7 +67,7 @@ class MemoryHandler implements IPackageStorageManager {
}
try {
onWrite(pkgFileName, transformPackage(pkg), onEnd);
} catch (err) {
} catch (err: any) {
return onEnd(getInternalError('error on parse the metadata'));
}
});
@ -92,7 +92,7 @@ class MemoryHandler implements IPackageStorageManager {
debug('save package %o', name);
this.data[name] = stringifyPackage(value);
return cb(null);
} catch (err) {
} catch (err: any) {
return cb(getInternalError(err.message));
}
}
@ -104,7 +104,7 @@ class MemoryHandler implements IPackageStorageManager {
try {
return cb(isJson ? getNotFound() : null, parsePackage(json));
} catch (err) {
} catch (err: any) {
return cb(getNotFound());
}
}
@ -140,7 +140,7 @@ class MemoryHandler implements IPackageStorageManager {
uploadStream.emit('open');
return;
} catch (err) {
} catch (err: any) {
uploadStream.emit('error', err);
return;
}
@ -176,7 +176,7 @@ class MemoryHandler implements IPackageStorageManager {
readStream.destroy(getBadRequest('read has been aborted'));
};
return;
} catch (err) {
} catch (err: any) {
readTarballStream.emit('error', err);
return;
}

View file

@ -30,7 +30,7 @@
"@verdaccio/node-api": "workspace:6.0.0-6-next.17",
"autosuggest-highlight": "3.1.1",
"babel-loader": "^8.2.2",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-dynamic-import-node": "2.3.3",
"babel-plugin-emotion": "10.0.33",
"bundlesize": "0.18.0",
"css-loader": "5.2.1",
@ -49,10 +49,10 @@
"js-yaml": "3.14.0",
"lint-staged": "9.5.0",
"localstorage-memory": "1.0.3",
"lodash": "^4.17.21",
"lodash": "4.17.21",
"mini-css-extract-plugin": "^1.6.0",
"mutationobserver-shim": "0.3.7",
"node-mocks-http": "1.9.0",
"node-mocks-http": "1.10.1",
"normalize.css": "8.0.1",
"optimize-css-assets-webpack-plugin": "^5.0.8",
"ora": "4.0.4",
@ -76,10 +76,10 @@
"stylelint-config-styled-components": "0.1.1",
"stylelint-processor-styled-components": "1.10.0",
"stylelint-webpack-plugin": "^2.2.1",
"supertest": "4.0.2",
"supertest": "6.1.6",
"terser-webpack-plugin": "^5.1.3",
"url-loader": "^4.1.1",
"validator": "13.1.1",
"validator": "13.6.0",
"wait-on": "5.2.0",
"webpack": "5.33.2",
"webpack-bundle-analyzer": "3.8.0",

View file

@ -40,7 +40,7 @@ const LoginDialog: React.FC<Props> = ({ onClose, open = false }) => {
const response: LoginBody = await doLogin(username as string, password as string);
return response;
} catch (e) {
} catch (e: any) {
// eslint-disable-next-line no-console
console.error('login error', e.message);
const error = {

View file

@ -121,7 +121,7 @@ const Search: React.FC<RouteComponentProps> = ({ history }) => {
// FIXME: Argument of type 'unknown' is not assignable to parameter of type 'SetStateAction<never[]>'
setSuggestions(suggestions as any);
setLoaded(true);
} catch (error) {
} catch (error: any) {
/**
* AbortError is not the API error.
* It means browser has cancelled the API request.

View file

@ -10,7 +10,7 @@ const useLocalStorage = <V>(key: string, initialValue: V) => {
const item = window.localStorage.getItem(key);
// Parse stored json or if none return initialValue
return item ? JSON.parse(item) : initialValue;
} catch (error) {
} catch (error: any) {
// If error also return initialValue
// eslint-disable-next-line no-console
console.error('An error occurred getting a sessionStorage key', error);
@ -28,7 +28,7 @@ const useLocalStorage = <V>(key: string, initialValue: V) => {
setStoredValue(valueToStore);
// Save to local storage
window.localStorage.setItem(key, JSON.stringify(valueToStore));
} catch (error) {
} catch (error: any) {
// eslint-disable-next-line no-console
console.error('An error occurred writing to sessionStorage', error);
}

View file

@ -45,7 +45,7 @@ const VersionContextProvider: React.FC = ({ children }) => {
setIsLoading(false);
setHasNotBeenFound(true);
}
} catch (error) {
} catch (error: any) {
setHasNotBeenFound(true);
setIsLoading(false);
}

View file

@ -18,7 +18,7 @@ const Home: React.FC<Props> = ({ isUserLoggedIn }) => {
const packages = await getPackages();
// FIXME add correct type for package
setPackages(packages as never[]);
} catch (error) {
} catch (error: any) {
// FIXME: add dialog
// eslint-disable-next-line no-console
console.error({

View file

@ -5,7 +5,7 @@ try {
localStorage.setItem('__TEST__', '');
localStorage.removeItem('__TEST__');
storage = localStorage;
} catch (err) {
} catch (err: any) {
storage = memoryStorage;
}

View file

@ -16,7 +16,7 @@ export function isTokenExpire(token: string | null): boolean {
let exp: number;
try {
exp = JSON.parse(Base64.decode(payload)).exp;
} catch (error) {
} catch (error: any) {
// eslint-disable-next-line no-console
console.error('Invalid token:', error, token);
return true;

View file

@ -5,7 +5,7 @@ try {
localStorage.setItem('__TEST__', '');
localStorage.removeItem('__TEST__');
storage = localStorage;
} catch (err) {
} catch (err: any) {
storage = memoryStorage;
}

View file

@ -46,12 +46,12 @@
"@verdaccio/streams": "workspace:11.0.0-alpha.3",
"@verdaccio/utils": "workspace:6.0.0-6-next.5",
"JSONStream": "1.3.5",
"lodash": "4.17.20",
"lodash": "4.17.21",
"request": "2.87.0"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.7",
"nock": "13.0.11",
"nock": "12.0.3",
"node-mocks-http": "1.10.1"
},
"funding": {

View file

@ -209,7 +209,7 @@ class ProxyStorage implements IProxy {
try {
// $FlowFixMe
body = JSON.parse(body.toString(CHARACTER_ENCODING.UTF8));
} catch (_err) {
} catch (_err: any) {
body = {};
err = _err;
error = err.message;

View file

@ -45,12 +45,12 @@
"cors": "2.8.5",
"express": "4.17.1",
"express-rate-limit": "5.2.3",
"lodash": "4.17.15"
"lodash": "4.17.21"
},
"devDependencies": {
"@verdaccio/mock": "workspace:6.0.0-6-next.7",
"@verdaccio/proxy": "workspace:6.0.0-6-next.9",
"http-errors": "1.7.3",
"http-errors": "1.8.0",
"request": "2.87.0"
},
"scripts": {

View file

@ -158,7 +158,7 @@ export default (async function (configHash: ConfigRuntime): Promise<any> {
try {
// waits until init calls have been initialized
await storage.init(config, filters);
} catch (err) {
} catch (err: any) {
logger.error({ error: err.msg }, 'storage has failed: @{error}');
throw new Error(err);
}

View file

@ -189,7 +189,7 @@ describe('endpoint unit test', () => {
readonly: false,
cidr_whitelist: [],
});
} catch (e) {
} catch (e: any) {
const [err, body] = e;
expect(err).not.toBeNull();
expect(body.error).toEqual(API_ERROR.BAD_USERNAME_PASSWORD);
@ -206,7 +206,7 @@ describe('endpoint unit test', () => {
expect(res[0]).toBeNull();
expect(res[1].body.error).toEqual(SUPPORT_ERRORS.PARAMETERS_NOT_VALID);
} catch (e) {
} catch (e: any) {
return Promise.reject(e);
}
});
@ -220,7 +220,7 @@ describe('endpoint unit test', () => {
expect(res[0]).toBeNull();
expect(res[1].body.error).toEqual(SUPPORT_ERRORS.PARAMETERS_NOT_VALID);
} catch (e) {
} catch (e: any) {
return Promise.reject(e);
}
});

View file

@ -35,10 +35,10 @@
"@verdaccio/cli": "workspace:6.0.0-6-next.17",
"@verdaccio/ui-theme": "workspace:6.0.0-6-next.9",
"fs-extra": "9.0.1",
"webpack": "^5.40.0",
"webpack": "5.51.1",
"webpack-bundle-analyzer": "3.8.0",
"webpack-bundle-size-analyzer": "3.1.0",
"webpack-cli": "^4.7.2"
"webpack-cli": "4.8.0"
},
"keywords": [
"private",

View file

@ -47,12 +47,12 @@
"@verdaccio/proxy": "workspace:6.0.0-6-next.9",
"@verdaccio/streams": "workspace:11.0.0-alpha.3",
"@verdaccio/utils": "workspace:6.0.0-6-next.5",
"async": "3.1.1",
"debug": "^4.3.1",
"lodash": "4.17.15",
"async": "3.2.1",
"debug": "4.3.2",
"lodash": "4.17.21",
"lunr": "2.3.9",
"lunr-mutable-indexes": "^2.3.2",
"semver": "7.1.2"
"lunr-mutable-indexes": "2.3.2",
"semver": "7.3.5"
},
"devDependencies": {
"@verdaccio/mock": "workspace:6.0.0-6-next.7",

View file

@ -145,7 +145,7 @@ class Storage {
debug('publishing a package for %o', name);
await publishPackage(name, metadata, this.localStorage as IStorage);
callback();
} catch (err) {
} catch (err: any) {
debug('error on add a package for %o with error %o', name, err?.error);
callback(err);
}
@ -609,7 +609,7 @@ class Storage {
try {
validateMetadata(upLinkResponse, name);
} catch (err) {
} catch (err: any) {
self.logger.error(
{
sub: 'out',
@ -631,7 +631,7 @@ class Storage {
try {
mergeVersions(packageInfo, upLinkResponse);
} catch (err) {
} catch (err: any) {
self.logger.error(
{
sub: 'out',
@ -698,7 +698,7 @@ class Storage {
// and return it directly for
// performance (i.e. need not be pure)
packageJsonLocal = await filter.filter_metadata(packageJsonLocal);
} catch (err) {
} catch (err: any) {
filterErrors.push(err);
}
}

View file

@ -15,7 +15,7 @@
"author": "Juan Picado <juanpicado19@gmail.com>",
"license": "MIT",
"dependencies": {
"clipanion": "3.0.0-rc.12",
"clipanion": "3.0.1",
"temp-dir": "2.0.0",
"get-port": "5.1.1",
"semver": "7.3.5"
@ -23,6 +23,6 @@
"devDependencies": {
"autocannon": "7.3.0",
"node-fetch": "2.6.1",
"ts-node": "10.0.0"
"ts-node": "10.2.1"
}
}

View file

@ -18,7 +18,7 @@ export class ApiCommand extends Command {
public async execute() {
try {
await runApi(this.benchmark, this.version);
} catch (err) {
} catch (err: any) {
console.error(err);
process.exit(1);
}

View file

@ -32,7 +32,7 @@ export default async function run(benchmark, version) {
debug('report path %o', reportPath);
writeFileSync(reportPath, JSON.stringify(wrapResults, null, 2), 'utf-8');
debug('report ends');
} catch (err) {
} catch (err: any) {
// eslint-disable-next-line no-console
console.error(`error on process autocannon run`, err);
process.exit(1);

View file

@ -14,7 +14,7 @@
"url": "https://github.com/verdaccio/verdaccio"
},
"dependencies": {
"lunr-mutable-indexes": "^2.3.2"
"lunr-mutable-indexes": "2.3.2"
},
"homepage": "https://verdaccio.org",
"keywords": [

View file

@ -31,10 +31,10 @@
},
"dependencies": {
"@verdaccio/commons-api": "workspace:11.0.0-alpha.3",
"semver": "7.3.2"
"semver": "7.3.5"
},
"devDependencies": {
"lodash": "^4.17.21"
"lodash": "4.17.21"
},
"scripts": {
"clean": "rimraf ./build",

View file

@ -118,7 +118,7 @@ export function getVersion(pkg: Package, version: any): Version | void {
return pkg.versions[versionItem];
}
}
} catch (err) {
} catch (err: any) {
return undefined;
}
}

View file

@ -38,16 +38,16 @@
"@verdaccio/utils": "workspace:6.0.0-6-next.5",
"body-parse": "0.1.0",
"body-parser": "1.19.0",
"debug": "^4.3.1",
"debug": "4.3.2",
"express": "4.17.1",
"lodash": "^4.17.21",
"lru-cache": "^6.0.0"
"lodash": "4.17.21",
"lru-cache": "6.0.0"
},
"devDependencies": {
"@verdaccio/types": "workspace:11.0.0-6-next.7",
"body-parser": "^1.19.0",
"node-html-parser": "^2.2.1",
"supertest": "^6.1.3",
"body-parser": "1.19.0",
"node-html-parser": "2.2.1",
"supertest": "6.1.6",
"verdaccio-auth-memory": "workspace:11.0.0-alpha.3",
"verdaccio-memory": "workspace:11.0.0-6-next.4"
},

View file

@ -48,7 +48,7 @@ function addPackageWebApi(
}
resolve(allowed);
});
} catch (err) {
} catch (err: any) {
reject(err);
}
});
@ -89,7 +89,7 @@ function addPackageWebApi(
}
permissions.push(pkgCopy);
}
} catch (err) {
} catch (err: any) {
debug('process packages error %o', err);
logger.logger.error(
{ name: pkg.name, error: err },
@ -107,7 +107,7 @@ function addPackageWebApi(
try {
next(sortByName(await processPackages(packages), order));
} catch (error) {
} catch (error: any) {
next(error);
}
});

View file

@ -40,7 +40,7 @@ function addSearchWebApi(route: Router, storage: IStorageHandler, auth: IAuth):
}
},
});
} catch (err) {
} catch (err: any) {
reject(err);
}
});
@ -62,7 +62,7 @@ function addSearchWebApi(route: Router, storage: IStorageHandler, auth: IAuth):
const pkg = await getPackageInfo(result.ref, req.remote_user);
debug('package found %o', result.ref);
packages.push(pkg);
} catch (err) {
} catch (err: any) {
debug('search for %o failed err %o', result.ref, err?.message);
}
}

View file

@ -80,7 +80,7 @@ export default function renderHTML(config, manifest, manifestFiles, req, res) {
} else {
debug('reuse template cache');
}
} catch (error) {
} catch (error: any) {
throw new Error(`theme could not be load, stack ${error.stack}`);
}
res.setHeader('Content-Type', HEADERS.TEXT_HTML);

File diff suppressed because it is too large Load diff

View file

@ -3,7 +3,7 @@
"private": true,
"version": "1.0.1-alpha.0",
"dependencies": {
"debug": "4.3.1",
"debug": "4.3.2",
"npm": "7.0.15",
"pnpm": "5.13.5",
"request": "^2.88.2",

View file

@ -5,8 +5,8 @@
"devDependencies": {
"@verdaccio/commons-api": "workspace:11.0.0-alpha.3",
"@verdaccio/ui-theme": "workspace:6.0.0-6-next.9",
"debug": "4.3.1",
"kleur": "^4.1.4",
"debug": "4.3.2",
"kleur": "3.0.3",
"lodash": "^4.17.21",
"puppeteer": "^9.1.1",
"request": "^2.88.2",