@deepseek-ai/libreoffice-kit 0.0.2-rc7 → 0.0.2-rc8
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/lib/browser-assets.js
CHANGED
|
@@ -47,7 +47,7 @@ async function readEngine(packageFile) {
|
|
|
47
47
|
const root = dirname(packageFile);
|
|
48
48
|
const [pkg, manifest] = await Promise.all([readFile(packageFile, "utf8").then((text) => JSON.parse(text)), readFile(resolve(root, "prebuilds.json"), "utf8").then((text) => JSON.parse(text))]);
|
|
49
49
|
const engine = manifest.engine;
|
|
50
|
-
if (pkg.name !== `${ENGINE_PREFIX}-wasm` || pkg.version !== "0.0.2-
|
|
50
|
+
if (pkg.name !== `${ENGINE_PREFIX}-wasm` || pkg.version !== "0.0.2-rc8" || manifest.version !== pkg.version || manifest.schemaVersion !== 1 || manifest.status !== "built" || engine === void 0 || engine.kind !== "wasm" || manifest.platform !== "wasm") throw new Error("Installed LibreOfficeKit wasm package has an incompatible or incomplete manifest.");
|
|
51
51
|
if (engine.glibcMinimum !== void 0) throw new Error("Installed LibreOfficeKit engine has an invalid glibcMinimum.");
|
|
52
52
|
return {
|
|
53
53
|
backend: "wasm",
|
package/lib/cli.js
CHANGED
|
@@ -733,7 +733,7 @@ const require = createRequire(import.meta.url);
|
|
|
733
733
|
* Engine-family version every installed engine package must carry. The engine
|
|
734
734
|
* family shares its release version with this Node API.
|
|
735
735
|
*/
|
|
736
|
-
const ENGINE_VERSION = "0.0.2-
|
|
736
|
+
const ENGINE_VERSION = "0.0.2-rc8";
|
|
737
737
|
/** npm scope and name prefix shared by the engine packages this adapter installs. */
|
|
738
738
|
const ENGINE_PREFIX = "@deepseek-ai/libreoffice-kit";
|
|
739
739
|
/**
|
|
@@ -774,7 +774,7 @@ async function readEngine(packageFile) {
|
|
|
774
774
|
const root = dirname(packageFile);
|
|
775
775
|
const [pkg, manifest] = await Promise.all([readFile(packageFile, "utf8").then((text) => JSON.parse(text)), readFile(resolve(root, "prebuilds.json"), "utf8").then((text) => JSON.parse(text))]);
|
|
776
776
|
const engine = manifest.engine;
|
|
777
|
-
if (pkg.name !== `${ENGINE_PREFIX}-wasm` || pkg.version !== "0.0.2-
|
|
777
|
+
if (pkg.name !== `${ENGINE_PREFIX}-wasm` || pkg.version !== "0.0.2-rc8" || manifest.version !== pkg.version || manifest.schemaVersion !== 1 || manifest.status !== "built" || engine === void 0 || engine.kind !== "wasm" || manifest.platform !== "wasm") throw new Error("Installed LibreOfficeKit wasm package has an incompatible or incomplete manifest.");
|
|
778
778
|
if (engine.glibcMinimum !== void 0) throw new Error("Installed LibreOfficeKit engine has an invalid glibcMinimum.");
|
|
779
779
|
return {
|
|
780
780
|
backend: "wasm",
|
package/lib/index.js
CHANGED
|
@@ -731,7 +731,7 @@ const require = createRequire(import.meta.url);
|
|
|
731
731
|
* Engine-family version every installed engine package must carry. The engine
|
|
732
732
|
* family shares its release version with this Node API.
|
|
733
733
|
*/
|
|
734
|
-
const ENGINE_VERSION = "0.0.2-
|
|
734
|
+
const ENGINE_VERSION = "0.0.2-rc8";
|
|
735
735
|
/** npm scope and name prefix shared by the engine packages this adapter installs. */
|
|
736
736
|
const ENGINE_PREFIX = "@deepseek-ai/libreoffice-kit";
|
|
737
737
|
/**
|
|
@@ -772,7 +772,7 @@ async function readEngine(packageFile) {
|
|
|
772
772
|
const root = dirname(packageFile);
|
|
773
773
|
const [pkg, manifest] = await Promise.all([readFile(packageFile, "utf8").then((text) => JSON.parse(text)), readFile(resolve(root, "prebuilds.json"), "utf8").then((text) => JSON.parse(text))]);
|
|
774
774
|
const engine = manifest.engine;
|
|
775
|
-
if (pkg.name !== `${ENGINE_PREFIX}-wasm` || pkg.version !== "0.0.2-
|
|
775
|
+
if (pkg.name !== `${ENGINE_PREFIX}-wasm` || pkg.version !== "0.0.2-rc8" || manifest.version !== pkg.version || manifest.schemaVersion !== 1 || manifest.status !== "built" || engine === void 0 || engine.kind !== "wasm" || manifest.platform !== "wasm") throw new Error("Installed LibreOfficeKit wasm package has an incompatible or incomplete manifest.");
|
|
776
776
|
if (engine.glibcMinimum !== void 0) throw new Error("Installed LibreOfficeKit engine has an invalid glibcMinimum.");
|
|
777
777
|
return {
|
|
778
778
|
backend: "wasm",
|
package/lib/types/engine.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Engine-family version every installed engine package must carry. The engine
|
|
3
3
|
* family shares its release version with this Node API.
|
|
4
4
|
*/
|
|
5
|
-
export declare const ENGINE_VERSION = "0.0.2-
|
|
5
|
+
export declare const ENGINE_VERSION = "0.0.2-rc8";
|
|
6
6
|
/** Host diagnostic fields used to identify the runtime glibc version. */
|
|
7
7
|
export interface EngineHostReport {
|
|
8
8
|
readonly header?: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/libreoffice-kit",
|
|
3
3
|
"description": "WASM Office previews, document images, and conversion for Node and browsers",
|
|
4
|
-
"version": "0.0.2-
|
|
4
|
+
"version": "0.0.2-rc8",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"fflate": "0.8.2",
|
|
86
86
|
"fontkit": "2.0.4",
|
|
87
87
|
"saxes": "6.0.0",
|
|
88
|
-
"@deepseek-ai/libreoffice-kit-wasm": "0.0.2-
|
|
88
|
+
"@deepseek-ai/libreoffice-kit-wasm": "0.0.2-rc8"
|
|
89
89
|
},
|
|
90
90
|
"bin": {
|
|
91
91
|
"libreoffice-kit": "./lib/cli.js"
|