@qaecy/cue-cli 0.0.26 → 0.0.27
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/main.js +5 -5
- package/package.json +1 -2
package/main.js
CHANGED
|
@@ -4776,7 +4776,7 @@ var CueBlobStorage = class {
|
|
|
4776
4776
|
// libs/js/cue-sdk/src/lib/sync.ts
|
|
4777
4777
|
var import_promises3 = require("fs/promises");
|
|
4778
4778
|
var import_path3 = require("path");
|
|
4779
|
-
var
|
|
4779
|
+
var import_url = require("url");
|
|
4780
4780
|
|
|
4781
4781
|
// libs/js/models/src/lib/file-extensions.ts
|
|
4782
4782
|
var fileExtensionsInfo = {
|
|
@@ -5880,12 +5880,12 @@ var _scanFn = null;
|
|
|
5880
5880
|
var _fileMapFn = null;
|
|
5881
5881
|
var _wasmInitPromise = null;
|
|
5882
5882
|
async function _initWasm() {
|
|
5883
|
-
const
|
|
5884
|
-
const
|
|
5885
|
-
const
|
|
5883
|
+
const wasmDir = (0, import_path3.join)(__dirname, "assets", "wasm");
|
|
5884
|
+
const wasmBinary = await (0, import_promises3.readFile)((0, import_path3.join)(wasmDir, "dir_scanner_wasm_bg.wasm"));
|
|
5885
|
+
const glueUrl = (0, import_url.pathToFileURL)((0, import_path3.join)(wasmDir, "dir_scanner_wasm.js")).href;
|
|
5886
5886
|
const mod = await import(
|
|
5887
5887
|
/* @vite-ignore */
|
|
5888
|
-
|
|
5888
|
+
glueUrl
|
|
5889
5889
|
);
|
|
5890
5890
|
await mod.default({ module_or_path: wasmBinary });
|
|
5891
5891
|
_scanFn = mod.scan;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qaecy/cue-cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.27",
|
|
4
4
|
"description": "Cue CLI for QAECY platform",
|
|
5
5
|
"main": "main.js",
|
|
6
6
|
"bin": {
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
"@google-cloud/pubsub": "4.4.1",
|
|
18
18
|
"axios": "1.14.0",
|
|
19
19
|
"commander": "13.1.0",
|
|
20
|
-
"dir-scanner-wasm": "0.1.0",
|
|
21
20
|
"firebase": "12.4.0",
|
|
22
21
|
"jsonld": "8.3.3",
|
|
23
22
|
"jszip": "3.10.1",
|