Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

Merge branch 'master' into feat/harper-binary-formats

Asuka10960d13be48fa0
diff --cc packages/harper.js/src/WorkerLinter/communication.ts
index d3f750605,4d623a6f3..655e78601
--- a/packages/harper.js/src/WorkerLinter/communication.ts
+++ b/packages/harper.js/src/WorkerLinter/communication.ts
@@@ -1,7 -1,8 +1,8 @@@
+import { binary, loadBinary } from '../binary';
+
/** This module aims to define the communication protocol between the main thread and the worker.
- * Note that most of the complication here comes from the fact that we can't serialize function calls or referenced WebAssembly memory.*/
+ * Note that much of the complication here comes from the fact that we can't serialize function calls or referenced WebAssembly memory.*/
+
-import loadWasm from '../loadWasm';
-
export type Type =
| 'string'
| 'number'
diff --cc packages/yarn.lock
index d8a4d92e8,9a4445f33..9e254a151
--- a/packages/yarn.lock
+++ b/packages/yarn.lock
@@@ -5130,12 -5130,8 +5130,12 @@@ gzip-size@^6.0.0
dependencies:
duplexer "^0.1.2"
+"harper-wasm@link:../harper-wasm/pkg":
+ version "0.0.0"
+ uid ""
+
"harper.js@link:harper.js":
-- version "0.19.1"
++ version "0.20.0"
has-bigints@^1.0.2:
version "1.1.0"