cdk-comprehend-s3olap 2.0.178 → 2.0.179

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.
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.1394.0',
23
+ VERSION: '2.1395.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.1394.0",
4
+ "version": "2.1395.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",
@@ -199,7 +199,7 @@ for your current platform.`);
199
199
  "node_modules",
200
200
  ".cache",
201
201
  "esbuild",
202
- `pnpapi-${pkg.replace("/", "-")}-${"0.17.19"}-${path.basename(subpath)}`
202
+ `pnpapi-${pkg.replace("/", "-")}-${"0.18.0"}-${path.basename(subpath)}`
203
203
  );
204
204
  if (!fs.existsSync(binTargetPath)) {
205
205
  fs.mkdirSync(path.dirname(binTargetPath), { recursive: true });
@@ -79,6 +79,26 @@ interface CommonOptions {
79
79
  logLimit?: number
80
80
  /** Documentation: https://esbuild.github.io/api/#log-override */
81
81
  logOverride?: Record<string, LogLevel>
82
+
83
+ /** Documentation: https://esbuild.github.io/api/#tsconfig-raw */
84
+ tsconfigRaw?: string | {
85
+ compilerOptions?: {
86
+ alwaysStrict?: boolean
87
+ baseUrl?: boolean
88
+ experimentalDecorators?: boolean
89
+ importsNotUsedAsValues?: 'remove' | 'preserve' | 'error'
90
+ jsx?: 'preserve' | 'react-native' | 'react' | 'react-jsx' | 'react-jsxdev'
91
+ jsxFactory?: string
92
+ jsxFragmentFactory?: string
93
+ jsxImportSource?: string
94
+ paths?: Record<string, string[]>
95
+ preserveValueImports?: boolean
96
+ strict?: boolean
97
+ target?: string
98
+ useDefineForClassFields?: boolean
99
+ verbatimModuleSyntax?: boolean
100
+ }
101
+ }
82
102
  }
83
103
 
84
104
  export interface BuildOptions extends CommonOptions {
@@ -191,15 +211,15 @@ export interface OutputFile {
191
211
  readonly text: string
192
212
  }
193
213
 
194
- export interface BuildResult<SpecificOptions extends BuildOptions = BuildOptions> {
214
+ export interface BuildResult<ProvidedOptions extends BuildOptions = BuildOptions> {
195
215
  errors: Message[]
196
216
  warnings: Message[]
197
217
  /** Only when "write: false" */
198
- outputFiles: OutputFile[] | (SpecificOptions['write'] extends false ? never : undefined)
218
+ outputFiles: OutputFile[] | (ProvidedOptions['write'] extends false ? never : undefined)
199
219
  /** Only when "metafile: true" */
200
- metafile: Metafile | (SpecificOptions['metafile'] extends true ? never : undefined)
220
+ metafile: Metafile | (ProvidedOptions['metafile'] extends true ? never : undefined)
201
221
  /** Only when "mangleCache" is present */
202
- mangleCache: Record<string, string | false> | (SpecificOptions['mangleCache'] extends Object ? never : undefined)
222
+ mangleCache: Record<string, string | false> | (ProvidedOptions['mangleCache'] extends Object ? never : undefined)
203
223
  }
204
224
 
205
225
  export interface BuildFailure extends Error {
@@ -233,34 +253,24 @@ export interface ServeResult {
233
253
  }
234
254
 
235
255
  export interface TransformOptions extends CommonOptions {
236
- tsconfigRaw?: string | {
237
- compilerOptions?: {
238
- alwaysStrict?: boolean,
239
- importsNotUsedAsValues?: 'remove' | 'preserve' | 'error',
240
- jsx?: 'react' | 'react-jsx' | 'react-jsxdev' | 'preserve',
241
- jsxFactory?: string,
242
- jsxFragmentFactory?: string,
243
- jsxImportSource?: string,
244
- preserveValueImports?: boolean,
245
- target?: string,
246
- useDefineForClassFields?: boolean,
247
- },
248
- }
249
-
256
+ /** Documentation: https://esbuild.github.io/api/#sourcefile */
250
257
  sourcefile?: string
258
+ /** Documentation: https://esbuild.github.io/api/#loader */
251
259
  loader?: Loader
260
+ /** Documentation: https://esbuild.github.io/api/#banner */
252
261
  banner?: string
262
+ /** Documentation: https://esbuild.github.io/api/#footer */
253
263
  footer?: string
254
264
  }
255
265
 
256
- export interface TransformResult<SpecificOptions extends TransformOptions = TransformOptions> {
266
+ export interface TransformResult<ProvidedOptions extends TransformOptions = TransformOptions> {
257
267
  code: string
258
268
  map: string
259
269
  warnings: Message[]
260
270
  /** Only when "mangleCache" is present */
261
- mangleCache: Record<string, string | false> | (SpecificOptions['mangleCache'] extends Object ? never : undefined)
271
+ mangleCache: Record<string, string | false> | (ProvidedOptions['mangleCache'] extends Object ? never : undefined)
262
272
  /** Only when "legalComments" is "external" */
263
- legalComments: string | (SpecificOptions['legalComments'] extends 'external' ? never : undefined)
273
+ legalComments: string | (ProvidedOptions['legalComments'] extends 'external' ? never : undefined)
264
274
  }
265
275
 
266
276
  export interface TransformFailure extends Error {
@@ -487,9 +497,9 @@ export interface AnalyzeMetafileOptions {
487
497
  export interface WatchOptions {
488
498
  }
489
499
 
490
- export interface BuildContext<SpecificOptions extends BuildOptions = BuildOptions> {
500
+ export interface BuildContext<ProvidedOptions extends BuildOptions = BuildOptions> {
491
501
  /** Documentation: https://esbuild.github.io/api/#rebuild */
492
- rebuild(): Promise<BuildResult<SpecificOptions>>
502
+ rebuild(): Promise<BuildResult<ProvidedOptions>>
493
503
 
494
504
  /** Documentation: https://esbuild.github.io/api/#watch */
495
505
  watch(options?: WatchOptions): Promise<void>
@@ -501,6 +511,11 @@ export interface BuildContext<SpecificOptions extends BuildOptions = BuildOption
501
511
  dispose(): Promise<void>
502
512
  }
503
513
 
514
+ // This is a TypeScript type-level function which replaces any keys in "In"
515
+ // that aren't in "Out" with "never". We use this to reject properties with
516
+ // typos in object literals. See: https://stackoverflow.com/questions/49580725
517
+ type SameShape<Out, In extends Out> = In & { [Key in Exclude<keyof In, keyof Out>]: never }
518
+
504
519
  /**
505
520
  * This function invokes the "esbuild" command-line tool for you. It returns a
506
521
  * promise that either resolves with a "BuildResult" object or rejects with a
@@ -511,8 +526,7 @@ export interface BuildContext<SpecificOptions extends BuildOptions = BuildOption
511
526
  *
512
527
  * Documentation: https://esbuild.github.io/api/#build
513
528
  */
514
- export declare function build<SpecificOptions extends BuildOptions>(options: SpecificOptions): Promise<BuildResult<SpecificOptions>>
515
- export declare function build(options: BuildOptions): Promise<BuildResult>
529
+ export declare function build<T extends BuildOptions>(options: SameShape<BuildOptions, T>): Promise<BuildResult<T>>
516
530
 
517
531
  /**
518
532
  * This is the advanced long-running form of "build" that supports additional
@@ -523,8 +537,7 @@ export declare function build(options: BuildOptions): Promise<BuildResult>
523
537
  *
524
538
  * Documentation: https://esbuild.github.io/api/#build
525
539
  */
526
- export declare function context<T extends BuildOptions>(options: T): Promise<BuildContext<T>>
527
- export declare function context(options: BuildOptions): Promise<BuildContext>
540
+ export declare function context<T extends BuildOptions>(options: SameShape<BuildOptions, T>): Promise<BuildContext<T>>
528
541
 
529
542
  /**
530
543
  * This function transforms a single JavaScript file. It can be used to minify
@@ -537,8 +550,7 @@ export declare function context(options: BuildOptions): Promise<BuildContext>
537
550
  *
538
551
  * Documentation: https://esbuild.github.io/api/#transform
539
552
  */
540
- export declare function transform<SpecificOptions extends TransformOptions>(input: string | Uint8Array, options?: SpecificOptions): Promise<TransformResult<SpecificOptions>>
541
- export declare function transform(input: string | Uint8Array, options?: TransformOptions): Promise<TransformResult>
553
+ export declare function transform<T extends TransformOptions>(input: string | Uint8Array, options?: SameShape<TransformOptions, T>): Promise<TransformResult<T>>
542
554
 
543
555
  /**
544
556
  * Converts log messages to formatted message strings suitable for printing in
@@ -570,8 +582,7 @@ export declare function analyzeMetafile(metafile: Metafile | string, options?: A
570
582
  *
571
583
  * Documentation: https://esbuild.github.io/api/#build
572
584
  */
573
- export declare function buildSync<SpecificOptions extends BuildOptions>(options: SpecificOptions): BuildResult<SpecificOptions>
574
- export declare function buildSync(options: BuildOptions): BuildResult
585
+ export declare function buildSync<T extends BuildOptions>(options: SameShape<BuildOptions, T>): BuildResult<T>
575
586
 
576
587
  /**
577
588
  * A synchronous version of "transform".
@@ -581,8 +592,7 @@ export declare function buildSync(options: BuildOptions): BuildResult
581
592
  *
582
593
  * Documentation: https://esbuild.github.io/api/#transform
583
594
  */
584
- export declare function transformSync<SpecificOptions extends TransformOptions>(input: string, options?: SpecificOptions): TransformResult<SpecificOptions>
585
- export declare function transformSync(input: string | Uint8Array, options?: TransformOptions): TransformResult
595
+ export declare function transformSync<T extends TransformOptions>(input: string | Uint8Array, options?: SameShape<TransformOptions, T>): TransformResult<T>
586
596
 
587
597
  /**
588
598
  * A synchronous version of "formatMessages".
@@ -330,6 +330,7 @@ function pushCommonFlags(flags, options, keys) {
330
330
  let pure = getFlag(options, keys, "pure", mustBeArray);
331
331
  let keepNames = getFlag(options, keys, "keepNames", mustBeBoolean);
332
332
  let platform = getFlag(options, keys, "platform", mustBeString);
333
+ let tsconfigRaw = getFlag(options, keys, "tsconfigRaw", mustBeStringOrObject);
333
334
  if (legalComments)
334
335
  flags.push(`--legal-comments=${legalComments}`);
335
336
  if (sourceRoot !== void 0)
@@ -348,6 +349,8 @@ function pushCommonFlags(flags, options, keys) {
348
349
  flags.push(`--global-name=${globalName}`);
349
350
  if (platform)
350
351
  flags.push(`--platform=${platform}`);
352
+ if (tsconfigRaw)
353
+ flags.push(`--tsconfig-raw=${typeof tsconfigRaw === "string" ? tsconfigRaw : JSON.stringify(tsconfigRaw)}`);
351
354
  if (minify)
352
355
  flags.push("--minify");
353
356
  if (minifySyntax)
@@ -622,7 +625,6 @@ function flagsForTransformOptions(callName, options, isTTY2, logLevelDefault) {
622
625
  pushLogFlags(flags, options, keys, isTTY2, logLevelDefault);
623
626
  pushCommonFlags(flags, options, keys);
624
627
  let sourcemap = getFlag(options, keys, "sourcemap", mustBeStringOrBoolean);
625
- let tsconfigRaw = getFlag(options, keys, "tsconfigRaw", mustBeStringOrObject);
626
628
  let sourcefile = getFlag(options, keys, "sourcefile", mustBeString);
627
629
  let loader = getFlag(options, keys, "loader", mustBeString);
628
630
  let banner = getFlag(options, keys, "banner", mustBeString);
@@ -631,8 +633,6 @@ function flagsForTransformOptions(callName, options, isTTY2, logLevelDefault) {
631
633
  checkForInvalidFlags(options, keys, `in ${callName}() call`);
632
634
  if (sourcemap)
633
635
  flags.push(`--sourcemap=${sourcemap === true ? "external" : sourcemap}`);
634
- if (tsconfigRaw)
635
- flags.push(`--tsconfig-raw=${typeof tsconfigRaw === "string" ? tsconfigRaw : JSON.stringify(tsconfigRaw)}`);
636
636
  if (sourcefile)
637
637
  flags.push(`--sourcefile=${sourcefile}`);
638
638
  if (loader)
@@ -735,8 +735,8 @@ function createChannel(streamIn) {
735
735
  if (isFirstPacket) {
736
736
  isFirstPacket = false;
737
737
  let binaryVersion = String.fromCharCode(...bytes);
738
- if (binaryVersion !== "0.17.19") {
739
- throw new Error(`Cannot start service: Host version "${"0.17.19"}" does not match binary version ${quote(binaryVersion)}`);
738
+ if (binaryVersion !== "0.18.0") {
739
+ throw new Error(`Cannot start service: Host version "${"0.18.0"}" does not match binary version ${quote(binaryVersion)}`);
740
740
  }
741
741
  return;
742
742
  }
@@ -1905,7 +1905,7 @@ for your current platform.`);
1905
1905
  "node_modules",
