@dev-pi2pie/word-counter 0.1.5-canary.4 → 0.1.5
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/README.md +60 -5
- package/dist/esm/bin.mjs +1010 -136
- package/dist/esm/bin.mjs.map +1 -1
- package/dist/esm/worker/count-worker.mjs +1 -1
- package/dist/esm/worker/count-worker.mjs.map +1 -1
- package/dist/esm/worker-pool.mjs +1 -0
- package/dist/esm/worker-pool.mjs.map +1 -1
- package/dist/wasm-language-detector/language_detector_bg.wasm +0 -0
- package/package.json +7 -7
|
@@ -2425,7 +2425,7 @@ parentPort.on("message", async (message) => {
|
|
|
2425
2425
|
parentPort?.postMessage(response);
|
|
2426
2426
|
return;
|
|
2427
2427
|
}
|
|
2428
|
-
if (isProbablyBinary(buffer)) {
|
|
2428
|
+
if (config.detectBinary && isProbablyBinary(buffer)) {
|
|
2429
2429
|
const response = {
|
|
2430
2430
|
type: "result",
|
|
2431
2431
|
taskId: message.taskId,
|