@kreuzberg/wasm 4.3.2 → 4.3.3
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 +1 -1
- package/dist/pkg/README.md +1 -1
- package/dist/pkg/kreuzberg_wasm.js +1 -1
- package/dist/pkg/kreuzberg_wasm_bg.js +1 -1
- package/dist/pkg/kreuzberg_wasm_bg.wasm +0 -0
- package/dist/pkg/package.json +1 -1
- package/package.json +120 -120
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<img src="https://img.shields.io/maven-central/v/dev.kreuzberg/kreuzberg?label=Java&color=007ec6" alt="Java">
|
|
23
23
|
</a>
|
|
24
24
|
<a href="https://github.com/kreuzberg-dev/kreuzberg/releases">
|
|
25
|
-
<img src="https://img.shields.io/github/v/tag/kreuzberg-dev/kreuzberg?label=Go&color=007ec6&filter=v4.3.
|
|
25
|
+
<img src="https://img.shields.io/github/v/tag/kreuzberg-dev/kreuzberg?label=Go&color=007ec6&filter=v4.3.3" alt="Go">
|
|
26
26
|
</a>
|
|
27
27
|
<a href="https://www.nuget.org/packages/Kreuzberg/">
|
|
28
28
|
<img src="https://img.shields.io/nuget/v/Kreuzberg?label=C%23&color=007ec6" alt="C#">
|
package/dist/pkg/README.md
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<img src="https://img.shields.io/maven-central/v/dev.kreuzberg/kreuzberg?label=Java&color=007ec6" alt="Java">
|
|
23
23
|
</a>
|
|
24
24
|
<a href="https://github.com/kreuzberg-dev/kreuzberg/releases">
|
|
25
|
-
<img src="https://img.shields.io/github/v/tag/kreuzberg-dev/kreuzberg?label=Go&color=007ec6&filter=v4.3.
|
|
25
|
+
<img src="https://img.shields.io/github/v/tag/kreuzberg-dev/kreuzberg?label=Go&color=007ec6&filter=v4.3.3" alt="Go">
|
|
26
26
|
</a>
|
|
27
27
|
<a href="https://www.nuget.org/packages/Kreuzberg/">
|
|
28
28
|
<img src="https://img.shields.io/nuget/v/Kreuzberg?label=C%23&color=007ec6" alt="C#">
|
|
@@ -1494,7 +1494,7 @@ function __wbg_get_imports() {
|
|
|
1494
1494
|
console.warn(arg0);
|
|
1495
1495
|
},
|
|
1496
1496
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1497
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1497
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2159, function: Function { arguments: [Externref], shim_idx: 2160, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1498
1498
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_76d1fb7578f82b73___closure__destroy___dyn_core_dde6c4b55a98adc4___ops__function__FnMut__wasm_bindgen_76d1fb7578f82b73___JsValue____Output_______, wasm_bindgen_76d1fb7578f82b73___convert__closures_____invoke___wasm_bindgen_76d1fb7578f82b73___JsValue_____);
|
|
1499
1499
|
return ret;
|
|
1500
1500
|
},
|
|
@@ -1488,7 +1488,7 @@ export function __wbg_warn_f7ae1b2e66ccb930(arg0) {
|
|
|
1488
1488
|
console.warn(arg0);
|
|
1489
1489
|
}
|
|
1490
1490
|
export function __wbindgen_cast_0000000000000001(arg0, arg1) {
|
|
1491
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1491
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2159, function: Function { arguments: [Externref], shim_idx: 2160, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1492
1492
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_76d1fb7578f82b73___closure__destroy___dyn_core_dde6c4b55a98adc4___ops__function__FnMut__wasm_bindgen_76d1fb7578f82b73___JsValue____Output_______, wasm_bindgen_76d1fb7578f82b73___convert__closures_____invoke___wasm_bindgen_76d1fb7578f82b73___JsValue_____);
|
|
1493
1493
|
return ret;
|
|
1494
1494
|
}
|
|
Binary file
|
package/dist/pkg/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,122 +1,122 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
2
|
+
"name": "@kreuzberg/wasm",
|
|
3
|
+
"version": "4.3.3",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"packageManager": "pnpm@10.17.0",
|
|
6
|
+
"description": "Kreuzberg document intelligence - WebAssembly bindings",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "Na'aman Hirschfeld",
|
|
9
|
+
"email": "nhirschfeld@gmail.com",
|
|
10
|
+
"url": "https://kreuzberg.dev"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://kreuzberg.dev",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/kreuzberg-dev/kreuzberg/issues"
|
|
15
|
+
},
|
|
16
|
+
"main": "dist/index.js",
|
|
17
|
+
"module": "dist/index.js",
|
|
18
|
+
"types": "dist/index.d.ts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"import": "./dist/index.js",
|
|
23
|
+
"default": "./dist/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./dist/pkg/*": "./dist/pkg/*",
|
|
26
|
+
"./dist/kreuzberg_wasm.js": "./dist/kreuzberg_wasm.js",
|
|
27
|
+
"./kreuzberg_wasm_bg.wasm": "./dist/pkg/kreuzberg_wasm_bg.wasm",
|
|
28
|
+
"./runtime": {
|
|
29
|
+
"types": "./dist/runtime.d.ts",
|
|
30
|
+
"import": "./dist/runtime.js",
|
|
31
|
+
"default": "./dist/runtime.js"
|
|
32
|
+
},
|
|
33
|
+
"./adapters/wasm-adapter": {
|
|
34
|
+
"types": "./dist/adapters/wasm-adapter.d.ts",
|
|
35
|
+
"import": "./dist/adapters/wasm-adapter.js",
|
|
36
|
+
"default": "./dist/adapters/wasm-adapter.js"
|
|
37
|
+
},
|
|
38
|
+
"./ocr/registry": {
|
|
39
|
+
"types": "./dist/ocr/registry.d.ts",
|
|
40
|
+
"import": "./dist/ocr/registry.js",
|
|
41
|
+
"default": "./dist/ocr/registry.js"
|
|
42
|
+
},
|
|
43
|
+
"./ocr/tesseract-wasm-backend": {
|
|
44
|
+
"types": "./dist/ocr/tesseract-wasm-backend.d.ts",
|
|
45
|
+
"import": "./dist/ocr/tesseract-wasm-backend.js",
|
|
46
|
+
"default": "./dist/ocr/tesseract-wasm-backend.js"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"repository": {
|
|
50
|
+
"type": "git",
|
|
51
|
+
"url": "https://github.com/kreuzberg-dev/kreuzberg.git"
|
|
52
|
+
},
|
|
53
|
+
"license": "MIT",
|
|
54
|
+
"keywords": [
|
|
55
|
+
"wasm",
|
|
56
|
+
"webassembly",
|
|
57
|
+
"document-intelligence",
|
|
58
|
+
"document-extraction",
|
|
59
|
+
"text-extraction",
|
|
60
|
+
"pdf-extraction",
|
|
61
|
+
"ocr",
|
|
62
|
+
"pdf",
|
|
63
|
+
"docx",
|
|
64
|
+
"xlsx",
|
|
65
|
+
"pptx",
|
|
66
|
+
"office-documents",
|
|
67
|
+
"table-extraction",
|
|
68
|
+
"metadata-extraction",
|
|
69
|
+
"rust",
|
|
70
|
+
"binding",
|
|
71
|
+
"typescript"
|
|
72
|
+
],
|
|
73
|
+
"files": [
|
|
74
|
+
"dist",
|
|
75
|
+
"pkg",
|
|
76
|
+
"*.wasm",
|
|
77
|
+
"*.d.ts",
|
|
78
|
+
"pdfium.js",
|
|
79
|
+
"README.md"
|
|
80
|
+
],
|
|
81
|
+
"engines": {
|
|
82
|
+
"node": ">= 16"
|
|
83
|
+
},
|
|
84
|
+
"publishConfig": {
|
|
85
|
+
"registry": "https://registry.npmjs.org/",
|
|
86
|
+
"access": "public"
|
|
87
|
+
},
|
|
88
|
+
"scripts": {
|
|
89
|
+
"build:wasm:web": "wasm-pack build --target web --out-dir pkg --release",
|
|
90
|
+
"build:wasm:bundler": "wasm-pack build --target bundler --out-dir pkg --release",
|
|
91
|
+
"build:wasm:nodejs": "wasm-pack build --target nodejs --out-dir pkg-nodejs --release",
|
|
92
|
+
"build:wasm:deno": "wasm-pack build --target deno --out-dir pkg --release",
|
|
93
|
+
"build:ts": "tsup && tsc --emitDeclarationOnly && node scripts/fix-type-exports.js",
|
|
94
|
+
"build:ts:minify": "tsup --minify && tsc --emitDeclarationOnly && node scripts/fix-type-exports.js",
|
|
95
|
+
"copy:pkg": "node scripts/copy-pkg.js",
|
|
96
|
+
"build": "npm run build:wasm:web && npm run build:ts && npm run copy:pkg",
|
|
97
|
+
"build:ci": "npm run build:wasm:web && npm run build:ts:minify && npm run copy:pkg",
|
|
98
|
+
"build:all": "npm run build:wasm:web && npm run build:wasm:bundler && npm run build:wasm:nodejs && npm run build:wasm:deno && npm run build:ts && npm run copy:pkg",
|
|
99
|
+
"typecheck": "tsc --noEmit",
|
|
100
|
+
"lint": "biome check typescript && oxlint typescript",
|
|
101
|
+
"lint:fix": "biome check --write typescript",
|
|
102
|
+
"format": "biome format --write typescript",
|
|
103
|
+
"test": "vitest run",
|
|
104
|
+
"test:watch": "vitest",
|
|
105
|
+
"test:coverage": "vitest run --coverage",
|
|
106
|
+
"test:ui": "vitest --ui",
|
|
107
|
+
"prepublishOnly": "npm run build"
|
|
108
|
+
},
|
|
109
|
+
"devDependencies": {
|
|
110
|
+
"@types/node": "^25.2.3",
|
|
111
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
112
|
+
"@vitest/ui": "^4.0.18",
|
|
113
|
+
"jsdom": "^28.0.0",
|
|
114
|
+
"oxlint": "^1.47.0",
|
|
115
|
+
"tsup": "^8.5.1",
|
|
116
|
+
"typescript": "^5.9.3",
|
|
117
|
+
"vitest": "^4.0.18"
|
|
118
|
+
},
|
|
119
|
+
"optionalDependencies": {
|
|
120
|
+
"tesseract-wasm": "^0.11.0"
|
|
121
|
+
}
|
|
122
122
|
}
|