1906
1906
  ".cache",
1907
1907
  "esbuild",
1908
- `pnpapi-${pkg.replace("/", "-")}-${"0.17.19"}-${path.basename(subpath)}`
1908
+ `pnpapi-${pkg.replace("/", "-")}-${"0.18.0"}-${path.basename(subpath)}`
1909
1909
  );
1910
1910
  if (!fs.existsSync(binTargetPath)) {
1911
1911
  fs.mkdirSync(path.dirname(binTargetPath), { recursive: true });
@@ -1940,7 +1940,7 @@ if (process.env.ESBUILD_WORKER_THREADS !== "0") {
1940
1940
  }
1941
1941
  }
1942
1942
  var _a;
1943
- var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.17.19";
1943
+ var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.18.0";
1944
1944
  var esbuildCommandAndArgs = () => {
1945
1945
  if ((!ESBUILD_BINARY_PATH || false) && (path2.basename(__filename) !== "main.js" || path2.basename(__dirname) !== "lib")) {
1946
1946
  throw new Error(
@@ -2007,7 +2007,7 @@ var fsAsync = {
2007
2007
  }
2008
2008
  }
2009
2009
  };
2010
- var version = "0.17.19";
2010
+ var version = "0.18.0";
2011
2011
  var build = (options) => ensureServiceIsRunning().build(options);
2012
2012
  var context = (buildOptions) => ensureServiceIsRunning().context(buildOptions);
2013
2013
  var transform = (input, options) => ensureServiceIsRunning().transform(input, options);
@@ -2117,7 +2117,7 @@ var ensureServiceIsRunning = () => {
2117
2117
  if (longLivedService)
2118
2118
  return longLivedService;
2119
2119
  let [command, args] = esbuildCommandAndArgs();
2120
- let child = child_process.spawn(command, args.concat(`--service=${"0.17.19"}`, "--ping"), {
2120
+ let child = child_process.spawn(command, args.concat(`--service=${"0.18.0"}`, "--ping"), {
2121
2121
  windowsHide: true,
2122
2122
  stdio: ["pipe", "pipe", "inherit"],
2123
2123
  cwd: defaultWD
@@ -2217,7 +2217,7 @@ var runServiceSync = (callback) => {
2217
2217
  esbuild: node_exports
2218
2218
  });
2219
2219
  callback(service);
2220
- let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.17.19"}`), {
2220
+ let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.18.0"}`), {
2221
2221
  cwd: defaultWD,
2222
2222
  windowsHide: true,
2223
2223
  input: stdin,
@@ -2237,7 +2237,7 @@ var workerThreadService = null;
2237
2237
  var startWorkerThreadService = (worker_threads2) => {
2238
2238
  let { port1: mainPort, port2: workerPort } = new worker_threads2.MessageChannel();
2239
2239
  let worker = new worker_threads2.Worker(__filename, {
2240
- workerData: { workerPort, defaultWD, esbuildVersion: "0.17.19" },
2240
+ workerData: { workerPort, defaultWD, esbuildVersion: "0.18.0" },
2241
2241
  transferList: [workerPort],
2242
2242
  // From node's documentation: https://nodejs.org/api/worker_threads.html
2243
2243
  //
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esbuild",
3
- "version": "0.17.19",
3
+ "version": "0.18.0",
4
4
  "description": "An extremely fast JavaScript and CSS bundler and minifier.",
5
5
  "repository": "https://github.com/evanw/esbuild",
6
6
  "scripts": {
@@ -15,28 +15,28 @@
15
15
  "esbuild": "bin/esbuild"
16
16
  },
17
17
  "optionalDependencies": {
18
- "@esbuild/android-arm": "0.17.19",
19
- "@esbuild/android-arm64": "0.17.19",
20
- "@esbuild/android-x64": "0.17.19",
21
- "@esbuild/darwin-arm64": "0.17.19",
22
- "@esbuild/darwin-x64": "0.17.19",
23
- "@esbuild/freebsd-arm64": "0.17.19",
24
- "@esbuild/freebsd-x64": "0.17.19",
25
- "@esbuild/linux-arm": "0.17.19",
26
- "@esbuild/linux-arm64": "0.17.19",
27
- "@esbuild/linux-ia32": "0.17.19",
28
- "@esbuild/linux-loong64": "0.17.19",
29
- "@esbuild/linux-mips64el": "0.17.19",
30
- "@esbuild/linux-ppc64": "0.17.19",
31
- "@esbuild/linux-riscv64": "0.17.19",
32
- "@esbuild/linux-s390x": "0.17.19",
33
- "@esbuild/linux-x64": "0.17.19",
34
- "@esbuild/netbsd-x64": "0.17.19",
35
- "@esbuild/openbsd-x64": "0.17.19",
36
- "@esbuild/sunos-x64": "0.17.19",
37
- "@esbuild/win32-arm64": "0.17.19",
38
- "@esbuild/win32-ia32": "0.17.19",
39
- "@esbuild/win32-x64": "0.17.19"
18
+ "@esbuild/android-arm": "0.18.0",
19
+ "@esbuild/android-arm64": "0.18.0",
20
+ "@esbuild/android-x64": "0.18.0",
21
+ "@esbuild/darwin-arm64": "0.18.0",
22
+ "@esbuild/darwin-x64": "0.18.0",
23
+ "@esbuild/freebsd-arm64": "0.18.0",
24
+ "@esbuild/freebsd-x64": "0.18.0",
25
+ "@esbuild/linux-arm": "0.18.0",
26
+ "@esbuild/linux-arm64": "0.18.0",
27
+ "@esbuild/linux-ia32": "0.18.0",
28
+ "@esbuild/linux-loong64": "0.18.0",
29
+ "@esbuild/linux-mips64el": "0.18.0",
30
+ "@esbuild/linux-ppc64": "0.18.0",
31
+ "@esbuild/linux-riscv64": "0.18.0",
32
+ "@esbuild/linux-s390x": "0.18.0",
33
+ "@esbuild/linux-x64": "0.18.0",
34
+ "@esbuild/netbsd-x64": "0.18.0",
35
+ "@esbuild/openbsd-x64": "0.18.0",
36
+ "@esbuild/sunos-x64": "0.18.0",
37
+ "@esbuild/win32-arm64": "0.18.0",
38
+ "@esbuild/win32-ia32": "0.18.0",
39
+ "@esbuild/win32-x64": "0.18.0"
40
40
  },
41
41
  "license": "MIT"
42
42
  }
package/package.json CHANGED
@@ -43,9 +43,9 @@
43
43
  "@types/node": "^16",
44
44
  "@typescript-eslint/eslint-plugin": "^5",
45
45
  "@typescript-eslint/parser": "^5",
46
- "aws-cdk-lib": "^2.83.0",
46
+ "aws-cdk-lib": "^2.83.1",
47
47
  "constructs": "^10.0.5",
48
- "esbuild": "^0.17.19",
48
+ "esbuild": "^0.18.0",
49
49
  "eslint": "^8",
50
50
  "eslint-import-resolver-node": "^0.3.7",
51
51
  "eslint-import-resolver-typescript": "^2.7.1",
@@ -57,7 +57,7 @@
57
57
  "jsii-docgen": "^1.8.110",
58
58
  "jsii-pacmak": "^1.83.0",
59
59
  "npm-check-updates": "^16",
60
- "projen": "^0.71.87",
60
+ "projen": "^0.71.88",
61
61
  "standard-version": "^9",
62
62
  "ts-jest": "^27",
63
63
  "typescript": "^4.9.5"
@@ -67,10 +67,10 @@
67
67
  "constructs": "^10.0.5"
68
68
  },
69
69
  "dependencies": {
70
- "aws-cdk-lib": "^2.83.0",
71
- "aws-sdk": "^2.1394.0",
70
+ "aws-cdk-lib": "^2.83.1",
71
+ "aws-sdk": "^2.1395.0",
72
72
  "constructs": "^10.0.5",
73
- "esbuild": "^0.17.19"
73
+ "esbuild": "^0.18.0"
74
74
  },
75
75
  "bundledDependencies": [
76
76
  "aws-sdk",
@@ -95,7 +95,7 @@
95
95
  ],
96
96
  "main": "lib/index.js",
97
97
  "license": "Apache-2.0",
98
- "version": "2.0.178",
98
+ "version": "2.0.179",
99
99
  "jest": {
100
100
  "testMatch": [
101
101
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",