@deepseek-ai/libreoffice-kit-wasm 0.2.3 → 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.
package/assets/dsoffice.data
CHANGED
|
Binary file
|
package/assets/dsoffice.wasm
CHANGED
package/assets/manifest.json
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
"programPath": "/instdir/program",
|
|
9
9
|
"version": "26.8.0.3",
|
|
10
10
|
"sourceCommit": "bce0998afefdbc355585ca324285661a2170ba77",
|
|
11
|
-
"buildId": "
|
|
11
|
+
"buildId": "9c8e37ffff5b90a29fc022483e939bd0ce0d6cf35195f1a3ddbd962047afe9f3",
|
|
12
12
|
"files": {
|
|
13
13
|
"dsoffice.cjs": "c9248ef54385015475b15ae2baca41d9f7a8bd0b8538904da6a1fcd16c5305a1",
|
|
14
|
-
"dsoffice.wasm": "
|
|
15
|
-
"dsoffice.data": "
|
|
14
|
+
"dsoffice.wasm": "81cc5af68ba6b8a69fc74bfd072aa2e1d00df188610317371b7feb453269cdd5",
|
|
15
|
+
"dsoffice.data": "5f5cf84d738229bc69c8bcf97f65afb2de9244907c2911054b293086ce478a3e",
|
|
16
16
|
"dsoffice.data.js.metadata": "ffab1d431c3ecdac3f2438f5e229b2e9a83364fed02b1732e5c327ab43d6b04d"
|
|
17
17
|
},
|
|
18
18
|
"inputs": {
|
|
@@ -86,8 +86,8 @@
|
|
|
86
86
|
},
|
|
87
87
|
"compiledFiles": {
|
|
88
88
|
"soffice.cjs": "e3b801fe19153e5b26daa6a601c9114348478206204914fb22edcdae4a1edb37",
|
|
89
|
-
"soffice.wasm": "
|
|
90
|
-
"soffice.data": "
|
|
89
|
+
"soffice.wasm": "81cc5af68ba6b8a69fc74bfd072aa2e1d00df188610317371b7feb453269cdd5",
|
|
90
|
+
"soffice.data": "62437fcfc0329ff6152e76bea40930da2f9a41f40b5bb5380ab6ae75311dac59",
|
|
91
91
|
"soffice.data.js.metadata": "6baffa996f1895927f9a4058762c13dae5b9c5c3c08b97c5721fedf5745d4399"
|
|
92
92
|
}
|
|
93
93
|
}
|
package/package.json
CHANGED
package/prebuilds.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"platform": "wasm",
|
|
5
5
|
"status": "built",
|
|
6
6
|
"engine": {
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
},
|
|
14
14
|
"files": {
|
|
15
15
|
"assets/dsoffice.cjs": "c9248ef54385015475b15ae2baca41d9f7a8bd0b8538904da6a1fcd16c5305a1",
|
|
16
|
-
"assets/dsoffice.data": "
|
|
16
|
+
"assets/dsoffice.data": "5f5cf84d738229bc69c8bcf97f65afb2de9244907c2911054b293086ce478a3e",
|
|
17
17
|
"assets/dsoffice.data.js.metadata": "ffab1d431c3ecdac3f2438f5e229b2e9a83364fed02b1732e5c327ab43d6b04d",
|
|
18
|
-
"assets/dsoffice.wasm": "
|
|
19
|
-
"assets/manifest.json": "
|
|
18
|
+
"assets/dsoffice.wasm": "81cc5af68ba6b8a69fc74bfd072aa2e1d00df188610317371b7feb453269cdd5",
|
|
19
|
+
"assets/manifest.json": "c03e8733b97ddee0ac4ab444fac7404175ac23ba8e117e7102ef8a1e41b60b69",
|
|
20
20
|
"sources/build-autogen.input": "faca029e22789782244ec291b83f33f7c8f540f4f79e6e0d87b3ca66dbd016eb",
|
|
21
21
|
"sources/core-source.json": "39340edab26fd8f702380a0b9fedcfcc6a181793b46dd6d7dee01fa80a2458f0",
|
|
22
22
|
"sources/docs/ui-resources.md": "9610e6ca8919d0b6638d8d445172c5a1679bdae4bbbeeec35be8b3d7faad36e6",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"sources/scripts/core-checkout.mjs": "12dc726a3fe712b77aea1a4ddf2b8a482b984774e2a88f3576fe3eac58effff4",
|
|
55
55
|
"sources/scripts/minimize-ui-resources.py": "91f5f21b8ea240c2dfddd0811e52135526d4542d2375be05f5d2ab2046ebf502",
|
|
56
56
|
"sources/scripts/pack-utils.mjs": "aa5368e0dd38d90459f0ef14e1d4b27740aef2f4e46617aca6d6fafed0577a44",
|
|
57
|
-
"sources/scripts/platform-matrix.mjs": "
|
|
58
|
-
"sources/scripts/verify-artifacts.mjs": "
|
|
57
|
+
"sources/scripts/platform-matrix.mjs": "69f608fb5d4dfe0a0bcff53971090a4fcb7aadac80ff70f57a1b2c50c3f6954d",
|
|
58
|
+
"sources/scripts/verify-artifacts.mjs": "820b55d450e85b70f2154437d59ea02d50d0de833dc687f2b3bea38d7e0ba94b",
|
|
59
59
|
"sources/source-changes.patch": "8f94553fe894d02f783f441c21a92b2d0751be15269dd9cd3f2a4d930a7913a4",
|
|
60
60
|
"licenses/DeepSeek-Harness-MIT.txt": "637f43ba3b0193253cd80de6ce6ed4ed4d8a34eac84f6aaa7cc14f532e36318f",
|
|
61
61
|
"licenses/LICENSE": "31c915ae5b7eafe51f06fc2537d2e7fefdee08e40d6b0d761d03d9f0fd58d660",
|
|
@@ -60,9 +60,13 @@ export function matchesReleaseTag(tag, version) {
|
|
|
60
60
|
&& tag.startsWith(`${base}+candidate.`) && /^[1-9]\d*$/.test(tag.slice(`${base}+candidate.`.length)));
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
/**
|
|
63
|
+
/**
|
|
64
|
+
* Engines offering native preview, matching the adapter's discoverRuntime().nativePreview. Retained 0.1.x helpers
|
|
65
|
+
* provide conversion and raster output without the native preview protocol, and Linux engines are qualified for
|
|
66
|
+
* conversion and rendering only, so host qualification records preview evidence for macOS and Windows engines alone.
|
|
67
|
+
*/
|
|
64
68
|
export function supportsNativePreview(record) {
|
|
65
|
-
return record.platform !== 'wasm' && !['0.1.1', '0.1.5'].includes(record.version);
|
|
69
|
+
return record.platform !== 'wasm' && targets[record.platform]?.os !== 'linux' && !['0.1.1', '0.1.5'].includes(record.version);
|
|
66
70
|
}
|
|
67
71
|
|
|
68
72
|
/**
|
|
@@ -88,7 +88,9 @@ export function verifyEngineMetadata(manifest, prebuild) {
|
|
|
88
88
|
}
|
|
89
89
|
const exact = (actual, expected) => JSON.stringify(actual) === JSON.stringify(expected);
|
|
90
90
|
if (prebuild.platform === 'wasm') {
|
|
91
|
-
|
|
91
|
+
// WASM is never an adapter dependency; consumers add it explicitly, on any host, without --force.
|
|
92
|
+
assert(manifest.os === undefined && manifest.cpu === undefined && manifest.libc === undefined,
|
|
93
|
+
'WASM package must not restrict os, cpu, or libc');
|
|
92
94
|
assert(engine?.kind === 'wasm' && engine.loader === 'assets/dsoffice.cjs' && engine.wasm === 'assets/dsoffice.wasm'
|
|
93
95
|
&& engine.data === 'assets/dsoffice.data' && engine.metadata === 'assets/dsoffice.data.js.metadata'
|
|
94
96
|
&& engine.programDirectory === '/instdir/program', 'Unsupported WASM engine paths');
|