@arcjet/redact-wasm 1.10.0-rc.1 → 1.11.0

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.
@@ -257,8 +257,10 @@ function instantiate(getCoreModule, imports, instantiateCore = WebAssembly.insta
257
257
  do
258
258
  ({value, done} = gen.next(value));
259
259
  while (!(value instanceof Promise) && !done);
260
- if (done) if (resolve) resolve(value);
261
- else return value;
260
+ if (done) {
261
+ if (resolve) resolve(value);
262
+ else return value;
263
+ }
262
264
  if (!promise) promise = new Promise((_resolve, _reject) => (resolve = _resolve, reject = _reject));
263
265
  value.then((nextVal) => done ? resolve() : runNext(nextVal), reject);
264
266
  } catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcjet/redact-wasm",
3
- "version": "1.10.0-rc.1",
3
+ "version": "1.11.0",
4
4
  "description": "Arcjet sensitive information redaction detection engine",
5
5
  "keywords": [
6
6
  "arcjet",
@@ -63,7 +63,7 @@
63
63
  "devDependencies": {
64
64
  "@bytecodealliance/jco": "1.5.0",
65
65
  "@types/node": "22.20.1",
66
- "tsdown": "0.22.7",
66
+ "tsdown": "0.22.14",
67
67
  "typescript": "7.0.2"
68
68
  },
69
69
  "engines": {