cdk-appsync-typescript-resolver 0.0.32 → 0.0.34

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.25.10"
10
+ "esbuild": "^0.27.0"
11
11
  },
12
12
  "dependencies": {
13
13
  "aws-cdk-lib": "^2.162.0",
@@ -4540,6 +4540,6 @@
4540
4540
  "symbolId": "src/TypescriptUnitResolverProps:TypescriptUnitResolverProps"
4541
4541
  }
4542
4542
  },
4543
- "version": "0.0.32",
4544
- "fingerprint": "YDZYoOPcLYFsteWWYTIJLeqv3HhkM1A3fiEOKTh35/I="
4543
+ "version": "0.0.34",
4544
+ "fingerprint": "LE8LZ4cHI+iVLgQDQmVUW9pBLE09GS1tfzK/3W1fREk="
4545
4545
  }
package/API.md CHANGED
@@ -90,7 +90,7 @@ account for data recovery and cleanup later (`RemovalPolicy.RETAIN`).
90
90
 
91
91
  ---
92
92
 
93
- ##### ~~`isConstruct`~~ <a name="isConstruct" id="cdk-appsync-typescript-resolver.AppsyncTypescriptFunction.isConstruct"></a>
93
+ ##### `isConstruct` <a name="isConstruct" id="cdk-appsync-typescript-resolver.AppsyncTypescriptFunction.isConstruct"></a>
94
94
 
95
95
  ```typescript
96
96
  import { AppsyncTypescriptFunction } from 'cdk-appsync-typescript-resolver'
@@ -100,6 +100,20 @@ AppsyncTypescriptFunction.isConstruct(x: any)
100
100
 
101
101
  Checks if `x` is a construct.
102
102
 
103
+ Use this method instead of `instanceof` to properly detect `Construct`
104
+ instances, even when the construct library is symlinked.
105
+
106
+ Explanation: in JavaScript, multiple copies of the `constructs` library on
107
+ disk are seen as independent, completely different libraries. As a
108
+ consequence, the class `Construct` in each copy of the `constructs` library
109
+ is seen as a different class, and an instance of one class will not test as
110
+ `instanceof` the other class. `npm install` will not create installations
111
+ like this, but users may manually symlink construct libraries together or
112
+ use a monorepo tool: in those cases, multiple copies of the `constructs`
113
+ library can be accidentally installed, and `instanceof` will behave
114
+ unpredictably. It is safest to avoid using `instanceof`, and using
115
+ this type-testing method instead.
116
+
103
117
  ###### `x`<sup>Required</sup> <a name="x" id="cdk-appsync-typescript-resolver.AppsyncTypescriptFunction.isConstruct.parameter.x"></a>
104
118
 
105
119
  - *Type:* any
@@ -346,6 +360,20 @@ TSExpressPipelineResolver.isConstruct(x: any)
346
360
 
347
361
  Checks if `x` is a construct.
348
362
 
363
+ Use this method instead of `instanceof` to properly detect `Construct`
364
+ instances, even when the construct library is symlinked.
365
+
366
+ Explanation: in JavaScript, multiple copies of the `constructs` library on
367
+ disk are seen as independent, completely different libraries. As a
368
+ consequence, the class `Construct` in each copy of the `constructs` library
369
+ is seen as a different class, and an instance of one class will not test as
370
+ `instanceof` the other class. `npm install` will not create installations
371
+ like this, but users may manually symlink construct libraries together or
372
+ use a monorepo tool: in those cases, multiple copies of the `constructs`
373
+ library can be accidentally installed, and `instanceof` will behave
374
+ unpredictably. It is safest to avoid using `instanceof`, and using
375
+ this type-testing method instead.
376
+
349
377
  ###### `x`<sup>Required</sup> <a name="x" id="cdk-appsync-typescript-resolver.TSExpressPipelineResolver.isConstruct.parameter.x"></a>
350
378
 
351
379
  - *Type:* any
@@ -452,7 +480,7 @@ Returns a string representation of this construct.
452
480
 
453
481
  ---
454
482
 
455
- ##### ~~`isConstruct`~~ <a name="isConstruct" id="cdk-appsync-typescript-resolver.TypescriptUnitResolver.isConstruct"></a>
483
+ ##### `isConstruct` <a name="isConstruct" id="cdk-appsync-typescript-resolver.TypescriptUnitResolver.isConstruct"></a>
456
484
 
457
485
  ```typescript
