Skip to content

Commit e113154

Browse files
committed
added escape hatch for timeout
1 parent f36448f commit e113154

File tree

5 files changed

+51
-48
lines changed

5 files changed

+51
-48
lines changed

docs/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esm/worker/class.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ export default (...args) =>
3737
const [ config ] = getConfigURLAndType(options.config, options.configURL);
3838

3939
const serviceWorker = options?.serviceWorker || options?.service_worker;
40-
const worker = xworker({ serviceWorker });
40+
const worker = xworker({
41+
serviceWorker,
42+
reflected_ffi_timeout: globalThis.reflected_ffi_timeout ?? -1,
43+
});
4144
const { postMessage } = worker;
4245
const isHook = this instanceof Hook;
4346

package-lock.json

Lines changed: 41 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@zip.js/zip.js": "^2.7.62",
5454
"c8": "^10.1.3",
5555
"chokidar": "^4.0.3",
56-
"eslint": "^9.29.0",
56+
"eslint": "^9.30.0",
5757
"linkedom": "^0.18.11",
5858
"rollup": "^4.44.1",
5959
"static-handler": "^0.5.3",
@@ -88,13 +88,13 @@
8888
"@webreflection/utils": "^0.1.1",
8989
"basic-devtools": "^0.1.6",
9090
"codedent": "^0.1.2",
91-
"coincident": "^4.0.15",
91+
"coincident": "^4.0.17",
9292
"html-escaper": "^3.0.3",
93-
"reflected-ffi": "^0.5.2",
93+
"reflected-ffi": "^0.5.5",
9494
"sticky-module": "^0.1.1",
9595
"to-json-callback": "^0.1.1"
9696
},
9797
"worker": {
98-
"blob": "sha256-/cJsaebssHs2Bq9OfivO9Fa6Zno8CqJEmkDJBU+Fu1E="
98+
"blob": "sha256-jIy5auRDBv9Rs0LUokSihsdkOVSH42wBDT1u6db0Eow="
9999
}
100100
}

0 commit comments

Comments
 (0)