@vscode/diff 0.0.2-2 → 0.0.2-4
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.
|
Binary file
|
package/dist/wire.js
CHANGED
|
@@ -2048,7 +2048,7 @@ async function __wbg_init(module_or_path) {
|
|
|
2048
2048
|
}
|
|
2049
2049
|
|
|
2050
2050
|
if (module_or_path === undefined) {
|
|
2051
|
-
module_or_path = new URL(new URL('diff_wasm_bg-
|
|
2051
|
+
module_or_path = new URL(new URL('diff_wasm_bg-owI4Q-JK.wasm', import.meta.url).href);
|
|
2052
2052
|
}
|
|
2053
2053
|
const imports = __wbg_get_imports();
|
|
2054
2054
|
|
|
@@ -2094,7 +2094,7 @@ async function initWasm() {
|
|
|
2094
2094
|
return initPromise;
|
|
2095
2095
|
}
|
|
2096
2096
|
initPromise = (async () => {
|
|
2097
|
-
const wasmUrl = new URL(new URL('diff_wasm_bg-
|
|
2097
|
+
const wasmUrl = new URL(new URL('diff_wasm_bg-owI4Q-JK.wasm', import.meta.url).href);
|
|
2098
2098
|
// Node's undici fetch does not support file:// URLs, so read bytes ourselves.
|
|
2099
2099
|
let source = wasmUrl;
|
|
2100
2100
|
if (typeof process !== 'undefined' && process.versions?.node) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vscode/diff",
|
|
3
|
-
"version": "0.0.2-
|
|
3
|
+
"version": "0.0.2-4",
|
|
4
4
|
"description": "A high-performance diff algorithm implementation with WASM backend, ported from VS Code",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
"bench:build-rust": "cd rust && cargo build --profile bench-release --bin diff_batch",
|
|
33
33
|
"bench": "node bench/run-all.mjs",
|
|
34
34
|
"bench:playwright": "node bench/playwright/run.mjs",
|
|
35
|
-
"bench:playwright:check": "node bench/playwright/run.mjs --check 1",
|
|
36
35
|
"pack:tgz": "npm run build && node -e \"require('fs').mkdirSync('dist-pack',{recursive:true})\" && npm pack --pack-destination dist-pack",
|
|
37
36
|
"prepublishOnly": "npm run build"
|
|
38
37
|
},
|
|
Binary file
|