From 03a9ce19e4720be650f652a00a751a0058ee74ea Mon Sep 17 00:00:00 2001 From: Matt Godbolt Date: Wed, 28 Dec 2022 21:49:18 -0600 Subject: [PATCH 1/6] Different uncaughtException handling (#4511) * Different uncaughtException handling We've seen some uncaught exceptions where the process exits before logs are apparently flushed. This hopefully addresses that. Also start up sentry earlier, and catch top level exits differently. With ref to winstonjs/winston#1504 (comment) and https://nodejs.org/api/process.html#event-uncaughtexception --- app.js | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/app.js b/app.js index e944db738..6fe79c1bd 100755 --- a/app.js +++ b/app.js @@ -453,6 +453,11 @@ const awsProps = props.propsFor('aws'); // eslint-disable-next-line max-statements async function main() { await aws.initConfig(awsProps); + // Initialise express and then sentry. Sentry as early as possible to catch errors during startup. + const webServer = express(), + router = express.Router(); + setupSentry(aws.getConfig('sentryDsn')); + startWineInit(); const clientOptionsHandler = new ClientOptionsHandler(sources, compilerProps, defArgs); @@ -505,9 +510,6 @@ async function main() { process.exit(0); } - const webServer = express(), - router = express.Router(); - setupSentry(aws.getConfig('sentryDsn')); const healthCheckFilePath = ceProps('healthCheckFilePath', false); const handlerConfig = { @@ -818,24 +820,29 @@ if (opts.version) { process.exit(0); } -process.on('uncaughtException', terminationHandler('uncaughtException', 1)); -process.on('SIGINT', terminationHandler('SIGINT', 0)); -process.on('SIGTERM', terminationHandler('SIGTERM', 0)); -process.on('SIGQUIT', terminationHandler('SIGQUIT', 0)); +process.on('uncaughtException', uncaughtHandler); +process.on('SIGINT', signalHandler('SIGINT')); +process.on('SIGTERM', signalHandler('SIGTERM')); +process.on('SIGQUIT', signalHandler('SIGQUIT')); -function terminationHandler(name, code) { - return error => { +function signalHandler(name) { + return () => { logger.info(`stopping process: ${name}`); - if (error && error instanceof Error) { - logger.error(error); - } - process.exit(code); + process.exit(0); }; } +function uncaughtHandler(err, origin) { + logger.info(`stopping process: Uncaught exception: ${err}\nException origin: ${origin}`); + // The app will exit naturally from here, but if we call `process.exit()` we may lose log lines. + // see https://github.com/winstonjs/winston/issues/1504#issuecomment-1033087411 + process.exitCode = 1; +} + // Once we move to modules, we can remove this and use a top level await. // eslint-disable-next-line unicorn/prefer-top-level-await main().catch(err => { logger.error('Top-level error (shutting down):', err); - process.exit(1); + // Shut down after a second to hopefully let logs flush. + setTimeout(() => process.exit(1), 1000); }); From fe3e421feaeaf930762d36f90bfc7106915ce75d Mon Sep 17 00:00:00 2001 From: Matt Godbolt Date: Thu, 29 Dec 2022 10:17:03 -0600 Subject: [PATCH 2/6] Catch exceptions in tar handling (#4515) - adds error handlers for all streams - catches exceptions raised in the non-trivial `entry` handler - rejects in all cases Partially addresses #4512 --- lib/buildenvsetup/ceconan.ts | 55 ++++++++++++++++++++++++------------ 1 file changed, 37 insertions(+), 18 deletions(-) diff --git a/lib/buildenvsetup/ceconan.ts b/lib/buildenvsetup/ceconan.ts index bf186b383..8ae541ef9 100644 --- a/lib/buildenvsetup/ceconan.ts +++ b/lib/buildenvsetup/ceconan.ts @@ -111,33 +111,47 @@ export class BuildEnvSetupCeConanDirect extends BuildEnvSetupBase { } async downloadAndExtractPackage(libId, version, downloadPath, packageUrl): Promise { - return new Promise(resolve => { + return new Promise((resolve, reject) => { const startTime = process.hrtime.bigint(); const extract = tar.extract(); const gunzip = zlib.createGunzip(); extract.on('entry', async (header, stream, next) => { - let filepath = ''; - if (this.extractAllToRoot) { - const filename = path.basename(header.name); - filepath = path.join(downloadPath, filename); - } else { - const filename = header.name; - filepath = path.join(downloadPath, filename); - const resolved = path.resolve(path.dirname(filepath)); - if (!resolved.startsWith(downloadPath)) { - logger.error(`Library ${libId}/${version} is using a zip-slip, skipping file`); - next(); - return; + try { + let filepath = ''; + if (this.extractAllToRoot) { + const filename = path.basename(header.name); + filepath = path.join(downloadPath, filename); + } else { + const filename = header.name; + filepath = path.join(downloadPath, filename); + const resolved = path.resolve(path.dirname(filepath)); + if (!resolved.startsWith(downloadPath)) { + logger.error(`Library ${libId}/${version} is using a zip-slip, skipping file`); + next(); + return; + } + + await mkdirp(path.dirname(filepath)); } - await mkdirp(path.dirname(filepath)); + const filestream = fs.createWriteStream(filepath); + stream.pipe(filestream); + stream.on('error', error => { + logger.error(`Error in stream handling: ${error}`); + reject(error); + }); + stream.on('end', next); + stream.resume(); + } catch (error) { + logger.error(`Error in entry handling: ${error}`); + reject(error); } + }); - const filestream = fs.createWriteStream(filepath); - stream.pipe(filestream); - stream.on('end', next); - stream.resume(); + extract.on('error', error => { + logger.error(`Error in tar handling: ${error}`); + reject(error); }); extract.on('finish', () => { @@ -149,6 +163,11 @@ export class BuildEnvSetupCeConanDirect extends BuildEnvSetupBase { }); }); + gunzip.on('error', error => { + logger.error(`Error in gunzip handling: ${error}`); + reject(error); + }); + gunzip.pipe(extract); const settings = { From 6a92e68325cc2410b964772b606eaa6d39dc5b5d Mon Sep 17 00:00:00 2001 From: Matt Godbolt Date: Thu, 29 Dec 2022 11:20:39 -0600 Subject: [PATCH 3/6] More catching --- lib/buildenvsetup/ceconan.ts | 43 ++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/lib/buildenvsetup/ceconan.ts b/lib/buildenvsetup/ceconan.ts index 8ae541ef9..d681fc65a 100644 --- a/lib/buildenvsetup/ceconan.ts +++ b/lib/buildenvsetup/ceconan.ts @@ -149,33 +149,38 @@ export class BuildEnvSetupCeConanDirect extends BuildEnvSetupBase { } }); - extract.on('error', error => { - logger.error(`Error in tar handling: ${error}`); - reject(error); - }); - - extract.on('finish', () => { - const endTime = process.hrtime.bigint(); - resolve({ - step: `Download of ${libId} ${version}`, - packageUrl: packageUrl, - time: ((endTime - startTime) / BigInt(1000000)).toString(), + extract + .on('error', error => { + logger.error(`Error in tar handling: ${error}`); + reject(error); + }) + .on('finish', () => { + const endTime = process.hrtime.bigint(); + resolve({ + step: `Download of ${libId} ${version}`, + packageUrl: packageUrl, + time: ((endTime - startTime) / BigInt(1000000)).toString(), + }); }); - }); - gunzip.on('error', error => { - logger.error(`Error in gunzip handling: ${error}`); - reject(error); - }); - - gunzip.pipe(extract); + gunzip + .on('error', error => { + logger.error(`Error in gunzip handling: ${error}`); + reject(error); + }) + .pipe(extract); const settings = { method: 'GET', encoding: null, }; - request(packageUrl, settings).pipe(gunzip); + request(packageUrl, settings) + .on('error', error => { + logger.error(`Error in request handling: ${error}`); + reject(error); + }) + .pipe(gunzip); }); } From 9fa19227d6c57721ba0f168b0cfec6a6168d8571 Mon Sep 17 00:00:00 2001 From: Patrick Quist Date: Thu, 29 Dec 2022 19:23:20 +0100 Subject: [PATCH 4/6] Fixcrashissue (#4518) * await for conan downloads * await later This fixes #4512 - essentially any exceptions thrown before the `await` of the build environment would leave a "task" that was trying to write to the temp dir. the temp dir would then be deleted, and the untar would fail, and as nobody was await-ing its return (as the awaits used to be _after_ the throwing code) then we'd get an uncaught exception. --- lib/base-compiler.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/base-compiler.ts b/lib/base-compiler.ts index 8fb791417..3ad4cd3f6 100644 --- a/lib/base-compiler.ts +++ b/lib/base-compiler.ts @@ -1447,9 +1447,9 @@ export class BaseCompiler implements ICompiler { } async buildExecutableInFolder(key, dirPath): Promise { - const buildEnvironment = this.setupBuildEnvironment(key, dirPath, true); - const writeSummary = await this.writeAllFiles(dirPath, key.source, key.files, key.filters); + const downloads = await this.setupBuildEnvironment(key, dirPath, true); + const inputFilename = writeSummary.inputFilename; const outputFilename = this.getExecutableFilename(dirPath, this.outputFilebase, key); @@ -1472,7 +1472,6 @@ export class BaseCompiler implements ICompiler { const execOptions = this.getDefaultExecOptions(); execOptions.ldPath = this.getSharedLibraryPathsAsLdLibraryPaths(key.libraries); - const downloads = await buildEnvironment; const result = await this.buildExecutable(key.compiler.exe, compilerArguments, inputFilename, execOptions); return { @@ -1714,8 +1713,6 @@ export class BaseCompiler implements ICompiler { } async doCompilation(inputFilename, dirPath, key, options, filters, backendOptions, libraries, tools) { - const buildEnvironment = this.setupBuildEnvironment(key, dirPath, filters.binary); - const inputFilenameSafe = this.filename(inputFilename); const outputFilename = this.getOutputFilename(dirPath, this.outputFilebase, key); @@ -1742,7 +1739,7 @@ export class BaseCompiler implements ICompiler { const makeGccDump = backendOptions.produceGccDump && backendOptions.produceGccDump.opened && this.compiler.supportsGccDump; - const downloads = await buildEnvironment; + const downloads = await this.setupBuildEnvironment(key, dirPath, filters.binary); const [ asmResult, astResult, From aaf13f6e476a419501e319f37327784b7d732977 Mon Sep 17 00:00:00 2001 From: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> Date: Thu, 29 Dec 2022 17:14:22 -0700 Subject: [PATCH 5/6] Try to address an unhandled exception that's crashing instances (#4519) * Try to address an unhandled exception that's crashing instances * Quick amendment --- lib/handlers/compile.ts | 27 ++++++++++++++++++++------- package-lock.json | 8 ++------ package.json | 2 ++ 3 files changed, 24 insertions(+), 13 deletions(-) diff --git a/lib/handlers/compile.ts b/lib/handlers/compile.ts index 35b7ad317..e9c20f2ca 100644 --- a/lib/handlers/compile.ts +++ b/lib/handlers/compile.ts @@ -132,7 +132,7 @@ export class CompileHandler { // https://github.com/nodejitsu/node-http-proxy/blob/master/examples/middleware/bodyDecoder-middleware.js // We just keep the body as-is though: no encoding using queryString.stringify(), as we don't use a form // decoding middleware. - this.proxy.on('proxyReq', function (proxyReq, req) { + this.proxy.on('proxyReq', (proxyReq, req) => { // TODO ideally I'd work out if this is "ok" - IncomingMessage doesn't have a body, but pragmatically the // object we get here does. const body = (req as any).body; @@ -144,15 +144,28 @@ export class CompileHandler { if (contentType === 'application/json') { bodyData = JSON.stringify(body); - } - - if (contentType === 'application/x-www-form-urlencoded') { + } else if (contentType === 'application/x-www-form-urlencoded') { bodyData = body; + } else { + Sentry.captureException( + new Error(`Unexpected Content-Type received by /compiler/:compiler/compile: ${contentType}`), + ); + proxyReq.write('Unexpected Content-Type'); } - if (bodyData) { - proxyReq.setHeader('Content-Length', Buffer.byteLength(bodyData)); - proxyReq.write(bodyData); + try { + if (bodyData) { + proxyReq.setHeader('Content-Length', Buffer.byteLength(bodyData)); + proxyReq.write(bodyData); + } + } catch (e: any) { + Sentry.captureException(e); + let json = ''; + try { + json = JSON.stringify(bodyData); + } catch (e) {} + Sentry.captureMessage(`Unknown proxy bodyData: ${bodyData}, JSON.stringify: ${json}`); + proxyReq.write('Proxy error'); } }); } diff --git a/package-lock.json b/package-lock.json index 80e1ca1c9..e5290ac4b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,9 @@ "@fortawesome/fontawesome-free": "^6.2.1", "@sentry/browser": "^7.28.1", "@sentry/node": "^7.28.1", + "@types/body-parser": "^1.19.2", "@types/file-saver": "^2.0.5", + "@types/http-proxy": "^1.17.9", "@types/request": "^2.48.8", "aws-sdk": "^2.1048.0", "big-integer": "^1.6.51", @@ -1699,7 +1701,6 @@ "version": "1.19.2", "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==", - "dev": true, "dependencies": { "@types/connect": "*", "@types/node": "*" @@ -1738,7 +1739,6 @@ "version": "3.4.35", "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", - "dev": true, "dependencies": { "@types/node": "*" } @@ -1823,7 +1823,6 @@ "version": "1.17.9", "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.9.tgz", "integrity": "sha512-QsbSjA/fSk7xB+UXlCT3wHBy5ai9wOcNDWwZAtud+jXhwOM3l+EYZh8Lng4+/6n8uar0J7xILzqftJdJ/Wdfkw==", - "dev": true, "dependencies": { "@types/node": "*" } @@ -16703,7 +16702,6 @@ "version": "1.19.2", "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==", - "dev": true, "requires": { "@types/connect": "*", "@types/node": "*" @@ -16742,7 +16740,6 @@ "version": "3.4.35", "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", - "dev": true, "requires": { "@types/node": "*" } @@ -16827,7 +16824,6 @@ "version": "1.17.9", "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.9.tgz", "integrity": "sha512-QsbSjA/fSk7xB+UXlCT3wHBy5ai9wOcNDWwZAtud+jXhwOM3l+EYZh8Lng4+/6n8uar0J7xILzqftJdJ/Wdfkw==", - "dev": true, "requires": { "@types/node": "*" } diff --git a/package.json b/package.json index 57cf7c212..7b5383e03 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,9 @@ "@fortawesome/fontawesome-free": "^6.2.1", "@sentry/browser": "^7.28.1", "@sentry/node": "^7.28.1", + "@types/body-parser": "^1.19.2", "@types/file-saver": "^2.0.5", + "@types/http-proxy": "^1.17.9", "@types/request": "^2.48.8", "aws-sdk": "^2.1048.0", "big-integer": "^1.6.51", From 2bbc7de8667ac3b0c50864474eded3dde2935304 Mon Sep 17 00:00:00 2001 From: Matt Godbolt Date: Fri, 30 Dec 2022 08:03:14 -0600 Subject: [PATCH 6/6] Minor version bumps --- package-lock.json | 160 +++++++++++++++++++++++++++------------------- 1 file changed, 93 insertions(+), 67 deletions(-) diff --git a/package-lock.json b/package-lock.json index e5290ac4b..28f975f5f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -670,6 +670,20 @@ "node": ">= 6" } }, + "node_modules/@cypress/request/node_modules/form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, "node_modules/@cypress/request/node_modules/qs": { "version": "6.5.3", "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", @@ -1892,19 +1906,6 @@ "form-data": "^2.5.0" } }, - "node_modules/@types/request/node_modules/form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 0.12" - } - }, "node_modules/@types/retry": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz", @@ -2010,9 +2011,9 @@ "dev": true }, "node_modules/@types/ws": { - "version": "8.5.3", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.3.tgz", - "integrity": "sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==", + "version": "8.5.4", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.4.tgz", + "integrity": "sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg==", "dev": true, "dependencies": { "@types/node": "*" @@ -2919,9 +2920,9 @@ } }, "node_modules/aws-sdk": { - "version": "2.1283.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1283.0.tgz", - "integrity": "sha512-YlxTF0T9X8AcNrOzFPVOPnX1jNtHZjYHRUCfpsVwqdajHDGGruVsVppgBYXEiCRuTQNUhcJTUx0J0uKBhKQZIA==", + "version": "2.1285.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1285.0.tgz", + "integrity": "sha512-nuoHXeyaJ3926NRfJCR2czcnToYDFvGFmhRSihgqxo0IgY4djFy7lZ+SdhqVODNal/Fd25SRQnTrYtYoRkgbkg==", "dependencies": { "buffer": "4.9.2", "events": "1.1.1", @@ -4309,9 +4310,9 @@ } }, "node_modules/css-minimizer-webpack-plugin": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/css-minimizer-webpack-plugin/-/css-minimizer-webpack-plugin-3.3.1.tgz", - "integrity": "sha512-SHA7Hu/EiF0dOwdmV2+agvqYpG+ljlUa7Dvn1AVOmSH3N8KOERoaM9lGpstz9nGsoTjANGyUXdrxl/EwdMScRg==", + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/css-minimizer-webpack-plugin/-/css-minimizer-webpack-plugin-3.4.1.tgz", + "integrity": "sha512-1u6D71zeIfgngN2XNRJefc/hY7Ybsxd74Jm4qngIXyUEk7fss3VUzuHxLAq/R8NAba4QU9OUSaMZlbpRc7bM4Q==", "dev": true, "dependencies": { "cssnano": "^5.0.6", @@ -4332,6 +4333,9 @@ "webpack": "^5.0.0" }, "peerDependenciesMeta": { + "@parcel/css": { + "optional": true + }, "clean-css": { "optional": true }, @@ -4745,9 +4749,9 @@ } }, "node_modules/deep-equal-in-any-order": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/deep-equal-in-any-order/-/deep-equal-in-any-order-2.0.1.tgz", - "integrity": "sha512-jZqLGPTq9ERpaf5T6wrSD7qPWOGyPLc9pLvdQzhcNi/hSvleVveAjikWntiQBycsSXFcwuxlaawvNhdUgju7Zg==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/deep-equal-in-any-order/-/deep-equal-in-any-order-2.0.2.tgz", + "integrity": "sha512-w3AcXmiVQ7J/F1ySul/ydPgymvj5HH0WIyt986f7qsYvn6LiNJ+bsl4/pQgElVzw/w8sn/+/NlI791I+uUbitQ==", "dev": true, "dependencies": { "lodash.mapvalues": "^4.6.0", @@ -6786,9 +6790,9 @@ } }, "node_modules/form-data": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", + "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.6", @@ -8944,9 +8948,9 @@ } }, "node_modules/lint-staged/node_modules/yaml": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.2.0.tgz", - "integrity": "sha512-auf7Gi6QwO7HW//GA9seGvTXVGWl1CM/ADWh1+RxtXr6XOxnT65ovDl9fTi4e0monEyJxCHqDpF6QnFDXmJE4g==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.2.1.tgz", + "integrity": "sha512-e0WHiYql7+9wr4cWMx3TVQrNwejKaEe7/rHNmQmqRjazfOP5W8PB6Jpebb5o6fIapbz9o9+2ipcaTM2ZwDI6lw==", "dev": true, "engines": { "node": ">= 14" @@ -12264,6 +12268,19 @@ "throttleit": "^1.0.0" } }, + "node_modules/request/node_modules/form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, "node_modules/request/node_modules/http-signature": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", @@ -12514,9 +12531,9 @@ } }, "node_modules/safe-stable-stringify": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.1.tgz", - "integrity": "sha512-dVHE6bMtS/bnL2mwualjc6IxEv1F+OCUpA46pKUj6F8uDbUM0jCCulPqRNPSnWwGNKx5etqMjZYdXtrm5KJZGA==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.2.tgz", + "integrity": "sha512-gMxvPJYhP0O9n2pvcfYfIuYgbledAOJFcqRThtPRmjscaipiwcwPPKLytpVzMkG2HAN87Qmo2d4PtGiri1dSLA==", "engines": { "node": ">=10" } @@ -15919,6 +15936,17 @@ "uuid": "^8.3.2" }, "dependencies": { + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, "qs": { "version": "6.5.3", "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", @@ -16891,18 +16919,6 @@ "@types/node": "*", "@types/tough-cookie": "*", "form-data": "^2.5.0" - }, - "dependencies": { - "form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - } - } } }, "@types/retry": { @@ -17010,9 +17026,9 @@ "dev": true }, "@types/ws": { - "version": "8.5.3", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.3.tgz", - "integrity": "sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==", + "version": "8.5.4", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.4.tgz", + "integrity": "sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg==", "dev": true, "requires": { "@types/node": "*" @@ -17657,9 +17673,9 @@ "dev": true }, "aws-sdk": { - "version": "2.1283.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1283.0.tgz", - "integrity": "sha512-YlxTF0T9X8AcNrOzFPVOPnX1jNtHZjYHRUCfpsVwqdajHDGGruVsVppgBYXEiCRuTQNUhcJTUx0J0uKBhKQZIA==", + "version": "2.1285.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1285.0.tgz", + "integrity": "sha512-nuoHXeyaJ3926NRfJCR2czcnToYDFvGFmhRSihgqxo0IgY4djFy7lZ+SdhqVODNal/Fd25SRQnTrYtYoRkgbkg==", "requires": { "buffer": "4.9.2", "events": "1.1.1", @@ -18717,9 +18733,9 @@ } }, "css-minimizer-webpack-plugin": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/css-minimizer-webpack-plugin/-/css-minimizer-webpack-plugin-3.3.1.tgz", - "integrity": "sha512-SHA7Hu/EiF0dOwdmV2+agvqYpG+ljlUa7Dvn1AVOmSH3N8KOERoaM9lGpstz9nGsoTjANGyUXdrxl/EwdMScRg==", + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/css-minimizer-webpack-plugin/-/css-minimizer-webpack-plugin-3.4.1.tgz", + "integrity": "sha512-1u6D71zeIfgngN2XNRJefc/hY7Ybsxd74Jm4qngIXyUEk7fss3VUzuHxLAq/R8NAba4QU9OUSaMZlbpRc7bM4Q==", "dev": true, "requires": { "cssnano": "^5.0.6", @@ -19021,9 +19037,9 @@ } }, "deep-equal-in-any-order": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/deep-equal-in-any-order/-/deep-equal-in-any-order-2.0.1.tgz", - "integrity": "sha512-jZqLGPTq9ERpaf5T6wrSD7qPWOGyPLc9pLvdQzhcNi/hSvleVveAjikWntiQBycsSXFcwuxlaawvNhdUgju7Zg==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/deep-equal-in-any-order/-/deep-equal-in-any-order-2.0.2.tgz", + "integrity": "sha512-w3AcXmiVQ7J/F1ySul/ydPgymvj5HH0WIyt986f7qsYvn6LiNJ+bsl4/pQgElVzw/w8sn/+/NlI791I+uUbitQ==", "dev": true, "requires": { "lodash.mapvalues": "^4.6.0", @@ -20540,9 +20556,9 @@ "integrity": "sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw==" }, "form-data": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", + "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", "requires": { "asynckit": "^0.4.0", "combined-stream": "^1.0.6", @@ -22078,9 +22094,9 @@ "dev": true }, "yaml": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.2.0.tgz", - "integrity": "sha512-auf7Gi6QwO7HW//GA9seGvTXVGWl1CM/ADWh1+RxtXr6XOxnT65ovDl9fTi4e0monEyJxCHqDpF6QnFDXmJE4g==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.2.1.tgz", + "integrity": "sha512-e0WHiYql7+9wr4cWMx3TVQrNwejKaEe7/rHNmQmqRjazfOP5W8PB6Jpebb5o6fIapbz9o9+2ipcaTM2ZwDI6lw==", "dev": true } } @@ -24518,6 +24534,16 @@ "uuid": "^3.3.2" }, "dependencies": { + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, "http-signature": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", @@ -24709,9 +24735,9 @@ } }, "safe-stable-stringify": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.1.tgz", - "integrity": "sha512-dVHE6bMtS/bnL2mwualjc6IxEv1F+OCUpA46pKUj6F8uDbUM0jCCulPqRNPSnWwGNKx5etqMjZYdXtrm5KJZGA==" + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.2.tgz", + "integrity": "sha512-gMxvPJYhP0O9n2pvcfYfIuYgbledAOJFcqRThtPRmjscaipiwcwPPKLytpVzMkG2HAN87Qmo2d4PtGiri1dSLA==" }, "safer-buffer": { "version": "2.1.2",