cdk-comprehend-s3olap 2.0.9 → 2.0.10

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 (33) 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 +6 -1
  6. package/node_modules/aws-sdk/README.md +1 -1
  7. package/node_modules/aws-sdk/apis/metadata.json +3 -0
  8. package/node_modules/aws-sdk/apis/redshift-data-2019-12-20.min.json +25 -16
  9. package/node_modules/aws-sdk/apis/redshiftserverless-2021-04-21.examples.json +5 -0
  10. package/node_modules/aws-sdk/apis/redshiftserverless-2021-04-21.min.json +1206 -0
  11. package/node_modules/aws-sdk/apis/redshiftserverless-2021-04-21.paginators.json +40 -0
  12. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +841 -300
  13. package/node_modules/aws-sdk/clients/all.d.ts +1 -0
  14. package/node_modules/aws-sdk/clients/all.js +2 -1
  15. package/node_modules/aws-sdk/clients/redshiftdata.d.ts +51 -14
  16. package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +1525 -0
  17. package/node_modules/aws-sdk/clients/redshiftserverless.js +18 -0
  18. package/node_modules/aws-sdk/clients/secretsmanager.d.ts +6 -6
  19. package/node_modules/aws-sdk/clients/securityhub.d.ts +1020 -19
  20. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  21. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +43 -6
  22. package/node_modules/aws-sdk/dist/aws-sdk.js +6 -3
  23. package/node_modules/aws-sdk/dist/aws-sdk.min.js +36 -36
  24. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
  25. package/node_modules/aws-sdk/lib/core.js +1 -1
  26. package/node_modules/aws-sdk/package.json +1 -1
  27. package/node_modules/esbuild/install.js +4 -4
  28. package/node_modules/esbuild/lib/main.d.ts +2 -0
  29. package/node_modules/esbuild/lib/main.js +14 -10
  30. package/node_modules/esbuild/package.json +21 -21
  31. package/node_modules/esbuild-linux-64/bin/esbuild +0 -0
  32. package/node_modules/esbuild-linux-64/package.json +1 -1
  33. package/package.json +7 -7
@@ -308,6 +308,7 @@ export abstract class ConfigurationServicePlaceholders {
308
308
  chimesdkmediapipelines?: AWS.ChimeSDKMediaPipelines.Types.ClientConfiguration;
309
309
  emrserverless?: AWS.EMRServerless.Types.ClientConfiguration;
310
310
  m2?: AWS.M2.Types.ClientConfiguration;
311
+ redshiftserverless?: AWS.RedshiftServerless.Types.ClientConfiguration;
311
312
  }