458
486
  import { TypescriptUnitResolver } from 'cdk-appsync-typescript-resolver'
@@ -462,6 +490,20 @@ TypescriptUnitResolver.isConstruct(x: any)
462
490
 
463
491
  Checks if `x` is a construct.
464
492
 
493
+ Use this method instead of `instanceof` to properly detect `Construct`
494
+ instances, even when the construct library is symlinked.
495
+
496
+ Explanation: in JavaScript, multiple copies of the `constructs` library on
497
+ disk are seen as independent, completely different libraries. As a
498
+ consequence, the class `Construct` in each copy of the `constructs` library
499
+ is seen as a different class, and an instance of one class will not test as
500
+ `instanceof` the other class. `npm install` will not create installations
501
+ like this, but users may manually symlink construct libraries together or
502
+ use a monorepo tool: in those cases, multiple copies of the `constructs`
503
+ library can be accidentally installed, and `instanceof` will behave
504
+ unpredictably. It is safest to avoid using `instanceof`, and using
505
+ this type-testing method instead.
506
+
465
507
  ###### `x`<sup>Required</sup> <a name="x" id="cdk-appsync-typescript-resolver.TypescriptUnitResolver.isConstruct.parameter.x"></a>
466
508
 
467
509
  - *Type:* any
@@ -24,5 +24,5 @@ class AppsyncTypescriptFunction extends appsync.AppsyncFunction {
24
24
  }
25
25
  exports.AppsyncTypescriptFunction = AppsyncTypescriptFunction;
26
26
  _a = JSII_RTTI_SYMBOL_1;
27
- AppsyncTypescriptFunction[_a] = { fqn: "cdk-appsync-typescript-resolver.AppsyncTypescriptFunction", version: "0.0.32" };
27
+ AppsyncTypescriptFunction[_a] = { fqn: "cdk-appsync-typescript-resolver.AppsyncTypescriptFunction", version: "0.0.34" };
28
28
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQXBwc3luY1R5cGVzY3JpcHRGdW5jdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9BcHBzeW5jVHlwZXNjcmlwdEZ1bmN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsbURBQW1EO0FBR25ELHVDQUFtQztBQUVuQzs7R0FFRztBQUNILE1BQWEseUJBQTBCLFNBQVEsT0FBTyxDQUFDLGVBQWU7SUFDcEUsWUFDRSxLQUFpQixFQUNqQixFQUFVLEVBQ1YsS0FBcUM7UUFFckMsTUFBTSxFQUFFLElBQUksRUFBRSxTQUFTLEVBQUUsY0FBYyxFQUFFLEd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4gICkge1xuICAgIGNvbnN0IHsgcGF0aCwgc291cmNlTWFwLCByZXBsYWNlU3RyaW5ncyB9ID0gcHJvcHM7XG4gICAgc3VwZXIoc2NvcGUsIGlkLCB7XG4gICAgICAuLi5wcm9wcyxcbiAgICAgIGNvZGU6IGFwcHN5bmMuQ29kZS5mcm9tSW5saW5lKFxuICAgICAgICBidW5kbGUoe1xuICAgICAgICAgIGVudHJ5UG9pbnQ6IHBhdGgsXG4gICAgICAgICAgc291cmNlTWFwOiBzb3VyY2VNYXAgPz8gZmFsc2UsXG4gICAgICAgICAgcmVwbGFjZVN0cmluZ3MsXG4gICAgICAgIH0pLFxuICAgICAgKSxcbiAgICAgIHJ1bnRpbWU6IGFwcHN5bmMuRnVuY3Rpb25SdW50aW1lLkpTXzFfMF8wLFxuICAgIH0pO1xuICB9XG59XG4iXX0=
@@ -30,5 +30,5 @@ class TSExpressPipelineResolver extends appsync.Resolver {
30
30
  }
