From b7cc18e989ef75279aaf33955b6fa72c673b23e1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 31 Oct 2024 00:46:28 +0000 Subject: [PATCH] fix(deps): update dependency node-llama-cpp to v3.1.1 --- package-lock.json | 287 ++++++++++++++++++++++++++++++++++++++-------- package.json | 2 +- 2 files changed, 241 insertions(+), 48 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8caa410df34..79e36e47694 100644 --- a/package-lock.json +++ b/package-lock.json @@ -64,7 +64,7 @@ "libsodium-wrappers": "0.7.15", "multer": "1.4.5-lts.1", "node-cache": "5.1.2", - "node-llama-cpp": "3.0.0-beta.44", + "node-llama-cpp": "3.1.1", "node-wav": "0.0.2", "nodejs-whisper": "0.1.18", "nodemon": "3.1.4", @@ -1537,9 +1537,9 @@ } }, "node_modules/@huggingface/jinja": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@huggingface/jinja/-/jinja-0.3.0.tgz", - "integrity": "sha512-GLJzso0M07ZncFkrJMIXVU4os6GFbPocD4g8fMQPMGJubf48FtGOsUORH2rtFdXPIPelz8SLBMn8ZRmOTwXm9Q==", + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@huggingface/jinja/-/jinja-0.3.2.tgz", + "integrity": "sha512-F2FvuIc+w1blGsaqJI/OErRbWH6bVJDCBI8Rm5D86yZ2wlwrGERsfIaru7XUv9eYC3DMP3ixDRRtF0h6d8AZcQ==", "license": "MIT", "engines": { "node": ">=18" @@ -2926,10 +2926,60 @@ "url": "https://paulmillr.com/funding/" } }, + "node_modules/@node-llama-cpp/linux-arm64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@node-llama-cpp/linux-arm64/-/linux-arm64-3.1.1.tgz", + "integrity": "sha512-rrn1O9zmg8L47e16YlbGI3+Uw1Z8HCTNiBqnz+qcfH2H6HnHd1IenM1CgR9+PVODCnUXE7ErN2moto1XsOxifQ==", + "cpu": [ + "arm64", + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@node-llama-cpp/linux-armv7l": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@node-llama-cpp/linux-armv7l/-/linux-armv7l-3.1.1.tgz", + "integrity": "sha512-fM5dr/wmL4R3rADUOa0SnFRYYpyzsxG0akhg+qBgh0/b1jGwGM6jzBQ9AuhsgfW9tjKdpvpM2GyUDh4tHGHN5w==", + "cpu": [ + "arm", + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@node-llama-cpp/linux-x64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@node-llama-cpp/linux-x64/-/linux-x64-3.1.1.tgz", + "integrity": "sha512-s3VsBTrVWJgBfV5HruhfkTrnh5ykbuaCXvm1xRMpmMpnkL2tMMOrJJFJJIvrTurtGTxEvbO45O+wLU4wrVlQOw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/@node-llama-cpp/linux-x64-cuda": { - "version": "3.0.0-beta.44", - "resolved": "https://registry.npmjs.org/@node-llama-cpp/linux-x64-cuda/-/linux-x64-cuda-3.0.0-beta.44.tgz", - "integrity": "sha512-e7Mr4GAQK6/q0LL9mDBbrNNvMHhOcCKYC+qp77DYydk59Kz/JQLDBK7LVXc5pKJ0laW0KS+GHzHu/56M/lGEgQ==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@node-llama-cpp/linux-x64-cuda/-/linux-x64-cuda-3.1.1.tgz", + "integrity": "sha512-2435gpEI1M0gs8R0/EcpsXwkEtz1hu0waFJjQjck2KNE/Pz+DTw4T7JgWSkAS8uPS7XzzDGBXDuuK1er0ACq3w==", "cpu": [ "x64" ], @@ -2942,10 +2992,108 @@ "node": ">=18.0.0" } }, + "node_modules/@node-llama-cpp/linux-x64-vulkan": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@node-llama-cpp/linux-x64-vulkan/-/linux-x64-vulkan-3.1.1.tgz", + "integrity": "sha512-iSuaLDsmypv/eASW5DD09FMCCFRKgumpxdB9DHiG8oOd9CLFZle+fxql1TJx3zwtYRrsR7YkfWinjhILYfSIZw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@node-llama-cpp/mac-arm64-metal": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@node-llama-cpp/mac-arm64-metal/-/mac-arm64-metal-3.1.1.tgz", + "integrity": "sha512-VBVVZhF5zQ31BmmIN/dWG0k4VIWZGar8nDn0/64eLjufkdYGns6hAIssu6IDQ2HBfnq3ENgSgJTpXp7jq9Z2Ig==", + "cpu": [ + "arm64", + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@node-llama-cpp/mac-x64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@node-llama-cpp/mac-x64/-/mac-x64-3.1.1.tgz", + "integrity": "sha512-7UJDsoFpZW3ETsDG623KWZO/pyA1jfVsSPDTJjmotQN1rvXtVqt6cVN/AJ6OjHdoPdEW0u7QxD2nwxY24rRwaQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@node-llama-cpp/win-arm64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@node-llama-cpp/win-arm64/-/win-arm64-3.1.1.tgz", + "integrity": "sha512-cflHtb0+E4HCm9nIeCGOn4TMAc9R+f2uhCwzZOV6ZMHIwbuVjt/L+3tBo3NULhKWLDSsklRdaU2qV/5elau3wg==", + "cpu": [ + "arm64", + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@node-llama-cpp/win-x64": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@node-llama-cpp/win-x64/-/win-x64-3.1.1.tgz", + "integrity": "sha512-/hK4+wyOe7Q3+UlM/eSmm2GkrS7FwXp+IXAo+id/PobOYEn7l5r1ntqaTgwh3xWefezD3UDSCH1OqkZ2EsVdig==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/@node-llama-cpp/win-x64-cuda": { - "version": "3.0.0-beta.44", - "resolved": "https://registry.npmjs.org/@node-llama-cpp/win-x64-cuda/-/win-x64-cuda-3.0.0-beta.44.tgz", - "integrity": "sha512-mIEvaUgdNhYRTnnVGfJT7LUY4rYMkHkj7QY+xnqquE1meWhcaWiWxkNeYKH8MYokcXcH3UR6B1csS804+aXe9w==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@node-llama-cpp/win-x64-cuda/-/win-x64-cuda-3.1.1.tgz", + "integrity": "sha512-OHk53PpJ6zfJwCUKCS/A+zFEh8JxguuYFnqqyteZoNdI9h3ggOk9QLrn1RQ1LH232Rvfu7AoqGiVgFSB8Jkz4Q==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@node-llama-cpp/win-x64-vulkan": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@node-llama-cpp/win-x64-vulkan/-/win-x64-vulkan-3.1.1.tgz", + "integrity": "sha512-IuKmcN1LUDiQfQAGkTVdAF4J55VzC87PYjYYQNthfojFxwG8GFxK/VnngmmGXybGd6pwK8Cvymun2bNJVQKVoA==", "cpu": [ "x64" ], @@ -10094,14 +10242,15 @@ } }, "node_modules/ipull": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/ipull/-/ipull-3.6.2.tgz", - "integrity": "sha512-aYyoNOTfrkBOmcvolSk4afTutB9WQWlnIYb5XxIbms61WEW98pLlirDW285stmc99YusY8WY/UPiF7E18R4ZUA==", + "version": "3.9.1", + "resolved": "https://registry.npmjs.org/ipull/-/ipull-3.9.1.tgz", + "integrity": "sha512-XqFJh66FQXkgpbZLXD5e1dlMkzTjVWUWYRs39eQ+Ra6V8fiebo4AgJ4AM/YsGOEpI4O/USxOBvS63Wj8YeGfAA==", "license": "MIT", "dependencies": { "@tinyhttp/content-disposition": "^2.2.0", "async-retry": "^1.3.3", "chalk": "^5.3.0", + "ci-info": "^4.0.0", "cli-spinners": "^2.9.2", "commander": "^10.0.0", "eventemitter3": "^5.0.1", @@ -10168,6 +10317,21 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "node_modules/ipull/node_modules/ci-info": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.0.0.tgz", + "integrity": "sha512-TdHqgGf9odd8SXNuxtUBVx8Nv+qZOejE6qyqiy5NtbYYQOeFa6zmHkxlPzmaLxWWHsU6nJmB7AETdVPi+2NBUg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/ipull/node_modules/commander": { "version": "10.0.1", "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", @@ -10443,9 +10607,9 @@ "license": "MIT" }, "node_modules/is-unicode-supported": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.0.0.tgz", - "integrity": "sha512-FRdAyx5lusK1iHG0TWpVtk9+1i+GjrzRffhDg4ovQ7mcidMQ6mj+MhKPmvh7Xwyv5gIS06ns49CA7Sqg7lC22Q==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", + "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", "license": "MIT", "engines": { "node": ">=18" @@ -12081,9 +12245,9 @@ } }, "node_modules/lifecycle-utils": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/lifecycle-utils/-/lifecycle-utils-1.4.1.tgz", - "integrity": "sha512-l8itA/+LnqlgMWM5AuSanjZk+S0+Ia9TldZPd9JHy4bCfrk1lUmNWKgt+xTuDqKy1sCI0dKZ7234R+wpVcBGUg==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/lifecycle-utils/-/lifecycle-utils-1.7.0.tgz", + "integrity": "sha512-suNHxB8zsWrvsWxsmy9PsOcHuThRsCzvUhtGwxfvYAl8mbeWv7lt+wNT3q9KgILWmNe9zEVZ6PXo1gsvpYIdvw==", "license": "MIT" }, "node_modules/lilconfig": { @@ -13304,13 +13468,13 @@ "license": "MIT" }, "node_modules/node-llama-cpp": { - "version": "3.0.0-beta.44", - "resolved": "https://registry.npmjs.org/node-llama-cpp/-/node-llama-cpp-3.0.0-beta.44.tgz", - "integrity": "sha512-yuLizQBXkyisV1TmbI2jw4fI/iEggXB65j+l9FsLHHV3+YtkH9ij/P+Bea5EqYqLxK3M/25IPTGPylzKhXDlbw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/node-llama-cpp/-/node-llama-cpp-3.1.1.tgz", + "integrity": "sha512-CyXwxlJiAAELhy265wndAwV+nrUvVJk7+BjiYtz8BAUXCPpzZTeZTNnmcDO21FTutQyRuWhiNA/yzOLeDvmuAQ==", "hasInstallScript": true, "license": "MIT", "dependencies": { - "@huggingface/jinja": "^0.2.2", + "@huggingface/jinja": "^0.3.1", "async-retry": "^1.3.3", "bytes": "^3.1.2", "chalk": "^5.3.0", @@ -13321,19 +13485,19 @@ "env-var": "^7.5.0", "filenamify": "^6.0.0", "fs-extra": "^11.2.0", - "ignore": "^5.3.1", - "ipull": "^3.6.0", - "is-unicode-supported": "^2.0.0", - "lifecycle-utils": "^1.4.1", - "log-symbols": "^6.0.0", + "ignore": "^5.3.2", + "ipull": "^3.7.4", + "is-unicode-supported": "^2.1.0", + "lifecycle-utils": "^1.7.0", + "log-symbols": "^7.0.0", "nanoid": "^5.0.7", - "node-addon-api": "^8.0.0", + "node-addon-api": "^8.1.0", "octokit": "^4.0.2", - "ora": "^8.0.1", - "pretty-ms": "^9.0.0", + "ora": "^8.1.0", + "pretty-ms": "^9.1.0", "proper-lockfile": "^4.1.2", - "semver": "^7.6.2", - "simple-git": "^3.24.0", + "semver": "^7.6.3", + "simple-git": "^3.27.0", "slice-ansi": "^7.1.0", "stdout-update": "^4.0.1", "strip-ansi": "^7.1.0", @@ -13342,6 +13506,7 @@ "yargs": "^17.7.2" }, "bin": { + "nlc": "dist/cli/cli.js", "node-llama-cpp": "dist/cli/cli.js" }, "engines": { @@ -13352,8 +13517,17 @@ "url": "https://github.com/sponsors/giladgd" }, "optionalDependencies": { - "@node-llama-cpp/linux-x64-cuda": "3.0.0-beta.44", - "@node-llama-cpp/win-x64-cuda": "3.0.0-beta.44" + "@node-llama-cpp/linux-arm64": "3.1.1", + "@node-llama-cpp/linux-armv7l": "3.1.1", + "@node-llama-cpp/linux-x64": "3.1.1", + "@node-llama-cpp/linux-x64-cuda": "3.1.1", + "@node-llama-cpp/linux-x64-vulkan": "3.1.1", + "@node-llama-cpp/mac-arm64-metal": "3.1.1", + "@node-llama-cpp/mac-x64": "3.1.1", + "@node-llama-cpp/win-arm64": "3.1.1", + "@node-llama-cpp/win-x64": "3.1.1", + "@node-llama-cpp/win-x64-cuda": "3.1.1", + "@node-llama-cpp/win-x64-vulkan": "3.1.1" }, "peerDependencies": { "typescript": ">=5.0.0" @@ -13364,15 +13538,6 @@ } } }, - "node_modules/node-llama-cpp/node_modules/@huggingface/jinja": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/@huggingface/jinja/-/jinja-0.2.2.tgz", - "integrity": "sha512-/KPde26khDUIPkTGU82jdtTW9UAuvUTumCAbFs/7giR0SxsvZC4hru51PBvpijH6BVkHcROcvZM/lpy5h1jRRA==", - "license": "MIT", - "engines": { - "node": ">=18" - } - }, "node_modules/node-llama-cpp/node_modules/ansi-regex": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", @@ -13433,6 +13598,22 @@ "node": ">=16" } }, + "node_modules/node-llama-cpp/node_modules/log-symbols": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-7.0.0.tgz", + "integrity": "sha512-zrc91EDk2M+2AXo/9BTvK91pqb7qrPg2nX/Hy+u8a5qQlbaOflCKO+6SqgZ+M+xUFxGdKTgwnGiL96b1W3ikRA==", + "license": "MIT", + "dependencies": { + "is-unicode-supported": "^2.0.0", + "yoctocolors": "^2.1.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/node-llama-cpp/node_modules/slice-ansi": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.0.tgz", @@ -16693,9 +16874,9 @@ } }, "node_modules/simple-git": { - "version": "3.26.0", - "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.26.0.tgz", - "integrity": "sha512-5tbkCSzuskR6uA7uA23yjasmA0RzugVo8QM2bpsnxkrgP13eisFT7TMS4a+xKEJvbmr4qf+l0WT3eKa9IxxUyw==", + "version": "3.27.0", + "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.27.0.tgz", + "integrity": "sha512-ivHoFS9Yi9GY49ogc6/YAi3Fl9ROnF4VyubNylgCkA+RVqLaKWnDSzXOVzya8csELIaWaYNutsEuAhZrtOjozA==", "license": "MIT", "dependencies": { "@kwsites/file-exists": "^1.1.1", @@ -18999,6 +19180,18 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/yoctocolors": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/yoctocolors/-/yoctocolors-2.1.1.tgz", + "integrity": "sha512-GQHQqAopRhwU8Kt1DDM8NjibDXHC8eoh1erhGAJPEyveY9qqVeXvVikNKrDz69sHowPMorbPUrH/mx8c50eiBQ==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/youch": { "version": "3.3.3", "resolved": "https://registry.npmjs.org/youch/-/youch-3.3.3.tgz", diff --git a/package.json b/package.json index 17a21d704a3..7e1587d2a07 100644 --- a/package.json +++ b/package.json @@ -120,7 +120,7 @@ "libsodium-wrappers": "0.7.15", "multer": "1.4.5-lts.1", "node-cache": "5.1.2", - "node-llama-cpp": "3.0.0-beta.44", + "node-llama-cpp": "3.1.1", "node-wav": "0.0.2", "nodejs-whisper": "0.1.18", "nodemon": "3.1.4",