taglib-wasm 0.3.16 → 0.3.18
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/dist/index.js +1 -1
- package/dist/src/wasm-workers.js +1 -1
- package/package.json +5 -1
package/dist/index.js
CHANGED
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
} from "./src/web-utils.js";
|
|
70
70
|
import { PictureType } from "./src/types.js";
|
|
71
71
|
async function loadTagLibModule() {
|
|
72
|
-
const { default: createTagLibModule } = await import("./
|
|
72
|
+
const { default: createTagLibModule } = await import("./taglib-wrapper.js");
|
|
73
73
|
const module = await createTagLibModule();
|
|
74
74
|
return module;
|
|
75
75
|
}
|
package/dist/src/wasm-workers.js
CHANGED
|
@@ -67,7 +67,7 @@ async function loadTagLibModuleForWorkers(wasmBinary, config = {}) {
|
|
|
67
67
|
}
|
|
68
68
|
async function createWorkersCompatibleModule() {
|
|
69
69
|
try {
|
|
70
|
-
const wasmModule = await import("../
|
|
70
|
+
const wasmModule = await import("../taglib-wrapper.js");
|
|
71
71
|
return wasmModule.default || wasmModule;
|
|
72
72
|
} catch (error) {
|
|
73
73
|
throw new TagLibInitializationError(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "taglib-wasm",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.18",
|
|
4
4
|
"description": "TagLib for TypeScript platforms: Deno, Node.js, Bun, Electron, browsers, and Cloudflare Workers",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -41,6 +41,10 @@
|
|
|
41
41
|
"test:node": "tsx --test tests/index.test.ts",
|
|
42
42
|
"test:watch": "deno test --allow-read --allow-write --watch tests/",
|
|
43
43
|
"test:coverage": "deno test --allow-read --allow-write --coverage=coverage tests/ && deno coverage coverage",
|
|
44
|
+
"test:local": "./scripts/test-local-package.sh",
|
|
45
|
+
"test:deno-quick": "./scripts/quick-deno-test.ts",
|
|
46
|
+
"test:deno-imports": "./scripts/test-deno-imports.sh",
|
|
47
|
+
"test:amusic": "./scripts/test-with-amusic.sh",
|
|
44
48
|
"docs:dev": "cd docs && npm install && npm run dev",
|
|
45
49
|
"docs:build": "cd docs && npm install && npm run build",
|
|
46
50
|
"update-taglib": "./scripts/update-taglib.sh",
|