cdk-appsync-typescript-resolver 0.0.23 → 0.0.25

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.
package/.jsii CHANGED
@@ -7,7 +7,7 @@
7
7
  ]
8
8
  },
9
9
  "bundled": {
10
- "esbuild": "^0.20.0"
10
+ "esbuild": "^0.20.1"
11
11
  },
12
12
  "dependencies": {
13
13
  "aws-cdk-lib": "^2.67.0",
@@ -3351,7 +3351,7 @@
3351
3351
  "stability": "stable"
3352
3352
  },
3353
3353
  "homepage": "https://github.com/sudokar/cdk-appsync-typescript-resolver.git",
3354
- "jsiiVersion": "5.0.19 (build bf5f37b)",
3354
+ "jsiiVersion": "5.0.21 (build 1951a18)",
3355
3355
  "keywords": [
3356
3356
  "appsync",
3357
3357
  "cdk",
@@ -3370,7 +3370,7 @@
3370
3370
  },
3371
3371
  "name": "cdk-appsync-typescript-resolver",
3372
3372
  "readme": {
3373
- "markdown": "# cdk-appsync-typescript-resolver\n\n[![npm (scoped)](https://img.shields.io/npm/v/cdk-appsync-typescript-resolver)](https://www.npmjs.com/package/cdk-appsync-typescript-resolver)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/73988a5fee2a473a92ea3ecb288dfbc3)](https://app.codacy.com/gh/sudokar/cdk-appsync-typescript-resolver/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)\n[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/sudokar/cdk-appsync-typescript-resolver/release.yml?branch=main&label=release&style=flat-square)](https://github.com/sudokar/cdk-appsync-typescript-resolver/actions/workflows/release.yml)\n[![GitHub release (latest SemVer)](https://img.shields.io/github/release/sudokar/cdk-appsync-typescript-resolver?sort=semver&style=flat-square)](https://github.com/sudokar/cdk-appsync-typescript-resolver/releases)\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/sudokar/nx-serverless)\n![Maintained](https://img.shields.io/maintenance/yes/2023.svg)\n[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod&style=flat-square)](https://gitpod.io/#https://github.com/sudokar/cdk-appsync-typescript-resolver)\n\nConstructs to transpile and bundle Typescript to valid AWS Appsync's JS resolvers\n\n[![View on Construct Hub](https://constructs.dev/badge?package=cdk-appsync-typescript-resolver)](https://constructs.dev/packages/cdk-appsync-typescript-resolver)\n\n# ✨ Constructs\n\n- [AppsyncTypescriptFunction](src%2Flib%2FAppsyncTypescriptFunction.ts) - To transpile and bundle Typescript\n- [TSExpressPipelineResolver](src%2Flib%2FJSExpressPipelineResolver.ts) - To use AppsyncTypescriptFunction with boilerplate code\n\n# 🚀 Usage\n\n- AppsyncTypescriptFunction\n```typescript\nimport { AppsyncTypescriptFunction } from 'cdk-appsync-typescript-resolver'\n...\nconst appsyncFunction = new AppsyncTypescriptFunction(stack, \"TSDemoFunction\", {\n name: \"TSDemoFunction\",\n api: new appsync.GraphqlApi(...),\n path: path.join(__dirname, \"path\", \"to\", \"file.ts\"),\n dataSource: new appsync.DynamoDbDataSource(...),\n sourceMap: true,\n});\n```\n\n- TSExpressPipelineResolver\n\n```typescript\nimport { TSExpressPipelineResolver } from 'cdk-appsync-typescript-resolver'\n...\nconst resolver = new TSExpressPipelineResolver(testStack, \"DemoResolver\", {\n api: new appsync.GraphqlApi(...),\n typeName: \"Query\",\n fieldName: \"hello\",\n tsFunction: new AppsyncTypescriptFunction(...),\n});\n```\n\n> Tip: Use [GraphQL Code Generator](https://the-guild.dev/graphql/codegen) to generate Typescript types from GraphQL schema(s) to use in resolvers\n\nCheckout the demo project for examples [cdk-appsync-typescript-resolver-demo](https://github.com/sudokar/cdk-appsync-typescript-resolver-demo)\n\n# References\n\n[JavaScript resolvers overview](https://docs.aws.amazon.com/appsync/latest/devguide/resolver-reference-overview-js.html)\n\n[Bundling, TypeScript, and source maps](https://docs.aws.amazon.com/appsync/latest/devguide/resolver-reference-overview-js.html#additional-utilities)\n\n[GraphQL Code Generator](https://the-guild.dev/graphql/codegen)\n"
3373
+ "markdown": "# cdk-appsync-typescript-resolver\n\n[![npm (scoped)](https://img.shields.io/npm/v/cdk-appsync-typescript-resolver)](https://www.npmjs.com/package/cdk-appsync-typescript-resolver)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/73988a5fee2a473a92ea3ecb288dfbc3)](https://app.codacy.com/gh/sudokar/cdk-appsync-typescript-resolver/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)\n[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/sudokar/cdk-appsync-typescript-resolver/release.yml?branch=main&label=release&style=flat-square)](https://github.com/sudokar/cdk-appsync-typescript-resolver/actions/workflows/release.yml)\n[![GitHub release (latest SemVer)](https://img.shields.io/github/release/sudokar/cdk-appsync-typescript-resolver?sort=semver&style=flat-square)](https://github.com/sudokar/cdk-appsync-typescript-resolver/releases)\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/sudokar/nx-serverless)\n![Maintained](https://img.shields.io/maintenance/yes/2024.svg)\n[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod&style=flat-square)](https://gitpod.io/#https://github.com/sudokar/cdk-appsync-typescript-resolver)\n\nConstructs to transpile and bundle Typescript to valid AWS Appsync's JS resolvers\n\n[![View on Construct Hub](https://constructs.dev/badge?package=cdk-appsync-typescript-resolver)](https://constructs.dev/packages/cdk-appsync-typescript-resolver)\n\n# ✨ Constructs\n\n- [AppsyncTypescriptFunction](src%2Flib%2FAppsyncTypescriptFunction.ts) - To transpile and bundle Typescript\n- [TSExpressPipelineResolver](src%2Flib%2FJSExpressPipelineResolver.ts) - To use AppsyncTypescriptFunction with boilerplate code\n\n# 🚀 Usage\n\n- AppsyncTypescriptFunction\n```typescript\nimport { AppsyncTypescriptFunction } from 'cdk-appsync-typescript-resolver'\n...\nconst appsyncFunction = new AppsyncTypescriptFunction(stack, \"TSDemoFunction\", {\n name: \"TSDemoFunction\",\n api: new appsync.GraphqlApi(...),\n path: path.join(__dirname, \"path\", \"to\", \"file.ts\"),\n dataSource: new appsync.DynamoDbDataSource(...),\n sourceMap: true,\n});\n```\n\n- TSExpressPipelineResolver\n\n```typescript\nimport { TSExpressPipelineResolver } from 'cdk-appsync-typescript-resolver'\n...\nconst resolver = new TSExpressPipelineResolver(testStack, \"DemoResolver\", {\n api: new appsync.GraphqlApi(...),\n typeName: \"Query\",\n fieldName: \"hello\",\n tsFunction: new AppsyncTypescriptFunction(...),\n});\n```\n\n> Tip: Use [GraphQL Code Generator](https://the-guild.dev/graphql/codegen) to generate Typescript types from GraphQL schema(s) to use in resolvers\n\nCheckout the demo project for examples [cdk-appsync-typescript-resolver-demo](https://github.com/sudokar/cdk-appsync-typescript-resolver-demo)\n\n# References\n\n[JavaScript resolvers overview](https://docs.aws.amazon.com/appsync/latest/devguide/resolver-reference-overview-js.html)\n\n[Bundling, TypeScript, and source maps](https://docs.aws.amazon.com/appsync/latest/devguide/resolver-reference-overview-js.html#additional-utilities)\n\n[GraphQL Code Generator](https://the-guild.dev/graphql/codegen)\n"
3374
3374
  },
