@remotion/install-whisper-cpp 4.0.226 → 4.0.228
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.
|
@@ -27,6 +27,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.downloadWhisperModel = exports.getModelPath = void 0;
|
|
30
|
+
/* eslint-disable no-console */
|
|
30
31
|
const fs_1 = __importStar(require("fs"));
|
|
31
32
|
const path_1 = __importDefault(require("path"));
|
|
32
33
|
const download_1 = require("./download");
|
package/dist/download.js
CHANGED
|
@@ -19,7 +19,6 @@ const downloadFile = async ({ fileStream, url, printOutput, onProgress, signal,
|
|
|
19
19
|
// eslint-disable-next-line no-async-promise-executor
|
|
20
20
|
await new Promise(async (resolve, reject) => {
|
|
21
21
|
try {
|
|
22
|
-
// eslint-disable-next-line no-constant-condition
|
|
23
22
|
while (true) {
|
|
24
23
|
const { done, value } = await reader.read();
|
|
25
24
|
if (value) {
|
|
@@ -27,6 +27,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.installWhisperCpp = exports.getWhisperExecutablePath = void 0;
|
|
30
|
+
/* eslint-disable no-console */
|
|
30
31
|
const child_process_1 = require("child_process");
|
|
31
32
|
const fs_1 = __importStar(require("fs"));
|
|
32
33
|
const os_1 = __importDefault(require("os"));
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/install-whisper-cpp"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/install-whisper-cpp",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.228",
|
|
7
7
|
"description": "Helpers for installing and using Whisper.cpp",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -16,10 +16,13 @@
|
|
|
16
16
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
17
17
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@remotion/captions": "4.0.
|
|
19
|
+
"@remotion/captions": "4.0.228"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {},
|
|
22
|
-
"devDependencies": {
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"eslint": "9.14.0",
|
|
24
|
+
"@remotion/eslint-config-internal": "4.0.228"
|
|
25
|
+
},
|
|
23
26
|
"keywords": [
|
|
24
27
|
"remotion",
|
|
25
28
|
"openai",
|
|
@@ -31,7 +34,8 @@
|
|
|
31
34
|
"homepage": "https://www.remotion.dev/docs/install-whisper-cpp",
|
|
32
35
|
"scripts": {
|
|
33
36
|
"formatting": "prettier src --check",
|
|
34
|
-
"lint": "eslint src
|
|
35
|
-
"test": "bun test src"
|
|
37
|
+
"lint": "eslint src",
|
|
38
|
+
"test": "bun test src",
|
|
39
|
+
"make": "tsc -d"
|
|
36
40
|
}
|
|
37
41
|
}
|