@deepseek-ai/libreoffice-kit 0.1.0 → 0.1.1
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/cli.js +2 -2
- package/lib/index.js +2 -2
- package/lib/types/engine.d.ts +1 -1
- package/package.json +6 -6
package/lib/cli.js
CHANGED
|
@@ -1215,7 +1215,7 @@ const require = createRequire(import.meta.url);
|
|
|
1215
1215
|
* Engine-family version every installed engine package must carry. The engine
|
|
1216
1216
|
* family shares its release version with this Node API.
|
|
1217
1217
|
*/
|
|
1218
|
-
const ENGINE_VERSION = "0.1.
|
|
1218
|
+
const ENGINE_VERSION = "0.1.1";
|
|
1219
1219
|
/** npm scope and name prefix shared by the engine packages this adapter installs. */
|
|
1220
1220
|
const ENGINE_PREFIX = "@deepseek-ai/libreoffice-kit";
|
|
1221
1221
|
/**
|
|
@@ -1294,7 +1294,7 @@ async function readEngine(packageFile, backend, target) {
|
|
|
1294
1294
|
const root = dirname(packageFile);
|
|
1295
1295
|
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))]);
|
|
1296
1296
|
const engine = manifest.engine;
|
|
1297
|
-
if (pkg.name !== `${ENGINE_PREFIX}-${target}` || pkg.version !== "0.1.
|
|
1297
|
+
if (pkg.name !== `${ENGINE_PREFIX}-${target}` || pkg.version !== "0.1.1" || manifest.version !== pkg.version || manifest.schemaVersion !== 1 || manifest.status !== "built" || engine === void 0 || engine.kind !== backend || manifest.platform !== target) throw new Error(`Installed LibreOfficeKit ${backend} package has an incompatible or incomplete manifest.`);
|
|
1298
1298
|
const minimum = engine.glibcMinimum;
|
|
1299
1299
|
if (minimum !== void 0 && (!target.endsWith("-glibc") || !glibcVersion(minimum))) throw new Error("Installed LibreOfficeKit engine has an invalid glibcMinimum.");
|
|
1300
1300
|
const glibcFloor = minimum === void 0 ? {} : { glibcMinimum: minimum };
|
package/lib/index.js
CHANGED
|
@@ -1213,7 +1213,7 @@ const require = createRequire(import.meta.url);
|
|
|
1213
1213
|
* Engine-family version every installed engine package must carry. The engine
|
|
1214
1214
|
* family shares its release version with this Node API.
|
|
1215
1215
|
*/
|
|
1216
|
-
const ENGINE_VERSION = "0.1.
|
|
1216
|
+
const ENGINE_VERSION = "0.1.1";
|
|
1217
1217
|
/** npm scope and name prefix shared by the engine packages this adapter installs. */
|
|
1218
1218
|
const ENGINE_PREFIX = "@deepseek-ai/libreoffice-kit";
|
|
1219
1219
|
/**
|
|
@@ -1292,7 +1292,7 @@ async function readEngine(packageFile, backend, target) {
|
|
|
1292
1292
|
const root = dirname(packageFile);
|
|
1293
1293
|
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))]);
|
|
1294
1294
|
const engine = manifest.engine;
|
|
1295
|
-
if (pkg.name !== `${ENGINE_PREFIX}-${target}` || pkg.version !== "0.1.
|
|
1295
|
+
if (pkg.name !== `${ENGINE_PREFIX}-${target}` || pkg.version !== "0.1.1" || manifest.version !== pkg.version || manifest.schemaVersion !== 1 || manifest.status !== "built" || engine === void 0 || engine.kind !== backend || manifest.platform !== target) throw new Error(`Installed LibreOfficeKit ${backend} package has an incompatible or incomplete manifest.`);
|
|
1296
1296
|
const minimum = engine.glibcMinimum;
|
|
1297
1297
|
if (minimum !== void 0 && (!target.endsWith("-glibc") || !glibcVersion(minimum))) throw new Error("Installed LibreOfficeKit engine has an invalid glibcMinimum.");
|
|
1298
1298
|
const glibcFloor = minimum === void 0 ? {} : { glibcMinimum: minimum };
|
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.1.
|
|
5
|
+
export declare const ENGINE_VERSION = "0.1.1";
|
|
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": "Convert, recalculate, and render Office documents with prebuilt LibreOffice",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"saxes": "6.0.0"
|
|
41
41
|
},
|
|
42
42
|
"optionalDependencies": {
|
|
43
|
-
"@deepseek-ai/libreoffice-kit-darwin-arm64": "0.1.
|
|
44
|
-
"@deepseek-ai/libreoffice-kit-darwin-x64": "0.1.
|
|
45
|
-
"@deepseek-ai/libreoffice-kit-win32-arm64": "0.1.
|
|
46
|
-
"@deepseek-ai/libreoffice-kit-
|
|
47
|
-
"@deepseek-ai/libreoffice-kit-
|
|
43
|
+
"@deepseek-ai/libreoffice-kit-darwin-arm64": "0.1.1",
|
|
44
|
+
"@deepseek-ai/libreoffice-kit-darwin-x64": "0.1.1",
|
|
45
|
+
"@deepseek-ai/libreoffice-kit-win32-arm64": "0.1.1",
|
|
46
|
+
"@deepseek-ai/libreoffice-kit-wasm": "0.1.1",
|
|
47
|
+
"@deepseek-ai/libreoffice-kit-win32-x64": "0.1.1"
|
|
48
48
|
},
|
|
49
49
|
"bin": {
|
|
50
50
|
"libreoffice-kit": "./lib/cli.js"
|