3375
3375
  "repository": {
3376
3376
  "type": "git",
@@ -3788,6 +3788,6 @@
3788
3788
  "symbolId": "src/TSExpressPipelineResolverProps:TSExpressPipelineResolverProps"
3789
3789
  }
3790
3790
  },
3791
- "version": "0.0.23",
3792
- "fingerprint": "l1WIFUaQqbXjgsKdiOEzYe+V7dubwrchrPWRulw3Jd0="
3791
+ "version": "0.0.25",
3792
+ "fingerprint": "aQ/DMOkqw/xxqz/xv2oqb9E0sDnqoMGrrcTwVjWKW5I="
3793
3793
  }
package/API.md CHANGED
@@ -6,7 +6,7 @@
6
6
  [![GitHub release (latest SemVer)](https://img.shields.io/github/release/sudokar/cdk-appsync-typescript-resolver?sort=semver&style=flat-square)](https://github.com/sudokar/cdk-appsync-typescript-resolver/releases)
7
7
  [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
8
8
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/sudokar/nx-serverless)
9
- ![Maintained](https://img.shields.io/maintenance/yes/2023.svg)
9
+ ![Maintained](https://img.shields.io/maintenance/yes/2024.svg)
10
10
  [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod&style=flat-square)](https://gitpod.io/#https://github.com/sudokar/cdk-appsync-typescript-resolver)
11
11
 
12
12
  Constructs to transpile and bundle Typescript to valid AWS Appsync's JS resolvers
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  [![GitHub release (latest SemVer)](https://img.shields.io/github/release/sudokar/cdk-appsync-typescript-resolver?sort=semver&style=flat-square)](https://github.com/sudokar/cdk-appsync-typescript-resolver/releases)
7
7
  [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
8
8
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/sudokar/nx-serverless)
9
- ![Maintained](https://img.shields.io/maintenance/yes/2023.svg)
9
+ ![Maintained](https://img.shields.io/maintenance/yes/2024.svg)
10
10
  [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod&style=flat-square)](https://gitpod.io/#https://github.com/sudokar/cdk-appsync-typescript-resolver)
11
11
 
12
12
  Constructs to transpile and bundle Typescript to valid AWS Appsync's JS resolvers
@@ -23,6 +23,6 @@ class AppsyncTypescriptFunction extends appsync.AppsyncFunction {
23
23
  }
24
24
  }
25
25
  _a = JSII_RTTI_SYMBOL_1;
26
- AppsyncTypescriptFunction[_a] = { fqn: "cdk-appsync-typescript-resolver.AppsyncTypescriptFunction", version: "0.0.23" };
26
+ AppsyncTypescriptFunction[_a] = { fqn: "cdk-appsync-typescript-resolver.AppsyncTypescriptFunction", version: "0.0.25" };
27
27
  exports.AppsyncTypescriptFunction = AppsyncTypescriptFunction;
28
28
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQXBwc3luY1R5cGVzY3JpcHRGdW5jdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9BcHBzeW5jVHlwZXNjcmlwdEZ1bmN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsbURBQW1EO0FBR25ELHVDQUFtQztBQUVuQzs7R0FFRztBQUNILE1BQWEseUJBQTBCLFNBQVEsT0FBTyxDQUFDLGVBQWU7SUFDcEUsWUFDRSxLQUFpQixFQUNqQixFQUFVLEVBQ1YsS0FBcUM7UUFFckMsTUFBTSxFQUFFLElBQUksRUFBRSxTQUFTLEVBQUUsY0FBYyxFQUFFLEdBQUcsS0FBSyxDQUFDO1FBQ2xELEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxFQUFFO1lBQ2YsR0FBRyxLQUFLO1lBQ1IsSUFBSSxFQUFFLE9BQU8sQ0FBQyxJQUFJLENBQUMsVUFBVSxDQUMzQixJQUFBLGdCQUFNLEVBQUM7Z0JBQ0wsVUFBVSxFQUFFLElBQUk7Z0JBQ2hCLFNBQVMsRUFBRSxTQUFTLElBQUksS0FBSztnQkFDN0IsY0FBYzthQUNmLENBQUMsQ0FDSDtZQUNELE9BQU8sRUFBRSxPQUFPLENBQUMsZUFBZSxDQUFDLFFBQVE7U0FDMUMsQ0FBQyxDQUFDO0lBQ0wsQ0FBQzs7OztBQWxCVSw4REFBeUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBhcHBzeW5jIGZyb20gJ2F3cy1jZGstbGliL2F3cy1hcHBzeW5jJztc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.Resolver {
29
29
  }
30
30
  }
31
31
  _a = JSII_RTTI_SYMBOL_1;
32
- TSExpressPipelineResolver[_a] = { fqn: "cdk-appsync-typescript-resolver.TSExpressPipelineResolver", version: "0.0.23" };
32
+ TSExpressPipelineResolver[_a] = { fqn: "cdk-appsync-typescript-resolver.TSExpressPipelineResolver", version: "0.0.25" };
33
33
  exports.TSExpressPipelineResolver = TSExpressPipelineResolver;
34
34
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVFNFeHByZXNzUGlwZWxpbmVSZXNvbHZlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9UU0V4cHJlc3NQaXBlbGluZVJlc29sdmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsbURBQW1EO0FBSW5ELE1BQU0sbUJBQW1CLEdBQVc7Ozs7Ozs7O0VBUWxDLENBQUM7QUFFSDs7O0dBR0c7QUFDSCxNQUFhLHlCQUEwQixTQUFRLE9BQU8sQ0FBQyxRQUFRO0lBQzdELFlBQ0UsS0FBaUIsRUFDakIsRUFBVSxFQUNWLEtBQXFDO1FBRXJDLE1BQU0sRUFBRSxVQUFVLEVBQUUsZUFBZSxFQUFFLEdBQUcsYUFBYSxFQUFFLEdBQUcsS0FBSyxDQUFDO1FBQ2hFLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxFQUFFO1lBQ2YsR0FBRyxhQUFhO1lBQ2hCLGNBQWMsRUFBRSxDQUFDLGVBQWUsQ0FBQztZQUNqQyxJQUFJLEVBQUUsT0FBTyxDQUFDLElBQUksQ0FBQyxVQUFVLENBQUMsbUJBQW1CLENBQUM7WUFDbEQsT0FBTyxFQUFFLE9BQU8sQ0FBQyxlQUFlLENBQUMsUUFBUTtTQUMxQyxDQUFDLENBQUM7SUFDTCxDQUFDOzs7O0FBYlUsOERBQXlCIiwic291cmNlc0NvbnRlbnQiOlsia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b3BzOiBUU0V4cHJlc3NQaXBlbGluZVJlc29sdmVyUHJvcHMsXG4gICkge1xuICAgIGNvbnN0IHsgdHNGdW5jdGlvbjogYXBwc3luY0Z1bmN0aW9uLCAuLi5yZXNvbHZlclByb3BzIH0gPSBwcm9wcztcbiAgICBzdXBlcihzY29wZSwgaWQsIHtcbiAgICAgIC4uLnJlc29sdmVyUHJvcHMsXG4gICAgICBwaXBlbGluZUNvbmZpZzogW2FwcHN5bmNGdW5jdGlvbl0sXG4gICAgICBjb2RlOiBhcHBzeW5jLkNvZGUuZnJvbUlubGluZShkZWZhdWx0UGlwZWxpbmVDb2RlKSxcbiAgICAgIHJ1bnRpbWU6IGFwcHN5bmMuRnVuY3Rpb25SdW50aW1lLkpTXzFfMF8wLFxuICAgIH0pO1xuICB9XG59XG4iXX0=
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esbuild/linux-x64",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
4
4
  "description": "The Linux 64-bit binary for esbuild, a JavaScript bundler.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -200,7 +200,7 @@ for your current platform.`);
200
200
  "node_modules",
201
201
  ".cache",
202
202
  "esbuild",
203
- `pnpapi-${pkg.replace("/", "-")}-${"0.20.0"}-${path.basename(subpath)}`
203
+ `pnpapi-${pkg.replace("/", "-")}-${"0.20.1"}-${path.basename(subpath)}`
204
204
  );
205
205
  if (!fs.existsSync(binTargetPath)) {
206
206
  fs.mkdirSync(path.dirname(binTargetPath), { recursive: true });
@@ -747,8 +747,8 @@ function createChannel(streamIn) {
747
747
  if (isFirstPacket) {
748
748
  isFirstPacket = false;
749
749
  let binaryVersion = String.fromCharCode(...bytes);
750
- if (binaryVersion !== "0.20.0") {
751
- throw new Error(`Cannot start service: Host version "${"0.20.0"}" does not match binary version ${quote(binaryVersion)}`);
750
+ if (binaryVersion !== "0.20.1") {
751
+ throw new Error(`Cannot start service: Host version "${"0.20.1"}" does not match binary version ${quote(binaryVersion)}`);
752
752
  }
753
753
  return;
754
754
  }
@@ -1941,7 +1941,7 @@ for your current platform.`);
1941
1941
  "node_modules",
1942
1942
  ".cache",
1943
1943
  "esbuild",
1944
- `pnpapi-${pkg.replace("/", "-")}-${"0.20.0"}-${path.basename(subpath)}`
1944
+ `pnpapi-${pkg.replace("/", "-")}-${"0.20.1"}-${path.basename(subpath)}`
1945
1945
  );
1946
1946
  if (!fs.existsSync(binTargetPath)) {
1947
1947
  fs.mkdirSync(path.dirname(binTargetPath), { recursive: true });
@@ -1976,7 +1976,7 @@ if (process.env.ESBUILD_WORKER_THREADS !== "0") {
1976
1976
  }
1977
1977
  }
1978
1978
  var _a;
1979
- var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.20.0";
1979
+ var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.20.1";
1980
1980
  var esbuildCommandAndArgs = () => {
1981
1981
  if ((!ESBUILD_BINARY_PATH || false) && (path2.basename(__filename) !== "main.js" || path2.basename(__dirname) !== "lib")) {
1982
1982
  throw new Error(
@@ -2043,7 +2043,7 @@ var fsAsync = {
2043
2043
  }
2044
2044
  }
2045
2045
  };
2046
- var version = "0.20.0";
2046
+ var version = "0.20.1";
2047
2047
  var build = (options) => ensureServiceIsRunning().build(options);
2048
2048
  var context = (buildOptions) => ensureServiceIsRunning().context(buildOptions);
2049
2049
  var transform = (input, options) => ensureServiceIsRunning().transform(input, options);
@@ -2161,7 +2161,7 @@ var ensureServiceIsRunning = () => {
2161
2161
  if (longLivedService)
2162
2162
  return longLivedService;
2163
2163
  let [command, args] = esbuildCommandAndArgs();
2164
- let child = child_process.spawn(command, args.concat(`--service=${"0.20.0"}`, "--ping"), {
2164
+ let child = child_process.spawn(command, args.concat(`--service=${"0.20.1"}`, "--ping"), {
2165
2165
  windowsHide: true,
2166
2166
  stdio: ["pipe", "pipe", "inherit"],
2167
2167
  cwd: defaultWD
@@ -2269,7 +2269,7 @@ var runServiceSync = (callback) => {
2269
2269
  esbuild: node_exports
2270
2270
  });
2271
2271
  callback(service);
2272
- let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.20.0"}`), {
2272
+ let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.20.1"}`), {
2273
2273
  cwd: defaultWD,
2274
2274
  windowsHide: true,
2275
2275
  input: stdin,
@@ -2289,7 +2289,7 @@ var workerThreadService = null;
2289
2289
  var startWorkerThreadService = (worker_threads2) => {
2290
2290
  let { port1: mainPort, port2: workerPort } = new worker_threads2.MessageChannel();
2291
2291
  let worker = new worker_threads2.Worker(__filename, {
2292
- workerData: { workerPort, defaultWD, esbuildVersion: "0.20.0" },
2292
+ workerData: { workerPort, defaultWD, esbuildVersion: "0.20.1" },
2293
2293
  transferList: [workerPort],
2294
2294
  // From node's documentation: https://nodejs.org/api/worker_threads.html
2295
2295
  //
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esbuild",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
4
4
  "description": "An extremely fast JavaScript and CSS bundler and minifier.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,29 +18,29 @@
18
18
  "esbuild": "bin/esbuild"
19
19
  },
20
20
  "optionalDependencies": {
21
- "@esbuild/aix-ppc64": "0.20.0",
22
- "@esbuild/android-arm": "0.20.0",
23
- "@esbuild/android-arm64": "0.20.0",
24
- "@esbuild/android-x64": "0.20.0",
25
- "@esbuild/darwin-arm64": "0.20.0",
26
- "@esbuild/darwin-x64": "0.20.0",
27
- "@esbuild/freebsd-arm64": "0.20.0",
28
- "@esbuild/freebsd-x64": "0.20.0",
29
- "@esbuild/linux-arm": "0.20.0",
30
- "@esbuild/linux-arm64": "0.20.0",
31
- "@esbuild/linux-ia32": "0.20.0",
32
- "@esbuild/linux-loong64": "0.20.0",
33
- "@esbuild/linux-mips64el": "0.20.0",
34
- "@esbuild/linux-ppc64": "0.20.0",
35
- "@esbuild/linux-riscv64": "0.20.0",
36
- "@esbuild/linux-s390x": "0.20.0",
37
- "@esbuild/linux-x64": "0.20.0",
38
- "@esbuild/netbsd-x64": "0.20.0",
39
- "@esbuild/openbsd-x64": "0.20.0",
40
- "@esbuild/sunos-x64": "0.20.0",
41
- "@esbuild/win32-arm64": "0.20.0",
42
- "@esbuild/win32-ia32": "0.20.0",
43
- "@esbuild/win32-x64": "0.20.0"
21
+ "@esbuild/aix-ppc64": "0.20.1",
22
+ "@esbuild/android-arm": "0.20.1",
23
+ "@esbuild/android-arm64": "0.20.1",
24
+ "@esbuild/android-x64": "0.20.1",
25
+ "@esbuild/darwin-arm64": "0.20.1",
26
+ "@esbuild/darwin-x64": "0.20.1",
27
+ "@esbuild/freebsd-arm64": "0.20.1",
28
+ "@esbuild/freebsd-x64": "0.20.1",
29
+ "@esbuild/linux-arm": "0.20.1",
30
+ "@esbuild/linux-arm64": "0.20.1",
31
+ "@esbuild/linux-ia32": "0.20.1",
32
+ "@esbuild/linux-loong64": "0.20.1",
33
+ "@esbuild/linux-mips64el": "0.20.1",
34
+ "@esbuild/linux-ppc64": "0.20.1",
35
+ "@esbuild/linux-riscv64": "0.20.1",
36
+ "@esbuild/linux-s390x": "0.20.1",
37
+ "@esbuild/linux-x64": "0.20.1",
38
+ "@esbuild/netbsd-x64": "0.20.1",
39
+ "@esbuild/openbsd-x64": "0.20.1",
40
+ "@esbuild/sunos-x64": "0.20.1",
41
+ "@esbuild/win32-arm64": "0.20.1",
42
+ "@esbuild/win32-ia32": "0.20.1",
43
+ "@esbuild/win32-x64": "0.20.1"
44
44
  },
45
45
  "license": "MIT"
46
46
  }
package/package.json CHANGED
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "devDependencies": {
38
38
  "@aws-appsync/utils": "^1.7.0",
39
- "@mrgrain/jsii-struct-builder": "^0.7.12",
39
+ "@mrgrain/jsii-struct-builder": "^0.7.18",
40
40
  "@types/jest": "^29.5.12",
41
41
  "@types/node": "^18",
42
42
  "@typescript-eslint/eslint-plugin": "^6",
@@ -49,22 +49,22 @@
49
49
  "jest": "^29.7.0",
50
50
  "jest-junit": "^15",
51
51
  "jsii": "~5.0.0",
52
- "jsii-diff": "^1.94.0",
52
+ "jsii-diff": "^1.95.0",
53
53
  "jsii-docgen": "^9.2.2",
54
- "jsii-pacmak": "^1.94.0",
54
+ "jsii-pacmak": "^1.95.0",
55
55
  "jsii-rosetta": "~5.0.0",
56
- "projen": "^0.79.9",
56
+ "projen": "^0.80.10",
57
57
  "standard-version": "^9",
58
58
  "ts-jest": "^29.1.2",
59
59
  "ts-node": "^10.9.2",
60
- "typescript": "^5.3.3"
60
+ "typescript": "^5.4.2"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "aws-cdk-lib": "^2.67.0",
64
64
  "constructs": "^10.0.5"
65
65
  },
66
66
  "dependencies": {
67
- "esbuild": "^0.20.0"
67
+ "esbuild": "^0.20.1"
68
68
  },
69
69
  "bundledDependencies": [
70
70
  "esbuild"
@@ -81,7 +81,7 @@
81
81
  },
82
82
  "main": "lib/index.js",
83
83
  "license": "Apache-2.0",
84
- "version": "0.0.23",
84
+ "version": "0.0.25",
85
85
  "jest": {
86
86
  "testMatch": [
87
87
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",