31
31
  exports.TSExpressPipelineResolver = TSExpressPipelineResolver;
32
32
  _a = JSII_RTTI_SYMBOL_1;
33
- TSExpressPipelineResolver[_a] = { fqn: "cdk-appsync-typescript-resolver.TSExpressPipelineResolver", version: "0.0.32" };
33
+ TSExpressPipelineResolver[_a] = { fqn: "cdk-appsync-typescript-resolver.TSExpressPipelineResolver", version: "0.0.34" };
34
34
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVFNFeHByZXNzUGlwZWxpbmVSZXNvbHZlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9UU0V4cHJlc3NQaXBlbGluZVJlc29sdmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsbURBQW1EO0FBSW5ELE1BQU0sbUJBQW1CLEdBQVc7Ozs7Ozs7O0VBUWxDLENBQUM7QUFFSDs7O0dBR0c7QUFDSCxNQUFhLHlCQUEwQixTQUFRLE9BQU8sQ0FBQy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cnBsYXRlIGNvZGUgdXNpbmcgQXBwc3luY1R5cGVzY3JpcHRGdW5jdGlvbiBjb25zdHJ1Y3RcbiAqIEBkZXByZWNhdGVkIC0gVXNlIHtAbGluayBUeXBlc2NyaXB0VW5pdFJlc29sdmVyfSBpbnN0ZWFkXG4gKi9cbmV4cG9ydCBjbGFzcyBUU0V4cHJlc3NQaXBlbGluZVJlc29sdmVyIGV4dGVuZHMgYXBwc3luYy5SZXNvbHZlciB7XG4gIGNvbnN0cnVjdG9yKFxuICAgIHNjb3BlOiBJQ29uc3RydWN0LFxuICAgIGlkOiBzdHJpbmcsXG4gICAgcHJvcHM6IFRTRXhwcmVzc1BpcGVsaW5lUmVzb2x2ZXJQcm9wcyxcbiAgKSB7XG4gICAgY29uc3QgeyB0c0Z1bmN0aW9uOiBhcHBzeW5jRnVuY3Rpb24sIC4uLnJlc29sdmVyUHJvcHMgfSA9IHByb3BzO1xuICAgIHN1cGVyKHNjb3BlLCBpZCwge1xuICAgICAgLi4ucmVzb2x2ZXJQcm9wcyxcbiAgICAgIHBpcGVsaW5lQ29uZmlnOiBbYXBwc3luY0Z1bmN0aW9uXSxcbiAgICAgIGNvZGU6IGFwcHN5bmMuQ29kZS5mcm9tSW5saW5lKGRlZmF1bHRQaXBlbGluZUNvZGUpLFxuICAgICAgcnVudGltZTogYXBwc3luYy5GdW5jdGlvblJ1bnRpbWUuSlNfMV8wXzAsXG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
@@ -21,5 +21,5 @@ class TypescriptUnitResolver extends appsync.Resolver {
21
21
  }
22
22
  exports.TypescriptUnitResolver = TypescriptUnitResolver;
23
23
  _a = JSII_RTTI_SYMBOL_1;
