cdk-comprehend-s3olap 2.0.47 → 2.0.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/.jsii +5 -5
  2. package/lib/cdk-comprehend-s3olap.js +2 -2
  3. package/lib/comprehend-lambdas.js +2 -2
  4. package/lib/iam-roles.js +4 -4
  5. package/node_modules/aws-sdk/CHANGELOG.md +20 -1
  6. package/node_modules/aws-sdk/README.md +1 -1
  7. package/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json +34 -3
  8. package/node_modules/aws-sdk/apis/chime-2018-05-01.min.json +116 -0
  9. package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +67 -20
  10. package/node_modules/aws-sdk/apis/config-2014-11-12.paginators.json +5 -0
  11. package/node_modules/aws-sdk/apis/detective-2018-10-26.min.json +213 -39
  12. package/node_modules/aws-sdk/apis/detective-2018-10-26.paginators.json +5 -0
  13. package/node_modules/aws-sdk/apis/globalaccelerator-2018-08-08.min.json +70 -53
  14. package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +776 -162
  15. package/node_modules/aws-sdk/apis/guardduty-2017-11-28.paginators.json +6 -0
  16. package/node_modules/aws-sdk/apis/lookoutvision-2020-11-20.min.json +13 -4
  17. package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +149 -6
  18. package/node_modules/aws-sdk/apis/macie2-2020-01-01.waiters2.json +25 -0
  19. package/node_modules/aws-sdk/apis/marketplace-catalog-2018-09-17.min.json +3 -1
  20. package/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json +7 -1
  21. package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +717 -67
  22. package/node_modules/aws-sdk/apis/transfer-2018-11-05.paginators.json +24 -0
  23. package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +104 -66
  24. package/node_modules/aws-sdk/clients/appsync.d.ts +41 -3
  25. package/node_modules/aws-sdk/clients/autoscaling.d.ts +118 -118
  26. package/node_modules/aws-sdk/clients/chime.d.ts +135 -4
  27. package/node_modules/aws-sdk/clients/configservice.d.ts +66 -0
  28. package/node_modules/aws-sdk/clients/detective.d.ts +176 -4
  29. package/node_modules/aws-sdk/clients/globalaccelerator.d.ts +109 -85
  30. package/node_modules/aws-sdk/clients/guardduty.d.ts +604 -1
  31. package/node_modules/aws-sdk/clients/lookoutvision.d.ts +14 -2
  32. package/node_modules/aws-sdk/clients/macie2.d.ts +131 -9
  33. package/node_modules/aws-sdk/clients/macie2.js +1 -0
  34. package/node_modules/aws-sdk/clients/marketplacecatalog.d.ts +1 -1
  35. package/node_modules/aws-sdk/clients/polly.d.ts +1 -1
  36. package/node_modules/aws-sdk/clients/rds.d.ts +2 -2
  37. package/node_modules/aws-sdk/clients/rekognition.d.ts +12 -4
  38. package/node_modules/aws-sdk/clients/securityhub.d.ts +3 -3
  39. package/node_modules/aws-sdk/clients/ssm.d.ts +12 -12
  40. package/node_modules/aws-sdk/clients/transfer.d.ts +1000 -86
  41. package/node_modules/aws-sdk/clients/workspaces.d.ts +65 -5
  42. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  43. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +573 -566
  44. package/node_modules/aws-sdk/dist/aws-sdk.js +82 -24
  45. package/node_modules/aws-sdk/dist/aws-sdk.min.js +72 -72
  46. package/node_modules/aws-sdk/dist-tools/service-collector.js +4 -6
  47. package/node_modules/aws-sdk/lib/core.js +1 -1
  48. package/node_modules/aws-sdk/package.json +1 -1
  49. package/node_modules/esbuild/bin/esbuild +4 -1
  50. package/node_modules/esbuild/install.js +11 -5
  51. package/node_modules/esbuild/lib/main.d.ts +2 -2
  52. package/node_modules/esbuild/lib/main.js +91 -72
  53. package/node_modules/esbuild/package.json +21 -21
  54. package/node_modules/esbuild-linux-64/bin/esbuild +0 -0
  55. package/node_modules/esbuild-linux-64/package.json +1 -1
  56. package/package.json +8 -8