312
313
  export interface ConfigurationServiceApiVersions {
313
314
  acm?: AWS.ACM.Types.apiVersion;
@@ -618,4 +619,5 @@ export interface ConfigurationServiceApiVersions {
618
619
  chimesdkmediapipelines?: AWS.ChimeSDKMediaPipelines.Types.apiVersion;
619
620
  emrserverless?: AWS.EMRServerless.Types.apiVersion;
620
621
  m2?: AWS.M2.Types.apiVersion;
622
+ redshiftserverless?: AWS.RedshiftServerless.Types.apiVersion;
621
623
  }
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.1155.0',
23
+ VERSION: '2.1156.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.1155.0",
4
+ "version": "2.1156.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",
@@ -102,8 +102,8 @@ function validateBinaryVersion(...command) {
102
102
  const stdout = child_process.execFileSync(command.shift(), command, {
103
103
  stdio: "pipe"
104
104
  }).toString().trim();
105
- if (stdout !== "0.14.44") {
106
- throw new Error(`Expected ${JSON.stringify("0.14.44")} but got ${JSON.stringify(stdout)}`);
105
+ if (stdout !== "0.14.45") {
106
+ throw new Error(`Expected ${JSON.stringify("0.14.45")} but got ${JSON.stringify(stdout)}`);
107
107
  }
108
108
  }
109
109
  function isYarn() {
@@ -154,7 +154,7 @@ function installUsingNPM(pkg, subpath, binPath) {
154
154
  fs2.mkdirSync(installDir);
155
155
  try {
156
156
  fs2.writeFileSync(path2.join(installDir, "package.json"), "{}");
157
- child_process.execSync(`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.14.44"}`, { cwd: installDir, stdio: "pipe", env });
157
+ child_process.execSync(`npm install --loglevel=error --prefer-offline --no-audit --progress=false ${pkg}@${"0.14.45"}`, { cwd: installDir, stdio: "pipe", env });
158
158
  const installedBinPath = path2.join(installDir, "node_modules", pkg, subpath);
159
159
  fs2.renameSync(installedBinPath, binPath);
160
160
  } finally {
@@ -203,7 +203,7 @@ function maybeOptimizePackage(binPath) {
203
203
  }
204
204
  }
205
205
  async function downloadDirectlyFromNPM(pkg, subpath, binPath) {
206
- const url = `https://registry.npmjs.org/${pkg}/-/${pkg}-${"0.14.44"}.tgz`;
206
+ const url = `https://registry.npmjs.org/${pkg}/-/${pkg}-${"0.14.45"}.tgz`;
207
207
  console.error(`[esbuild] Trying to download ${JSON.stringify(url)}`);
208
208
  try {
209
209
  fs2.writeFileSync(binPath, extractFileFromTarGzip(await fetch(url), subpath));
@@ -148,6 +148,7 @@ export interface StdinOptions {
148
148
  }
149
149
 
150
150
  export interface Message {
151
+ id: string;
151
152
  pluginName: string;
152
153
  text: string;
153
154
  location: Location | null;
@@ -402,6 +403,7 @@ export interface OnLoadResult {
402
403
  }
403
404
 
404
405
  export interface PartialMessage {
406
+ id?: string;
405
407
  pluginName?: string;
406
408
  text?: string;
407
409
  location?: Partial<Location> | null;
@@ -755,8 +755,8 @@ function createChannel(streamIn) {
755
755
  if (isFirstPacket) {
756
756
  isFirstPacket = false;
757
757
  let binaryVersion = String.fromCharCode(...bytes);
758
- if (binaryVersion !== "0.14.44") {
759
- throw new Error(`Cannot start service: Host version "${"0.14.44"}" does not match binary version ${JSON.stringify(binaryVersion)}`);
758
+ if (binaryVersion !== "0.14.45") {
759
+ throw new Error(`Cannot start service: Host version "${"0.14.45"}" does not match binary version ${JSON.stringify(binaryVersion)}`);
760
760
  }
761
761
  return;
762
762
  }
@@ -1265,7 +1265,7 @@ function createChannel(streamIn) {
1265
1265
  throw new Error("Cannot rebuild");
1266
1266
  sendRequest(refs, { command: "rebuild", key }, (error2, response2) => {
1267
1267
  if (error2) {
1268
- const message = { pluginName: "", text: error2, location: null, notes: [], detail: void 0 };
1268
+ const message = { id: "", pluginName: "", text: error2, location: null, notes: [], detail: void 0 };
1269
1269
  return callback2(failureErrorWithLog("Build failed", [message], []), null);
1270
1270
  }
1271
1271
  buildResponseToResult(response2, (error3, result3) => {
@@ -1548,7 +1548,7 @@ function extractErrorMessageV8(e, streamIn, stash, note, pluginName) {
1548
1548
  location = parseStackLinesV8(streamIn, (e.stack + "").split("\n"), "");
1549
1549
  } catch {
1550
1550
  }
1551
- return { pluginName, text, location, notes: note ? [note] : [], detail: stash ? stash.store(e) : -1 };
1551
+ return { id: "", pluginName, text, location, notes: note ? [note] : [], detail: stash ? stash.store(e) : -1 };
1552
1552
  }
1553
1553
  function parseStackLinesV8(streamIn, lines, ident) {
1554
1554
  let at = " at ";
@@ -1647,6 +1647,7 @@ function sanitizeMessages(messages, property, stash, fallbackPluginName) {
1647
1647
  let index = 0;
1648
1648
  for (const message of messages) {
1649
1649
  let keys = {};
1650
+ let id = getFlag(message, keys, "id", mustBeString);
1650
1651
  let pluginName = getFlag(message, keys, "pluginName", mustBeString);
1651
1652
  let text = getFlag(message, keys, "text", mustBeString);
1652
1653
  let location = getFlag(message, keys, "location", mustBeObjectOrNull);
@@ -1668,6 +1669,7 @@ function sanitizeMessages(messages, property, stash, fallbackPluginName) {
1668
1669
  }
1669
1670
  }
1670
1671
  messagesClone.push({
1672
+ id: id || "",
1671
1673
  pluginName: pluginName || fallbackPluginName,
1672
1674
  text: text || "",
1673
1675
  location: sanitizeLocation(location, where),
@@ -1868,7 +1870,7 @@ if (process.env.ESBUILD_WORKER_THREADS !== "0") {
1868
1870
  }
1869
1871
  }
1870
1872
  var _a;
1871
- var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.14.44";
1873
+ var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.14.45";
1872
1874
  var esbuildCommandAndArgs = () => {
1873
1875
  if ((!ESBUILD_BINARY_PATH || false) && (path2.basename(__filename) !== "main.js" || path2.basename(__dirname) !== "lib")) {
1874
1876
  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.
@@ -1932,7 +1934,7 @@ var fsAsync = {
1932
1934
  }
1933
1935
  }
1934
1936
  };
1935
- var version = "0.14.44";
1937
+ var version = "0.14.45";
1936
1938
  var build = (options) => ensureServiceIsRunning().build(options);
1937
1939
  var serve = (serveOptions, buildOptions) => ensureServiceIsRunning().serve(serveOptions, buildOptions);
1938
1940
  var transform = (input, options) => ensureServiceIsRunning().transform(input, options);
@@ -2027,6 +2029,8 @@ var initialize = (options) => {
2027
2029
  options = validateInitializeOptions(options || {});
2028
2030
  if (options.wasmURL)
2029
2031
  throw new Error(`The "wasmURL" option only works in the browser`);
2032
+ if (options.wasmModule)
2033
+ throw new Error(`The "wasmModule" option only works in the browser`);
2030
2034
  if (options.worker)
2031
2035
  throw new Error(`The "worker" option only works in the browser`);
2032
2036
  if (initializeWasCalled)
@@ -2041,7 +2045,7 @@ var ensureServiceIsRunning = () => {
2041
2045
  if (longLivedService)
2042
2046
  return longLivedService;
2043
2047
  let [command, args] = esbuildCommandAndArgs();
2044
- let child = child_process.spawn(command, args.concat(`--service=${"0.14.44"}`, "--ping"), {
2048
+ let child = child_process.spawn(command, args.concat(`--service=${"0.14.45"}`, "--ping"), {
2045
2049
  windowsHide: true,
2046
2050
  stdio: ["pipe", "pipe", "inherit"],
2047
2051
  cwd: defaultWD
@@ -2155,7 +2159,7 @@ var runServiceSync = (callback) => {
2155
2159
  esbuild: node_exports
2156
2160
  });
2157
2161
  callback(service);
2158
- let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.14.44"}`), {
2162
+ let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.14.45"}`), {
2159
2163
  cwd: defaultWD,
2160
2164
  windowsHide: true,
2161
2165
  input: stdin,
@@ -2171,7 +2175,7 @@ var workerThreadService = null;
2171
2175
  var startWorkerThreadService = (worker_threads2) => {
2172
2176
  let { port1: mainPort, port2: workerPort } = new worker_threads2.MessageChannel();
2173
2177
  let worker = new worker_threads2.Worker(__filename, {
2174
- workerData: { workerPort, defaultWD, esbuildVersion: "0.14.44" },
2178
+ workerData: { workerPort, defaultWD, esbuildVersion: "0.14.45" },
2175
2179
  transferList: [workerPort],
2176
2180
  execArgv: []
2177
2181
  });
@@ -2180,7 +2184,7 @@ var startWorkerThreadService = (worker_threads2) => {
2180
2184
  let fakeBuildError = (text) => {
2181
2185
  let error = new Error(`Build failed with 1 error:
2182
2186
  error: ${text}`);
2183
- let errors = [{ pluginName: "", text, location: null, notes: [], detail: void 0 }];
2187
+ let errors = [{ id: "", pluginName: "", text, location: null, notes: [], detail: void 0 }];
2184
2188
  error.errors = errors;
2185
2189
  error.warnings = [];
2186
2190
  return error;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esbuild",
3
- "version": "0.14.44",
3
+ "version": "0.14.45",
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.44",
19
- "esbuild-android-arm64": "0.14.44",
20
- "esbuild-darwin-64": "0.14.44",
21
- "esbuild-darwin-arm64": "0.14.44",
22
- "esbuild-freebsd-64": "0.14.44",
23
- "esbuild-freebsd-arm64": "0.14.44",
24
- "esbuild-linux-32": "0.14.44",
25
- "esbuild-linux-64": "0.14.44",
26
- "esbuild-linux-arm": "0.14.44",
27
- "esbuild-linux-arm64": "0.14.44",
28
- "esbuild-linux-mips64le": "0.14.44",
29
- "esbuild-linux-ppc64le": "0.14.44",
30
- "esbuild-linux-riscv64": "0.14.44",
31
- "esbuild-linux-s390x": "0.14.44",
32
- "esbuild-netbsd-64": "0.14.44",
33
- "esbuild-openbsd-64": "0.14.44",
34
- "esbuild-sunos-64": "0.14.44",
35
- "esbuild-windows-32": "0.14.44",
36
- "esbuild-windows-64": "0.14.44",
37
- "esbuild-windows-arm64": "0.14.44"
18
+ "esbuild-android-64": "0.14.45",
19
+ "esbuild-android-arm64": "0.14.45",
20
+ "esbuild-darwin-64": "0.14.45",
21
+ "esbuild-darwin-arm64": "0.14.45",
22
+ "esbuild-freebsd-64": "0.14.45",
23
+ "esbuild-freebsd-arm64": "0.14.45",
24
+ "esbuild-linux-32": "0.14.45",
25
+ "esbuild-linux-64": "0.14.45",
26
+ "esbuild-linux-arm": "0.14.45",
27
+ "esbuild-linux-arm64": "0.14.45",
28
+ "esbuild-linux-mips64le": "0.14.45",
29
+ "esbuild-linux-ppc64le": "0.14.45",
30
+ "esbuild-linux-riscv64": "0.14.45",
31
+ "esbuild-linux-s390x": "0.14.45",
32
+ "esbuild-netbsd-64": "0.14.45",
33
+ "esbuild-openbsd-64": "0.14.45",
34
+ "esbuild-sunos-64": "0.14.45",
35
+ "esbuild-windows-32": "0.14.45",
36
+ "esbuild-windows-64": "0.14.45",
37
+ "esbuild-windows-arm64": "0.14.45"
38
38
  },
39
39
  "license": "MIT"
40
40
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esbuild-linux-64",
3
- "version": "0.14.44",
3
+ "version": "0.14.45",
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,17 +46,17 @@
46
46
  "@typescript-eslint/parser": "^5",
47
47
  "aws-cdk-lib": "^2.28.1",
48
48
  "constructs": "^10.0.5",
49
- "esbuild": "^0.14.44",
49
+ "esbuild": "^0.14.45",
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.60.1",
57
- "jsii-diff": "^1.60.1",
56
+ "jsii": "^1.61.0",
57
+ "jsii-diff": "^1.61.0",
58
58
  "jsii-docgen": "^1.8.110",
59
- "jsii-pacmak": "^1.60.1",
59
+ "jsii-pacmak": "^1.61.0",
60
60
  "json-schema": "^0.4.0",
61
61
  "npm-check-updates": "^12",
62
62
  "projen": "^0.58.15",
@@ -70,9 +70,9 @@
70
70
  },
71
71
  "dependencies": {
72
72
  "aws-cdk-lib": "^2.28.1",
73
- "aws-sdk": "^2.1155.0",
73
+ "aws-sdk": "^2.1156.0",
74
74
  "constructs": "^10.0.5",
75
- "esbuild": "^0.14.44"
75
+ "esbuild": "^0.14.45"
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.9",
95
+ "version": "2.0.10",
96
96
  "jest": {
97
97
  "testMatch": [
98
98
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",