node-llama-cpp
Advanced tools
Comparing version
@@ -40,4 +40,4 @@ import * as fs from "fs-extra"; | ||
} | ||
await setUsedBinFlag("prebuildBinaries"); | ||
await setUsedBinFlag("prebuiltBinaries"); | ||
} | ||
//# sourceMappingURL=ClearCommand.js.map |
@@ -33,3 +33,3 @@ import path from "path"; | ||
if (setUsedBingFlag) | ||
await setUsedBinFlag("prebuildBinaries"); | ||
await setUsedBinFlag("prebuiltBinaries"); | ||
throw err; | ||
@@ -36,0 +36,0 @@ } |
@@ -42,3 +42,3 @@ import { createRequire } from "module"; | ||
const usedBingFlag = await getUsedBinFlag(); | ||
if (usedBingFlag === "prebuildBinaries") { | ||
if (usedBingFlag === "prebuiltBinaries") { | ||
const prebuildBinPath = await getPrebuildBinPath(); | ||
@@ -45,0 +45,0 @@ if (prebuildBinPath == null) { |
type UsedBinFlagFile = { | ||
use: "prebuildBinaries" | "localBuildFromSource"; | ||
use: "prebuiltBinaries" | "localBuildFromSource"; | ||
}; | ||
export declare function getUsedBinFlag(): Promise<"prebuildBinaries" | "localBuildFromSource">; | ||
export declare function getUsedBinFlag(): Promise<"prebuiltBinaries" | "localBuildFromSource">; | ||
export declare function setUsedBinFlag(useFlag: UsedBinFlagFile["use"]): Promise<void>; | ||
export {}; |
{ | ||
"use": "localBuildFromSource" | ||
"use": "prebuiltBinaries" | ||
} |
{ | ||
"name": "node-llama-cpp", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "node.js bindings for llama.cpp", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
36
-2.7%25176497
0