24
- TypescriptUnitResolver[_a] = { fqn: "cdk-appsync-typescript-resolver.TypescriptUnitResolver", version: "0.0.32" };
24
+ TypescriptUnitResolver[_a] = { fqn: "cdk-appsync-typescript-resolver.TypescriptUnitResolver", version: "0.0.34" };
25
25
  //# sourceMappingURL=data:application/json;base64,eyJ2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ICcuL1R5cGVzY3JpcHRVbml0UmVzb2x2ZXJQcm9wcyc7XG5cbmV4cG9ydCBjbGFzcyBUeXBlc2NyaXB0VW5pdFJlc29sdmVyIGV4dGVuZHMgYXBwc3luYy5SZXNvbHZlciB7XG4gIGNvbnN0cnVjdG9yKHNjb3BlOiBJQ29uc3RydWN0LCBpZDogc3RyaW5nLCBwcm9wczogVHlwZXNjcmlwdFVuaXRSZXNvbHZlclByb3BzKSB7XG4gICAgY29uc3Qge1xuICAgICAgcGF0aCxcbiAgICAgIHNvdXJjZU1hcCxcbiAgICAgIHJlcGxhY2VTdHJpbmdzLFxuICAgICAgLi4ucmVzb2x2ZXJQcm9wc1xuICAgIH0gPSBwcm9wcztcblxuICAgIHN1cGVyKHNjb3BlLCBpZCwge1xuICAgICAgY29kZTogYXBwc3luYy5Db2RlLmZyb21JbmxpbmUoXG4gICAgICAgIGJ1bmRsZSh7XG4gICAgICAgICAgZW50cnlQb2ludDogcGF0aCxcbiAgICAgICAgICBzb3VyY2VNYXA6IHNvdXJjZU1hcCA/PyBmYWxzZSxcbiAgICAgICAgICByZXBsYWNlU3RyaW5ncyxcbiAgICAgICAgfSksXG4gICAgICApLFxuICAgICAgcnVudGltZTogYXBwc3luYy5GdW5jdGlvblJ1bnRpbWUuSlNfMV8wXzAsXG4gICAgICAuLi5yZXNvbHZlclByb3BzLFxuICAgIH0pO1xuICB9XG59XG4iXX0=
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esbuild/linux-x64",
3
- "version": "0.25.10",
3
+ "version": "0.27.0",
4
4
  "description": "The Linux 64-bit binary for esbuild, a JavaScript bundler.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -201,7 +201,7 @@ for your current platform.`);
201
201
  "node_modules",
202
202
  ".cache",
203
203
  "esbuild",
204
- `pnpapi-${pkg.replace("/", "-")}-${"0.25.10"}-${path.basename(subpath)}`
204
+ `pnpapi-${pkg.replace("/", "-")}-${"0.27.0"}-${path.basename(subpath)}`
205
205
  );