@@ -143,9 +143,11 @@ function ServiceCollector(services) {
143
143
  }
144
144
 
145
145
  var invalidModules = [];
146
- var stsIncluded = false;
147
146
  services.split(',').sort().forEach(function(name) {
148
- if (name.match(/^sts\b/) || name === 'all') stsIncluded = true;
147
+ if (['cognitoidentity', 'sts'].indexOf(name) >= 0) {
148
+ // these service has been included via browser credentials already
149
+ return;
150
+ }
149
151
  try {
150
152
  serviceCode += buildService(name, usingDefaultServicesToggle) + '\n';
151
153
  } catch (e) {
@@ -154,10 +156,6 @@ function ServiceCollector(services) {
154
156
  }
155
157
  });
156
158
 
157
- if (!stsIncluded) {
158
- serviceCode += buildService('sts') + '\n';
159
- }
160
-
161
159
  if (invalidModules.length > 0) {
162
160
  throw new Error('Missing modules: ' + invalidModules.join(', '));
163
161
  }
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.1181.0',
23
+ VERSION: '2.1183.0',
24
24
 
25
25
  /**
26
26
  * @api private
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aws-sdk",
3
3
  "description": "AWS SDK for JavaScript",
4
- "version": "2.1181.0",
4
+ "version": "2.1183.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",
@@ -14,7 +14,10 @@ var __copyProps = (to, from, except, desc) => {
14
14
  }
15
15
  return to;
16
16
  };
17
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
17
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
18
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
19
+ mod
20
+ ));
18
21
 
19
22
  // lib/npm/node-platform.ts
20
23
  var fs = require("fs");
@@ -13,7 +13,10 @@ var __copyProps = (to, from, except, desc) => {
13
13
  }
14
14
  return to;
15
15
  };
16
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
18
+ mod
19
+ ));
17
20
 
18
21
  // lib/npm/node-platform.ts
19
22
  var fs = require("fs");
@@ -85,8 +88,8 @@ function validateBinaryVersion(...command) {
85
88
  const stdout = child_process.execFileSync(command.shift(), command, {
86
89
  stdio: "pipe"
87
90
  }).toString().trim();
88
- if (stdout !== "0.14.49") {
89
- throw new Error(`Expected ${JSON.stringify("0.14.49")} but got ${JSON.stringify(stdout)}`);
91
+ if (stdout !== "0.14.50") {
92
+ throw new Error(`Expected ${JSON.stringify("0.14.50")} but got ${JSON.stringify(stdout)}`);
90
93
  }
91
94
  }
92
95
  function isYarn() {
@@ -137,7 +140,10 @@ function installUsingNPM(pkg, subpath, binPath) {
137
140
  fs2.mkdirSync(installDir);
138
141
  try {
139
142
  fs2.writeFileSync(path2.join(installDir, "package.json"), "{}");
140
- child_process.execSync(`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.14.49"}`, { cwd: installDir, stdio: "pipe", env });
143
+ child_process.execSync(
144
+ `npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.14.50"}`,
145
+ { cwd: installDir, stdio: "pipe", env }
146
+ );
141
147
  const installedBinPath = path2.join(installDir, "node_modules", pkg, subpath);
142
148
  fs2.renameSync(installedBinPath, binPath);
143
149
  } finally {
@@ -186,7 +192,7 @@ function maybeOptimizePackage(binPath) {
186
192
  }
187
193
  }
188
194
  async function downloadDirectlyFromNPM(pkg, subpath, binPath) {
189
- const url = `https://registry.npmjs.org/${pkg}/-/${pkg}-${"0.14.49"}.tgz`;
195
+ const url = `https://registry.npmjs.org/${pkg}/-/${pkg}-${"0.14.50"}.tgz`;
190
196
  console.error(`[esbuild] Trying to download ${JSON.stringify(url)}`);
191
197
  try {
192
198
  fs2.writeFileSync(binPath, extractFileFromTarGzip(await fetch(url), subpath));
@@ -23,6 +23,8 @@ interface CommonOptions {
23
23
  target?: string | string[];
24
24
  /** Documentation: https://esbuild.github.io/api/#supported */
25
25
  supported?: Record<string, boolean>;
26
+ /** Documentation: https://esbuild.github.io/api/#platform */
27
+ platform?: Platform;
26
28
 
27
29
  /** Documentation: https://esbuild.github.io/api/#mangle-props */
28
30
  mangleProps?: RegExp;
@@ -88,8 +90,6 @@ export interface BuildOptions extends CommonOptions {
88
90
  outdir?: string;
89
91
  /** Documentation: https://esbuild.github.io/api/#outbase */
90
92
  outbase?: string;
91
- /** Documentation: https://esbuild.github.io/api/#platform */
92
- platform?: Platform;
93
93
  /** Documentation: https://esbuild.github.io/api/#external */
94
94
  external?: string[];
95
95
  /** Documentation: https://esbuild.github.io/api/#loader */
@@ -17,7 +17,10 @@ var __copyProps = (to, from, except, desc) => {
17
17
  }
18
18
  return to;
19
19
  };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
+ mod
23
+ ));
21
24
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
22
25
 
