We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d3ad50 commit 2cff198Copy full SHA for 2cff198
src/worker.js
@@ -2,5 +2,5 @@ import { parentPort, workerData } from 'worker_threads';
2
import { jsonpath } from "json-p3";
3
4
const result = jsonpath.query(workerData.expression, workerData.input);
5
-parentPort.postMessage(result.valuesOrSingular());
+parentPort.postMessage(result.values());
6
process.exit();
0 commit comments