Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
•
babf0fe
1
Parent(s):
429cf8b
upgrade to openclap 0.1.2
Browse files- package-lock.json +121 -140
- package.json +2 -2
- src/core/utils/videoChunksOnly.ts +2 -2
package-lock.json
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
{
|
2 |
"name": "ai-tube-clap-exporter",
|
3 |
-
"version": "1.
|
4 |
"lockfileVersion": 3,
|
5 |
"requires": true,
|
6 |
"packages": {
|
7 |
"": {
|
8 |
"name": "ai-tube-clap-exporter",
|
9 |
-
"version": "1.
|
10 |
"license": "Apache License",
|
11 |
"dependencies": {
|
12 |
-
"@aitube/clap": "0.
|
13 |
"@aitube/encoders": "0.0.0",
|
14 |
"@aitube/io": "0.0.1",
|
15 |
"dotenv": "^16.4.5",
|
@@ -30,14 +30,14 @@
|
|
30 |
}
|
31 |
},
|
32 |
"node_modules/@aitube/clap": {
|
33 |
-
"version": "0.
|
34 |
-
"resolved": "https://registry.npmjs.org/@aitube/clap/-/clap-0.
|
35 |
-
"integrity": "sha512-
|
36 |
"dependencies": {
|
37 |
"pure-uuid": "^1.8.1"
|
38 |
},
|
39 |
"peerDependencies": {
|
40 |
-
"yaml": "^2.
|
41 |
}
|
42 |
},
|
43 |
"node_modules/@aitube/encoders": {
|
@@ -990,9 +990,9 @@
|
|
990 |
}
|
991 |
},
|
992 |
"node_modules/@jridgewell/sourcemap-codec": {
|
993 |
-
"version": "1.
|
994 |
-
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.
|
995 |
-
"integrity": "sha512-
|
996 |
},
|
997 |
"node_modules/@jridgewell/trace-mapping": {
|
998 |
"version": "0.3.9",
|
@@ -1004,9 +1004,9 @@
|
|
1004 |
}
|
1005 |
},
|
1006 |
"node_modules/@pm2/agent": {
|
1007 |
-
"version": "2.0.
|
1008 |
-
"resolved": "https://registry.npmjs.org/@pm2/agent/-/agent-2.0.
|
1009 |
-
"integrity": "sha512-
|
1010 |
"dependencies": {
|
1011 |
"async": "~3.2.0",
|
1012 |
"chalk": "~3.0.0",
|
@@ -1020,7 +1020,7 @@
|
|
1020 |
"pm2-axon-rpc": "~0.7.0",
|
1021 |
"proxy-agent": "~6.3.0",
|
1022 |
"semver": "~7.5.0",
|
1023 |
-
"ws": "~7.
|
1024 |
}
|
1025 |
},
|
1026 |
"node_modules/@pm2/agent/node_modules/async": {
|
@@ -1080,9 +1080,9 @@
|
|
1080 |
}
|
1081 |
},
|
1082 |
"node_modules/@pm2/io": {
|
1083 |
-
"version": "6.0.
|
1084 |
-
"resolved": "https://registry.npmjs.org/@pm2/io/-/io-6.0.
|
1085 |
-
"integrity": "sha512-
|
1086 |
"dependencies": {
|
1087 |
"async": "~2.6.1",
|
1088 |
"debug": "~4.3.1",
|
@@ -1235,18 +1235,18 @@
|
|
1235 |
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
1236 |
},
|
1237 |
"node_modules/@puppeteer/browsers": {
|
1238 |
-
"version": "2.2.
|
1239 |
-
"resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.2.
|
1240 |
-
"integrity": "sha512-
|
1241 |
-
"dependencies": {
|
1242 |
-
"debug": "4.3.
|
1243 |
-
"extract-zip": "2.0.1",
|
1244 |
-
"progress": "2.0.3",
|
1245 |
-
"proxy-agent": "6.4.0",
|
1246 |
-
"semver": "7.6.
|
1247 |
-
"tar-fs": "3.0.
|
1248 |
-
"unbzip2-stream": "1.4.3",
|
1249 |
-
"yargs": "17.7.2"
|
1250 |
},
|
1251 |
"bin": {
|
1252 |
"browsers": "lib/cjs/main-cli.js"
|
@@ -1256,9 +1256,9 @@
|
|
1256 |
}
|
1257 |
},
|
1258 |
"node_modules/@puppeteer/browsers/node_modules/debug": {
|
1259 |
-
"version": "4.3.
|
1260 |
-
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.
|
1261 |
-
"integrity": "sha512-
|
1262 |
"dependencies": {
|
1263 |
"ms": "2.1.2"
|
1264 |
},
|
@@ -1294,31 +1294,6 @@
|
|
1294 |
"node": ">= 14"
|
1295 |
}
|
1296 |
},
|
1297 |
-
"node_modules/@puppeteer/browsers/node_modules/semver": {
|
1298 |
-
"version": "7.6.0",
|
1299 |
-
"resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
|
1300 |
-
"integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
|
1301 |
-
"dependencies": {
|
1302 |
-
"lru-cache": "^6.0.0"
|
1303 |
-
},
|
1304 |
-
"bin": {
|
1305 |
-
"semver": "bin/semver.js"
|
1306 |
-
},
|
1307 |
-
"engines": {
|
1308 |
-
"node": ">=10"
|
1309 |
-
}
|
1310 |
-
},
|
1311 |
-
"node_modules/@puppeteer/browsers/node_modules/semver/node_modules/lru-cache": {
|
1312 |
-
"version": "6.0.0",
|
1313 |
-
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
|
1314 |
-
"integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
|
1315 |
-
"dependencies": {
|
1316 |
-
"yallist": "^4.0.0"
|
1317 |
-
},
|
1318 |
-
"engines": {
|
1319 |
-
"node": ">=10"
|
1320 |
-
}
|
1321 |
-
},
|
1322 |
"node_modules/@tootallnate/quickjs-emscripten": {
|
1323 |
"version": "0.23.0",
|
1324 |
"resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz",
|
@@ -1376,9 +1351,9 @@
|
|
1376 |
}
|
1377 |
},
|
1378 |
"node_modules/@types/express-serve-static-core": {
|
1379 |
-
"version": "4.19.
|
1380 |
-
"resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.
|
1381 |
-
"integrity": "sha512-
|
1382 |
"dev": true,
|
1383 |
"dependencies": {
|
1384 |
"@types/node": "*",
|
@@ -1409,9 +1384,9 @@
|
|
1409 |
"dev": true
|
1410 |
},
|
1411 |
"node_modules/@types/node": {
|
1412 |
-
"version": "20.14.
|
1413 |
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.
|
1414 |
-
"integrity": "sha512-
|
1415 |
"dependencies": {
|
1416 |
"undici-types": "~5.26.4"
|
1417 |
}
|
@@ -1471,9 +1446,9 @@
|
|
1471 |
}
|
1472 |
},
|
1473 |
"node_modules/acorn": {
|
1474 |
-
"version": "8.12.
|
1475 |
-
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.
|
1476 |
-
"integrity": "sha512-
|
1477 |
"bin": {
|
1478 |
"acorn": "bin/acorn"
|
1479 |
},
|
@@ -1860,9 +1835,9 @@
|
|
1860 |
}
|
1861 |
},
|
1862 |
"node_modules/chromium-bidi": {
|
1863 |
-
"version": "0.
|
1864 |
-
"resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.
|
1865 |
-
"integrity": "sha512-
|
1866 |
"dependencies": {
|
1867 |
"mitt": "3.0.1",
|
1868 |
"urlpattern-polyfill": "10.0.0",
|
@@ -2019,9 +1994,9 @@
|
|
2019 |
}
|
2020 |
},
|
2021 |
"node_modules/dayjs": {
|
2022 |
-
"version": "1.11.
|
2023 |
-
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.
|
2024 |
-
"integrity": "sha512-
|
2025 |
},
|
2026 |
"node_modules/debug": {
|
2027 |
"version": "2.6.9",
|
@@ -2585,9 +2560,9 @@
|
|
2585 |
}
|
2586 |
},
|
2587 |
"node_modules/get-tsconfig": {
|
2588 |
-
"version": "4.7.
|
2589 |
-
"resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.
|
2590 |
-
"integrity": "sha512-
|
2591 |
"dev": true,
|
2592 |
"dependencies": {
|
2593 |
"resolve-pkg-maps": "^1.0.0"
|
@@ -2769,9 +2744,9 @@
|
|
2769 |
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
2770 |
},
|
2771 |
"node_modules/https-proxy-agent": {
|
2772 |
-
"version": "7.0.
|
2773 |
-
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.
|
2774 |
-
"integrity": "sha512-
|
2775 |
"dependencies": {
|
2776 |
"agent-base": "^7.0.2",
|
2777 |
"debug": "4"
|
@@ -2898,11 +2873,14 @@
|
|
2898 |
}
|
2899 |
},
|
2900 |
"node_modules/is-core-module": {
|
2901 |
-
"version": "2.
|
2902 |
-
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.
|
2903 |
-
"integrity": "sha512-
|
2904 |
"dependencies": {
|
2905 |
-
"hasown": "^2.0.
|
|
|
|
|
|
|
2906 |
},
|
2907 |
"funding": {
|
2908 |
"url": "https://github.com/sponsors/ljharb"
|
@@ -3186,9 +3164,12 @@
|
|
3186 |
"integrity": "sha512-K7J4xq5xAD5jHsGM5ReWXRTFa3JRGofHiMcVgQ8PRwgWxzjHpMWCIzsmyf60+mh8KLsqYPcjUMa0AC4hd6lPyQ=="
|
3187 |
},
|
3188 |
"node_modules/object-inspect": {
|
3189 |
-
"version": "1.13.
|
3190 |
-
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.
|
3191 |
-
"integrity": "sha512-
|
|
|
|
|
|
|
3192 |
"funding": {
|
3193 |
"url": "https://github.com/sponsors/ljharb"
|
3194 |
}
|
@@ -3213,18 +3194,18 @@
|
|
3213 |
}
|
3214 |
},
|
3215 |
"node_modules/pac-proxy-agent": {
|
3216 |
-
"version": "7.0.
|
3217 |
-
"resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.
|
3218 |
-
"integrity": "sha512-
|
3219 |
"dependencies": {
|
3220 |
"@tootallnate/quickjs-emscripten": "^0.23.0",
|
3221 |
"agent-base": "^7.0.2",
|
3222 |
"debug": "^4.3.4",
|
3223 |
"get-uri": "^6.0.1",
|
3224 |
"http-proxy-agent": "^7.0.0",
|
3225 |
-
"https-proxy-agent": "^7.0.
|
3226 |
-
"pac-resolver": "^7.0.
|
3227 |
-
"socks-proxy-agent": "^8.0.
|
3228 |
},
|
3229 |
"engines": {
|
3230 |
"node": ">= 14"
|
@@ -3347,12 +3328,12 @@
|
|
3347 |
}
|
3348 |
},
|
3349 |
"node_modules/pm2": {
|
3350 |
-
"version": "5.4.
|
3351 |
-
"resolved": "https://registry.npmjs.org/pm2/-/pm2-5.4.
|
3352 |
-
"integrity": "sha512-
|
3353 |
"dependencies": {
|
3354 |
"@pm2/agent": "~2.0.0",
|
3355 |
-
"@pm2/io": "~6.0.
|
3356 |
"@pm2/js-api": "~0.8.0",
|
3357 |
"@pm2/pm2-version-check": "latest",
|
3358 |
"async": "~3.2.0",
|
@@ -3643,15 +3624,15 @@
|
|
3643 |
}
|
3644 |
},
|
3645 |
"node_modules/puppeteer": {
|
3646 |
-
"version": "22.
|
3647 |
-
"resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-22.
|
3648 |
-
"integrity": "sha512-
|
3649 |
"hasInstallScript": true,
|
3650 |
"dependencies": {
|
3651 |
-
"@puppeteer/browsers": "2.2.
|
3652 |
-
"cosmiconfig": "9.0.0",
|
3653 |
"devtools-protocol": "0.0.1299070",
|
3654 |
-
"puppeteer-core": "22.
|
3655 |
},
|
3656 |
"bin": {
|
3657 |
"puppeteer": "lib/esm/puppeteer/node/cli.js"
|
@@ -3661,15 +3642,15 @@
|
|
3661 |
}
|
3662 |
},
|
3663 |
"node_modules/puppeteer-core": {
|
3664 |
-
"version": "22.
|
3665 |
-
"resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-22.
|
3666 |
-
"integrity": "sha512-
|
3667 |
"dependencies": {
|
3668 |
-
"@puppeteer/browsers": "2.2.
|
3669 |
-
"chromium-bidi": "0.
|
3670 |
-
"debug": "4.3.5",
|
3671 |
"devtools-protocol": "0.0.1299070",
|
3672 |
-
"ws": "8.
|
3673 |
},
|
3674 |
"engines": {
|
3675 |
"node": ">=18"
|
@@ -3697,9 +3678,9 @@
|
|
3697 |
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
3698 |
},
|
3699 |
"node_modules/puppeteer-core/node_modules/ws": {
|
3700 |
-
"version": "8.
|
3701 |
-
"resolved": "https://registry.npmjs.org/ws/-/ws-8.
|
3702 |
-
"integrity": "sha512-
|
3703 |
"engines": {
|
3704 |
"node": ">=10.0.0"
|
3705 |
},
|
@@ -3739,9 +3720,9 @@
|
|
3739 |
}
|
3740 |
},
|
3741 |
"node_modules/query-string": {
|
3742 |
-
"version": "9.
|
3743 |
-
"resolved": "https://registry.npmjs.org/query-string/-/query-string-9.
|
3744 |
-
"integrity": "sha512-
|
3745 |
"dependencies": {
|
3746 |
"decode-uri-component": "^0.4.1",
|
3747 |
"filter-obj": "^5.1.0",
|
@@ -3927,9 +3908,9 @@
|
|
3927 |
"integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg=="
|
3928 |
},
|
3929 |
"node_modules/semver": {
|
3930 |
-
"version": "7.6.
|
3931 |
-
"resolved": "https://registry.npmjs.org/semver/-/semver-7.6.
|
3932 |
-
"integrity": "sha512-
|
3933 |
"bin": {
|
3934 |
"semver": "bin/semver.js"
|
3935 |
},
|
@@ -4102,13 +4083,13 @@
|
|
4102 |
}
|
4103 |
},
|
4104 |
"node_modules/socks-proxy-agent": {
|
4105 |
-
"version": "8.0.
|
4106 |
-
"resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.
|
4107 |
-
"integrity": "sha512-
|
4108 |
"dependencies": {
|
4109 |
"agent-base": "^7.1.1",
|
4110 |
"debug": "^4.3.4",
|
4111 |
-
"socks": "^2.
|
4112 |
},
|
4113 |
"engines": {
|
4114 |
"node": ">= 14"
|
@@ -4262,9 +4243,9 @@
|
|
4262 |
}
|
4263 |
},
|
4264 |
"node_modules/tar-fs": {
|
4265 |
-
"version": "3.0.
|
4266 |
-
"resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.
|
4267 |
-
"integrity": "sha512-
|
4268 |
"dependencies": {
|
4269 |
"pump": "^3.0.0",
|
4270 |
"tar-stream": "^3.1.5"
|
@@ -4285,9 +4266,9 @@
|
|
4285 |
}
|
4286 |
},
|
4287 |
"node_modules/text-decoder": {
|
4288 |
-
"version": "1.1.
|
4289 |
-
"resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.1.
|
4290 |
-
"integrity": "sha512-
|
4291 |
"dependencies": {
|
4292 |
"b4a": "^1.6.4"
|
4293 |
}
|
@@ -4364,12 +4345,12 @@
|
|
4364 |
"integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ=="
|
4365 |
},
|
4366 |
"node_modules/tsx": {
|
4367 |
-
"version": "4.
|
4368 |
-
"resolved": "https://registry.npmjs.org/tsx/-/tsx-4.
|
4369 |
-
"integrity": "sha512-
|
4370 |
"dev": true,
|
4371 |
"dependencies": {
|
4372 |
-
"esbuild": "~0.21.
|
4373 |
"get-tsconfig": "^4.7.5"
|
4374 |
},
|
4375 |
"bin": {
|
@@ -4412,9 +4393,9 @@
|
|
4412 |
}
|
4413 |
},
|
4414 |
"node_modules/typescript": {
|
4415 |
-
"version": "5.4
|
4416 |
-
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.
|
4417 |
-
"integrity": "sha512-
|
4418 |
"peer": true,
|
4419 |
"bin": {
|
4420 |
"tsc": "bin/tsc",
|
@@ -4535,9 +4516,9 @@
|
|
4535 |
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
|
4536 |
},
|
4537 |
"node_modules/ws": {
|
4538 |
-
"version": "7.
|
4539 |
-
"resolved": "https://registry.npmjs.org/ws/-/ws-7.
|
4540 |
-
"integrity": "sha512
|
4541 |
"engines": {
|
4542 |
"node": ">=8.3.0"
|
4543 |
},
|
@@ -4568,9 +4549,9 @@
|
|
4568 |
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
|
4569 |
},
|
4570 |
"node_modules/yaml": {
|
4571 |
-
"version": "2.
|
4572 |
-
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.
|
4573 |
-
"integrity": "sha512-
|
4574 |
"bin": {
|
4575 |
"yaml": "bin.mjs"
|
4576 |
},
|
|
|
1 |
{
|
2 |
"name": "ai-tube-clap-exporter",
|
3 |
+
"version": "1.1.2",
|
4 |
"lockfileVersion": 3,
|
5 |
"requires": true,
|
6 |
"packages": {
|
7 |
"": {
|
8 |
"name": "ai-tube-clap-exporter",
|
9 |
+
"version": "1.1.2",
|
10 |
"license": "Apache License",
|
11 |
"dependencies": {
|
12 |
+
"@aitube/clap": "0.1.2",
|
13 |
"@aitube/encoders": "0.0.0",
|
14 |
"@aitube/io": "0.0.1",
|
15 |
"dotenv": "^16.4.5",
|
|
|
30 |
}
|
31 |
},
|
32 |
"node_modules/@aitube/clap": {
|
33 |
+
"version": "0.1.2",
|
34 |
+
"resolved": "https://registry.npmjs.org/@aitube/clap/-/clap-0.1.2.tgz",
|
35 |
+
"integrity": "sha512-UH0V10DEq3gl5AuzKQJBwEcjD1o+K/MUD1i2K8WpmVb08Da6l34t40XSchWvjIYL97+d1KGA4pUv98WyfKaEaA==",
|
36 |
"dependencies": {
|
37 |
"pure-uuid": "^1.8.1"
|
38 |
},
|
39 |
"peerDependencies": {
|
40 |
+
"yaml": "^2.5.0"
|
41 |
}
|
42 |
},
|
43 |
"node_modules/@aitube/encoders": {
|
|
|
990 |
}
|
991 |
},
|
992 |
"node_modules/@jridgewell/sourcemap-codec": {
|
993 |
+
"version": "1.5.0",
|
994 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz",
|
995 |
+
"integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ=="
|
996 |
},
|
997 |
"node_modules/@jridgewell/trace-mapping": {
|
998 |
"version": "0.3.9",
|
|
|
1004 |
}
|
1005 |
},
|
1006 |
"node_modules/@pm2/agent": {
|
1007 |
+
"version": "2.0.4",
|
1008 |
+
"resolved": "https://registry.npmjs.org/@pm2/agent/-/agent-2.0.4.tgz",
|
1009 |
+
"integrity": "sha512-n7WYvvTJhHLS2oBb1PjOtgLpMhgImOq8sXkPBw6smeg9LJBWZjiEgPKOpR8mn9UJZsB5P3W4V/MyvNnp31LKeA==",
|
1010 |
"dependencies": {
|
1011 |
"async": "~3.2.0",
|
1012 |
"chalk": "~3.0.0",
|
|
|
1020 |
"pm2-axon-rpc": "~0.7.0",
|
1021 |
"proxy-agent": "~6.3.0",
|
1022 |
"semver": "~7.5.0",
|
1023 |
+
"ws": "~7.5.10"
|
1024 |
}
|
1025 |
},
|
1026 |
"node_modules/@pm2/agent/node_modules/async": {
|
|
|
1080 |
}
|
1081 |
},
|
1082 |
"node_modules/@pm2/io": {
|
1083 |
+
"version": "6.0.1",
|
1084 |
+
"resolved": "https://registry.npmjs.org/@pm2/io/-/io-6.0.1.tgz",
|
1085 |
+
"integrity": "sha512-KiA+shC6sULQAr9mGZ1pg+6KVW9MF8NpG99x26Lf/082/Qy8qsTCtnJy+HQReW1A9Rdf0C/404cz0RZGZro+IA==",
|
1086 |
"dependencies": {
|
1087 |
"async": "~2.6.1",
|
1088 |
"debug": "~4.3.1",
|
|
|
1235 |
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
1236 |
},
|
1237 |
"node_modules/@puppeteer/browsers": {
|
1238 |
+
"version": "2.2.4",
|
1239 |
+
"resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.2.4.tgz",
|
1240 |
+
"integrity": "sha512-BdG2qiI1dn89OTUUsx2GZSpUzW+DRffR1wlMJyKxVHYrhnKoELSDxDd+2XImUkuWPEKk76H5FcM/gPFrEK1Tfw==",
|
1241 |
+
"dependencies": {
|
1242 |
+
"debug": "^4.3.5",
|
1243 |
+
"extract-zip": "^2.0.1",
|
1244 |
+
"progress": "^2.0.3",
|
1245 |
+
"proxy-agent": "^6.4.0",
|
1246 |
+
"semver": "^7.6.2",
|
1247 |
+
"tar-fs": "^3.0.6",
|
1248 |
+
"unbzip2-stream": "^1.4.3",
|
1249 |
+
"yargs": "^17.7.2"
|
1250 |
},
|
1251 |
"bin": {
|
1252 |
"browsers": "lib/cjs/main-cli.js"
|
|
|
1256 |
}
|
1257 |
},
|
1258 |
"node_modules/@puppeteer/browsers/node_modules/debug": {
|
1259 |
+
"version": "4.3.5",
|
1260 |
+
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz",
|
1261 |
+
"integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==",
|
1262 |
"dependencies": {
|
1263 |
"ms": "2.1.2"
|
1264 |
},
|
|
|
1294 |
"node": ">= 14"
|
1295 |
}
|
1296 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1297 |
"node_modules/@tootallnate/quickjs-emscripten": {
|
1298 |
"version": "0.23.0",
|
1299 |
"resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz",
|
|
|
1351 |
}
|
1352 |
},
|
1353 |
"node_modules/@types/express-serve-static-core": {
|
1354 |
+
"version": "4.19.5",
|
1355 |
+
"resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.5.tgz",
|
1356 |
+
"integrity": "sha512-y6W03tvrACO72aijJ5uF02FRq5cgDR9lUxddQ8vyF+GvmjJQqbzDcJngEjURc+ZsG31VI3hODNZJ2URj86pzmg==",
|
1357 |
"dev": true,
|
1358 |
"dependencies": {
|
1359 |
"@types/node": "*",
|
|
|
1384 |
"dev": true
|
1385 |
},
|
1386 |
"node_modules/@types/node": {
|
1387 |
+
"version": "20.14.12",
|
1388 |
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.12.tgz",
|
1389 |
+
"integrity": "sha512-r7wNXakLeSsGT0H1AU863vS2wa5wBOK4bWMjZz2wj+8nBx+m5PeIn0k8AloSLpRuiwdRQZwarZqHE4FNArPuJQ==",
|
1390 |
"dependencies": {
|
1391 |
"undici-types": "~5.26.4"
|
1392 |
}
|
|
|
1446 |
}
|
1447 |
},
|
1448 |
"node_modules/acorn": {
|
1449 |
+
"version": "8.12.1",
|
1450 |
+
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz",
|
1451 |
+
"integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==",
|
1452 |
"bin": {
|
1453 |
"acorn": "bin/acorn"
|
1454 |
},
|
|
|
1835 |
}
|
1836 |
},
|
1837 |
"node_modules/chromium-bidi": {
|
1838 |
+
"version": "0.6.1",
|
1839 |
+
"resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.6.1.tgz",
|
1840 |
+
"integrity": "sha512-kSxJRj0VgtUKz6nmzc2JPfyfJGzwzt65u7PqhPHtgGQUZLF5oG+ST6l6e5ONfStUMAlhSutFCjaGKllXZa16jA==",
|
1841 |
"dependencies": {
|
1842 |
"mitt": "3.0.1",
|
1843 |
"urlpattern-polyfill": "10.0.0",
|
|
|
1994 |
}
|
1995 |
},
|
1996 |
"node_modules/dayjs": {
|
1997 |
+
"version": "1.11.12",
|
1998 |
+
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.12.tgz",
|
1999 |
+
"integrity": "sha512-Rt2g+nTbLlDWZTwwrIXjy9MeiZmSDI375FvZs72ngxx8PDC6YXOeR3q5LAuPzjZQxhiWdRKac7RKV+YyQYfYIg=="
|
2000 |
},
|
2001 |
"node_modules/debug": {
|
2002 |
"version": "2.6.9",
|
|
|
2560 |
}
|
2561 |
},
|
2562 |
"node_modules/get-tsconfig": {
|
2563 |
+
"version": "4.7.6",
|
2564 |
+
"resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.6.tgz",
|
2565 |
+
"integrity": "sha512-ZAqrLlu18NbDdRaHq+AKXzAmqIUPswPWKUchfytdAjiRFnCe5ojG2bstg6mRiZabkKfCoL/e98pbBELIV/YCeA==",
|
2566 |
"dev": true,
|
2567 |
"dependencies": {
|
2568 |
"resolve-pkg-maps": "^1.0.0"
|
|
|
2744 |
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
2745 |
},
|
2746 |
"node_modules/https-proxy-agent": {
|
2747 |
+
"version": "7.0.5",
|
2748 |
+
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz",
|
2749 |
+
"integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==",
|
2750 |
"dependencies": {
|
2751 |
"agent-base": "^7.0.2",
|
2752 |
"debug": "4"
|
|
|
2873 |
}
|
2874 |
},
|
2875 |
"node_modules/is-core-module": {
|
2876 |
+
"version": "2.15.0",
|
2877 |
+
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.0.tgz",
|
2878 |
+
"integrity": "sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==",
|
2879 |
"dependencies": {
|
2880 |
+
"hasown": "^2.0.2"
|
2881 |
+
},
|
2882 |
+
"engines": {
|
2883 |
+
"node": ">= 0.4"
|
2884 |
},
|
2885 |
"funding": {
|
2886 |
"url": "https://github.com/sponsors/ljharb"
|
|
|
3164 |
"integrity": "sha512-K7J4xq5xAD5jHsGM5ReWXRTFa3JRGofHiMcVgQ8PRwgWxzjHpMWCIzsmyf60+mh8KLsqYPcjUMa0AC4hd6lPyQ=="
|
3165 |
},
|
3166 |
"node_modules/object-inspect": {
|
3167 |
+
"version": "1.13.2",
|
3168 |
+
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz",
|
3169 |
+
"integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==",
|
3170 |
+
"engines": {
|
3171 |
+
"node": ">= 0.4"
|
3172 |
+
},
|
3173 |
"funding": {
|
3174 |
"url": "https://github.com/sponsors/ljharb"
|
3175 |
}
|
|
|
3194 |
}
|
3195 |
},
|
3196 |
"node_modules/pac-proxy-agent": {
|
3197 |
+
"version": "7.0.2",
|
3198 |
+
"resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.2.tgz",
|
3199 |
+
"integrity": "sha512-BFi3vZnO9X5Qt6NRz7ZOaPja3ic0PhlsmCRYLOpN11+mWBCR6XJDqW5RF3j8jm4WGGQZtBA+bTfxYzeKW73eHg==",
|
3200 |
"dependencies": {
|
3201 |
"@tootallnate/quickjs-emscripten": "^0.23.0",
|
3202 |
"agent-base": "^7.0.2",
|
3203 |
"debug": "^4.3.4",
|
3204 |
"get-uri": "^6.0.1",
|
3205 |
"http-proxy-agent": "^7.0.0",
|
3206 |
+
"https-proxy-agent": "^7.0.5",
|
3207 |
+
"pac-resolver": "^7.0.1",
|
3208 |
+
"socks-proxy-agent": "^8.0.4"
|
3209 |
},
|
3210 |
"engines": {
|
3211 |
"node": ">= 14"
|
|
|
3328 |
}
|
3329 |
},
|
3330 |
"node_modules/pm2": {
|
3331 |
+
"version": "5.4.2",
|
3332 |
+
"resolved": "https://registry.npmjs.org/pm2/-/pm2-5.4.2.tgz",
|
3333 |
+
"integrity": "sha512-ynVpBwZampRH3YWLwRepZpQ7X3MvpwLIaqIdFEeBYEhaXbHmEx2KqOdxGV4T54wvKBhH3LixvU1j1bK4/sq7Tw==",
|
3334 |
"dependencies": {
|
3335 |
"@pm2/agent": "~2.0.0",
|
3336 |
+
"@pm2/io": "~6.0.1",
|
3337 |
"@pm2/js-api": "~0.8.0",
|
3338 |
"@pm2/pm2-version-check": "latest",
|
3339 |
"async": "~3.2.0",
|
|
|
3624 |
}
|
3625 |
},
|
3626 |
"node_modules/puppeteer": {
|
3627 |
+
"version": "22.13.1",
|
3628 |
+
"resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-22.13.1.tgz",
|
3629 |
+
"integrity": "sha512-PwXLDQK5u83Fm5A7TGMq+9BR7iHDJ8a3h21PSsh/E6VfhxiKYkU7+tvGZNSCap6k3pCNDd9oNteVBEctcBalmQ==",
|
3630 |
"hasInstallScript": true,
|
3631 |
"dependencies": {
|
3632 |
+
"@puppeteer/browsers": "2.2.4",
|
3633 |
+
"cosmiconfig": "^9.0.0",
|
3634 |
"devtools-protocol": "0.0.1299070",
|
3635 |
+
"puppeteer-core": "22.13.1"
|
3636 |
},
|
3637 |
"bin": {
|
3638 |
"puppeteer": "lib/esm/puppeteer/node/cli.js"
|
|
|
3642 |
}
|
3643 |
},
|
3644 |
"node_modules/puppeteer-core": {
|
3645 |
+
"version": "22.13.1",
|
3646 |
+
"resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-22.13.1.tgz",
|
3647 |
+
"integrity": "sha512-NmhnASYp51QPRCAf9n0OPxuPMmzkKd8+2sB9Q+BjwwCG25gz6iuNc3LQDWa+cH2tyivmJppLhNNFt6Q3HmoOpw==",
|
3648 |
"dependencies": {
|
3649 |
+
"@puppeteer/browsers": "2.2.4",
|
3650 |
+
"chromium-bidi": "0.6.1",
|
3651 |
+
"debug": "^4.3.5",
|
3652 |
"devtools-protocol": "0.0.1299070",
|
3653 |
+
"ws": "^8.18.0"
|
3654 |
},
|
3655 |
"engines": {
|
3656 |
"node": ">=18"
|
|
|
3678 |
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
3679 |
},
|
3680 |
"node_modules/puppeteer-core/node_modules/ws": {
|
3681 |
+
"version": "8.18.0",
|
3682 |
+
"resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz",
|
3683 |
+
"integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==",
|
3684 |
"engines": {
|
3685 |
"node": ">=10.0.0"
|
3686 |
},
|
|
|
3720 |
}
|
3721 |
},
|
3722 |
"node_modules/query-string": {
|
3723 |
+
"version": "9.1.0",
|
3724 |
+
"resolved": "https://registry.npmjs.org/query-string/-/query-string-9.1.0.tgz",
|
3725 |
+
"integrity": "sha512-t6dqMECpCkqfyv2FfwVS1xcB6lgXW/0XZSaKdsCNGYkqMO76AFiJEg4vINzoDKcZa6MS7JX+OHIjwh06K5vczw==",
|
3726 |
"dependencies": {
|
3727 |
"decode-uri-component": "^0.4.1",
|
3728 |
"filter-obj": "^5.1.0",
|
|
|
3908 |
"integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg=="
|
3909 |
},
|
3910 |
"node_modules/semver": {
|
3911 |
+
"version": "7.6.3",
|
3912 |
+
"resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
|
3913 |
+
"integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
|
3914 |
"bin": {
|
3915 |
"semver": "bin/semver.js"
|
3916 |
},
|
|
|
4083 |
}
|
4084 |
},
|
4085 |
"node_modules/socks-proxy-agent": {
|
4086 |
+
"version": "8.0.4",
|
4087 |
+
"resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.4.tgz",
|
4088 |
+
"integrity": "sha512-GNAq/eg8Udq2x0eNiFkr9gRg5bA7PXEWagQdeRX4cPSG+X/8V38v637gim9bjFptMk1QWsCTr0ttrJEiXbNnRw==",
|
4089 |
"dependencies": {
|
4090 |
"agent-base": "^7.1.1",
|
4091 |
"debug": "^4.3.4",
|
4092 |
+
"socks": "^2.8.3"
|
4093 |
},
|
4094 |
"engines": {
|
4095 |
"node": ">= 14"
|
|
|
4243 |
}
|
4244 |
},
|
4245 |
"node_modules/tar-fs": {
|
4246 |
+
"version": "3.0.6",
|
4247 |
+
"resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.6.tgz",
|
4248 |
+
"integrity": "sha512-iokBDQQkUyeXhgPYaZxmczGPhnhXZ0CmrqI+MOb/WFGS9DW5wnfrLgtjUJBvz50vQ3qfRwJ62QVoCFu8mPVu5w==",
|
4249 |
"dependencies": {
|
4250 |
"pump": "^3.0.0",
|
4251 |
"tar-stream": "^3.1.5"
|
|
|
4266 |
}
|
4267 |
},
|
4268 |
"node_modules/text-decoder": {
|
4269 |
+
"version": "1.1.1",
|
4270 |
+
"resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.1.1.tgz",
|
4271 |
+
"integrity": "sha512-8zll7REEv4GDD3x4/0pW+ppIxSNs7H1J10IKFZsuOMscumCdM2a+toDGLPA3T+1+fLBql4zbt5z83GEQGGV5VA==",
|
4272 |
"dependencies": {
|
4273 |
"b4a": "^1.6.4"
|
4274 |
}
|
|
|
4345 |
"integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ=="
|
4346 |
},
|
4347 |
"node_modules/tsx": {
|
4348 |
+
"version": "4.16.2",
|
4349 |
+
"resolved": "https://registry.npmjs.org/tsx/-/tsx-4.16.2.tgz",
|
4350 |
+
"integrity": "sha512-C1uWweJDgdtX2x600HjaFaucXTilT7tgUZHbOE4+ypskZ1OP8CRCSDkCxG6Vya9EwaFIVagWwpaVAn5wzypaqQ==",
|
4351 |
"dev": true,
|
4352 |
"dependencies": {
|
4353 |
+
"esbuild": "~0.21.5",
|
4354 |
"get-tsconfig": "^4.7.5"
|
4355 |
},
|
4356 |
"bin": {
|
|
|
4393 |
}
|
4394 |
},
|
4395 |
"node_modules/typescript": {
|
4396 |
+
"version": "5.5.4",
|
4397 |
+
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz",
|
4398 |
+
"integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==",
|
4399 |
"peer": true,
|
4400 |
"bin": {
|
4401 |
"tsc": "bin/tsc",
|
|
|
4516 |
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
|
4517 |
},
|
4518 |
"node_modules/ws": {
|
4519 |
+
"version": "7.5.10",
|
4520 |
+
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz",
|
4521 |
+
"integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==",
|
4522 |
"engines": {
|
4523 |
"node": ">=8.3.0"
|
4524 |
},
|
|
|
4549 |
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
|
4550 |
},
|
4551 |
"node_modules/yaml": {
|
4552 |
+
"version": "2.5.0",
|
4553 |
+
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.0.tgz",
|
4554 |
+
"integrity": "sha512-2wWLbGbYDiSqqIKoPjar3MPgB94ErzCtrNE1FdqGuaO0pi2JGjmE8aW8TDZwzU7vuxcGRdL/4gPQwQ7hD5AMSw==",
|
4555 |
"bin": {
|
4556 |
"yaml": "bin.mjs"
|
4557 |
},
|
package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"name": "ai-tube-clap-exporter",
|
3 |
-
"version": "1.
|
4 |
"description": "API service to convert a .clap (will all its assets) to a video file",
|
5 |
"main": "src/index.ts",
|
6 |
"scripts": {
|
@@ -13,7 +13,7 @@
|
|
13 |
"author": "Julian Bilcke <julian.bilcke@huggingface.co>",
|
14 |
"license": "Apache License",
|
15 |
"dependencies": {
|
16 |
-
"@aitube/clap": "0.
|
17 |
"@aitube/encoders": "0.0.0",
|
18 |
"@aitube/io": "0.0.1",
|
19 |
"dotenv": "^16.4.5",
|
|
|
1 |
{
|
2 |
"name": "ai-tube-clap-exporter",
|
3 |
+
"version": "1.1.2",
|
4 |
"description": "API service to convert a .clap (will all its assets) to a video file",
|
5 |
"main": "src/index.ts",
|
6 |
"scripts": {
|
|
|
13 |
"author": "Julian Bilcke <julian.bilcke@huggingface.co>",
|
14 |
"license": "Apache License",
|
15 |
"dependencies": {
|
16 |
+
"@aitube/clap": "0.1.2",
|
17 |
"@aitube/encoders": "0.0.0",
|
18 |
"@aitube/io": "0.0.1",
|
19 |
"dotenv": "^16.4.5",
|
src/core/utils/videoChunksOnly.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
import { ClapProject, ClapSegment, ClapSegmentCategory } from "@aitube/clap"
|
2 |
|
3 |
export function videoChunksOnly(clap: ClapProject): ClapSegment[] {
|
4 |
const alreadyAnEmbeddedFinalVideo = clap.segments.filter(s =>
|
5 |
s.category === ClapSegmentCategory.VIDEO &&
|
6 |
-
s.status ===
|
7 |
s.startTimeInMs === 0 &&
|
8 |
s.endTimeInMs === clap.meta.durationInMs &&
|
9 |
s.assetUrl).at(0)
|
|
|
1 |
+
import { ClapProject, ClapSegment, ClapSegmentCategory, ClapSegmentStatus } from "@aitube/clap"
|
2 |
|
3 |
export function videoChunksOnly(clap: ClapProject): ClapSegment[] {
|
4 |
const alreadyAnEmbeddedFinalVideo = clap.segments.filter(s =>
|
5 |
s.category === ClapSegmentCategory.VIDEO &&
|
6 |
+
s.status === ClapSegmentStatus.COMPLETED &&
|
7 |
s.startTimeInMs === 0 &&
|
8 |
s.endTimeInMs === clap.meta.durationInMs &&
|
9 |
s.assetUrl).at(0)
|