23
26
  // lib/npm/node.ts
@@ -306,6 +309,7 @@ function pushCommonFlags(flags, options, keys) {
306
309
  let supported = getFlag(options, keys, "supported", mustBeObject);
307
310
  let pure = getFlag(options, keys, "pure", mustBeArray);
308
311
  let keepNames = getFlag(options, keys, "keepNames", mustBeBoolean);
312
+ let platform = getFlag(options, keys, "platform", mustBeString);
309
313
  if (legalComments)
310
314
  flags.push(`--legal-comments=${legalComments}`);
311
315
  if (sourceRoot !== void 0)
@@ -322,6 +326,8 @@ function pushCommonFlags(flags, options, keys) {
322
326
  flags.push(`--format=${format}`);
323
327
  if (globalName)
324
328
  flags.push(`--global-name=${globalName}`);
329
+ if (platform)
330
+ flags.push(`--platform=${platform}`);
325
331
  if (minify)
326
332
  flags.push("--minify");
327
333
  if (minifySyntax)
@@ -397,7 +403,6 @@ function flagsForBuildOptions(callName, options, isTTY2, logLevelDefault, writeD
397
403
  let outfile = getFlag(options, keys, "outfile", mustBeString);
398
404
  let outdir = getFlag(options, keys, "outdir", mustBeString);
399
405
  let outbase = getFlag(options, keys, "outbase", mustBeString);
400
- let platform = getFlag(options, keys, "platform", mustBeString);
401
406
  let tsconfig = getFlag(options, keys, "tsconfig", mustBeString);
402
407
  let resolveExtensions = getFlag(options, keys, "resolveExtensions", mustBeArray);
403
408
  let nodePathsInput = getFlag(options, keys, "nodePaths", mustBeArray);
@@ -451,8 +456,6 @@ function flagsForBuildOptions(callName, options, isTTY2, logLevelDefault, writeD
451
456
  flags.push(`--outdir=${outdir}`);
452
457
  if (outbase)
453
458
  flags.push(`--outbase=${outbase}`);
454
- if (platform)
455
- flags.push(`--platform=${platform}`);
456
459
  if (tsconfig)
457
460
  flags.push(`--tsconfig=${tsconfig}`);
458
461
  if (resolveExtensions) {
@@ -746,8 +749,8 @@ function createChannel(streamIn) {
746
749
  if (isFirstPacket) {
747
750
  isFirstPacket = false;
748
751
  let binaryVersion = String.fromCharCode(...bytes);
749
- if (binaryVersion !== "0.14.49") {
750
- throw new Error(`Cannot start service: Host version "${"0.14.49"}" does not match binary version ${JSON.stringify(binaryVersion)}`);
752
+ if (binaryVersion !== "0.14.50") {
753
+ throw new Error(`Cannot start service: Host version "${"0.14.50"}" does not match binary version ${JSON.stringify(binaryVersion)}`);
751
754
  }
752
755
  return;
753
756
  }
@@ -1134,25 +1137,28 @@ function createChannel(streamIn) {
1134
1137
  if (plugins && plugins.length > 0) {
1135
1138
  if (streamIn.isSync)
1136
1139
  return handleError(new Error("Cannot use plugins in synchronous API calls"), "");
1137
- handlePlugins(options, plugins, key, details, refs).then((result) => {
1138
- if (!result.ok) {
1139
- handleError(result.error, result.pluginName);
1140
- } else {
1141
- try {
1142
- buildOrServeContinue({
1143
- ...args,
1144
- key,
1145
- details,
1146
- logPluginError,
1147
- requestPlugins: result.requestPlugins,
1148
- runOnEndCallbacks: result.runOnEndCallbacks,
1149
- pluginRefs: result.pluginRefs
1150
- });
1151
- } catch (e) {
1152
- handleError(e, "");
1140
+ handlePlugins(options, plugins, key, details, refs).then(
1141
+ (result) => {
1142
+ if (!result.ok) {
1143
+ handleError(result.error, result.pluginName);
1144
+ } else {
1145
+ try {
1146
+ buildOrServeContinue({
1147
+ ...args,
1148
+ key,
1149
+ details,
1150
+ logPluginError,
1151
+ requestPlugins: result.requestPlugins,
1152
+ runOnEndCallbacks: result.runOnEndCallbacks,
1153
+ pluginRefs: result.pluginRefs
1154
+ });
1155
+ } catch (e) {
1156
+ handleError(e, "");
1157
+ }
1153
1158
  }
1154
- }
1155
- }, (e) => handleError(e, ""));
1159
+ },
1160
+ (e) => handleError(e, "")
1161
+ );
1156
1162
  } else {
1157
1163
  try {
1158
1164
  buildOrServeContinue({
@@ -1256,18 +1262,22 @@ function createChannel(streamIn) {
1256
1262
  rebuild = () => new Promise((resolve, reject) => {
1257
1263
  if (isDisposed || closeData)
1258
1264
  throw new Error("Cannot rebuild");
1259
- sendRequest(refs, { command: "rebuild", key }, (error2, response2) => {
1260
- if (error2) {
1261
- const message = { id: "", pluginName: "", text: error2, location: null, notes: [], detail: void 0 };
1262
- return callback2(failureErrorWithLog("Build failed", [message], []), null);
1265
+ sendRequest(
1266
+ refs,
1267
+ { command: "rebuild", key },
1268
+ (error2, response2) => {
1269
+ if (error2) {
1270
+ const message = { id: "", pluginName: "", text: error2, location: null, notes: [], detail: void 0 };
1271
+ return callback2(failureErrorWithLog("Build failed", [message], []), null);
1272
+ }
1273
+ buildResponseToResult(response2, (error3, result3) => {
1274
+ if (error3)
1275
+ reject(error3);
1276
+ else
1277
+ resolve(result3);
1278
+ });
1263
1279
  }
1264
- buildResponseToResult(response2, (error3, result3) => {
1265
- if (error3)
1266
- reject(error3);
1267
- else
1268
- resolve(result3);
1269
- });
1270
- });
1280
+ );
1271
1281
  });
1272
1282
  refs.ref();
1273
1283
  rebuild.dispose = () => {
@@ -1863,12 +1873,14 @@ if (process.env.ESBUILD_WORKER_THREADS !== "0") {
1863
1873
  }
1864
1874
  }
1865
1875
  var _a;
1866
- var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.14.49";
1876
+ var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.14.50";
1867
1877
  var esbuildCommandAndArgs = () => {
1868
1878
  if ((!ESBUILD_BINARY_PATH || false) && (path2.basename(__filename) !== "main.js" || path2.basename(__dirname) !== "lib")) {
1869
- throw new Error(`The esbuild JavaScript API cannot be bundled. Please mark the "esbuild" package as external so it's not included in the bundle.
1879
+ throw new Error(
1880
+ `The esbuild JavaScript API cannot be bundled. Please mark the "esbuild" package as external so it's not included in the bundle.
1870
1881
 
1871
- More information: The file containing the code for esbuild's JavaScript API (${__filename}) does not appear to be inside the esbuild package on the file system, which usually means that the esbuild package was bundled into another file. This is problematic because the API needs to run a binary executable inside the esbuild package which is located using a relative path from the API code to the executable. If the esbuild package is bundled, the relative path will be incorrect and the executable won't be found.`);
1882
+ More information: The file containing the code for esbuild's JavaScript API (${__filename}) does not appear to be inside the esbuild package on the file system, which usually means that the esbuild package was bundled into another file. This is problematic because the API needs to run a binary executable inside the esbuild package which is located using a relative path from the API code to the executable. If the esbuild package is bundled, the relative path will be incorrect and the executable won't be found.`
1883
+ );
1872
1884
  }
1873
1885
  if (false) {
1874
1886
  return ["node", [path2.join(__dirname, "..", "bin", "esbuild")]];
@@ -1927,7 +1939,7 @@ var fsAsync = {
1927
1939
  }
1928
1940
  }
1929
1941
  };
1930
- var version = "0.14.49";
1942
+ var version = "0.14.50";
1931
1943
  var build = (options) => ensureServiceIsRunning().build(options);
1932
1944
  var serve = (serveOptions, buildOptions) => ensureServiceIsRunning().serve(serveOptions, buildOptions);
1933
1945
  var transform = (input, options) => ensureServiceIsRunning().transform(input, options);
@@ -2038,7 +2050,7 @@ var ensureServiceIsRunning = () => {
2038
2050
  if (longLivedService)
2039
2051
  return longLivedService;
2040
2052
  let [command, args] = esbuildCommandAndArgs();
2041
- let child = child_process.spawn(command, args.concat(`--service=${"0.14.49"}`, "--ping"), {
2053
+ let child = child_process.spawn(command, args.concat(`--service=${"0.14.50"}`, "--ping"), {
2042
2054
  windowsHide: true,
2043
2055
  stdio: ["pipe", "pipe", "inherit"],
2044
2056
  cwd: defaultWD
@@ -2152,7 +2164,7 @@ var runServiceSync = (callback) => {
2152
2164
  esbuild: node_exports
2153
2165
  });
2154
2166
  callback(service);
2155
- let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.14.49"}`), {
2167
+ let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.14.50"}`), {
2156
2168
  cwd: defaultWD,
2157
2169
  windowsHide: true,
2158
2170
  input: stdin,
@@ -2168,12 +2180,11 @@ var workerThreadService = null;
2168
2180
  var startWorkerThreadService = (worker_threads2) => {
2169
2181
  let { port1: mainPort, port2: workerPort } = new worker_threads2.MessageChannel();
2170
2182
  let worker = new worker_threads2.Worker(__filename, {
2171
- workerData: { workerPort, defaultWD, esbuildVersion: "0.14.49" },
2183
+ workerData: { workerPort, defaultWD, esbuildVersion: "0.14.50" },
2172
2184
  transferList: [workerPort],
2173
2185
  execArgv: []
2174
2186
  });
2175
2187
  let nextID = 0;
2176
- let wasStopped = false;
2177
2188
  let fakeBuildError = (text) => {
2178
2189
  let error = new Error(`Build failed with 1 error:
2179
2190
  error: ${text}`);
@@ -2201,8 +2212,6 @@ error: ${text}`);
2201
2212
  }
2202
2213
  };
2203
2214
  let runCallSync = (command, args) => {
2204
- if (wasStopped)
2205
- throw new Error("The service was stopped");
2206
2215
  let id = nextID++;
2207
2216
  let sharedBuffer = new SharedArrayBuffer(8);
2208
2217
  let sharedBufferView = new Int32Array(sharedBuffer);
@@ -2240,8 +2249,6 @@ error: ${text}`);
2240
2249
  var startSyncServiceWorker = () => {
2241
2250
  let workerPort = worker_threads.workerData.workerPort;
2242
2251
  let parentPort = worker_threads.parentPort;
2243
- let service = ensureServiceIsRunning();
2244
- defaultWD = worker_threads.workerData.defaultWD;
2245
2252
  let extractProperties = (object) => {
2246
2253
  let properties = {};
2247
2254
  if (object && typeof object === "object") {
@@ -2251,34 +2258,46 @@ var startSyncServiceWorker = () => {
2251
2258
  }
2252
2259
  return properties;
2253
2260
  };
2254
- parentPort.on("message", (msg) => {
2255
- (async () => {
2256
- let { sharedBuffer, id, command, args } = msg;
2257
- let sharedBufferView = new Int32Array(sharedBuffer);
2258
- try {
2259
- switch (command) {
2260
- case "build":
2261
- workerPort.postMessage({ id, resolve: await service.build(args[0]) });
2262
- break;
2263
- case "transform":
2264
- workerPort.postMessage({ id, resolve: await service.transform(args[0], args[1]) });
2265
- break;
2266
- case "formatMessages":
2267
- workerPort.postMessage({ id, resolve: await service.formatMessages(args[0], args[1]) });
2268
- break;
2269
- case "analyzeMetafile":
2270
- workerPort.postMessage({ id, resolve: await service.analyzeMetafile(args[0], args[1]) });
2271
- break;
2272
- default:
2273
- throw new Error(`Invalid command: ${command}`);
2261
+ try {
2262
+ let service = ensureServiceIsRunning();
2263
+ defaultWD = worker_threads.workerData.defaultWD;
2264
+ parentPort.on("message", (msg) => {
2265
+ (async () => {
2266
+ let { sharedBuffer, id, command, args } = msg;
2267
+ let sharedBufferView = new Int32Array(sharedBuffer);
2268
+ try {
2269
+ switch (command) {
2270
+ case "build":
2271
+ workerPort.postMessage({ id, resolve: await service.build(args[0]) });
2272
+ break;
2273
+ case "transform":
2274
+ workerPort.postMessage({ id, resolve: await service.transform(args[0], args[1]) });
2275
+ break;
2276
+ case "formatMessages":
2277
+ workerPort.postMessage({ id, resolve: await service.formatMessages(args[0], args[1]) });
2278
+ break;
2279
+ case "analyzeMetafile":
2280
+ workerPort.postMessage({ id, resolve: await service.analyzeMetafile(args[0], args[1]) });
2281
+ break;
2282
+ default:
2283
+ throw new Error(`Invalid command: ${command}`);
2284
+ }
2285
+ } catch (reject) {
2286
+ workerPort.postMessage({ id, reject, properties: extractProperties(reject) });
2274
2287
  }
2275
- } catch (reject) {
2276
- workerPort.postMessage({ id, reject, properties: extractProperties(reject) });
2277
- }
2288
+ Atomics.add(sharedBufferView, 0, 1);
2289
+ Atomics.notify(sharedBufferView, 0, Infinity);
2290
+ })();
2291
+ });
2292
+ } catch (reject) {
2293
+ parentPort.on("message", (msg) => {
2294
+ let { sharedBuffer, id } = msg;
2295
+ let sharedBufferView = new Int32Array(sharedBuffer);
2296
+ workerPort.postMessage({ id, reject, properties: extractProperties(reject) });
2278
2297
  Atomics.add(sharedBufferView, 0, 1);
2279
2298
  Atomics.notify(sharedBufferView, 0, Infinity);
2280
- })();
2281
- });
2299
+ });
2300
+ }
2282
2301
  };
2283
2302
  if (isInternalWorkerThread) {
2284
2303
  startSyncServiceWorker();
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esbuild",
3
- "version": "0.14.49",
3
+ "version": "0.14.50",
4
4
  "description": "An extremely fast JavaScript and CSS bundler and minifier.",
5
5
  "repository": "https://github.com/evanw/esbuild",
6
6
  "scripts": {
@@ -15,26 +15,26 @@
15
15
  "esbuild": "bin/esbuild"
16
16
  },
17
17
  "optionalDependencies": {
18
- "esbuild-android-64": "0.14.49",
19
- "esbuild-android-arm64": "0.14.49",
20
- "esbuild-darwin-64": "0.14.49",
21
- "esbuild-darwin-arm64": "0.14.49",
22
- "esbuild-freebsd-64": "0.14.49",
23
- "esbuild-freebsd-arm64": "0.14.49",
24
- "esbuild-linux-32": "0.14.49",
25
- "esbuild-linux-64": "0.14.49",
26
- "esbuild-linux-arm": "0.14.49",
27
- "esbuild-linux-arm64": "0.14.49",
28
- "esbuild-linux-mips64le": "0.14.49",
29
- "esbuild-linux-ppc64le": "0.14.49",
30
- "esbuild-linux-riscv64": "0.14.49",
31
- "esbuild-linux-s390x": "0.14.49",
32
- "esbuild-netbsd-64": "0.14.49",
33
- "esbuild-openbsd-64": "0.14.49",
34
- "esbuild-sunos-64": "0.14.49",
35
- "esbuild-windows-32": "0.14.49",
36
- "esbuild-windows-64": "0.14.49",
37
- "esbuild-windows-arm64": "0.14.49"
18
+ "esbuild-android-64": "0.14.50",
19
+ "esbuild-android-arm64": "0.14.50",
20
+ "esbuild-darwin-64": "0.14.50",
21
+ "esbuild-darwin-arm64": "0.14.50",
22
+ "esbuild-freebsd-64": "0.14.50",
23
+ "esbuild-freebsd-arm64": "0.14.50",
24
+ "esbuild-linux-32": "0.14.50",
25
+ "esbuild-linux-64": "0.14.50",
26
+ "esbuild-linux-arm": "0.14.50",
27
+ "esbuild-linux-arm64": "0.14.50",
28
+ "esbuild-linux-mips64le": "0.14.50",
29
+ "esbuild-linux-ppc64le": "0.14.50",
30
+ "esbuild-linux-riscv64": "0.14.50",
31
+ "esbuild-linux-s390x": "0.14.50",
32
+ "esbuild-netbsd-64": "0.14.50",
33
+ "esbuild-openbsd-64": "0.14.50",
34
+ "esbuild-sunos-64": "0.14.50",
35
+ "esbuild-windows-32": "0.14.50",
36
+ "esbuild-windows-64": "0.14.50",
37
+ "esbuild-windows-arm64": "0.14.50"
38
38
  },
39
39
  "license": "MIT"
40
40
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esbuild-linux-64",
3
- "version": "0.14.49",
3
+ "version": "0.14.50",
4
4
  "description": "The Linux 64-bit binary for esbuild, a JavaScript bundler.",
5
5
  "repository": "https://github.com/evanw/esbuild",
6
6
  "license": "MIT",
package/package.json CHANGED
@@ -46,20 +46,20 @@
46
46
  "@typescript-eslint/parser": "^5",
47
47
  "aws-cdk-lib": "^2.33.0",
48
48
  "constructs": "^10.0.5",
49
- "esbuild": "^0.14.49",
49
+ "esbuild": "^0.14.50",
50
50
  "eslint": "^8",
51
51
  "eslint-import-resolver-node": "^0.3.6",
52
52
  "eslint-import-resolver-typescript": "^2.7.1",
53
53
  "eslint-plugin-import": "^2.26.0",
54
54
  "jest": "^27",
55
55
  "jest-junit": "^13",
56
- "jsii": "^1.62.0",
57
- "jsii-diff": "^1.62.0",
56
+ "jsii": "^1.63.1",
57
+ "jsii-diff": "^1.63.1",
58
58
  "jsii-docgen": "^1.8.110",
59
- "jsii-pacmak": "^1.62.0",
59
+ "jsii-pacmak": "^1.63.1",
60
60
  "json-schema": "^0.4.0",
61
61
  "npm-check-updates": "^15",
62
- "projen": "^0.60.1",
62
+ "projen": "^0.60.5",
63
63
  "standard-version": "^9",
64
64
  "ts-jest": "^27",
65
65
  "typescript": "^4.7.4"
@@ -70,9 +70,9 @@
70
70
  },
71
71
  "dependencies": {
72
72
  "aws-cdk-lib": "^2.33.0",
73
- "aws-sdk": "^2.1181.0",
73
+ "aws-sdk": "^2.1183.0",
74
74
  "constructs": "^10.0.5",
75
- "esbuild": "^0.14.49"
75
+ "esbuild": "^0.14.50"
76
76
  },
77
77
  "bundledDependencies": [
78
78
  "aws-sdk",
@@ -92,7 +92,7 @@
92
92
  ],
93
93
  "main": "lib/index.js",
94
94
  "license": "Apache-2.0",
95
- "version": "2.0.47",
95
+ "version": "2.0.50",
96
96
  "jest": {
97
97
  "testMatch": [
98
98
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",