206
206
  if (!fs.existsSync(binTargetPath)) {
207
207
  fs.mkdirSync(path.dirname(binTargetPath), { recursive: true });
@@ -643,8 +643,8 @@ function createChannel(streamIn) {
643
643
  if (isFirstPacket) {
644
644
  isFirstPacket = false;
645
645
  let binaryVersion = String.fromCharCode(...bytes);
646
- if (binaryVersion !== "0.25.10") {
647
- throw new Error(`Cannot start service: Host version "${"0.25.10"}" does not match binary version ${quote(binaryVersion)}`);
646
+ if (binaryVersion !== "0.27.0") {
647
+ throw new Error(`Cannot start service: Host version "${"0.27.0"}" does not match binary version ${quote(binaryVersion)}`);
648
648
  }
649
649
  return;
650
650
  }
@@ -1770,7 +1770,7 @@ for your current platform.`);
1770
1770
  "node_modules",
1771
1771
  ".cache",
1772
1772
  "esbuild",
1773
- `pnpapi-${pkg.replace("/", "-")}-${"0.25.10"}-${path.basename(subpath)}`
1773
+ `pnpapi-${pkg.replace("/", "-")}-${"0.27.0"}-${path.basename(subpath)}`
1774
1774
  );
1775
1775
  if (!fs.existsSync(binTargetPath)) {
1776
1776
  fs.mkdirSync(path.dirname(binTargetPath), { recursive: true });
@@ -1805,7 +1805,7 @@ if (process.env.ESBUILD_WORKER_THREADS !== "0") {
1805
1805
  }
1806
1806
  }
1807
1807
  var _a;
1808
- var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.25.10";
1808
+ var isInternalWorkerThread = ((_a = worker_threads == null ? void 0 : worker_threads.workerData) == null ? void 0 : _a.esbuildVersion) === "0.27.0";
1809
1809
  var esbuildCommandAndArgs = () => {
1810
1810
  if ((!ESBUILD_BINARY_PATH || false) && (path2.basename(__filename) !== "main.js" || path2.basename(__dirname) !== "lib")) {
1811
1811
  throw new Error(
@@ -1872,7 +1872,7 @@ var fsAsync = {
1872
1872
  }
1873
1873
  }
1874
1874
  };
1875
- var version = "0.25.10";
1875
+ var version = "0.27.0";
1876
1876
  var build = (options) => ensureServiceIsRunning().build(options);
1877
1877
  var context = (buildOptions) => ensureServiceIsRunning().context(buildOptions);
1878
1878
  var transform = (input, options) => ensureServiceIsRunning().transform(input, options);
@@ -1975,7 +1975,7 @@ var stopService;
1975
1975
  var ensureServiceIsRunning = () => {
1976
1976
  if (longLivedService) return longLivedService;
1977
1977
  let [command, args] = esbuildCommandAndArgs();
1978
- let child = child_process.spawn(command, args.concat(`--service=${"0.25.10"}`, "--ping"), {
1978
+ let child = child_process.spawn(command, args.concat(`--service=${"0.27.0"}`, "--ping"), {
1979
1979
  windowsHide: true,
1980
1980
  stdio: ["pipe", "pipe", "inherit"],
1981
1981
  cwd: defaultWD
@@ -2079,7 +2079,7 @@ var runServiceSync = (callback) => {
2079
2079
  esbuild: node_exports
2080
2080
  });
2081
2081
  callback(service);
2082
- let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.25.10"}`), {
2082
+ let stdout = child_process.execFileSync(command, args.concat(`--service=${"0.27.0"}`), {
2083
2083
  cwd: defaultWD,
2084
2084
  windowsHide: true,
2085
2085
  input: stdin,
@@ -2099,7 +2099,7 @@ var workerThreadService = null;
2099
2099
  var startWorkerThreadService = (worker_threads2) => {
2100
2100
  let { port1: mainPort, port2: workerPort } = new worker_threads2.MessageChannel();
2101
2101
  let worker = new worker_threads2.Worker(__filename, {
2102
- workerData: { workerPort, defaultWD, esbuildVersion: "0.25.10" },
2102
+ workerData: { workerPort, defaultWD, esbuildVersion: "0.27.0" },
2103
2103
  transferList: [workerPort],
2104
2104
  // From node's documentation: https://nodejs.org/api/worker_threads.html
2105
2105
  //
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esbuild",
3
- "version": "0.25.10",
3
+ "version": "0.27.0",
4
4
  "description": "An extremely fast JavaScript and CSS bundler and minifier.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,32 +18,32 @@
18
18
  "esbuild": "bin/esbuild"
19
19
  },
20
20
  "optionalDependencies": {
21
- "@esbuild/aix-ppc64": "0.25.10",
22
- "@esbuild/android-arm": "0.25.10",
23
- "@esbuild/android-arm64": "0.25.10",
24
- "@esbuild/android-x64": "0.25.10",
25
- "@esbuild/darwin-arm64": "0.25.10",
26
- "@esbuild/darwin-x64": "0.25.10",
27
- "@esbuild/freebsd-arm64": "0.25.10",
28
- "@esbuild/freebsd-x64": "0.25.10",
29
- "@esbuild/linux-arm": "0.25.10",
30
- "@esbuild/linux-arm64": "0.25.10",
31
- "@esbuild/linux-ia32": "0.25.10",
32
- "@esbuild/linux-loong64": "0.25.10",
33
- "@esbuild/linux-mips64el": "0.25.10",
34
- "@esbuild/linux-ppc64": "0.25.10",
35
- "@esbuild/linux-riscv64": "0.25.10",
36
- "@esbuild/linux-s390x": "0.25.10",
37
- "@esbuild/linux-x64": "0.25.10",
38
- "@esbuild/netbsd-arm64": "0.25.10",
39
- "@esbuild/netbsd-x64": "0.25.10",
40
- "@esbuild/openbsd-arm64": "0.25.10",
41
- "@esbuild/openbsd-x64": "0.25.10",
42
- "@esbuild/openharmony-arm64": "0.25.10",
43
- "@esbuild/sunos-x64": "0.25.10",
44
- "@esbuild/win32-arm64": "0.25.10",
45
- "@esbuild/win32-ia32": "0.25.10",
46
- "@esbuild/win32-x64": "0.25.10"
21
+ "@esbuild/aix-ppc64": "0.27.0",
22
+ "@esbuild/android-arm": "0.27.0",
23
+ "@esbuild/android-arm64": "0.27.0",
24
+ "@esbuild/android-x64": "0.27.0",
25
+ "@esbuild/darwin-arm64": "0.27.0",
26
+ "@esbuild/darwin-x64": "0.27.0",
27
+ "@esbuild/freebsd-arm64": "0.27.0",
28
+ "@esbuild/freebsd-x64": "0.27.0",
29
+ "@esbuild/linux-arm": "0.27.0",
30
+ "@esbuild/linux-arm64": "0.27.0",
31
+ "@esbuild/linux-ia32": "0.27.0",
32
+ "@esbuild/linux-loong64": "0.27.0",
33
+ "@esbuild/linux-mips64el": "0.27.0",
34
+ "@esbuild/linux-ppc64": "0.27.0",
35
+ "@esbuild/linux-riscv64": "0.27.0",
36
+ "@esbuild/linux-s390x": "0.27.0",
37
+ "@esbuild/linux-x64": "0.27.0",
38
+ "@esbuild/netbsd-arm64": "0.27.0",
39
+ "@esbuild/netbsd-x64": "0.27.0",
40
+ "@esbuild/openbsd-arm64": "0.27.0",
41
+ "@esbuild/openbsd-x64": "0.27.0",
42
+ "@esbuild/openharmony-arm64": "0.27.0",
43
+ "@esbuild/sunos-x64": "0.27.0",
44
+ "@esbuild/win32-arm64": "0.27.0",
45
+ "@esbuild/win32-ia32": "0.27.0",
46
+ "@esbuild/win32-x64": "0.27.0"
47
47
  },
48
48
  "license": "MIT"
49
49
  }
package/package.json CHANGED
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "devDependencies": {
38
38
  "@aws-appsync/utils": "^1.12.0",
39
- "@mrgrain/jsii-struct-builder": "^0.7.63",
39
+ "@mrgrain/jsii-struct-builder": "^0.7.64",
40
40
  "@stylistic/eslint-plugin": "^2",
41
41
  "@types/jest": "^29.5.14",
42
42
  "@types/node": "^20",
@@ -51,12 +51,12 @@
51
51
  "jest": "^29.7.0",
52
52
  "jest-junit": "^16",
53
53
  "jsii": "~5.5.0",
54
- "jsii-diff": "^1.115.0",
54
+ "jsii-diff": "^1.120.0",
55
55
  "jsii-docgen": "^10.5.0",
56
- "jsii-pacmak": "^1.115.0",
56
+ "jsii-pacmak": "^1.120.0",
57
57
  "jsii-rosetta": "~5.5.0",
58
- "projen": "^0.97.1",
59
- "ts-jest": "^29.4.4",
58
+ "projen": "^0.98.26",
59
+ "ts-jest": "^29.4.5",
60
60
  "ts-node": "^10.9.2",
61
61
  "typescript": "^5.9.3"
62
62
  },
@@ -65,7 +65,7 @@
65
65
  "constructs": "^10.0.5"
66
66
  },
67
67
  "dependencies": {
68
- "esbuild": "^0.25.10"
68
+ "esbuild": "^0.27.0"
69
69
  },
70
70
  "bundledDependencies": [
71
71
  "esbuild"
@@ -85,7 +85,7 @@
85
85
  "publishConfig": {
86
86
  "access": "public"
87
87
  },
88
- "version": "0.0.32",
88
+ "version": "0.0.34",
89
89
  "jest": {
90
90
  "coverageProvider": "v8",
91
91
  "testMatch": [