Merge branch 'main' into jr/tsify-main

This commit is contained in:
Jeremy Rifkin
2022-12-30 11:49:13 -07:00
6 changed files with 193 additions and 128 deletions
+21 -14
View File
@@ -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);
});
+3 -6
View File
@@ -1447,9 +1447,9 @@ export class BaseCompiler implements ICompiler {
}
async buildExecutableInFolder(key, dirPath): Promise<BuildResult> {
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,
+52 -28
View File
@@ -111,52 +111,76 @@ export class BuildEnvSetupCeConanDirect extends BuildEnvSetupBase {
}
async downloadAndExtractPackage(libId, version, downloadPath, packageUrl): Promise<BuildEnvDownloadInfo> {
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('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.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);
});
}
+20 -7
View File
@@ -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 = '<json stringify error>';
try {
json = JSON.stringify(bodyData);
} catch (e) {}
Sentry.captureMessage(`Unknown proxy bodyData: ${bodyData}, JSON.stringify: ${json}`);
proxyReq.write('Proxy error');
}
});
}
+95 -73
View File
@@ -13,8 +13,10 @@
"@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/js-cookie": "^3.0.2",
"@types/http-proxy": "^1.17.9",
"@types/request": "^2.48.8",
"aws-sdk": "^2.1048.0",
"big-integer": "^1.6.51",
@@ -669,6 +671,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",
@@ -1700,7 +1716,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": "*"
@@ -1739,7 +1754,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": "*"
}
@@ -1824,7 +1838,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": "*"
}
@@ -1899,19 +1912,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",
@@ -2017,9 +2017,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": "*"
@@ -2926,9 +2926,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",
@@ -4316,9 +4316,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",
@@ -4339,6 +4339,9 @@
"webpack": "^5.0.0"
},
"peerDependenciesMeta": {
"@parcel/css": {
"optional": true
},
"clean-css": {
"optional": true
},
@@ -4752,9 +4755,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",
@@ -6793,9 +6796,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",
@@ -8951,9 +8954,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"
@@ -12271,6 +12274,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",
@@ -12521,9 +12537,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"
}
@@ -15926,6 +15942,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",
@@ -16709,7 +16736,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": "*"
@@ -16748,7 +16774,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": "*"
}
@@ -16833,7 +16858,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": "*"
}
@@ -16906,18 +16930,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": {
@@ -17025,9 +17037,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": "*"
@@ -17672,9 +17684,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",
@@ -18732,9 +18744,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",
@@ -19036,9 +19048,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",
@@ -20555,9 +20567,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",
@@ -22093,9 +22105,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
}
}
@@ -24533,6 +24545,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",
@@ -24724,9 +24746,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",
+2
View File
@@ -24,8 +24,10 @@
"@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/js-cookie": "^3.0.2",
"@types/http-proxy": "^1.17.9",
"@types/request": "^2.48.8",
"aws-sdk": "^2.1048.0",
"big-integer": "^1.6.51",