Subida inicial de extension fish en la raíz del repositorio
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- enlaces_fish_audio.txt +396 -0
- firebase_key.json +13 -0
- images/.gitkeep +2 -0
- images/icon128.png +3 -0
- images/icon16.png +3 -0
- images/icon48.png +3 -0
- images/v_23243a214359.png +3 -0
- images/v_35199d543885.png +3 -0
- images/v_87e2a0788b12.png +3 -0
- index.html +351 -0
- manifest.json +33 -0
- node_modules/.bin/fxparser +16 -0
- node_modules/.bin/fxparser.cmd +17 -0
- node_modules/.bin/fxparser.ps1 +28 -0
- node_modules/.bin/glob +16 -0
- node_modules/.bin/glob.cmd +17 -0
- node_modules/.bin/glob.ps1 +28 -0
- node_modules/.bin/mime +16 -0
- node_modules/.bin/mime.cmd +17 -0
- node_modules/.bin/mime.ps1 +28 -0
- node_modules/.bin/node-which +16 -0
- node_modules/.bin/node-which.cmd +17 -0
- node_modules/.bin/node-which.ps1 +28 -0
- node_modules/.bin/proto-loader-gen-types +16 -0
- node_modules/.bin/proto-loader-gen-types.cmd +17 -0
- node_modules/.bin/proto-loader-gen-types.ps1 +28 -0
- node_modules/.bin/rimraf +16 -0
- node_modules/.bin/rimraf.cmd +17 -0
- node_modules/.bin/rimraf.ps1 +28 -0
- node_modules/.bin/semver +16 -0
- node_modules/.bin/semver.cmd +17 -0
- node_modules/.bin/semver.ps1 +28 -0
- node_modules/.bin/uuid +16 -0
- node_modules/.bin/uuid.cmd +17 -0
- node_modules/.bin/uuid.ps1 +28 -0
- node_modules/.package-lock.json +0 -0
- node_modules/@fastify/busboy/LICENSE +22 -0
- node_modules/@fastify/busboy/README.md +266 -0
- node_modules/@fastify/busboy/deps/dicer/LICENSE +19 -0
- node_modules/@fastify/busboy/deps/dicer/lib/Dicer.js +213 -0
- node_modules/@fastify/busboy/deps/dicer/lib/HeaderParser.js +149 -0
- node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js +13 -0
- node_modules/@fastify/busboy/deps/dicer/lib/dicer.d.ts +164 -0
- node_modules/@fastify/busboy/deps/streamsearch/sbmh.js +230 -0
- node_modules/@fastify/busboy/index.js +85 -0
- node_modules/@fastify/busboy/lib/types/multipart.js +317 -0
- node_modules/@fastify/busboy/lib/types/urlencoded.js +190 -0
- node_modules/@fastify/busboy/lib/utils/Decoder.js +54 -0
- node_modules/@fastify/busboy/lib/utils/basename.js +14 -0
- node_modules/@fastify/busboy/lib/utils/decodeText.js +122 -0
enlaces_fish_audio.txt
ADDED
|
@@ -0,0 +1,396 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=========================================================
|
| 2 |
+
LISTADO COMPLETO DE VOCES REALES Y FUNCIONALES (78)
|
| 3 |
+
=========================================================
|
| 4 |
+
Total de Voces Reales y Funcionales: 78
|
| 5 |
+
=========================================================
|
| 6 |
+
|
| 7 |
+
[1] Arisse
|
| 8 |
+
ENLACE REAL: https://fish.audio/m/2a06374934314456aa474f5ff0b2576d
|
| 9 |
+
ID: v_2a0637493431
|
| 10 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/01bf1ca72c604b26bfdd55abd964e132.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195458Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=9cbc18f520c105cda9c4d929a31ae922032e52485ef870f2f7249b534776c6bf
|
| 11 |
+
---------------------------------------------------------
|
| 12 |
+
[2] Brian Tracy (Español)
|
| 13 |
+
ENLACE REAL: https://fish.audio/m/cd803cbf78a4454fa98b601abbf8966a
|
| 14 |
+
ID: v_cd803cbf78a4
|
| 15 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/6518d8b57608499f8b7fc485f11944b3.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195524Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=f3169ed3f47aa205ba2ad02fbf81429eecabe92c72b533a3abb9d1420404599a
|
| 16 |
+
---------------------------------------------------------
|
| 17 |
+
[3] brodyforuo
|
| 18 |
+
ENLACE REAL: https://fish.audio/m/0217ae46620a48e5a63a2e4f0b4a34c5
|
| 19 |
+
ID: v_0217ae46620a
|
| 20 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/2c68837b566d47b3805e734478e2c1a0.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195448Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=049b64ce41879b578ad2225691e63e068265eefed631d22572139cef8ccabfec
|
| 21 |
+
---------------------------------------------------------
|
| 22 |
+
[4] Cabo
|
| 23 |
+
ENLACE REAL: https://fish.audio/m/e2deeb745e854dce8b0bb8426450865a
|
| 24 |
+
ID: v_e2deeb745e85
|
| 25 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/9279add9daad4cd9bd3c8435d2bb2b43.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195526Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=3e1980db5e94ad069224cc4ab62766eeae39f01251accb6c2d7afca7de90f225
|
| 26 |
+
---------------------------------------------------------
|
| 27 |
+
[5] dante
|
| 28 |
+
ENLACE REAL: https://fish.audio/m/5de2ba92011847c8bd761d95ae3b904f
|
| 29 |
+
ID: v_5de2ba920118
|
| 30 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/a6d2c23481d54349bc6070abbfb49ac7.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195505Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=c9a8904cdd4e60f4bdcab3a1fe3a850b6647ec9169a1b3e76e88b79f127cd394
|
| 31 |
+
---------------------------------------------------------
|
| 32 |
+
[6] El Narrador
|
| 33 |
+
ENLACE REAL: https://fish.audio/m/23243a2143594b109b4ad67c4bdd2ec0
|
| 34 |
+
ID: v_23243a214359
|
| 35 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/f49dfa0295914fc19dabf23eaf2e0c44.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T202248Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=668f353474666b0db4c93baf61f6d825ca2f0c0761753cfe49535d320823a0ff
|
| 36 |
+
---------------------------------------------------------
|
| 37 |
+
[7] En minutos
|
| 38 |
+
ENLACE REAL: https://fish.audio/m/c00d86dab7dd4aa094f7d7c61d64f474
|
| 39 |
+
ID: v_c00d86dab7dd
|
| 40 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/d74c618f7b014484b131b6da7aaa5d47.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195522Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=b05d3aa71904e53d0b8ec9ac23272fc68e25e0ce7e48247c21ee22679965d293
|
| 41 |
+
---------------------------------------------------------
|
| 42 |
+
[8] Esqueleto
|
| 43 |
+
ENLACE REAL: https://fish.audio/m/5e95c590cfcb46ab927a9ec7b35a88c7
|
| 44 |
+
ID: v_5e95c590cfcb
|
| 45 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/7eaf82053fc542359e7cee256efc8a01.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195506Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=50aff45878e20fb63448626bfff826c76f45b1bb377485273f39d734e24d22da
|
| 46 |
+
---------------------------------------------------------
|
| 47 |
+
[9] Farid dick 2
|
| 48 |
+
ENLACE REAL: https://fish.audio/m/5bec805f042d447cb4c542f49f225178
|
| 49 |
+
ID: v_5bec805f042d
|
| 50 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/c626e69e4fdf4798a14687f94d0c1c2d.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195505Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=73083fc93be86e4d96da984a80839829ef0c232ba926ff733fa3e429895a9b29
|
| 51 |
+
---------------------------------------------------------
|
| 52 |
+
[10] foryou
|
| 53 |
+
ENLACE REAL: https://fish.audio/m/9529e69adca746ac97394c51ab65a9d7
|
| 54 |
+
ID: v_9529e69adca7
|
| 55 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/0fdeb685f5ba424f960c36d146193363.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195515Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=eabfd5f19d87b82f831f5ecd148828c59e3440e5d77681f53e637ae561ef9faf
|
| 56 |
+
---------------------------------------------------------
|
| 57 |
+
[11] Grox
|
| 58 |
+
ENLACE REAL: https://fish.audio/m/bfad318da189489eb058a5ec9bb4958c
|
| 59 |
+
ID: v_bfad318da189
|
| 60 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/tasks/2026-07-23/72c2dd131bb24f799233e98510bdfb00.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195522Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=1eca47f049a1c8a386d2ffc633e5fd26305874e867b4fe61a73d50332b50faf5
|
| 61 |
+
---------------------------------------------------------
|
| 62 |
+
[12] Guerrero Dramático
|
| 63 |
+
ENLACE REAL: https://fish.audio/m/79350ab8f0fb44069848bd35b71cee59
|
| 64 |
+
ID: v_79350ab8f0fb
|
| 65 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/63c06337d538424f8045cf143fac9b6a.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195510Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=747deee06b6d65e8d8fe8b5cc162598913cfc74f2fa351f7a4f66f44ec2d7d4e
|
| 66 |
+
---------------------------------------------------------
|
| 67 |
+
[13] Hechicera Juvenil
|
| 68 |
+
ENLACE REAL: https://fish.audio/m/a555fb506e7e4ce490ff0c87361f8019
|
| 69 |
+
ID: v_a555fb506e7e
|
| 70 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/tasks/2026-08-15/29bf4e0bbfbb43fd97bfec829388e4f9.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195518Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=687d4ec8902d70e16aaca7b532b8259686e3487704c39bca3bac3bdb6cf8003d
|
| 71 |
+
---------------------------------------------------------
|
| 72 |
+
[14] jesus narrador
|
| 73 |
+
ENLACE REAL: https://fish.audio/m/f53102becdf94a51af6d64010bc658f2
|
| 74 |
+
ID: v_f53102becdf9
|
| 75 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/2721a8a0f706421096f3a64c93a9d0b1.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195528Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=926387ab6a4b4d6a456ffdd8e57d78ad483ab9737e00c585dda7dbb34c8d595a
|
| 76 |
+
---------------------------------------------------------
|
| 77 |
+
[15] Joven Voz Masculina
|
| 78 |
+
ENLACE REAL: https://fish.audio/m/39ca63a285624922ae7334f8c483e5dd
|
| 79 |
+
ID: v_39ca63a28562
|
| 80 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/tasks/2026-08-15/6e2044ded21846538448b680f045f775.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195503Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=6e01aa5bcd70ca05350ae7feb8351795f4da66dbcb6ec3a977d0a72047814647
|
| 81 |
+
---------------------------------------------------------
|
| 82 |
+
[16] Joven Voz Narrativa
|
| 83 |
+
ENLACE REAL: https://fish.audio/m/d6f2fc14b53c47848128ba3f7bedcefb
|
| 84 |
+
ID: v_d6f2fc14b53c
|
| 85 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/tasks/2026-08-07/b9b24afba3974f4b9237608831df8464.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195525Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=0993d08ecf88c7d3fbe6077cd561b4e93c49fefb7d8110a4a145e8b14cd83fa8
|
| 86 |
+
---------------------------------------------------------
|
| 87 |
+
[17] Kinger
|
| 88 |
+
ENLACE REAL: https://fish.audio/m/38af4941931f4c1495378c25ff8b1efd
|
| 89 |
+
ID: v_38af4941931f
|
| 90 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/1afa3a3c4ffa470fa452fae90244ebeb.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195503Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=333724a61bfd62849a0835c358c4df99f5ce3810bb088410d3952a9ca6356af0
|
| 91 |
+
---------------------------------------------------------
|
| 92 |
+
[18] Kinger
|
| 93 |
+
ENLACE REAL: https://fish.audio/m/837d287f96154717abe9b7f2ad509070
|
| 94 |
+
ID: v_837d287f9615
|
| 95 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/d55c60733a3c4e2482ab41f56d10484d.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195511Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=cf6ce06fb8a4cc9d71246ab71df5f7055b0c149cfdc599db677dfd8ac3d96b80
|
| 96 |
+
---------------------------------------------------------
|
| 97 |
+
[19] Kinger (Español Latino)
|
| 98 |
+
ENLACE REAL: https://fish.audio/m/a7caf4b47a24432e946f28e24eba6ea9
|
| 99 |
+
ID: v_a7caf4b47a24
|
| 100 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/f88c8cc202e24e9bb7b02fd9a489f72a.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195519Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=a0e879d7bf020f0ccaa53113245c311e799e9c63145e23cf6c2d04ed82039078
|
| 101 |
+
---------------------------------------------------------
|
| 102 |
+
[20] Kiyotaka Ayanokoji
|
| 103 |
+
ENLACE REAL: https://fish.audio/m/10aa88cc516b4e1c9d02d998109bf8ed
|
| 104 |
+
ID: v_10aa88cc516b
|
| 105 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/550cc4af946c472aae48dcbbc195af6d.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195450Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=5796aed3f5033ff34399d7330a94588875bdf27f157d65d53a2c3edc2f7d9118
|
| 106 |
+
---------------------------------------------------------
|
| 107 |
+
[21] Leonardo Dicaprio
|
| 108 |
+
ENLACE REAL: https://fish.audio/m/2caa2968ab2a45499b952f3d83e5f97f
|
| 109 |
+
ID: v_2caa2968ab2a
|
| 110 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/9aff07ae2eb44edaa20dc241b3556f53.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195500Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=d561e806f8436a4cb274e0de3efb50422b55ca40619c18a78a2d77bbde563690
|
| 111 |
+
---------------------------------------------------------
|
| 112 |
+
[22] loquendo
|
| 113 |
+
ENLACE REAL: https://fish.audio/m/76c61dd1a7ac4b9dbde5a3adc2243121
|
| 114 |
+
ID: v_76c61dd1a7ac
|
| 115 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/7ce91831d91c4e89ab059b6a9fac04a2.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195509Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=bdb558e9e51a2e4fff5899373791da623d4824c5615a1903043e029680cfcfad
|
| 116 |
+
---------------------------------------------------------
|
| 117 |
+
[23] Maestro Sabio
|
| 118 |
+
ENLACE REAL: https://fish.audio/m/855a4a994e394f369733596a87cc8fc9
|
| 119 |
+
ID: v_855a4a994e39
|
| 120 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/tasks/2026-08-21/61517dbc75314008922ca9daefb2104a.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195511Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=b267d5ffeac83405e1a65841cca51db4a7c5d0e050df57f26ea1e6f4878eea33
|
| 121 |
+
---------------------------------------------------------
|
| 122 |
+
[24] morgan fregman latino
|
| 123 |
+
ENLACE REAL: https://fish.audio/m/7c76e349434d4f1e97078d924acea65f
|
| 124 |
+
ID: v_7c76e349434d
|
| 125 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/6c9089bda5d046e8b3deb30cfc7d062f.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195510Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=be6ad26c47652c5c9dbb5a3bf7a7cdd2517462e4b771bca13037eeb3a4dc6b81
|
| 126 |
+
---------------------------------------------------------
|
| 127 |
+
[25] mujer
|
| 128 |
+
ENLACE REAL: https://fish.audio/m/b466224d37d642ef94acdcc240b36ebd
|
| 129 |
+
ID: v_b466224d37d6
|
| 130 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/4b7cca1f8e824aca9fd9abf30e0c52a9.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195521Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=4365a092ab33a46989e5547e469b060e281d9d0d535d74183e88b79c1af5031b
|
| 131 |
+
---------------------------------------------------------
|
| 132 |
+
[26] mujer de tiktok con ruido
|
| 133 |
+
ENLACE REAL: https://fish.audio/m/2c48da4d46b1450cb7329b551a4494c9
|
| 134 |
+
ID: v_2c48da4d46b1
|
| 135 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/7202d54b0e594b3d9a2071fc4af9a94f.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195458Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=3d9384daca67a4f3d3f5450527e632e3cd52c54e4eba7a86872181b822741126
|
| 136 |
+
---------------------------------------------------------
|
| 137 |
+
[27] narra roblox
|
| 138 |
+
ENLACE REAL: https://fish.audio/m/91c72bccd67d4076b7928cdfc5c0e23a
|
| 139 |
+
ID: v_91c72bccd67d
|
| 140 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/f438f7a6f27540ce8afb7125e849655f.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195514Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=17cfa888c82c65a090b40b6da39b3f095e158f6415f4af2d1a6637689fbf1807
|
| 141 |
+
---------------------------------------------------------
|
| 142 |
+
[28] Narrador Animado y Dinámico
|
| 143 |
+
ENLACE REAL: https://fish.audio/m/f1d222000a5c4cd2ba2d3a5ff6efb39f
|
| 144 |
+
ID: v_f1d222000a5c
|
| 145 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/tasks/2026-08-07/34a5090abac74d8e9926163f0af4b8c0.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195527Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=5a55492221bc053c50296580f3f8f067f7dc0551bc76232d688a33cb3fb89ba1
|
| 146 |
+
---------------------------------------------------------
|
| 147 |
+
[29] Narrador Bíblico
|
| 148 |
+
ENLACE REAL: https://fish.audio/m/6fd222abb2ae49049c3d58443ad55408
|
| 149 |
+
ID: v_6fd222abb2ae
|
| 150 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/34393f23038941afa6c2114a24000ce6.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195411Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=eea00b96c3be01fa5cb7fe7ad5c8c8eed7a34fa0916e454f063051324210a6fd
|
| 151 |
+
---------------------------------------------------------
|
| 152 |
+
[30] Narrador Dramático Español
|
| 153 |
+
ENLACE REAL: https://fish.audio/m/3db0dabef1e2403096674c70ecbeac4c
|
| 154 |
+
ID: v_3db0dabef1e2
|
| 155 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/ee4f4a0208ff4e25ba370725be4d67bc.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195504Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=1d69c45eab91e5f779675134b15f3f8ae67c350b09c0f456f098695745014495
|
| 156 |
+
---------------------------------------------------------
|
| 157 |
+
[31] Narrador Masculino Cálido
|
| 158 |
+
ENLACE REAL: https://fish.audio/m/a493817d1dd94516847e079220e65169
|
| 159 |
+
ID: v_a493817d1dd9
|
| 160 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/tasks/2026-08-19/cd8acfe2da5b49498e6d4a4ce3bcb577.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195518Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=3d226afa44612f7dd4270b98c067f8854e62f6d5c645ba938dde83c1c556a430
|
| 161 |
+
---------------------------------------------------------
|
| 162 |
+
[32] Narrador Masculino Versátil
|
| 163 |
+
ENLACE REAL: https://fish.audio/m/40170a98f0534a388009c418a8a599ff
|
| 164 |
+
ID: v_40170a98f053
|
| 165 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/tasks/2026-08-10/40452f487a2b411491e2be06843fe6eb.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195315Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=db3bf2c1702f594e7b9c7eb2dbe4225042ab56791574517a1df43449e5dd93d8
|
| 166 |
+
---------------------------------------------------------
|
| 167 |
+
[33] Narrador Misterioso
|
| 168 |
+
ENLACE REAL: https://fish.audio/m/6caa57ae61fc41a6ad16de857852e9d5
|
| 169 |
+
ID: v_6caa57ae61fc
|
| 170 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/d7ab4094b2ad44a18a2b7c9e43005c5f.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195507Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=d2a38a170053a5f9339658c4584601913448255acdf425eb5d0093d7df333dd7
|
| 171 |
+
---------------------------------------------------------
|
| 172 |
+
[34] Narrador Sabio Español
|
| 173 |
+
ENLACE REAL: https://fish.audio/m/d822a12e4d034f0bacce2a2519ebfcd7
|
| 174 |
+
ID: v_d822a12e4d03
|
| 175 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/0e1c78e98581420fb0597b5f862231bb.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195525Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=afd5b8253a0c6318e643aab7ed5b1d78c6fd65c2b18d07f1f996f25a502623a4
|
| 176 |
+
---------------------------------------------------------
|
| 177 |
+
[35] Narrador Sereno
|
| 178 |
+
ENLACE REAL: https://fish.audio/m/19bb7efea6bd43b09926234be51746a3
|
| 179 |
+
ID: v_19bb7efea6bd
|
| 180 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/bc3b0cc6fcef43fb8b9a4601af5a6962.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195453Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=3806c1e2e12d0b3fe7f6ac976004346726040a24df0325ce5f55e1d6f5662c4f
|
| 181 |
+
---------------------------------------------------------
|
| 182 |
+
[36] Narrador Sereno Español
|
| 183 |
+
ENLACE REAL: https://fish.audio/m/19e3b75cc9074341bde4d4910c91eb7c
|
| 184 |
+
ID: v_19e3b75cc907
|
| 185 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/398414b449f24873a34cdce8238a242c.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195453Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=cd1050c9c7e29aa14110acf9aabee31df6651d3c4a37ff1de0a701a2bb81945c
|
| 186 |
+
---------------------------------------------------------
|
| 187 |
+
[37] Narrador Serio Español
|
| 188 |
+
ENLACE REAL: https://fish.audio/m/9ea5a122e3d94297b052d87a92c0a824
|
| 189 |
+
ID: v_9ea5a122e3d9
|
| 190 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/50a117921f3847b2a2e2f66f4c90db41.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195516Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=24150a5b13f1b8ac9d3d25b64100c205d27a6ed43440d74d6cf319e8b384b80f
|
| 191 |
+
---------------------------------------------------------
|
| 192 |
+
[38] Narrador Terror
|
| 193 |
+
ENLACE REAL: https://fish.audio/m/f9488c0dd5b84b748fd51c6deda08846
|
| 194 |
+
ID: v_f9488c0dd5b8
|
| 195 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/2a685268b27e4eca94738af6fa31534f.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195529Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=674cdc353875d41ae7f51bbc6293fcbb5a883f84327d261baa6b054b99e028e1
|
| 196 |
+
---------------------------------------------------------
|
| 197 |
+
[39] Narrador tops
|
| 198 |
+
ENLACE REAL: https://fish.audio/m/b24082d312194cdaa0258784060c3e63
|
| 199 |
+
ID: v_b24082d31219
|
| 200 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/b01cc528bc634f649d6b3b558b876ee2.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195520Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=f47c6ebe3c4b031baddfa20b11ffa5888f3e5276eec2dfd1ba73d2a94fa4ec6a
|
| 201 |
+
---------------------------------------------------------
|
| 202 |
+
[40] Narrador v2
|
| 203 |
+
ENLACE REAL: https://fish.audio/m/35199d5438854f5d9157c500479ab684
|
| 204 |
+
ID: v_35199d543885
|
| 205 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/a51ad6c6c4b94ba2911fd153b0f7b7a2.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T202237Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=f6db90ba1b275538641f57cf776f5f64cc8f07edbf6a318580d9dfc93734c6f9
|
| 206 |
+
---------------------------------------------------------
|
| 207 |
+
[41] Narradora Arise
|
| 208 |
+
ENLACE REAL: https://fish.audio/m/9c76aa7f1f464347b71107aa59b57a9a
|
| 209 |
+
ID: v_9c76aa7f1f46
|
| 210 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/51ded16b83cc438e9198b19cb52f3a7f.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195411Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=07b6d06ce3a8d799f627ef3629c35167e8c65429e53d32bd3d3296676b05c132
|
| 211 |
+
---------------------------------------------------------
|
| 212 |
+
[42] niño
|
| 213 |
+
ENLACE REAL: https://fish.audio/m/1dd449e1a6a74b99b5b41a72039b00b3
|
| 214 |
+
ID: v_1dd449e1a6a7
|
| 215 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/145b0bb6f78d4985a40abf4852fcd38b.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195454Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=a00850732ced4af210dc17ffa7824554687104641d826913df9052f96e2c7047
|
| 216 |
+
---------------------------------------------------------
|
| 217 |
+
[43] Niño
|
| 218 |
+
ENLACE REAL: https://fish.audio/m/4bf824ad60d04021ab9dee8b24653a55
|
| 219 |
+
ID: v_4bf824ad60d0
|
| 220 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/529303a8cdfc41038f489191d446bd44.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195504Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=eea615b369e53f9f052f00936115e3ac20fa2be3a8245a2ba8c29ff138ec822f
|
| 221 |
+
---------------------------------------------------------
|
| 222 |
+
[44] Niño
|
| 223 |
+
ENLACE REAL: https://fish.audio/m/9cb697fa1b5e44f1822836ef8fb1992e
|
| 224 |
+
ID: v_9cb697fa1b5e
|
| 225 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/a6fd46d685b748dfb98ce81fd70af8ca.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195515Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=58c4965f0eacfcde5795411a2cf72c94d6ed81c5fce8818e90655b04e596220c
|
| 226 |
+
---------------------------------------------------------
|
| 227 |
+
[45] Niño
|
| 228 |
+
ENLACE REAL: https://fish.audio/m/fa6dc260fa614036a7c526c43955f54b
|
| 229 |
+
ID: v_fa6dc260fa61
|
| 230 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/c0a26c447e034a2fa68ba4f643a4a07a.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195530Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=a35987d64f9b6c6eb34bbc5da60e327f1464b14dba25092e07ad102394e5e33b
|
| 231 |
+
---------------------------------------------------------
|
| 232 |
+
[46] Niño Rioplatense
|
| 233 |
+
ENLACE REAL: https://fish.audio/m/fc0b29be5c2d4b2fa4315de63f2db68f
|
| 234 |
+
ID: v_fc0b29be5c2d
|
| 235 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/4a797e90ac0a478ba87f4c018eb3df28.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195530Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=3b5b7bc177f35f08ce92711ab62ae3132669b10e4941057f43ecd5af44550ac9
|
| 236 |
+
---------------------------------------------------------
|
| 237 |
+
[47] Noticia
|
| 238 |
+
ENLACE REAL: https://fish.audio/m/8d6552c9d678407daabd8e408e6fbbd8
|
| 239 |
+
ID: v_8d6552c9d678
|
| 240 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/d3d3cde8b8ef4847b0519c89511b2ecf.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195513Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=8e2c6658e500ab22b9a46074f242d307e1ab8d261b0f8284a568c888e4cd06be
|
| 241 |
+
---------------------------------------------------------
|
| 242 |
+
[48] QARI
|
| 243 |
+
ENLACE REAL: https://fish.audio/m/f6c2998a6b3144418f064ad8dda1e6e0
|
| 244 |
+
ID: v_f6c2998a6b31
|
| 245 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/ecc8420b90754a778146ba1645b0bc74.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195528Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=987d1b1448c6a0e56266304270300069157a981b8a04a09e186ac8a1c3e50c2a
|
| 246 |
+
---------------------------------------------------------
|
| 247 |
+
[49] Sabio Narrador
|
| 248 |
+
ENLACE REAL: https://fish.audio/m/31eeb82411874fa8baf71597970b3548
|
| 249 |
+
ID: v_31eeb8241187
|
| 250 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/f664f5bcdbf3402c888e3bd9b60f9bd5.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195501Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=3790aa430b6d2be2e811f9c7ad9fac20a8a2415137450beb9c041e2538d63984
|
| 251 |
+
---------------------------------------------------------
|
| 252 |
+
[50] shorts español voice
|
| 253 |
+
ENLACE REAL: https://fish.audio/m/0b70d36595584a968853b96c57ae8da4
|
| 254 |
+
ID: v_0b70d3659558
|
| 255 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/e9b8e9b6c0d34af8b3ec09dfcea8e0cc.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195449Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=0e9e73446f916715a989c7d773490a144857522000054ea1c5b1fad46483853c
|
| 256 |
+
---------------------------------------------------------
|
| 257 |
+
[51] tai lung
|
| 258 |
+
ENLACE REAL: https://fish.audio/m/eaa7a3417355491788fc3fc8d6b29d1a
|
| 259 |
+
ID: v_eaa7a3417355
|
| 260 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/caea43576bf24815827b8bca45321566.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195526Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=02f9a1e496b572a542d0e39a998424db24456ae210dbaa16de02401d4b01cb54
|
| 261 |
+
---------------------------------------------------------
|
| 262 |
+
[52] Terror analogic
|
| 263 |
+
ENLACE REAL: https://fish.audio/m/610a5884a3c046be9a4f031291531a68
|
| 264 |
+
ID: v_610a5884a3c0
|
| 265 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/4a294a610eb34bfdbf8cf211ea215532.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195506Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=73eabc62643e08d223e358c31457393fae77bbfbfe2ab089dc06528887c4441e
|
| 266 |
+
---------------------------------------------------------
|
| 267 |
+
[53] tiktok español
|
| 268 |
+
ENLACE REAL: https://fish.audio/m/6d8c38d2ab054b46bcf6fe3ab436e1b5
|
| 269 |
+
ID: v_6d8c38d2ab05
|
| 270 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/6fd88d69117b43ecbf6f2612cfe73669.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195507Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=a3c35e7fb77caa749d16142a1a9e9e3d32f4e44bd11fda4c4114b392fdb588e0
|
| 271 |
+
---------------------------------------------------------
|
| 272 |
+
[54] TRUK
|
| 273 |
+
ENLACE REAL: https://fish.audio/m/938dee8b63164177a1a99b6fe27f2de3
|
| 274 |
+
ID: v_938dee8b6316
|
| 275 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/1106da8bf27845f99f68fe00c7f73e09.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195514Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=69d0ce126efd6ddb7d0aeff8edec5b1b8b1d34f4311097b9fb7ba8d1f982337d
|
| 276 |
+
---------------------------------------------------------
|
| 277 |
+
[55] TRUU V2
|
| 278 |
+
ENLACE REAL: https://fish.audio/m/22aa2efced0b451994dce51cccd4d2da
|
| 279 |
+
ID: v_22aa2efced0b
|
| 280 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/46f43d55556d493bbe31e645cd5befe6.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195454Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=3d5cf84630226ba2b4180625fec8d6113627ad78a4e63547bc11a6b6c7d6561a
|
| 281 |
+
---------------------------------------------------------
|
| 282 |
+
[56] Valentino Narración Biblica Fer
|
| 283 |
+
ENLACE REAL: https://fish.audio/m/8d2c17a9b26d4d83888ea67a1ee565b2
|
| 284 |
+
ID: v_8d2c17a9b26d
|
| 285 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/59ce7df6935c42249759327ddf70f37b.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195512Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=01c7f10e76fa8e038de10c0153f260c578956b232a896d6aa7fd5052e7711dad
|
| 286 |
+
---------------------------------------------------------
|
| 287 |
+
[57] VOZ HOMBRE MEXICANO
|
| 288 |
+
ENLACE REAL: https://fish.audio/m/bdc692a77e0a4a13b285d8b945c1dc04
|
| 289 |
+
ID: v_bdc692a77e0a
|
| 290 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/eb7106fe711b47d3a1c85e2f2e5963cc.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195521Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=8042b41c51bdf21204f0d4d45d3a2afc86bb85aa7dafa2f66e8d13246970a7a2
|
| 291 |
+
---------------------------------------------------------
|
| 292 |
+
[58] Voz de Locutor - Para Youtube Shorts
|
| 293 |
+
ENLACE REAL: https://fish.audio/m/279bb697a5b94a3a80ad8912136b6a5d
|
| 294 |
+
ID: v_279bb697a5b9
|
| 295 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/31800ff7dbe34dd9b6bd39580316b6e1.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195456Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=f2275523a4007e36f687552ede8131b7c95c646ee9bbe953595cb5d068651a43
|
| 296 |
+
---------------------------------------------------------
|
| 297 |
+
[59] Voz de narrador
|
| 298 |
+
ENLACE REAL: https://fish.audio/m/2858588b5cdf40fcac2f30c85334efeb
|
| 299 |
+
ID: v_2858588b5cdf
|
| 300 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/49813fac8a1748e9bc39594b282744c8.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195457Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=32fb6869ecfeb5aead9e57ecbd4744f1ed1c311b537f69474b1514663f963d5c
|
| 301 |
+
---------------------------------------------------------
|
| 302 |
+
[60] Voz de Reddit
|
| 303 |
+
ENLACE REAL: https://fish.audio/m/6f7dd918b6ad44eb8541b92a3ea817ae
|
| 304 |
+
ID: v_6f7dd918b6ad
|
| 305 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/c0e7ab5f31394020a51f2963d39a99ed.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195508Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=b3ad628a08ea987bf4bbe4bdfca84d8d01abf2b00c8bbffeb1fdc235e5114de5
|
| 306 |
+
---------------------------------------------------------
|
| 307 |
+
[61] Voz Dramática Masculina
|
| 308 |
+
ENLACE REAL: https://fish.audio/m/630103ff6ad7476295dea1dd0bd484a6
|
| 309 |
+
ID: v_630103ff6ad7
|
| 310 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/tasks/2026-08-21/8416147060c740f2be227bc81feddcaa.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195507Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=28bc34572ee7cad0e073d79aa03f9fb50ab28f43029202c0b57d791085456036
|
| 311 |
+
---------------------------------------------------------
|
| 312 |
+
[62] Voz Femenina Amable
|
| 313 |
+
ENLACE REAL: https://fish.audio/m/10d910d614594a88ab2bd7026c4c96d4
|
| 314 |
+
ID: v_10d910d61459
|
| 315 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/tasks/2026-08-16/2c43afa81a8144ed8044b7ec3be128f7.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195451Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=0bc5fcca1eec9b449dc0df3427cd4fa4fcbdb0081a3e67e406daab33cb0efae9
|
| 316 |
+
---------------------------------------------------------
|
| 317 |
+
[63] Voz Femenina Expresiva
|
| 318 |
+
ENLACE REAL: https://fish.audio/m/caa23f160bf0405da7fe7dade22c3208
|
| 319 |
+
ID: v_caa23f160bf0
|
| 320 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/tasks/2026-08-15/cffcd34b2bf14ca9abb385aa7c15d5a9.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195524Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=1f77a3c7572628eaeb4aa15cd276a823ee0664555ad8d2adeb3779b0da3bbcc2
|
| 321 |
+
---------------------------------------------------------
|
| 322 |
+
[64] Voz Juvenil Animada
|
| 323 |
+
ENLACE REAL: https://fish.audio/m/0374aa6b7927457f8a6e24a2f7271549
|
| 324 |
+
ID: v_0374aa6b7927
|
| 325 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/tasks/2026-08-15/525441887258499ea878dedea9254526.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195449Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=2f2204dfca7f57a39b79389a17df4d011bb4f5728cb083128af02c1bd8d379e2
|
| 326 |
+
---------------------------------------------------------
|
| 327 |
+
[65] Voz loquendo de jorge
|
| 328 |
+
ENLACE REAL: https://fish.audio/m/71ceb213367145099b71b0e4f2002182
|
| 329 |
+
ID: v_71ceb2133671
|
| 330 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/66a3ffbd4b874025b641dc92265a613c.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195412Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=2bea3027067126f5addac67a433c5b291ffe1e466f8324539cb60d6175405df1
|
| 331 |
+
---------------------------------------------------------
|
| 332 |
+
[66] Voz Masculina Madura
|
| 333 |
+
ENLACE REAL: https://fish.audio/m/a5d8a68bc1cc46bdbe54a32c51c6b7d9
|
| 334 |
+
ID: v_a5d8a68bc1cc
|
| 335 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/tasks/2026-08-21/dd41a639059d4d858e1eda6ac69d6b79.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195519Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=9d3c391f1fbb0020eb10588490419027b3e717aeb5d1c38113bf5c45cd1835f2
|
| 336 |
+
---------------------------------------------------------
|
| 337 |
+
[67] Voz Masculina Mayor
|
| 338 |
+
ENLACE REAL: https://fish.audio/m/c082eb32e0e6479d90a939d618ff387c
|
| 339 |
+
ID: v_c082eb32e0e6
|
| 340 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/tasks/2026-08-11/a6df3cc2d8814c639b5b9c55169af077.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195523Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=27a234feb806eebde4c0de6ca6e326dcc4f6cef69e6ff5f181386963a8c7ca7f
|
| 341 |
+
---------------------------------------------------------
|
| 342 |
+
[68] voz narrador de tiktok
|
| 343 |
+
ENLACE REAL: https://fish.audio/m/1505e291ec504760a285fd163a78b5eb
|
| 344 |
+
ID: v_1505e291ec50
|
| 345 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/ade6ad4cdf104764ae3b812b6f7f0421.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195452Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=25ecfca799e3d22b3e356b3169af208978d180cc361013e035636b19d2b844fa
|
| 346 |
+
---------------------------------------------------------
|
| 347 |
+
[69] Voz Narrador Maduro
|
| 348 |
+
ENLACE REAL: https://fish.audio/m/c1b7685a41ec421199896e0446da0e88
|
| 349 |
+
ID: v_c1b7685a41ec
|
| 350 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/15e4f7965d17444eb14ab59c204a4503.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195523Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=ceb527decb5a4c30219c9d65bad8074a9a009b35cef39a1777e4ca753b36cfee
|
| 351 |
+
---------------------------------------------------------
|
| 352 |
+
[70] Voz Narrativa Española
|
| 353 |
+
ENLACE REAL: https://fish.audio/m/38049f41123b4aedb10ead7e8acc6aa2
|
| 354 |
+
ID: v_38049f41123b
|
| 355 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/tasks/2026-08-07/f01c459077e84a28a8e19b98924df8ee.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195502Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=80bded8301f516d302973afc212a178bb406c02d5216fabb86ab39ebee47c113
|
| 356 |
+
---------------------------------------------------------
|
| 357 |
+
[71] Voz Narrativa Masculina
|
| 358 |
+
ENLACE REAL: https://fish.audio/m/a40f7fffb42b46c0bbaa96afb91d9214
|
| 359 |
+
ID: v_a40f7fffb42b
|
| 360 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/tasks/2026-08-14/64456db5c779411b8cec01829dc227a5.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195517Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=92b88172c6ca092b06de9d33bf7ceaeee2dfad84496ff900305b6126765cd811
|
| 361 |
+
---------------------------------------------------------
|
| 362 |
+
[72] voz oracion nova
|
| 363 |
+
ENLACE REAL: https://fish.audio/m/9fe33e2476e644aa9d8126d0c95edf1d
|
| 364 |
+
ID: v_9fe33e2476e6
|
| 365 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/310eeaec5c054ce281b3d53bc5ccce1d.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195516Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=a5bb5cf83f29937b65effbf6fdedf238ec15c7def9670d685b0a41e441175b42
|
| 366 |
+
---------------------------------------------------------
|
| 367 |
+
[73] VOZ PARA VIDEOS 199898
|
| 368 |
+
ENLACE REAL: https://fish.audio/m/f82e642854d84fa08b78bff5fd29ad1e
|
| 369 |
+
ID: v_f82e642854d8
|
| 370 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/5dea78b63f0541579624c48d3dd840d2.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195529Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=726127f72458968b200e45707213c671e1d5a28fa96d728f2eb88398e188b63d
|
| 371 |
+
---------------------------------------------------------
|
| 372 |
+
[74] Voz Reflexiva
|
| 373 |
+
ENLACE REAL: https://fish.audio/m/87e2a0788b124a479c87e73faf1a4dfe
|
| 374 |
+
ID: v_87e2a0788b12
|
| 375 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/c969c080ecb8405dad1a71e46b986e33.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195512Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=65e21c8739b8a135bbc3d5a974ff8e6e7f6b96c9155ff9993000b777308ed4da
|
| 376 |
+
---------------------------------------------------------
|
| 377 |
+
[75] Voz Sabia y Fuerte
|
| 378 |
+
ENLACE REAL: https://fish.audio/m/a8d7c688e745400ba8c1fa07b250fb29
|
| 379 |
+
ID: v_a8d7c688e745
|
| 380 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/9507ab54f42b4cf8810f0ee46b3dff75.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195519Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=b1e6af5893e97de95c72d7da36a4eb4f3ffd9fce9482a2aee9d2dcc822e0b8ca
|
| 381 |
+
---------------------------------------------------------
|
| 382 |
+
[76] Voz Tiktok Pasivo
|
| 383 |
+
ENLACE REAL: https://fish.audio/m/b31ab34418674a9dbe42f5a799823b7b
|
| 384 |
+
ID: v_b31ab3441867
|
| 385 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/tasks/2026-07-24/72de852df8c14ab0ac33daeab04ebe11.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195521Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=1c506c610068d3b47172294287dcf73ff83c9928d8d28b05c7b8fede8f6598ec
|
| 386 |
+
---------------------------------------------------------
|
| 387 |
+
[77] Yuleysi
|
| 388 |
+
ENLACE REAL: https://fish.audio/m/12e7cdacdff24153af6f1bdc1cac7cff
|
| 389 |
+
ID: v_12e7cdacdff2
|
| 390 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/ffa2533514024e0e88d9bed056fa5060.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195451Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=7c4eec59a60bda5746a22c3a5702ff76bc2553370a62c1b2f33e5a47dd4e7f80
|
| 391 |
+
---------------------------------------------------------
|
| 392 |
+
[78] Zero [ Cortar por la línea de puntos. Calacare ]
|
| 393 |
+
ENLACE REAL: https://fish.audio/m/269da5905d534aee9c48ea2f86ab3f90
|
| 394 |
+
ID: v_269da5905d53
|
| 395 |
+
AUDIO DE MUESTRA: https://c97f3361a1c971323738e24f451a0225.r2.cloudflarestorage.com/fish-platform-data/task/48ddd3068fd44d9c98e57d0ba07bccae.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=45aaffe6f2c5f28b260e2165001da8ad%2F20260822%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20260822T195456Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=bd6bf0c6e5aa903e0314b8afa257e35ba9128e195fb914256a77baaf1998335f
|
| 396 |
+
---------------------------------------------------------
|
firebase_key.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "service_account",
|
| 3 |
+
"project_id": "voces-clonicas",
|
| 4 |
+
"private_key_id": "3d5d2650c49f5cfc2fb517177026e6af16b50ba1",
|
| 5 |
+
"private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC2PCFLu/xOTXl3\nS/vgeoSyWKd7lu1/rJPCfCIHqQYTdR6rO4uRkH4X3gYjMUP9UvS7QGvTIZ+TnwCj\nGAaAnqOx5xjgsE7Z8qcbZZvNHf8ZUxtA96wNSEuerHaUt0yOR1T5jSHHqgMUlhyG\ntXY4l/aM9k3KC6CWomFYRaaCcLE2RmBAGhVbhJo+2wJWxQve6o+rxbalKHVBM7mt\nFEbsfxe57YFQakhHUdxVIbvgLTtRvKD6tKVYXrcGmanQ78OvSeEdI6G6LIGfNVMI\nBwnjAOvpQ6uiRXTv9XU38ENbA/OVbnJCaHdhL66G77oZlY+0U3XFMJuYNnPKdahM\nJ6y9eFhRAgMBAAECggEAJttPZiyhMbkHS06iWE0Hele47ntSDMUphHCfeO6rYv64\nGV7K9bDPkhs/R8W7b4p+sGaeFxi2Q+3FXwFCca5hzQ8vmMk/Ju28f/T8cZIR0L6N\nsx6cSwC9TwoLBs7GvheroMJdD4vKuFsBnh+XI54Tbh8emxQ7m6LoCsBfLrUEtEOV\nIknGnvbKgqj3vpnur/fMAr5mrSy7FamRoTgusjZwQviQFD3uXxjj1IIdAc8u9VFp\nmJohoyYS7ba62E/xc3hHYh+n43LnaGddPTubnvPIh6VdjtYbZZtbVH7WtSlHK3LO\n7N4ZQ0py1OWKb3KHWCV7N2yU7PPe//B/jTaexbXEGQKBgQDdp7I/+ApRt7KbP08k\nPC5xB2fkoD0j2J43uA1l6rJyMa2/WsnoouIvCt2BRFOrD9Aptn7b0ZTjC6yyY9bZ\nYWkHcKbBbDl0ICxO6mX9jTNHzfFv+5OLubCw1M5r7NkKqEd+Voxah45vOMh5aynG\nuccnbzmClioxGDAMmcZarPxUXwKBgQDSeMThk3MTMOGk+82+H/8PdqIEXp+duKp6\nd96v3cMTNHnioIyme/aRA/TXD43HbWhv5tIyXYBBK3FMTPyY5u0lQO6ReQXepaOa\nxC03FUrGOoDaXqGaJjTr9egmIcZKtC2dRmCP32M24+RcePunXjE7YGlCh3AH21qc\np5rhpgARTwKBgFFBfaXXryi/19jzv3aAHWJQHbUBTQiMC4xPi5HWFO6p6ZDhnm0K\n8THfoM4Xlzh5ho0UGrNIxHTrPbbzxLpR7GfO00LLAtDgTn3rjdICZk8nXx/3MOKj\nAvQAP1/vJq2yfOsCnVc+pGd/gHaKY3k3d5usOX/2vqbawBqOcNmi2qmvAoGBAKK+\nFWZjMCDPtDpxJeZ0MTHQxnhgfkVjjBaEZ6FO9U79TZ3KDNeSlNYO3BwK/9MLqyyT\nq0ace9ZodAPOp6bHMOmUaqP7k2lUZMwAEwI7qYTbqdSwRX6/Oj6V93q8tOoApiCt\nUW8OCVZhIqvKNLR2pdTGuL1jomHA4DCvfJgsVnMLAoGBAKXxccp/u1eogZBYdwei\nqrAzebY3AbFH0aVfqsusyDLjZru4jFelpWy1+kRhpFd/V0uEY3iNmUCPJjYbUnJI\nlmYU7MgKItaj6+oKxkUTEAVJpOXzClhHAS4z/2jKwYAm3Mw04IxTR6tDAQuOatvZ\naMI2hNgm9VXJm+XDeqI2pyv7\n-----END PRIVATE KEY-----\n",
|
| 6 |
+
"client_email": "firebase-adminsdk-fbsvc@voces-clonicas.iam.gserviceaccount.com",
|
| 7 |
+
"client_id": "111282192148926062830",
|
| 8 |
+
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
|
| 9 |
+
"token_uri": "https://oauth2.googleapis.com/token",
|
| 10 |
+
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
|
| 11 |
+
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-fbsvc%40voces-clonicas.iam.gserviceaccount.com",
|
| 12 |
+
"universe_domain": "googleapis.com"
|
| 13 |
+
}
|
images/.gitkeep
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Local Images Storage Folder
|
| 2 |
+
This directory stores local PNG character cover images.
|
images/icon128.png
ADDED
|
|
Git LFS Details
|
images/icon16.png
ADDED
|
|
Git LFS Details
|
images/icon48.png
ADDED
|
|
Git LFS Details
|
images/v_23243a214359.png
ADDED
|
Git LFS Details
|
images/v_35199d543885.png
ADDED
|
Git LFS Details
|
images/v_87e2a0788b12.png
ADDED
|
Git LFS Details
|
index.html
ADDED
|
@@ -0,0 +1,351 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="es">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Fish Audio - Voice Vault</title>
|
| 7 |
+
<link rel="icon" type="image/png" href="images/icon48.png">
|
| 8 |
+
<link rel="stylesheet" href="src/styles/main.css">
|
| 9 |
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 10 |
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 11 |
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
| 12 |
+
</head>
|
| 13 |
+
<body>
|
| 14 |
+
<div class="app-container">
|
| 15 |
+
<!-- Header -->
|
| 16 |
+
<header class="app-header">
|
| 17 |
+
<div class="brand">
|
| 18 |
+
<h1 class="brand-title">Fish Audio</h1>
|
| 19 |
+
<span class="brand-tag">Voice Vault</span>
|
| 20 |
+
</div>
|
| 21 |
+
|
| 22 |
+
<div class="header-actions">
|
| 23 |
+
<!-- Live Firebase & Host Sync Status Indicator -->
|
| 24 |
+
<div class="sync-status-pill" id="syncStatusPill" title="Comprobando conexión con Firebase y Host local...">
|
| 25 |
+
<span class="status-pulse-dot" id="statusPulseDot"></span>
|
| 26 |
+
<span class="sync-status-text" id="syncStatusText">Firebase & Host</span>
|
| 27 |
+
</div>
|
| 28 |
+
|
| 29 |
+
<!-- Organizer / Folder Map Button -->
|
| 30 |
+
<button class="btn open-tab-btn" id="treeViewBtn" title="Mapa de Carpetas (Organizador)">
|
| 31 |
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
| 32 |
+
<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path>
|
| 33 |
+
<path d="M8 11h8"></path>
|
| 34 |
+
<path d="M8 15h5"></path>
|
| 35 |
+
</svg>
|
| 36 |
+
</button>
|
| 37 |
+
|
| 38 |
+
<!-- Tool / Settings Config Button -->
|
| 39 |
+
<button class="btn open-tab-btn" id="settingsBtn" title="Configuración de Opciones">
|
| 40 |
+
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round">
|
| 41 |
+
<path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"></path>
|
| 42 |
+
</svg>
|
| 43 |
+
</button>
|
| 44 |
+
|
| 45 |
+
<!-- Open in Full Tab Button -->
|
| 46 |
+
<button class="btn open-tab-btn" id="openTabBtn" title="Abrir en pestaña completa">
|
| 47 |
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line></svg>
|
| 48 |
+
</button>
|
| 49 |
+
|
| 50 |
+
<!-- Add Voice Modal Button -->
|
| 51 |
+
<button class="btn add-modal-btn" id="openModalBtn" title="Agregar Nueva Voz">
|
| 52 |
+
<svg width="34" height="34" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="3" x2="12" y2="21"></line><line x1="3" y1="12" x2="21" y2="12"></line></svg>
|
| 53 |
+
</button>
|
| 54 |
+
</div>
|
| 55 |
+
</header>
|
| 56 |
+
|
| 57 |
+
<!-- Main Content -->
|
| 58 |
+
<main class="main-content">
|
| 59 |
+
<div class="app-layout">
|
| 60 |
+
<!-- Left Sidebar Folders Panel (Desktop View) -->
|
| 61 |
+
<aside class="sidebar-folders" id="sidebarFolders">
|
| 62 |
+
<div class="sidebar-header">
|
| 63 |
+
<span class="sidebar-title">Carpetas</span>
|
| 64 |
+
<button class="sidebar-add-btn" id="sidebarOpenFolderModalBtn" title="Crear nueva carpeta">
|
| 65 |
+
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>
|
| 66 |
+
Nueva
|
| 67 |
+
</button>
|
| 68 |
+
</div>
|
| 69 |
+
<div class="sidebar-folder-list" id="sidebarFolderList">
|
| 70 |
+
<!-- Dynamically populated sidebar folder items -->
|
| 71 |
+
</div>
|
| 72 |
+
</aside>
|
| 73 |
+
|
| 74 |
+
<!-- Main Workspace Area -->
|
| 75 |
+
<div class="main-area">
|
| 76 |
+
<!-- Search and Count Bar -->
|
| 77 |
+
<div class="filter-bar">
|
| 78 |
+
<input type="text" id="searchInput" class="search-input" placeholder="Buscar por título de voz...">
|
| 79 |
+
<button class="btn sort-btn" id="sortOrderBtn" title="Orden: Más reciente a más antiguo">
|
| 80 |
+
<svg id="sortIconDesc" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="5" x2="12" y2="19"></line><polyline points="19 12 12 19 5 12"></polyline></svg>
|
| 81 |
+
<svg id="sortIconAsc" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" style="display: none;"><line x1="12" y1="19" x2="12" y2="5"></line><polyline points="5 12 12 5 19 12"></polyline></svg>
|
| 82 |
+
</button>
|
| 83 |
+
<span class="total-count" id="totalCount">0 voces</span>
|
| 84 |
+
</div>
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
<!-- Folders Bar -->
|
| 88 |
+
<div class="folder-section">
|
| 89 |
+
<button class="folder-scroll-btn left" id="scrollFoldersLeft" title="Desplazar a la izquierda">‹</button>
|
| 90 |
+
<div class="folder-tabs-wrapper" id="folderTabsWrapper">
|
| 91 |
+
<!-- Folder chips will be dynamically rendered here -->
|
| 92 |
+
</div>
|
| 93 |
+
<button class="folder-scroll-btn right" id="scrollFoldersRight" title="Desplazar a la derecha">›</button>
|
| 94 |
+
<button class="add-folder-chip" id="openFolderModalBtn" title="Crear nueva carpeta">
|
| 95 |
+
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>
|
| 96 |
+
Nueva Carpeta
|
| 97 |
+
</button>
|
| 98 |
+
</div>
|
| 99 |
+
|
| 100 |
+
<!-- Active Folder Actions Bar -->
|
| 101 |
+
<div class="folder-header-actions" id="folderHeaderActions" style="display: none;">
|
| 102 |
+
<span class="active-folder-title" id="activeFolderNameEl">Voces Bíblicas</span>
|
| 103 |
+
<div class="folder-btn-group">
|
| 104 |
+
<button class="btn btn-secondary btn-sm" id="editFolderBtn" title="Renombrar esta carpeta">Renombrar</button>
|
| 105 |
+
<button class="btn btn-secondary btn-sm danger" id="deleteFolderBtn" title="Eliminar esta carpeta">Eliminar Carpeta</button>
|
| 106 |
+
</div>
|
| 107 |
+
</div>
|
| 108 |
+
|
| 109 |
+
<!-- Voices Cards List -->
|
| 110 |
+
<div class="voices-list" id="voicesList"></div>
|
| 111 |
+
|
| 112 |
+
<!-- Empty State -->
|
| 113 |
+
<div class="empty-box" id="emptyState" style="display: none;">
|
| 114 |
+
No hay voces registradas en esta carpeta. Presiona el botón <strong>+</strong> arriba para agregar una voz.
|
| 115 |
+
</div>
|
| 116 |
+
</div>
|
| 117 |
+
</div>
|
| 118 |
+
</main>
|
| 119 |
+
|
| 120 |
+
<!-- Footer -->
|
| 121 |
+
<footer class="app-footer">
|
| 122 |
+
<p>Fish Audio Vault • Control Personalizado de Voces</p>
|
| 123 |
+
</footer>
|
| 124 |
+
</div>
|
| 125 |
+
|
| 126 |
+
<!-- Add / Edit Voice Modal Dialog -->
|
| 127 |
+
<div class="modal-overlay" id="addModal" style="display: none;">
|
| 128 |
+
<div class="modal-content">
|
| 129 |
+
<div class="modal-header">
|
| 130 |
+
<h3 id="modalTitle">Agregar Nueva Voz</h3>
|
| 131 |
+
<button class="modal-close-btn" id="closeModalBtn" title="Cerrar">
|
| 132 |
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
| 133 |
+
</button>
|
| 134 |
+
</div>
|
| 135 |
+
<form id="modalAddForm" class="modal-form">
|
| 136 |
+
<div class="modal-body-grid">
|
| 137 |
+
<!-- Left Column: Cover Image Upload -->
|
| 138 |
+
<div class="modal-left-col">
|
| 139 |
+
<label class="form-label-title">Portada (1:1 Cuadrada)</label>
|
| 140 |
+
<div class="image-uploader-box" id="imageDropZone">
|
| 141 |
+
<div class="crop-preview-wrapper" id="cropWrapper">
|
| 142 |
+
<canvas id="cropCanvas" width="140" height="140" style="display: none;"></canvas>
|
| 143 |
+
<div class="image-placeholder" id="imagePlaceholder">
|
| 144 |
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><circle cx="8.5" cy="8.5" r="1.5"></circle><polyline points="21 15 16 10 5 21"></polyline></svg>
|
| 145 |
+
<span>Sube o pega<br><strong>Ctrl + V</strong></span>
|
| 146 |
+
</div>
|
| 147 |
+
</div>
|
| 148 |
+
<div class="image-actions">
|
| 149 |
+
<label for="modalFileInput" class="btn btn-secondary btn-sm">Subir Imagen</label>
|
| 150 |
+
<input type="file" id="modalFileInput" accept="image/*" style="display: none;">
|
| 151 |
+
<button type="button" class="btn btn-secondary btn-sm danger" id="removeImgBtn" style="display: none;">Quitar</button>
|
| 152 |
+
</div>
|
| 153 |
+
</div>
|
| 154 |
+
</div>
|
| 155 |
+
|
| 156 |
+
<!-- Right Column: Text & Select Inputs -->
|
| 157 |
+
<div class="modal-right-col">
|
| 158 |
+
<div class="form-group">
|
| 159 |
+
<label for="modalTitleInput">Título de la Voz</label>
|
| 160 |
+
<input type="text" id="modalTitleInput" class="form-control" placeholder="Ej: Maestro Sabio" required>
|
| 161 |
+
</div>
|
| 162 |
+
|
| 163 |
+
<div class="form-group">
|
| 164 |
+
<label for="modalUrlInput">Enlace / URL de Fish Audio</label>
|
| 165 |
+
<input type="url" id="modalUrlInput" class="form-control" placeholder="https://fish.audio/es/m/..." required>
|
| 166 |
+
</div>
|
| 167 |
+
|
| 168 |
+
<div class="form-group">
|
| 169 |
+
<label for="modalFolderSelect">Carpeta</label>
|
| 170 |
+
<select id="modalFolderSelect" class="form-control select-control"></select>
|
| 171 |
+
</div>
|
| 172 |
+
</div>
|
| 173 |
+
</div>
|
| 174 |
+
|
| 175 |
+
<div class="modal-footer">
|
| 176 |
+
<button type="button" class="btn btn-secondary" id="cancelModalBtn">Cancelar</button>
|
| 177 |
+
<button type="submit" class="btn btn-primary" id="saveVoiceBtn">Guardar Voz</button>
|
| 178 |
+
</div>
|
| 179 |
+
</form>
|
| 180 |
+
</div>
|
| 181 |
+
</div>
|
| 182 |
+
|
| 183 |
+
<!-- Create Folder Modal Dialog -->
|
| 184 |
+
<div class="modal-overlay" id="createFolderModal" style="display: none;">
|
| 185 |
+
<div class="modal-content modal-sm">
|
| 186 |
+
<div class="modal-header">
|
| 187 |
+
<h3>Crear Nueva Carpeta</h3>
|
| 188 |
+
<button class="modal-close-btn" id="closeFolderModalBtn" title="Cerrar">
|
| 189 |
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
| 190 |
+
</button>
|
| 191 |
+
</div>
|
| 192 |
+
<form id="createFolderForm" class="modal-form">
|
| 193 |
+
<div class="form-group">
|
| 194 |
+
<label for="newFolderNameInput">Nombre de la Carpeta</label>
|
| 195 |
+
<input type="text" id="newFolderNameInput" class="form-control" placeholder="Ej: Voces de Anime" required>
|
| 196 |
+
</div>
|
| 197 |
+
<div class="modal-footer">
|
| 198 |
+
<button type="button" class="btn btn-secondary" id="cancelFolderModalBtn">Cancelar</button>
|
| 199 |
+
<button type="submit" class="btn btn-primary">Crear Carpeta</button>
|
| 200 |
+
</div>
|
| 201 |
+
</form>
|
| 202 |
+
</div>
|
| 203 |
+
</div>
|
| 204 |
+
|
| 205 |
+
<!-- Edit Folder Modal Dialog -->
|
| 206 |
+
<div class="modal-overlay" id="editFolderModal" style="display: none;">
|
| 207 |
+
<div class="modal-content modal-sm">
|
| 208 |
+
<div class="modal-header">
|
| 209 |
+
<h3>Renombrar Carpeta</h3>
|
| 210 |
+
<button class="modal-close-btn" id="closeEditFolderModalBtn" title="Cerrar">
|
| 211 |
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
| 212 |
+
</button>
|
| 213 |
+
</div>
|
| 214 |
+
<form id="editFolderForm" class="modal-form">
|
| 215 |
+
<div class="form-group">
|
| 216 |
+
<label for="editFolderNameInput">Nuevo Nombre de la Carpeta</label>
|
| 217 |
+
<input type="text" id="editFolderNameInput" class="form-control" placeholder="Ej: Voces Bíblicas" required>
|
| 218 |
+
</div>
|
| 219 |
+
<div class="modal-footer">
|
| 220 |
+
<button type="button" class="btn btn-secondary" id="cancelEditFolderModalBtn">Cancelar</button>
|
| 221 |
+
<button type="submit" class="btn btn-primary">Guardar Cambios</button>
|
| 222 |
+
</div>
|
| 223 |
+
</form>
|
| 224 |
+
</div>
|
| 225 |
+
</div>
|
| 226 |
+
|
| 227 |
+
<!-- Folder Tree View / Map Modal Dialog -->
|
| 228 |
+
<div class="modal-overlay" id="treeViewModal" style="display: none;">
|
| 229 |
+
<div class="modal-content modal-lg">
|
| 230 |
+
<div class="modal-header">
|
| 231 |
+
<h3>Mapa de Carpetas y Voces</h3>
|
| 232 |
+
<button class="modal-close-btn" id="closeTreeViewModalBtn" title="Cerrar">
|
| 233 |
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
| 234 |
+
</button>
|
| 235 |
+
</div>
|
| 236 |
+
<div class="tree-modal-body">
|
| 237 |
+
<div class="tree-controls">
|
| 238 |
+
<input type="text" id="treeSearchInput" class="search-input" placeholder="Buscar voces o carpetas en el mapa...">
|
| 239 |
+
<div class="tree-btn-group">
|
| 240 |
+
<button type="button" class="btn btn-secondary btn-sm" id="expandAllTreeBtn">Expandir Todo</button>
|
| 241 |
+
<button type="button" class="btn btn-secondary btn-sm" id="collapseAllTreeBtn">Colapsar Todo</button>
|
| 242 |
+
</div>
|
| 243 |
+
</div>
|
| 244 |
+
<div class="tree-container" id="treeContainer">
|
| 245 |
+
<!-- Dynamically populated tree -->
|
| 246 |
+
</div>
|
| 247 |
+
</div>
|
| 248 |
+
</div>
|
| 249 |
+
</div>
|
| 250 |
+
|
| 251 |
+
<!-- Confirm Action / Delete Modal Dialog -->
|
| 252 |
+
<div class="modal-overlay" id="confirmModal" style="display: none;">
|
| 253 |
+
<div class="modal-content modal-sm">
|
| 254 |
+
<div class="modal-header">
|
| 255 |
+
<h3 id="confirmModalTitle">Confirmar Acción</h3>
|
| 256 |
+
<button class="modal-close-btn" id="closeConfirmModalBtn" title="Cerrar">
|
| 257 |
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
| 258 |
+
</button>
|
| 259 |
+
</div>
|
| 260 |
+
<div class="modal-body-confirm">
|
| 261 |
+
<p id="confirmModalText">¿Estás seguro de continuar?</p>
|
| 262 |
+
</div>
|
| 263 |
+
<div class="modal-footer">
|
| 264 |
+
<button type="button" class="btn btn-secondary" id="cancelConfirmBtn">Cancelar</button>
|
| 265 |
+
<button type="button" class="btn btn-danger-action" id="acceptConfirmBtn">Eliminar</button>
|
| 266 |
+
</div>
|
| 267 |
+
</div>
|
| 268 |
+
</div>
|
| 269 |
+
|
| 270 |
+
<!-- Settings / Tools Modal Dialog -->
|
| 271 |
+
<div class="modal-overlay" id="settingsModal" style="display: none;">
|
| 272 |
+
<div class="modal-content settings-modal-card">
|
| 273 |
+
<div class="modal-header">
|
| 274 |
+
<div class="modal-title-group">
|
| 275 |
+
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#60a5fa" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round">
|
| 276 |
+
<path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"></path>
|
| 277 |
+
</svg>
|
| 278 |
+
<h3>Configuración de Opciones</h3>
|
| 279 |
+
</div>
|
| 280 |
+
<button class="modal-close-btn" id="closeSettingsModalBtn" title="Cerrar">
|
| 281 |
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
|
| 282 |
+
</button>
|
| 283 |
+
</div>
|
| 284 |
+
|
| 285 |
+
<div class="settings-modal-body">
|
| 286 |
+
<!-- Toggle 1: Quick Folder Selector Badge -->
|
| 287 |
+
<div class="setting-row">
|
| 288 |
+
<div class="setting-text">
|
| 289 |
+
<span class="setting-title-text">Selector Rápido de Carpeta en Tarjetas</span>
|
| 290 |
+
<p class="setting-desc-text">Muestra un menú desplegable en cada tarjeta de voz para cambiar de carpeta rápidamente.</p>
|
| 291 |
+
</div>
|
| 292 |
+
<label class="toggle-switch">
|
| 293 |
+
<input type="checkbox" id="toggleQuickFolderBadge">
|
| 294 |
+
<span class="toggle-slider"></span>
|
| 295 |
+
</label>
|
| 296 |
+
</div>
|
| 297 |
+
|
| 298 |
+
<!-- Toggle 2: Show Folders Section -->
|
| 299 |
+
<div class="setting-row">
|
| 300 |
+
<div class="setting-text">
|
| 301 |
+
<span class="setting-title-text">Ver Barra y Pestañas de Carpetas</span>
|
| 302 |
+
<p class="setting-desc-text">Muestra la barra lateral y carrusel superior de carpetas.</p>
|
| 303 |
+
</div>
|
| 304 |
+
<label class="toggle-switch">
|
| 305 |
+
<input type="checkbox" id="toggleSidebarFolders" checked>
|
| 306 |
+
<span class="toggle-slider"></span>
|
| 307 |
+
</label>
|
| 308 |
+
</div>
|
| 309 |
+
|
| 310 |
+
<!-- Toggle 3: Multi-Select Mode -->
|
| 311 |
+
<div class="setting-row">
|
| 312 |
+
<div class="setting-text">
|
| 313 |
+
<span class="setting-title-text">Selector Múltiple de Voces</span>
|
| 314 |
+
<p class="setting-desc-text">Permite seleccionar varias voces al mismo tiempo para moverlas juntas a una carpeta.</p>
|
| 315 |
+
</div>
|
| 316 |
+
<label class="toggle-switch">
|
| 317 |
+
<input type="checkbox" id="toggleMultiSelectMode">
|
| 318 |
+
<span class="toggle-slider"></span>
|
| 319 |
+
</label>
|
| 320 |
+
</div>
|
| 321 |
+
</div>
|
| 322 |
+
|
| 323 |
+
<div class="modal-footer" style="justify-content: flex-end; padding-top: 1rem;">
|
| 324 |
+
<button type="button" class="btn btn-primary" id="saveSettingsBtn">Guardar Cambios</button>
|
| 325 |
+
</div>
|
| 326 |
+
</div>
|
| 327 |
+
</div>
|
| 328 |
+
|
| 329 |
+
<!-- Floating Batch Action Bar for Multi-Select Move -->
|
| 330 |
+
<div class="batch-action-bar" id="batchActionBar" style="display: none;">
|
| 331 |
+
<div class="batch-info">
|
| 332 |
+
<span class="batch-count" id="batchCountText">0 seleccionadas</span>
|
| 333 |
+
<button class="batch-select-all-btn" id="selectAllBatchBtn">Seleccionar Todas</button>
|
| 334 |
+
</div>
|
| 335 |
+
<div class="batch-controls">
|
| 336 |
+
<span class="batch-label">Mover a:</span>
|
| 337 |
+
<select class="batch-folder-select" id="batchFolderSelect">
|
| 338 |
+
<!-- Dynamically populated with folders -->
|
| 339 |
+
</select>
|
| 340 |
+
<button class="btn btn-primary batch-apply-btn" id="applyBatchMoveBtn">
|
| 341 |
+
Mover Voces
|
| 342 |
+
</button>
|
| 343 |
+
<button class="btn batch-cancel-btn" id="closeBatchBarBtn" title="Cerrar Selector">
|
| 344 |
+
×
|
| 345 |
+
</button>
|
| 346 |
+
</div>
|
| 347 |
+
</div>
|
| 348 |
+
|
| 349 |
+
<script type="module" src="src/js/app.js"></script>
|
| 350 |
+
</body>
|
| 351 |
+
</html>
|
manifest.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"manifest_version": 3,
|
| 3 |
+
"name": "Fish Audio Voice Vault",
|
| 4 |
+
"version": "1.1.0",
|
| 5 |
+
"description": "Almacena, organiza y reproduce muestras de voz de Fish Audio con memoria en sincronía continua y ventana independiente.",
|
| 6 |
+
"icons": {
|
| 7 |
+
"16": "images/icon16.png",
|
| 8 |
+
"48": "images/icon48.png",
|
| 9 |
+
"128": "images/icon128.png"
|
| 10 |
+
},
|
| 11 |
+
"action": {
|
| 12 |
+
"default_popup": "index.html",
|
| 13 |
+
"default_title": "Fish Audio Voice Vault",
|
| 14 |
+
"default_icon": {
|
| 15 |
+
"16": "images/icon16.png",
|
| 16 |
+
"48": "images/icon48.png",
|
| 17 |
+
"128": "images/icon128.png"
|
| 18 |
+
}
|
| 19 |
+
},
|
| 20 |
+
"background": {
|
| 21 |
+
"service_worker": "src/js/background.js"
|
| 22 |
+
},
|
| 23 |
+
"permissions": [
|
| 24 |
+
"storage"
|
| 25 |
+
],
|
| 26 |
+
"host_permissions": [
|
| 27 |
+
"http://localhost:8080/*",
|
| 28 |
+
"http://127.0.0.1:8080/*",
|
| 29 |
+
"http://localhost/*",
|
| 30 |
+
"https://api.fish.audio/*",
|
| 31 |
+
"https://*.r2.cloudflarestorage.com/*"
|
| 32 |
+
]
|
| 33 |
+
}
|
node_modules/.bin/fxparser
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
| 3 |
+
|
| 4 |
+
case `uname` in
|
| 5 |
+
*CYGWIN*|*MINGW*|*MSYS*)
|
| 6 |
+
if command -v cygpath > /dev/null 2>&1; then
|
| 7 |
+
basedir=`cygpath -w "$basedir"`
|
| 8 |
+
fi
|
| 9 |
+
;;
|
| 10 |
+
esac
|
| 11 |
+
|
| 12 |
+
if [ -x "$basedir/node" ]; then
|
| 13 |
+
exec "$basedir/node" "$basedir/../fast-xml-parser/src/cli/cli.js" "$@"
|
| 14 |
+
else
|
| 15 |
+
exec node "$basedir/../fast-xml-parser/src/cli/cli.js" "$@"
|
| 16 |
+
fi
|
node_modules/.bin/fxparser.cmd
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@ECHO off
|
| 2 |
+
GOTO start
|
| 3 |
+
:find_dp0
|
| 4 |
+
SET dp0=%~dp0
|
| 5 |
+
EXIT /b
|
| 6 |
+
:start
|
| 7 |
+
SETLOCAL
|
| 8 |
+
CALL :find_dp0
|
| 9 |
+
|
| 10 |
+
IF EXIST "%dp0%\node.exe" (
|
| 11 |
+
SET "_prog=%dp0%\node.exe"
|
| 12 |
+
) ELSE (
|
| 13 |
+
SET "_prog=node"
|
| 14 |
+
SET PATHEXT=%PATHEXT:;.JS;=;%
|
| 15 |
+
)
|
| 16 |
+
|
| 17 |
+
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\fast-xml-parser\src\cli\cli.js" %*
|
node_modules/.bin/fxparser.ps1
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env pwsh
|
| 2 |
+
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
| 3 |
+
|
| 4 |
+
$exe=""
|
| 5 |
+
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
| 6 |
+
# Fix case when both the Windows and Linux builds of Node
|
| 7 |
+
# are installed in the same directory
|
| 8 |
+
$exe=".exe"
|
| 9 |
+
}
|
| 10 |
+
$ret=0
|
| 11 |
+
if (Test-Path "$basedir/node$exe") {
|
| 12 |
+
# Support pipeline input
|
| 13 |
+
if ($MyInvocation.ExpectingInput) {
|
| 14 |
+
$input | & "$basedir/node$exe" "$basedir/../fast-xml-parser/src/cli/cli.js" $args
|
| 15 |
+
} else {
|
| 16 |
+
& "$basedir/node$exe" "$basedir/../fast-xml-parser/src/cli/cli.js" $args
|
| 17 |
+
}
|
| 18 |
+
$ret=$LASTEXITCODE
|
| 19 |
+
} else {
|
| 20 |
+
# Support pipeline input
|
| 21 |
+
if ($MyInvocation.ExpectingInput) {
|
| 22 |
+
$input | & "node$exe" "$basedir/../fast-xml-parser/src/cli/cli.js" $args
|
| 23 |
+
} else {
|
| 24 |
+
& "node$exe" "$basedir/../fast-xml-parser/src/cli/cli.js" $args
|
| 25 |
+
}
|
| 26 |
+
$ret=$LASTEXITCODE
|
| 27 |
+
}
|
| 28 |
+
exit $ret
|
node_modules/.bin/glob
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
| 3 |
+
|
| 4 |
+
case `uname` in
|
| 5 |
+
*CYGWIN*|*MINGW*|*MSYS*)
|
| 6 |
+
if command -v cygpath > /dev/null 2>&1; then
|
| 7 |
+
basedir=`cygpath -w "$basedir"`
|
| 8 |
+
fi
|
| 9 |
+
;;
|
| 10 |
+
esac
|
| 11 |
+
|
| 12 |
+
if [ -x "$basedir/node" ]; then
|
| 13 |
+
exec "$basedir/node" "$basedir/../glob/dist/esm/bin.mjs" "$@"
|
| 14 |
+
else
|
| 15 |
+
exec node "$basedir/../glob/dist/esm/bin.mjs" "$@"
|
| 16 |
+
fi
|
node_modules/.bin/glob.cmd
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@ECHO off
|
| 2 |
+
GOTO start
|
| 3 |
+
:find_dp0
|
| 4 |
+
SET dp0=%~dp0
|
| 5 |
+
EXIT /b
|
| 6 |
+
:start
|
| 7 |
+
SETLOCAL
|
| 8 |
+
CALL :find_dp0
|
| 9 |
+
|
| 10 |
+
IF EXIST "%dp0%\node.exe" (
|
| 11 |
+
SET "_prog=%dp0%\node.exe"
|
| 12 |
+
) ELSE (
|
| 13 |
+
SET "_prog=node"
|
| 14 |
+
SET PATHEXT=%PATHEXT:;.JS;=;%
|
| 15 |
+
)
|
| 16 |
+
|
| 17 |
+
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\glob\dist\esm\bin.mjs" %*
|
node_modules/.bin/glob.ps1
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env pwsh
|
| 2 |
+
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
| 3 |
+
|
| 4 |
+
$exe=""
|
| 5 |
+
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
| 6 |
+
# Fix case when both the Windows and Linux builds of Node
|
| 7 |
+
# are installed in the same directory
|
| 8 |
+
$exe=".exe"
|
| 9 |
+
}
|
| 10 |
+
$ret=0
|
| 11 |
+
if (Test-Path "$basedir/node$exe") {
|
| 12 |
+
# Support pipeline input
|
| 13 |
+
if ($MyInvocation.ExpectingInput) {
|
| 14 |
+
$input | & "$basedir/node$exe" "$basedir/../glob/dist/esm/bin.mjs" $args
|
| 15 |
+
} else {
|
| 16 |
+
& "$basedir/node$exe" "$basedir/../glob/dist/esm/bin.mjs" $args
|
| 17 |
+
}
|
| 18 |
+
$ret=$LASTEXITCODE
|
| 19 |
+
} else {
|
| 20 |
+
# Support pipeline input
|
| 21 |
+
if ($MyInvocation.ExpectingInput) {
|
| 22 |
+
$input | & "node$exe" "$basedir/../glob/dist/esm/bin.mjs" $args
|
| 23 |
+
} else {
|
| 24 |
+
& "node$exe" "$basedir/../glob/dist/esm/bin.mjs" $args
|
| 25 |
+
}
|
| 26 |
+
$ret=$LASTEXITCODE
|
| 27 |
+
}
|
| 28 |
+
exit $ret
|
node_modules/.bin/mime
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
| 3 |
+
|
| 4 |
+
case `uname` in
|
| 5 |
+
*CYGWIN*|*MINGW*|*MSYS*)
|
| 6 |
+
if command -v cygpath > /dev/null 2>&1; then
|
| 7 |
+
basedir=`cygpath -w "$basedir"`
|
| 8 |
+
fi
|
| 9 |
+
;;
|
| 10 |
+
esac
|
| 11 |
+
|
| 12 |
+
if [ -x "$basedir/node" ]; then
|
| 13 |
+
exec "$basedir/node" "$basedir/../mime/cli.js" "$@"
|
| 14 |
+
else
|
| 15 |
+
exec node "$basedir/../mime/cli.js" "$@"
|
| 16 |
+
fi
|
node_modules/.bin/mime.cmd
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@ECHO off
|
| 2 |
+
GOTO start
|
| 3 |
+
:find_dp0
|
| 4 |
+
SET dp0=%~dp0
|
| 5 |
+
EXIT /b
|
| 6 |
+
:start
|
| 7 |
+
SETLOCAL
|
| 8 |
+
CALL :find_dp0
|
| 9 |
+
|
| 10 |
+
IF EXIST "%dp0%\node.exe" (
|
| 11 |
+
SET "_prog=%dp0%\node.exe"
|
| 12 |
+
) ELSE (
|
| 13 |
+
SET "_prog=node"
|
| 14 |
+
SET PATHEXT=%PATHEXT:;.JS;=;%
|
| 15 |
+
)
|
| 16 |
+
|
| 17 |
+
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\mime\cli.js" %*
|
node_modules/.bin/mime.ps1
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env pwsh
|
| 2 |
+
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
| 3 |
+
|
| 4 |
+
$exe=""
|
| 5 |
+
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
| 6 |
+
# Fix case when both the Windows and Linux builds of Node
|
| 7 |
+
# are installed in the same directory
|
| 8 |
+
$exe=".exe"
|
| 9 |
+
}
|
| 10 |
+
$ret=0
|
| 11 |
+
if (Test-Path "$basedir/node$exe") {
|
| 12 |
+
# Support pipeline input
|
| 13 |
+
if ($MyInvocation.ExpectingInput) {
|
| 14 |
+
$input | & "$basedir/node$exe" "$basedir/../mime/cli.js" $args
|
| 15 |
+
} else {
|
| 16 |
+
& "$basedir/node$exe" "$basedir/../mime/cli.js" $args
|
| 17 |
+
}
|
| 18 |
+
$ret=$LASTEXITCODE
|
| 19 |
+
} else {
|
| 20 |
+
# Support pipeline input
|
| 21 |
+
if ($MyInvocation.ExpectingInput) {
|
| 22 |
+
$input | & "node$exe" "$basedir/../mime/cli.js" $args
|
| 23 |
+
} else {
|
| 24 |
+
& "node$exe" "$basedir/../mime/cli.js" $args
|
| 25 |
+
}
|
| 26 |
+
$ret=$LASTEXITCODE
|
| 27 |
+
}
|
| 28 |
+
exit $ret
|
node_modules/.bin/node-which
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
| 3 |
+
|
| 4 |
+
case `uname` in
|
| 5 |
+
*CYGWIN*|*MINGW*|*MSYS*)
|
| 6 |
+
if command -v cygpath > /dev/null 2>&1; then
|
| 7 |
+
basedir=`cygpath -w "$basedir"`
|
| 8 |
+
fi
|
| 9 |
+
;;
|
| 10 |
+
esac
|
| 11 |
+
|
| 12 |
+
if [ -x "$basedir/node" ]; then
|
| 13 |
+
exec "$basedir/node" "$basedir/../which/bin/node-which" "$@"
|
| 14 |
+
else
|
| 15 |
+
exec node "$basedir/../which/bin/node-which" "$@"
|
| 16 |
+
fi
|
node_modules/.bin/node-which.cmd
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@ECHO off
|
| 2 |
+
GOTO start
|
| 3 |
+
:find_dp0
|
| 4 |
+
SET dp0=%~dp0
|
| 5 |
+
EXIT /b
|
| 6 |
+
:start
|
| 7 |
+
SETLOCAL
|
| 8 |
+
CALL :find_dp0
|
| 9 |
+
|
| 10 |
+
IF EXIST "%dp0%\node.exe" (
|
| 11 |
+
SET "_prog=%dp0%\node.exe"
|
| 12 |
+
) ELSE (
|
| 13 |
+
SET "_prog=node"
|
| 14 |
+
SET PATHEXT=%PATHEXT:;.JS;=;%
|
| 15 |
+
)
|
| 16 |
+
|
| 17 |
+
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\which\bin\node-which" %*
|
node_modules/.bin/node-which.ps1
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env pwsh
|
| 2 |
+
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
| 3 |
+
|
| 4 |
+
$exe=""
|
| 5 |
+
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
| 6 |
+
# Fix case when both the Windows and Linux builds of Node
|
| 7 |
+
# are installed in the same directory
|
| 8 |
+
$exe=".exe"
|
| 9 |
+
}
|
| 10 |
+
$ret=0
|
| 11 |
+
if (Test-Path "$basedir/node$exe") {
|
| 12 |
+
# Support pipeline input
|
| 13 |
+
if ($MyInvocation.ExpectingInput) {
|
| 14 |
+
$input | & "$basedir/node$exe" "$basedir/../which/bin/node-which" $args
|
| 15 |
+
} else {
|
| 16 |
+
& "$basedir/node$exe" "$basedir/../which/bin/node-which" $args
|
| 17 |
+
}
|
| 18 |
+
$ret=$LASTEXITCODE
|
| 19 |
+
} else {
|
| 20 |
+
# Support pipeline input
|
| 21 |
+
if ($MyInvocation.ExpectingInput) {
|
| 22 |
+
$input | & "node$exe" "$basedir/../which/bin/node-which" $args
|
| 23 |
+
} else {
|
| 24 |
+
& "node$exe" "$basedir/../which/bin/node-which" $args
|
| 25 |
+
}
|
| 26 |
+
$ret=$LASTEXITCODE
|
| 27 |
+
}
|
| 28 |
+
exit $ret
|
node_modules/.bin/proto-loader-gen-types
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
| 3 |
+
|
| 4 |
+
case `uname` in
|
| 5 |
+
*CYGWIN*|*MINGW*|*MSYS*)
|
| 6 |
+
if command -v cygpath > /dev/null 2>&1; then
|
| 7 |
+
basedir=`cygpath -w "$basedir"`
|
| 8 |
+
fi
|
| 9 |
+
;;
|
| 10 |
+
esac
|
| 11 |
+
|
| 12 |
+
if [ -x "$basedir/node" ]; then
|
| 13 |
+
exec "$basedir/node" "$basedir/../@grpc/proto-loader/build/bin/proto-loader-gen-types.js" "$@"
|
| 14 |
+
else
|
| 15 |
+
exec node "$basedir/../@grpc/proto-loader/build/bin/proto-loader-gen-types.js" "$@"
|
| 16 |
+
fi
|
node_modules/.bin/proto-loader-gen-types.cmd
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@ECHO off
|
| 2 |
+
GOTO start
|
| 3 |
+
:find_dp0
|
| 4 |
+
SET dp0=%~dp0
|
| 5 |
+
EXIT /b
|
| 6 |
+
:start
|
| 7 |
+
SETLOCAL
|
| 8 |
+
CALL :find_dp0
|
| 9 |
+
|
| 10 |
+
IF EXIST "%dp0%\node.exe" (
|
| 11 |
+
SET "_prog=%dp0%\node.exe"
|
| 12 |
+
) ELSE (
|
| 13 |
+
SET "_prog=node"
|
| 14 |
+
SET PATHEXT=%PATHEXT:;.JS;=;%
|
| 15 |
+
)
|
| 16 |
+
|
| 17 |
+
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\@grpc\proto-loader\build\bin\proto-loader-gen-types.js" %*
|
node_modules/.bin/proto-loader-gen-types.ps1
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env pwsh
|
| 2 |
+
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
| 3 |
+
|
| 4 |
+
$exe=""
|
| 5 |
+
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
| 6 |
+
# Fix case when both the Windows and Linux builds of Node
|
| 7 |
+
# are installed in the same directory
|
| 8 |
+
$exe=".exe"
|
| 9 |
+
}
|
| 10 |
+
$ret=0
|
| 11 |
+
if (Test-Path "$basedir/node$exe") {
|
| 12 |
+
# Support pipeline input
|
| 13 |
+
if ($MyInvocation.ExpectingInput) {
|
| 14 |
+
$input | & "$basedir/node$exe" "$basedir/../@grpc/proto-loader/build/bin/proto-loader-gen-types.js" $args
|
| 15 |
+
} else {
|
| 16 |
+
& "$basedir/node$exe" "$basedir/../@grpc/proto-loader/build/bin/proto-loader-gen-types.js" $args
|
| 17 |
+
}
|
| 18 |
+
$ret=$LASTEXITCODE
|
| 19 |
+
} else {
|
| 20 |
+
# Support pipeline input
|
| 21 |
+
if ($MyInvocation.ExpectingInput) {
|
| 22 |
+
$input | & "node$exe" "$basedir/../@grpc/proto-loader/build/bin/proto-loader-gen-types.js" $args
|
| 23 |
+
} else {
|
| 24 |
+
& "node$exe" "$basedir/../@grpc/proto-loader/build/bin/proto-loader-gen-types.js" $args
|
| 25 |
+
}
|
| 26 |
+
$ret=$LASTEXITCODE
|
| 27 |
+
}
|
| 28 |
+
exit $ret
|
node_modules/.bin/rimraf
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
| 3 |
+
|
| 4 |
+
case `uname` in
|
| 5 |
+
*CYGWIN*|*MINGW*|*MSYS*)
|
| 6 |
+
if command -v cygpath > /dev/null 2>&1; then
|
| 7 |
+
basedir=`cygpath -w "$basedir"`
|
| 8 |
+
fi
|
| 9 |
+
;;
|
| 10 |
+
esac
|
| 11 |
+
|
| 12 |
+
if [ -x "$basedir/node" ]; then
|
| 13 |
+
exec "$basedir/node" "$basedir/../rimraf/dist/esm/bin.mjs" "$@"
|
| 14 |
+
else
|
| 15 |
+
exec node "$basedir/../rimraf/dist/esm/bin.mjs" "$@"
|
| 16 |
+
fi
|
node_modules/.bin/rimraf.cmd
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@ECHO off
|
| 2 |
+
GOTO start
|
| 3 |
+
:find_dp0
|
| 4 |
+
SET dp0=%~dp0
|
| 5 |
+
EXIT /b
|
| 6 |
+
:start
|
| 7 |
+
SETLOCAL
|
| 8 |
+
CALL :find_dp0
|
| 9 |
+
|
| 10 |
+
IF EXIST "%dp0%\node.exe" (
|
| 11 |
+
SET "_prog=%dp0%\node.exe"
|
| 12 |
+
) ELSE (
|
| 13 |
+
SET "_prog=node"
|
| 14 |
+
SET PATHEXT=%PATHEXT:;.JS;=;%
|
| 15 |
+
)
|
| 16 |
+
|
| 17 |
+
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\rimraf\dist\esm\bin.mjs" %*
|
node_modules/.bin/rimraf.ps1
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env pwsh
|
| 2 |
+
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
| 3 |
+
|
| 4 |
+
$exe=""
|
| 5 |
+
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
| 6 |
+
# Fix case when both the Windows and Linux builds of Node
|
| 7 |
+
# are installed in the same directory
|
| 8 |
+
$exe=".exe"
|
| 9 |
+
}
|
| 10 |
+
$ret=0
|
| 11 |
+
if (Test-Path "$basedir/node$exe") {
|
| 12 |
+
# Support pipeline input
|
| 13 |
+
if ($MyInvocation.ExpectingInput) {
|
| 14 |
+
$input | & "$basedir/node$exe" "$basedir/../rimraf/dist/esm/bin.mjs" $args
|
| 15 |
+
} else {
|
| 16 |
+
& "$basedir/node$exe" "$basedir/../rimraf/dist/esm/bin.mjs" $args
|
| 17 |
+
}
|
| 18 |
+
$ret=$LASTEXITCODE
|
| 19 |
+
} else {
|
| 20 |
+
# Support pipeline input
|
| 21 |
+
if ($MyInvocation.ExpectingInput) {
|
| 22 |
+
$input | & "node$exe" "$basedir/../rimraf/dist/esm/bin.mjs" $args
|
| 23 |
+
} else {
|
| 24 |
+
& "node$exe" "$basedir/../rimraf/dist/esm/bin.mjs" $args
|
| 25 |
+
}
|
| 26 |
+
$ret=$LASTEXITCODE
|
| 27 |
+
}
|
| 28 |
+
exit $ret
|
node_modules/.bin/semver
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
| 3 |
+
|
| 4 |
+
case `uname` in
|
| 5 |
+
*CYGWIN*|*MINGW*|*MSYS*)
|
| 6 |
+
if command -v cygpath > /dev/null 2>&1; then
|
| 7 |
+
basedir=`cygpath -w "$basedir"`
|
| 8 |
+
fi
|
| 9 |
+
;;
|
| 10 |
+
esac
|
| 11 |
+
|
| 12 |
+
if [ -x "$basedir/node" ]; then
|
| 13 |
+
exec "$basedir/node" "$basedir/../semver/bin/semver.js" "$@"
|
| 14 |
+
else
|
| 15 |
+
exec node "$basedir/../semver/bin/semver.js" "$@"
|
| 16 |
+
fi
|
node_modules/.bin/semver.cmd
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@ECHO off
|
| 2 |
+
GOTO start
|
| 3 |
+
:find_dp0
|
| 4 |
+
SET dp0=%~dp0
|
| 5 |
+
EXIT /b
|
| 6 |
+
:start
|
| 7 |
+
SETLOCAL
|
| 8 |
+
CALL :find_dp0
|
| 9 |
+
|
| 10 |
+
IF EXIST "%dp0%\node.exe" (
|
| 11 |
+
SET "_prog=%dp0%\node.exe"
|
| 12 |
+
) ELSE (
|
| 13 |
+
SET "_prog=node"
|
| 14 |
+
SET PATHEXT=%PATHEXT:;.JS;=;%
|
| 15 |
+
)
|
| 16 |
+
|
| 17 |
+
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver.js" %*
|
node_modules/.bin/semver.ps1
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env pwsh
|
| 2 |
+
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
| 3 |
+
|
| 4 |
+
$exe=""
|
| 5 |
+
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
| 6 |
+
# Fix case when both the Windows and Linux builds of Node
|
| 7 |
+
# are installed in the same directory
|
| 8 |
+
$exe=".exe"
|
| 9 |
+
}
|
| 10 |
+
$ret=0
|
| 11 |
+
if (Test-Path "$basedir/node$exe") {
|
| 12 |
+
# Support pipeline input
|
| 13 |
+
if ($MyInvocation.ExpectingInput) {
|
| 14 |
+
$input | & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
|
| 15 |
+
} else {
|
| 16 |
+
& "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
|
| 17 |
+
}
|
| 18 |
+
$ret=$LASTEXITCODE
|
| 19 |
+
} else {
|
| 20 |
+
# Support pipeline input
|
| 21 |
+
if ($MyInvocation.ExpectingInput) {
|
| 22 |
+
$input | & "node$exe" "$basedir/../semver/bin/semver.js" $args
|
| 23 |
+
} else {
|
| 24 |
+
& "node$exe" "$basedir/../semver/bin/semver.js" $args
|
| 25 |
+
}
|
| 26 |
+
$ret=$LASTEXITCODE
|
| 27 |
+
}
|
| 28 |
+
exit $ret
|
node_modules/.bin/uuid
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
| 3 |
+
|
| 4 |
+
case `uname` in
|
| 5 |
+
*CYGWIN*|*MINGW*|*MSYS*)
|
| 6 |
+
if command -v cygpath > /dev/null 2>&1; then
|
| 7 |
+
basedir=`cygpath -w "$basedir"`
|
| 8 |
+
fi
|
| 9 |
+
;;
|
| 10 |
+
esac
|
| 11 |
+
|
| 12 |
+
if [ -x "$basedir/node" ]; then
|
| 13 |
+
exec "$basedir/node" "$basedir/../uuid/dist/bin/uuid" "$@"
|
| 14 |
+
else
|
| 15 |
+
exec node "$basedir/../uuid/dist/bin/uuid" "$@"
|
| 16 |
+
fi
|
node_modules/.bin/uuid.cmd
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@ECHO off
|
| 2 |
+
GOTO start
|
| 3 |
+
:find_dp0
|
| 4 |
+
SET dp0=%~dp0
|
| 5 |
+
EXIT /b
|
| 6 |
+
:start
|
| 7 |
+
SETLOCAL
|
| 8 |
+
CALL :find_dp0
|
| 9 |
+
|
| 10 |
+
IF EXIST "%dp0%\node.exe" (
|
| 11 |
+
SET "_prog=%dp0%\node.exe"
|
| 12 |
+
) ELSE (
|
| 13 |
+
SET "_prog=node"
|
| 14 |
+
SET PATHEXT=%PATHEXT:;.JS;=;%
|
| 15 |
+
)
|
| 16 |
+
|
| 17 |
+
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\uuid\dist\bin\uuid" %*
|
node_modules/.bin/uuid.ps1
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env pwsh
|
| 2 |
+
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
| 3 |
+
|
| 4 |
+
$exe=""
|
| 5 |
+
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
| 6 |
+
# Fix case when both the Windows and Linux builds of Node
|
| 7 |
+
# are installed in the same directory
|
| 8 |
+
$exe=".exe"
|
| 9 |
+
}
|
| 10 |
+
$ret=0
|
| 11 |
+
if (Test-Path "$basedir/node$exe") {
|
| 12 |
+
# Support pipeline input
|
| 13 |
+
if ($MyInvocation.ExpectingInput) {
|
| 14 |
+
$input | & "$basedir/node$exe" "$basedir/../uuid/dist/bin/uuid" $args
|
| 15 |
+
} else {
|
| 16 |
+
& "$basedir/node$exe" "$basedir/../uuid/dist/bin/uuid" $args
|
| 17 |
+
}
|
| 18 |
+
$ret=$LASTEXITCODE
|
| 19 |
+
} else {
|
| 20 |
+
# Support pipeline input
|
| 21 |
+
if ($MyInvocation.ExpectingInput) {
|
| 22 |
+
$input | & "node$exe" "$basedir/../uuid/dist/bin/uuid" $args
|
| 23 |
+
} else {
|
| 24 |
+
& "node$exe" "$basedir/../uuid/dist/bin/uuid" $args
|
| 25 |
+
}
|
| 26 |
+
$ret=$LASTEXITCODE
|
| 27 |
+
}
|
| 28 |
+
exit $ret
|
node_modules/.package-lock.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
node_modules/@fastify/busboy/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright Brian White. All rights reserved.
|
| 4 |
+
Copyright (c) 2021-present The Fastify team <https://github.com/fastify/fastify#team>
|
| 5 |
+
|
| 6 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 7 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 8 |
+
in the Software without restriction, including without limitation the rights
|
| 9 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 10 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 11 |
+
furnished to do so, subject to the following conditions:
|
| 12 |
+
|
| 13 |
+
The above copyright notice and this permission notice shall be included in all
|
| 14 |
+
copies or substantial portions of the Software.
|
| 15 |
+
|
| 16 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 17 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 18 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 19 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 20 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 21 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 22 |
+
SOFTWARE.
|
node_modules/@fastify/busboy/README.md
ADDED
|
@@ -0,0 +1,266 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# busboy
|
| 2 |
+
|
| 3 |
+
[](https://github.com/fastify/busboy/actions)
|
| 4 |
+
[](https://www.npmjs.com/package/@fastify/busboy)
|
| 5 |
+
[](https://github.com/neostandard/neostandard)
|
| 6 |
+
[](https://github.com/fastify/.github/blob/main/SECURITY.md)
|
| 7 |
+
|
| 8 |
+
Description
|
| 9 |
+
===========
|
| 10 |
+
|
| 11 |
+
A Node.js module for parsing incoming HTML form data.
|
| 12 |
+
|
| 13 |
+
This is an officially supported fork by [fastify](https://github.com/fastify/) organization of the amazing library [originally created](https://github.com/mscdex/busboy) by Brian White,
|
| 14 |
+
aimed at addressing long-standing issues with it.
|
| 15 |
+
|
| 16 |
+
Benchmark (Mean time for 500 Kb payload, 2000 cycles, 1000 cycle warmup):
|
| 17 |
+
|
| 18 |
+
| Library | Version | Mean time in nanoseconds (less is better) |
|
| 19 |
+
|-----------------------|---------|-------------------------------------------|
|
| 20 |
+
| busboy | 0.3.1 | `340114` |
|
| 21 |
+
| @fastify/busboy | 1.0.0 | `270984` |
|
| 22 |
+
|
| 23 |
+
Requirements
|
| 24 |
+
============
|
| 25 |
+
|
| 26 |
+
* [Node.js](https://nodejs.org/) 10+
|
| 27 |
+
|
| 28 |
+
Install
|
| 29 |
+
=======
|
| 30 |
+
|
| 31 |
+
```sh
|
| 32 |
+
npm i @fastify/busboy
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
Examples
|
| 36 |
+
========
|
| 37 |
+
|
| 38 |
+
* Parsing (multipart) with default options:
|
| 39 |
+
|
| 40 |
+
```javascript
|
| 41 |
+
const http = require('node:http');
|
| 42 |
+
const { inspect } = require('node:util');
|
| 43 |
+
const Busboy = require('@fastify/busboy');
|
| 44 |
+
|
| 45 |
+
http.createServer((req, res) => {
|
| 46 |
+
if (req.method === 'POST') {
|
| 47 |
+
const busboy = new Busboy({ headers: req.headers });
|
| 48 |
+
busboy.on('file', (fieldname, file, filename, encoding, mimetype) => {
|
| 49 |
+
console.log(`File [${fieldname}]: filename: ${filename}, encoding: ${encoding}, mimetype: ${mimetype}`);
|
| 50 |
+
file.on('data', data => {
|
| 51 |
+
console.log(`File [${fieldname}] got ${data.length} bytes`);
|
| 52 |
+
});
|
| 53 |
+
file.on('end', () => {
|
| 54 |
+
console.log(`File [${fieldname}] Finished`);
|
| 55 |
+
});
|
| 56 |
+
});
|
| 57 |
+
busboy.on('field', (fieldname, val, fieldnameTruncated, valTruncated, encoding, mimetype) => {
|
| 58 |
+
console.log(`Field [${fieldname}]: value: ${inspect(val)}`);
|
| 59 |
+
});
|
| 60 |
+
busboy.on('finish', () => {
|
| 61 |
+
console.log('Done parsing form!');
|
| 62 |
+
res.writeHead(303, { Connection: 'close', Location: '/' });
|
| 63 |
+
res.end();
|
| 64 |
+
});
|
| 65 |
+
req.pipe(busboy);
|
| 66 |
+
} else if (req.method === 'GET') {
|
| 67 |
+
res.writeHead(200, { Connection: 'close' });
|
| 68 |
+
res.end(`<html><head></head><body>
|
| 69 |
+
<form method="POST" enctype="multipart/form-data">
|
| 70 |
+
<input type="text" name="textfield"><br>
|
| 71 |
+
<input type="file" name="filefield"><br>
|
| 72 |
+
<input type="submit">
|
| 73 |
+
</form>
|
| 74 |
+
</body></html>`);
|
| 75 |
+
}
|
| 76 |
+
}).listen(8000, () => {
|
| 77 |
+
console.log('Listening for requests');
|
| 78 |
+
});
|
| 79 |
+
|
| 80 |
+
// Example output, using http://nodejs.org/images/ryan-speaker.jpg as the file:
|
| 81 |
+
//
|
| 82 |
+
// Listening for requests
|
| 83 |
+
// File [filefield]: filename: ryan-speaker.jpg, encoding: binary
|
| 84 |
+
// File [filefield] got 11971 bytes
|
| 85 |
+
// Field [textfield]: value: 'testing! :-)'
|
| 86 |
+
// File [filefield] Finished
|
| 87 |
+
// Done parsing form!
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
* Save all incoming files to disk:
|
| 91 |
+
|
| 92 |
+
```javascript
|
| 93 |
+
const http = require('node:http');
|
| 94 |
+
const path = require('node:path');
|
| 95 |
+
const os = require('node:os');
|
| 96 |
+
const fs = require('node:fs');
|
| 97 |
+
|
| 98 |
+
const Busboy = require('@fastify/busboy');
|
| 99 |
+
|
| 100 |
+
http.createServer(function(req, res) {
|
| 101 |
+
if (req.method === 'POST') {
|
| 102 |
+
const busboy = new Busboy({ headers: req.headers });
|
| 103 |
+
busboy.on('file', function(fieldname, file, filename, encoding, mimetype) {
|
| 104 |
+
var saveTo = path.join(os.tmpdir(), path.basename(fieldname));
|
| 105 |
+
file.pipe(fs.createWriteStream(saveTo));
|
| 106 |
+
});
|
| 107 |
+
busboy.on('finish', function() {
|
| 108 |
+
res.writeHead(200, { 'Connection': 'close' });
|
| 109 |
+
res.end("That's all folks!");
|
| 110 |
+
});
|
| 111 |
+
return req.pipe(busboy);
|
| 112 |
+
}
|
| 113 |
+
res.writeHead(404);
|
| 114 |
+
res.end();
|
| 115 |
+
}).listen(8000, function() {
|
| 116 |
+
console.log('Listening for requests');
|
| 117 |
+
});
|
| 118 |
+
```
|
| 119 |
+
|
| 120 |
+
* Parsing (urlencoded) with default options:
|
| 121 |
+
|
| 122 |
+
```javascript
|
| 123 |
+
const http = require('node:http');
|
| 124 |
+
const { inspect } = require('node:util');
|
| 125 |
+
|
| 126 |
+
const Busboy = require('@fastify/busboy');
|
| 127 |
+
|
| 128 |
+
http.createServer(function(req, res) {
|
| 129 |
+
if (req.method === 'POST') {
|
| 130 |
+
const busboy = new Busboy({ headers: req.headers });
|
| 131 |
+
busboy.on('file', function(fieldname, file, filename, encoding, mimetype) {
|
| 132 |
+
console.log('File [' + fieldname + ']: filename: ' + filename);
|
| 133 |
+
file.on('data', function(data) {
|
| 134 |
+
console.log('File [' + fieldname + '] got ' + data.length + ' bytes');
|
| 135 |
+
});
|
| 136 |
+
file.on('end', function() {
|
| 137 |
+
console.log('File [' + fieldname + '] Finished');
|
| 138 |
+
});
|
| 139 |
+
});
|
| 140 |
+
busboy.on('field', function(fieldname, val, fieldnameTruncated, valTruncated) {
|
| 141 |
+
console.log('Field [' + fieldname + ']: value: ' + inspect(val));
|
| 142 |
+
});
|
| 143 |
+
busboy.on('finish', function() {
|
| 144 |
+
console.log('Done parsing form!');
|
| 145 |
+
res.writeHead(303, { Connection: 'close', Location: '/' });
|
| 146 |
+
res.end();
|
| 147 |
+
});
|
| 148 |
+
req.pipe(busboy);
|
| 149 |
+
} else if (req.method === 'GET') {
|
| 150 |
+
res.writeHead(200, { Connection: 'close' });
|
| 151 |
+
res.end('<html><head></head><body>\
|
| 152 |
+
<form method="POST">\
|
| 153 |
+
<input type="text" name="textfield"><br />\
|
| 154 |
+
<select name="selectfield">\
|
| 155 |
+
<option value="1">1</option>\
|
| 156 |
+
<option value="10">10</option>\
|
| 157 |
+
<option value="100">100</option>\
|
| 158 |
+
<option value="9001">9001</option>\
|
| 159 |
+
</select><br />\
|
| 160 |
+
<input type="checkbox" name="checkfield">Node.js rules!<br />\
|
| 161 |
+
<input type="submit">\
|
| 162 |
+
</form>\
|
| 163 |
+
</body></html>');
|
| 164 |
+
}
|
| 165 |
+
}).listen(8000, function() {
|
| 166 |
+
console.log('Listening for requests');
|
| 167 |
+
});
|
| 168 |
+
|
| 169 |
+
// Example output:
|
| 170 |
+
//
|
| 171 |
+
// Listening for requests
|
| 172 |
+
// Field [textfield]: value: 'testing! :-)'
|
| 173 |
+
// Field [selectfield]: value: '9001'
|
| 174 |
+
// Field [checkfield]: value: 'on'
|
| 175 |
+
// Done parsing form!
|
| 176 |
+
```
|
| 177 |
+
|
| 178 |
+
API
|
| 179 |
+
===
|
| 180 |
+
|
| 181 |
+
_Busboy_ is a _Writable_ stream
|
| 182 |
+
|
| 183 |
+
Busboy (special) events
|
| 184 |
+
-----------------------
|
| 185 |
+
|
| 186 |
+
* **file**(< _string_ >fieldname, < _ReadableStream_ >stream, < _string_ >filename, < _string_ >transferEncoding, < _string_ >mimeType) - Emitted for each new file form field found. `transferEncoding` contains the 'Content-Transfer-Encoding' value for the file stream. `mimeType` contains the 'Content-Type' value for the file stream.
|
| 187 |
+
* Note: if you listen for this event, you should always handle the `stream` no matter if you care about the file contents or not (e.g. you can simply just do `stream.resume();` if you want to discard the contents), otherwise the 'finish' event will never fire on the Busboy instance. However, if you don't care about **any** incoming files, you can simply not listen for the 'file' event at all and any/all files will be automatically and safely discarded (these discarded files do still count towards `files` and `parts` limits).
|
| 188 |
+
* If a configured file size limit was reached, `stream` will both have a boolean property `truncated` (best checked at the end of the stream) and emit a 'limit' event to notify you when this happens.
|
| 189 |
+
* The property `bytesRead` informs about the number of bytes that have been read so far.
|
| 190 |
+
|
| 191 |
+
* **limit**() - Emitted when a file exceeds the configured `fileSize` limit. You can listen on the file stream to handle it:
|
| 192 |
+
|
| 193 |
+
```js
|
| 194 |
+
busboy.on('file', (fieldname, stream) => {
|
| 195 |
+
stream.on('limit', () => {
|
| 196 |
+
console.log('File size exceeded')
|
| 197 |
+
})
|
| 198 |
+
})
|
| 199 |
+
```
|
| 200 |
+
|
| 201 |
+
* **field**(< _string_ >fieldname, < _string_ >value, < _boolean_ >fieldnameTruncated, < _boolean_ >valueTruncated, < _string_ >transferEncoding, < _string_ >mimeType) - Emitted for each new non-file field found.
|
| 202 |
+
|
| 203 |
+
* **partsLimit**() - Emitted when specified `parts` limit has been reached. No more 'file' or 'field' events will be emitted.
|
| 204 |
+
|
| 205 |
+
* **filesLimit**() - Emitted when specified `files` limit has been reached. No more 'file' events will be emitted.
|
| 206 |
+
|
| 207 |
+
* **fieldsLimit**() - Emitted when specified `fields` limit has been reached. No more 'field' events will be emitted.
|
| 208 |
+
|
| 209 |
+
Busboy methods
|
| 210 |
+
--------------
|
| 211 |
+
|
| 212 |
+
* **(constructor)**(< _object_ >config) - Creates and returns a new Busboy instance.
|
| 213 |
+
|
| 214 |
+
* The constructor takes the following valid `config` settings:
|
| 215 |
+
|
| 216 |
+
* **headers** - _object_ - These are the HTTP headers of the incoming request, which are used by individual parsers.
|
| 217 |
+
|
| 218 |
+
* **autoDestroy** - _boolean_ - Whether this stream should automatically call .destroy() on itself after ending. (Default: false).
|
| 219 |
+
|
| 220 |
+
* **highWaterMark** - _integer_ - highWaterMark to use for this Busboy instance (Default: WritableStream default).
|
| 221 |
+
|
| 222 |
+
* **fileHwm** - _integer_ - highWaterMark to use for file streams (Default: ReadableStream default).
|
| 223 |
+
|
| 224 |
+
* **defCharset** - _string_ - Default character set to use when one isn't defined (Default: 'utf8').
|
| 225 |
+
|
| 226 |
+
* **preservePath** - _boolean_ - If paths in the multipart 'filename' field shall be preserved. (Default: false).
|
| 227 |
+
|
| 228 |
+
* **isPartAFile** - **function** - Use this function to override the default file detection functionality. It has following parameters:
|
| 229 |
+
|
| 230 |
+
* fieldName - **string** The name of the field.
|
| 231 |
+
|
| 232 |
+
* contentType - **string** The content-type of the part, e.g. `text/plain`, `image/jpeg`, `application/octet-stream`
|
| 233 |
+
|
| 234 |
+
* fileName - **string** The name of a file supplied by the part.
|
| 235 |
+
|
| 236 |
+
(Default: `(fieldName, contentType, fileName) => (contentType === 'application/octet-stream' || fileName !== undefined)`)
|
| 237 |
+
|
| 238 |
+
* **limits** - _object_ - Various limits on incoming data. Valid properties are:
|
| 239 |
+
|
| 240 |
+
* **fieldNameSize** - _integer_ - Max field name size (in bytes) (Default: 100 bytes).
|
| 241 |
+
|
| 242 |
+
* **fieldSize** - _integer_ - Max field value size (in bytes) (Default: 1 MiB, which is 1024 x 1024 bytes).
|
| 243 |
+
|
| 244 |
+
* **fields** - _integer_ - Max number of non-file fields (Default: Infinity).
|
| 245 |
+
|
| 246 |
+
* **fileSize** - _integer_ - For multipart forms, the max file size (in bytes) (Default: Infinity).
|
| 247 |
+
|
| 248 |
+
* **files** - _integer_ - For multipart forms, the max number of file fields (Default: Infinity).
|
| 249 |
+
|
| 250 |
+
* **parts** - _integer_ - For multipart forms, the max number of parts (fields + files) (Default: Infinity).
|
| 251 |
+
|
| 252 |
+
* **headerPairs** - _integer_ - For multipart forms, the max number of header key=>value pairs to parse **Default:** 2000
|
| 253 |
+
|
| 254 |
+
* **headerSize** - _integer_ - For multipart forms, the max size of a multipart header **Default:** 81920.
|
| 255 |
+
|
| 256 |
+
* The constructor can throw errors:
|
| 257 |
+
|
| 258 |
+
* **Busboy expected an options-Object.** - Busboy expected an Object as first parameters.
|
| 259 |
+
|
| 260 |
+
* **Busboy expected an options-Object with headers-attribute.** - The first parameter is lacking of a headers-attribute.
|
| 261 |
+
|
| 262 |
+
* **Limit $limit is not a valid number** - Busboy expected the desired limit to be of type number. Busboy throws this Error to prevent a potential security issue by falling silently back to the Busboy-defaults. Potential source for this Error can be the direct use of environment variables without transforming them to the type number.
|
| 263 |
+
|
| 264 |
+
* **Unsupported Content-Type.** - The `Content-Type` isn't one Busboy can parse.
|
| 265 |
+
|
| 266 |
+
* **Missing Content-Type-header.** - The provided headers don't include `Content-Type` at all.
|
node_modules/@fastify/busboy/deps/dicer/LICENSE
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright Brian White. All rights reserved.
|
| 2 |
+
|
| 3 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 4 |
+
of this software and associated documentation files (the "Software"), to
|
| 5 |
+
deal in the Software without restriction, including without limitation the
|
| 6 |
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
| 7 |
+
sell copies of the Software, and to permit persons to whom the Software is
|
| 8 |
+
furnished to do so, subject to the following conditions:
|
| 9 |
+
|
| 10 |
+
The above copyright notice and this permission notice shall be included in
|
| 11 |
+
all copies or substantial portions of the Software.
|
| 12 |
+
|
| 13 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 14 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 15 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 16 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 17 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
| 18 |
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
| 19 |
+
IN THE SOFTWARE.
|
node_modules/@fastify/busboy/deps/dicer/lib/Dicer.js
ADDED
|
@@ -0,0 +1,213 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'use strict'
|
| 2 |
+
|
| 3 |
+
const WritableStream = require('node:stream').Writable
|
| 4 |
+
const inherits = require('node:util').inherits
|
| 5 |
+
|
| 6 |
+
const StreamSearch = require('../../streamsearch/sbmh')
|
| 7 |
+
|
| 8 |
+
const PartStream = require('./PartStream')
|
| 9 |
+
const HeaderParser = require('./HeaderParser')
|
| 10 |
+
|
| 11 |
+
const DASH = 45
|
| 12 |
+
const B_ONEDASH = Buffer.from('-')
|
| 13 |
+
const B_CRLF = Buffer.from('\r\n')
|
| 14 |
+
const EMPTY_FN = function () {}
|
| 15 |
+
|
| 16 |
+
function Dicer (cfg) {
|
| 17 |
+
if (!(this instanceof Dicer)) { return new Dicer(cfg) }
|
| 18 |
+
WritableStream.call(this, cfg)
|
| 19 |
+
|
| 20 |
+
if (!cfg || (!cfg.headerFirst && typeof cfg.boundary !== 'string')) { throw new TypeError('Boundary required') }
|
| 21 |
+
|
| 22 |
+
if (typeof cfg.boundary === 'string') { this.setBoundary(cfg.boundary) } else { this._bparser = undefined }
|
| 23 |
+
|
| 24 |
+
this._headerFirst = cfg.headerFirst
|
| 25 |
+
|
| 26 |
+
this._dashes = 0
|
| 27 |
+
this._parts = 0
|
| 28 |
+
this._finished = false
|
| 29 |
+
this._realFinish = false
|
| 30 |
+
this._isPreamble = true
|
| 31 |
+
this._justMatched = false
|
| 32 |
+
this._firstWrite = true
|
| 33 |
+
this._inHeader = true
|
| 34 |
+
this._part = undefined
|
| 35 |
+
this._cb = undefined
|
| 36 |
+
this._ignoreData = false
|
| 37 |
+
this._partOpts = { highWaterMark: cfg.partHwm }
|
| 38 |
+
this._pause = false
|
| 39 |
+
|
| 40 |
+
const self = this
|
| 41 |
+
this._hparser = new HeaderParser(cfg)
|
| 42 |
+
this._hparser.on('header', function (header) {
|
| 43 |
+
self._inHeader = false
|
| 44 |
+
self._part.emit('header', header)
|
| 45 |
+
})
|
| 46 |
+
}
|
| 47 |
+
inherits(Dicer, WritableStream)
|
| 48 |
+
|
| 49 |
+
Dicer.prototype.emit = function (ev) {
|
| 50 |
+
if (ev === 'finish' && !this._realFinish) {
|
| 51 |
+
if (!this._finished) {
|
| 52 |
+
const self = this
|
| 53 |
+
process.nextTick(function () {
|
| 54 |
+
self.emit('error', new Error('Unexpected end of multipart data'))
|
| 55 |
+
if (self._part && !self._ignoreData) {
|
| 56 |
+
const type = (self._isPreamble ? 'Preamble' : 'Part')
|
| 57 |
+
self._part.emit('error', new Error(type + ' terminated early due to unexpected end of multipart data'))
|
| 58 |
+
self._part.push(null)
|
| 59 |
+
process.nextTick(function () {
|
| 60 |
+
self._realFinish = true
|
| 61 |
+
self.emit('finish')
|
| 62 |
+
self._realFinish = false
|
| 63 |
+
})
|
| 64 |
+
return
|
| 65 |
+
}
|
| 66 |
+
self._realFinish = true
|
| 67 |
+
self.emit('finish')
|
| 68 |
+
self._realFinish = false
|
| 69 |
+
})
|
| 70 |
+
}
|
| 71 |
+
} else { WritableStream.prototype.emit.apply(this, arguments) }
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
Dicer.prototype._write = function (data, encoding, cb) {
|
| 75 |
+
// ignore unexpected data (e.g. extra trailer data after finished)
|
| 76 |
+
if (!this._hparser && !this._bparser) { return cb() }
|
| 77 |
+
|
| 78 |
+
if (this._headerFirst && this._isPreamble) {
|
| 79 |
+
if (!this._part) {
|
| 80 |
+
this._part = new PartStream(this._partOpts)
|
| 81 |
+
if (this.listenerCount('preamble') !== 0) { this.emit('preamble', this._part) } else { this._ignore() }
|
| 82 |
+
}
|
| 83 |
+
const r = this._hparser.push(data)
|
| 84 |
+
if (!this._inHeader && r !== undefined && r < data.length) { data = data.slice(r) } else { return cb() }
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
// allows for "easier" testing
|
| 88 |
+
if (this._firstWrite) {
|
| 89 |
+
this._bparser.push(B_CRLF)
|
| 90 |
+
this._firstWrite = false
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
this._bparser.push(data)
|
| 94 |
+
|
| 95 |
+
if (this._pause) { this._cb = cb } else { cb() }
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
Dicer.prototype.reset = function () {
|
| 99 |
+
this._part = undefined
|
| 100 |
+
this._bparser = undefined
|
| 101 |
+
this._hparser = undefined
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
Dicer.prototype.setBoundary = function (boundary) {
|
| 105 |
+
const self = this
|
| 106 |
+
this._bparser = new StreamSearch('\r\n--' + boundary)
|
| 107 |
+
this._bparser.on('info', function (isMatch, data, start, end) {
|
| 108 |
+
self._oninfo(isMatch, data, start, end)
|
| 109 |
+
})
|
| 110 |
+
}
|
| 111 |
+
|
| 112 |
+
Dicer.prototype._ignore = function () {
|
| 113 |
+
if (this._part && !this._ignoreData) {
|
| 114 |
+
this._ignoreData = true
|
| 115 |
+
this._part.on('error', EMPTY_FN)
|
| 116 |
+
// we must perform some kind of read on the stream even though we are
|
| 117 |
+
// ignoring the data, otherwise node's Readable stream will not emit 'end'
|
| 118 |
+
// after pushing null to the stream
|
| 119 |
+
this._part.resume()
|
| 120 |
+
}
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
+
Dicer.prototype._oninfo = function (isMatch, data, start, end) {
|
| 124 |
+
let buf; const self = this; let i = 0; let r; let shouldWriteMore = true
|
| 125 |
+
|
| 126 |
+
if (!this._part && this._justMatched && data) {
|
| 127 |
+
while (this._dashes < 2 && (start + i) < end) {
|
| 128 |
+
if (data[start + i] === DASH) {
|
| 129 |
+
++i
|
| 130 |
+
++this._dashes
|
| 131 |
+
} else {
|
| 132 |
+
if (this._dashes) { buf = B_ONEDASH }
|
| 133 |
+
this._dashes = 0
|
| 134 |
+
break
|
| 135 |
+
}
|
| 136 |
+
}
|
| 137 |
+
if (this._dashes === 2) {
|
| 138 |
+
if ((start + i) < end && this.listenerCount('trailer') !== 0) { this.emit('trailer', data.slice(start + i, end)) }
|
| 139 |
+
this.reset()
|
| 140 |
+
this._finished = true
|
| 141 |
+
// no more parts will be added
|
| 142 |
+
if (self._parts === 0) {
|
| 143 |
+
self._realFinish = true
|
| 144 |
+
self.emit('finish')
|
| 145 |
+
self._realFinish = false
|
| 146 |
+
}
|
| 147 |
+
}
|
| 148 |
+
if (this._dashes) { return }
|
| 149 |
+
}
|
| 150 |
+
if (this._justMatched) { this._justMatched = false }
|
| 151 |
+
if (!this._part) {
|
| 152 |
+
this._part = new PartStream(this._partOpts)
|
| 153 |
+
this._part._read = function (n) {
|
| 154 |
+
self._unpause()
|
| 155 |
+
}
|
| 156 |
+
if (this._isPreamble && this.listenerCount('preamble') !== 0) {
|
| 157 |
+
this.emit('preamble', this._part)
|
| 158 |
+
} else if (this._isPreamble !== true && this.listenerCount('part') !== 0) {
|
| 159 |
+
this.emit('part', this._part)
|
| 160 |
+
} else {
|
| 161 |
+
this._ignore()
|
| 162 |
+
}
|
| 163 |
+
if (!this._isPreamble) { this._inHeader = true }
|
| 164 |
+
}
|
| 165 |
+
if (data && start < end && !this._ignoreData) {
|
| 166 |
+
if (this._isPreamble || !this._inHeader) {
|
| 167 |
+
if (buf) { shouldWriteMore = this._part.push(buf) }
|
| 168 |
+
shouldWriteMore = this._part.push(data.slice(start, end))
|
| 169 |
+
if (!shouldWriteMore) { this._pause = true }
|
| 170 |
+
} else if (!this._isPreamble && this._inHeader) {
|
| 171 |
+
if (buf) { this._hparser.push(buf) }
|
| 172 |
+
r = this._hparser.push(data.slice(start, end))
|
| 173 |
+
if (!this._inHeader && r !== undefined && r < end) { this._oninfo(false, data, start + r, end) }
|
| 174 |
+
}
|
| 175 |
+
}
|
| 176 |
+
if (isMatch) {
|
| 177 |
+
this._hparser.reset()
|
| 178 |
+
if (this._isPreamble) { this._isPreamble = false } else {
|
| 179 |
+
if (start !== end) {
|
| 180 |
+
++this._parts
|
| 181 |
+
this._part.on('end', function () {
|
| 182 |
+
if (--self._parts === 0) {
|
| 183 |
+
if (self._finished) {
|
| 184 |
+
self._realFinish = true
|
| 185 |
+
self.emit('finish')
|
| 186 |
+
self._realFinish = false
|
| 187 |
+
} else {
|
| 188 |
+
self._unpause()
|
| 189 |
+
}
|
| 190 |
+
}
|
| 191 |
+
})
|
| 192 |
+
}
|
| 193 |
+
}
|
| 194 |
+
this._part.push(null)
|
| 195 |
+
this._part = undefined
|
| 196 |
+
this._ignoreData = false
|
| 197 |
+
this._justMatched = true
|
| 198 |
+
this._dashes = 0
|
| 199 |
+
}
|
| 200 |
+
}
|
| 201 |
+
|
| 202 |
+
Dicer.prototype._unpause = function () {
|
| 203 |
+
if (!this._pause) { return }
|
| 204 |
+
|
| 205 |
+
this._pause = false
|
| 206 |
+
if (this._cb) {
|
| 207 |
+
const cb = this._cb
|
| 208 |
+
this._cb = undefined
|
| 209 |
+
cb()
|
| 210 |
+
}
|
| 211 |
+
}
|
| 212 |
+
|
| 213 |
+
module.exports = Dicer
|
node_modules/@fastify/busboy/deps/dicer/lib/HeaderParser.js
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'use strict'
|
| 2 |
+
|
| 3 |
+
const EventEmitter = require('node:events').EventEmitter
|
| 4 |
+
const inherits = require('node:util').inherits
|
| 5 |
+
const getLimit = require('../../../lib/utils/getLimit')
|
| 6 |
+
|
| 7 |
+
const B_DCRLF = Buffer.from('\r\n\r\n')
|
| 8 |
+
const S_DCRLF = '\r\n\r\n'
|
| 9 |
+
|
| 10 |
+
function HeaderParser (cfg) {
|
| 11 |
+
EventEmitter.call(this)
|
| 12 |
+
|
| 13 |
+
cfg = cfg || {}
|
| 14 |
+
this.nread = 0
|
| 15 |
+
this.maxed = false
|
| 16 |
+
this.npairs = 0
|
| 17 |
+
this.maxHeaderPairs = getLimit(cfg, 'maxHeaderPairs', 2000)
|
| 18 |
+
this.maxHeaderSize = getLimit(cfg, 'maxHeaderSize', 80 * 1024)
|
| 19 |
+
this.buffer = ''
|
| 20 |
+
this.header = Object.create(null)
|
| 21 |
+
this.finished = false
|
| 22 |
+
this.tail = ''
|
| 23 |
+
}
|
| 24 |
+
inherits(HeaderParser, EventEmitter)
|
| 25 |
+
|
| 26 |
+
HeaderParser.prototype.push = function (data) {
|
| 27 |
+
if (!Buffer.isBuffer(data)) { data = Buffer.from(data, 'binary') }
|
| 28 |
+
|
| 29 |
+
let end = data.length
|
| 30 |
+
let appendEnd = data.length
|
| 31 |
+
let found = false
|
| 32 |
+
const tail = this.tail
|
| 33 |
+
|
| 34 |
+
for (let i = tail.length; i > 0; --i) {
|
| 35 |
+
if (tail.endsWith(S_DCRLF.slice(0, i))) {
|
| 36 |
+
let matched = data.length >= S_DCRLF.length - i
|
| 37 |
+
for (let j = i; matched && j < S_DCRLF.length; ++j) {
|
| 38 |
+
matched = data[j - i] === S_DCRLF.charCodeAt(j)
|
| 39 |
+
}
|
| 40 |
+
if (matched) {
|
| 41 |
+
end = S_DCRLF.length - i
|
| 42 |
+
appendEnd = 0
|
| 43 |
+
found = true
|
| 44 |
+
break
|
| 45 |
+
}
|
| 46 |
+
}
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
if (!found) {
|
| 50 |
+
const pos = data.indexOf(B_DCRLF)
|
| 51 |
+
if (pos !== -1) {
|
| 52 |
+
end = pos + B_DCRLF.length
|
| 53 |
+
appendEnd = pos
|
| 54 |
+
found = true
|
| 55 |
+
}
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
if (!found) {
|
| 59 |
+
this.tail = data.length >= 3
|
| 60 |
+
? data.toString('binary', data.length - 3)
|
| 61 |
+
: (tail + data.toString('binary')).slice(-3)
|
| 62 |
+
} else { this.tail = '' }
|
| 63 |
+
|
| 64 |
+
if (appendEnd !== 0 && !this.maxed) {
|
| 65 |
+
const remaining = this.maxHeaderSize - this.nread
|
| 66 |
+
if (appendEnd >= remaining) {
|
| 67 |
+
this.buffer += data.toString('binary', 0, remaining)
|
| 68 |
+
this.nread = this.maxHeaderSize
|
| 69 |
+
this.maxed = true
|
| 70 |
+
} else {
|
| 71 |
+
this.buffer += data.toString('binary', 0, appendEnd)
|
| 72 |
+
this.nread += appendEnd
|
| 73 |
+
}
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
if (found) {
|
| 77 |
+
this._finish()
|
| 78 |
+
return end
|
| 79 |
+
}
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
HeaderParser.prototype.reset = function () {
|
| 83 |
+
this.finished = false
|
| 84 |
+
this.buffer = ''
|
| 85 |
+
this.header = Object.create(null)
|
| 86 |
+
this.tail = ''
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
HeaderParser.prototype._finish = function () {
|
| 90 |
+
if (this.buffer) { this._parseHeader() }
|
| 91 |
+
const header = this.header
|
| 92 |
+
this.header = Object.create(null)
|
| 93 |
+
this.buffer = ''
|
| 94 |
+
this.tail = ''
|
| 95 |
+
this.finished = true
|
| 96 |
+
this.nread = this.npairs = 0
|
| 97 |
+
this.maxed = false
|
| 98 |
+
this.emit('header', header)
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
HeaderParser.prototype._parseHeader = function () {
|
| 102 |
+
if (this.npairs === this.maxHeaderPairs) { return }
|
| 103 |
+
|
| 104 |
+
const buffer = this.buffer
|
| 105 |
+
let h
|
| 106 |
+
let lineStart = 0
|
| 107 |
+
|
| 108 |
+
while (lineStart < buffer.length) {
|
| 109 |
+
let lineEnd = buffer.indexOf('\r\n', lineStart)
|
| 110 |
+
if (lineEnd === -1) { lineEnd = buffer.length }
|
| 111 |
+
|
| 112 |
+
if (lineEnd === lineStart) {
|
| 113 |
+
lineStart = lineEnd + 2
|
| 114 |
+
continue
|
| 115 |
+
}
|
| 116 |
+
|
| 117 |
+
// Reject bare line breaks instead of exposing them in parsed values
|
| 118 |
+
const line = buffer.slice(lineStart, lineEnd)
|
| 119 |
+
if (line.includes('\r') || line.includes('\n')) { return }
|
| 120 |
+
|
| 121 |
+
if ((buffer[lineStart] === '\t' || buffer[lineStart] === ' ') && h) {
|
| 122 |
+
// folded header content
|
| 123 |
+
// RFC2822 says to just remove the CRLF and not the whitespace following
|
| 124 |
+
// it, so we follow the RFC and include the leading whitespace ...
|
| 125 |
+
this.header[h][this.header[h].length - 1] += buffer.slice(lineStart, lineEnd)
|
| 126 |
+
lineStart = lineEnd + 2
|
| 127 |
+
continue
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
const posColon = buffer.indexOf(':', lineStart)
|
| 131 |
+
if (
|
| 132 |
+
posColon === -1 ||
|
| 133 |
+
posColon === lineStart ||
|
| 134 |
+
posColon > lineEnd
|
| 135 |
+
) {
|
| 136 |
+
return
|
| 137 |
+
}
|
| 138 |
+
h = buffer.slice(lineStart, posColon).toLowerCase()
|
| 139 |
+
let valueStart = posColon + 1
|
| 140 |
+
if (buffer[valueStart] === ' ' || buffer[valueStart] === '\t') { ++valueStart }
|
| 141 |
+
const values = this.header[h] || (this.header[h] = [])
|
| 142 |
+
values.push(buffer.slice(valueStart, lineEnd))
|
| 143 |
+
if (++this.npairs === this.maxHeaderPairs) { break }
|
| 144 |
+
|
| 145 |
+
lineStart = lineEnd + 2
|
| 146 |
+
}
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
+
module.exports = HeaderParser
|
node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'use strict'
|
| 2 |
+
|
| 3 |
+
const inherits = require('node:util').inherits
|
| 4 |
+
const ReadableStream = require('node:stream').Readable
|
| 5 |
+
|
| 6 |
+
function PartStream (opts) {
|
| 7 |
+
ReadableStream.call(this, opts)
|
| 8 |
+
}
|
| 9 |
+
inherits(PartStream, ReadableStream)
|
| 10 |
+
|
| 11 |
+
PartStream.prototype._read = function (n) {}
|
| 12 |
+
|
| 13 |
+
module.exports = PartStream
|
node_modules/@fastify/busboy/deps/dicer/lib/dicer.d.ts
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Type definitions for dicer 0.2
|
| 2 |
+
// Project: https://github.com/mscdex/dicer
|
| 3 |
+
// Definitions by: BendingBender <https://github.com/BendingBender>
|
| 4 |
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
| 5 |
+
// TypeScript Version: 2.2
|
| 6 |
+
/// <reference types="node" />
|
| 7 |
+
|
| 8 |
+
import stream = require('stream')
|
| 9 |
+
|
| 10 |
+
// tslint:disable:unified-signatures
|
| 11 |
+
|
| 12 |
+
/**
|
| 13 |
+
* A very fast streaming multipart parser for node.js.
|
| 14 |
+
* Dicer is a WritableStream
|
| 15 |
+
*
|
| 16 |
+
* Dicer (special) events:
|
| 17 |
+
* - on('finish', ()) - Emitted when all parts have been parsed and the Dicer instance has been ended.
|
| 18 |
+
* - on('part', (stream: PartStream)) - Emitted when a new part has been found.
|
| 19 |
+
* - on('preamble', (stream: PartStream)) - Emitted for preamble if you should happen to need it (can usually be ignored).
|
| 20 |
+
* - on('trailer', (data: Buffer)) - Emitted when trailing data was found after the terminating boundary (as with the preamble, this can usually be ignored too).
|
| 21 |
+
*/
|
| 22 |
+
export class Dicer extends stream.Writable {
|
| 23 |
+
/**
|
| 24 |
+
* Creates and returns a new Dicer instance with the following valid config settings:
|
| 25 |
+
*
|
| 26 |
+
* @param config The configuration to use
|
| 27 |
+
*/
|
| 28 |
+
constructor (config: Dicer.Config)
|
| 29 |
+
/**
|
| 30 |
+
* Sets the boundary to use for parsing and performs some initialization needed for parsing.
|
| 31 |
+
* You should only need to use this if you set headerFirst to true in the constructor and are parsing the boundary from the preamble header.
|
| 32 |
+
*
|
| 33 |
+
* @param boundary The boundary to use
|
| 34 |
+
*/
|
| 35 |
+
setBoundary (boundary: string): void
|
| 36 |
+
addListener (event: 'finish', listener: () => void): this
|
| 37 |
+
addListener (event: 'part', listener: (stream: Dicer.PartStream) => void): this
|
| 38 |
+
addListener (event: 'preamble', listener: (stream: Dicer.PartStream) => void): this
|
| 39 |
+
addListener (event: 'trailer', listener: (data: Buffer) => void): this
|
| 40 |
+
addListener (event: 'close', listener: () => void): this
|
| 41 |
+
addListener (event: 'drain', listener: () => void): this
|
| 42 |
+
addListener (event: 'error', listener: (err: Error) => void): this
|
| 43 |
+
addListener (event: 'pipe', listener: (src: stream.Readable) => void): this
|
| 44 |
+
addListener (event: 'unpipe', listener: (src: stream.Readable) => void): this
|
| 45 |
+
addListener (event: string, listener: (...args: any[]) => void): this
|
| 46 |
+
on (event: 'finish', listener: () => void): this
|
| 47 |
+
on (event: 'part', listener: (stream: Dicer.PartStream) => void): this
|
| 48 |
+
on (event: 'preamble', listener: (stream: Dicer.PartStream) => void): this
|
| 49 |
+
on (event: 'trailer', listener: (data: Buffer) => void): this
|
| 50 |
+
on (event: 'close', listener: () => void): this
|
| 51 |
+
on (event: 'drain', listener: () => void): this
|
| 52 |
+
on (event: 'error', listener: (err: Error) => void): this
|
| 53 |
+
on (event: 'pipe', listener: (src: stream.Readable) => void): this
|
| 54 |
+
on (event: 'unpipe', listener: (src: stream.Readable) => void): this
|
| 55 |
+
on (event: string, listener: (...args: any[]) => void): this
|
| 56 |
+
once (event: 'finish', listener: () => void): this
|
| 57 |
+
once (event: 'part', listener: (stream: Dicer.PartStream) => void): this
|
| 58 |
+
once (event: 'preamble', listener: (stream: Dicer.PartStream) => void): this
|
| 59 |
+
once (event: 'trailer', listener: (data: Buffer) => void): this
|
| 60 |
+
once (event: 'close', listener: () => void): this
|
| 61 |
+
once (event: 'drain', listener: () => void): this
|
| 62 |
+
once (event: 'error', listener: (err: Error) => void): this
|
| 63 |
+
once (event: 'pipe', listener: (src: stream.Readable) => void): this
|
| 64 |
+
once (event: 'unpipe', listener: (src: stream.Readable) => void): this
|
| 65 |
+
once (event: string, listener: (...args: any[]) => void): this
|
| 66 |
+
prependListener (event: 'finish', listener: () => void): this
|
| 67 |
+
prependListener (event: 'part', listener: (stream: Dicer.PartStream) => void): this
|
| 68 |
+
prependListener (event: 'preamble', listener: (stream: Dicer.PartStream) => void): this
|
| 69 |
+
prependListener (event: 'trailer', listener: (data: Buffer) => void): this
|
| 70 |
+
prependListener (event: 'close', listener: () => void): this
|
| 71 |
+
prependListener (event: 'drain', listener: () => void): this
|
| 72 |
+
prependListener (event: 'error', listener: (err: Error) => void): this
|
| 73 |
+
prependListener (event: 'pipe', listener: (src: stream.Readable) => void): this
|
| 74 |
+
prependListener (event: 'unpipe', listener: (src: stream.Readable) => void): this
|
| 75 |
+
prependListener (event: string, listener: (...args: any[]) => void): this
|
| 76 |
+
prependOnceListener (event: 'finish', listener: () => void): this
|
| 77 |
+
prependOnceListener (event: 'part', listener: (stream: Dicer.PartStream) => void): this
|
| 78 |
+
prependOnceListener (event: 'preamble', listener: (stream: Dicer.PartStream) => void): this
|
| 79 |
+
prependOnceListener (event: 'trailer', listener: (data: Buffer) => void): this
|
| 80 |
+
prependOnceListener (event: 'close', listener: () => void): this
|
| 81 |
+
prependOnceListener (event: 'drain', listener: () => void): this
|
| 82 |
+
prependOnceListener (event: 'error', listener: (err: Error) => void): this
|
| 83 |
+
prependOnceListener (event: 'pipe', listener: (src: stream.Readable) => void): this
|
| 84 |
+
prependOnceListener (event: 'unpipe', listener: (src: stream.Readable) => void): this
|
| 85 |
+
prependOnceListener (event: string, listener: (...args: any[]) => void): this
|
| 86 |
+
removeListener (event: 'finish', listener: () => void): this
|
| 87 |
+
removeListener (event: 'part', listener: (stream: Dicer.PartStream) => void): this
|
| 88 |
+
removeListener (event: 'preamble', listener: (stream: Dicer.PartStream) => void): this
|
| 89 |
+
removeListener (event: 'trailer', listener: (data: Buffer) => void): this
|
| 90 |
+
removeListener (event: 'close', listener: () => void): this
|
| 91 |
+
removeListener (event: 'drain', listener: () => void): this
|
| 92 |
+
removeListener (event: 'error', listener: (err: Error) => void): this
|
| 93 |
+
removeListener (event: 'pipe', listener: (src: stream.Readable) => void): this
|
| 94 |
+
removeListener (event: 'unpipe', listener: (src: stream.Readable) => void): this
|
| 95 |
+
removeListener (event: string, listener: (...args: any[]) => void): this
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
declare namespace Dicer {
|
| 99 |
+
interface Config {
|
| 100 |
+
/**
|
| 101 |
+
* This is the boundary used to detect the beginning of a new part.
|
| 102 |
+
*/
|
| 103 |
+
boundary?: string | undefined;
|
| 104 |
+
/**
|
| 105 |
+
* If true, preamble header parsing will be performed first.
|
| 106 |
+
*/
|
| 107 |
+
headerFirst?: boolean | undefined;
|
| 108 |
+
/**
|
| 109 |
+
* The maximum number of header key=>value pairs to parse Default: 2000 (same as node's http).
|
| 110 |
+
*/
|
| 111 |
+
maxHeaderPairs?: number | undefined;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
/**
|
| 115 |
+
* PartStream is a _ReadableStream_
|
| 116 |
+
*
|
| 117 |
+
* PartStream (special) events:
|
| 118 |
+
* - on('header', (header: object)) - An object containing the header for this particular part. Each property value is an array of one or more string values.
|
| 119 |
+
*/
|
| 120 |
+
interface PartStream extends stream.Readable {
|
| 121 |
+
addListener(event: 'header', listener: (header: object) => void): this;
|
| 122 |
+
addListener(event: 'close', listener: () => void): this;
|
| 123 |
+
addListener(event: 'data', listener: (chunk: Buffer | string) => void): this;
|
| 124 |
+
addListener(event: 'end', listener: () => void): this;
|
| 125 |
+
addListener(event: 'readable', listener: () => void): this;
|
| 126 |
+
addListener(event: 'error', listener: (err: Error) => void): this;
|
| 127 |
+
addListener(event: string, listener: (...args: any[]) => void): this;
|
| 128 |
+
on(event: 'header', listener: (header: object) => void): this;
|
| 129 |
+
on(event: 'close', listener: () => void): this;
|
| 130 |
+
on(event: 'data', listener: (chunk: Buffer | string) => void): this;
|
| 131 |
+
on(event: 'end', listener: () => void): this;
|
| 132 |
+
on(event: 'readable', listener: () => void): this;
|
| 133 |
+
on(event: 'error', listener: (err: Error) => void): this;
|
| 134 |
+
on(event: string, listener: (...args: any[]) => void): this;
|
| 135 |
+
once(event: 'header', listener: (header: object) => void): this;
|
| 136 |
+
once(event: 'close', listener: () => void): this;
|
| 137 |
+
once(event: 'data', listener: (chunk: Buffer | string) => void): this;
|
| 138 |
+
once(event: 'end', listener: () => void): this;
|
| 139 |
+
once(event: 'readable', listener: () => void): this;
|
| 140 |
+
once(event: 'error', listener: (err: Error) => void): this;
|
| 141 |
+
once(event: string, listener: (...args: any[]) => void): this;
|
| 142 |
+
prependListener(event: 'header', listener: (header: object) => void): this;
|
| 143 |
+
prependListener(event: 'close', listener: () => void): this;
|
| 144 |
+
prependListener(event: 'data', listener: (chunk: Buffer | string) => void): this;
|
| 145 |
+
prependListener(event: 'end', listener: () => void): this;
|
| 146 |
+
prependListener(event: 'readable', listener: () => void): this;
|
| 147 |
+
prependListener(event: 'error', listener: (err: Error) => void): this;
|
| 148 |
+
prependListener(event: string, listener: (...args: any[]) => void): this;
|
| 149 |
+
prependOnceListener(event: 'header', listener: (header: object) => void): this;
|
| 150 |
+
prependOnceListener(event: 'close', listener: () => void): this;
|
| 151 |
+
prependOnceListener(event: 'data', listener: (chunk: Buffer | string) => void): this;
|
| 152 |
+
prependOnceListener(event: 'end', listener: () => void): this;
|
| 153 |
+
prependOnceListener(event: 'readable', listener: () => void): this;
|
| 154 |
+
prependOnceListener(event: 'error', listener: (err: Error) => void): this;
|
| 155 |
+
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
| 156 |
+
removeListener(event: 'header', listener: (header: object) => void): this;
|
| 157 |
+
removeListener(event: 'close', listener: () => void): this;
|
| 158 |
+
removeListener(event: 'data', listener: (chunk: Buffer | string) => void): this;
|
| 159 |
+
removeListener(event: 'end', listener: () => void): this;
|
| 160 |
+
removeListener(event: 'readable', listener: () => void): this;
|
| 161 |
+
removeListener(event: 'error', listener: (err: Error) => void): this;
|
| 162 |
+
removeListener(event: string, listener: (...args: any[]) => void): this;
|
| 163 |
+
}
|
| 164 |
+
}
|
node_modules/@fastify/busboy/deps/streamsearch/sbmh.js
ADDED
|
@@ -0,0 +1,230 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'use strict'
|
| 2 |
+
|
| 3 |
+
/**
|
| 4 |
+
* Copyright Brian White. All rights reserved.
|
| 5 |
+
*
|
| 6 |
+
* @see https://github.com/mscdex/streamsearch
|
| 7 |
+
*
|
| 8 |
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 9 |
+
* of this software and associated documentation files (the "Software"), to
|
| 10 |
+
* deal in the Software without restriction, including without limitation the
|
| 11 |
+
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
| 12 |
+
* sell copies of the Software, and to permit persons to whom the Software is
|
| 13 |
+
* furnished to do so, subject to the following conditions:
|
| 14 |
+
*
|
| 15 |
+
* The above copyright notice and this permission notice shall be included in
|
| 16 |
+
* all copies or substantial portions of the Software.
|
| 17 |
+
*
|
| 18 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 19 |
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 20 |
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 21 |
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 22 |
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
| 23 |
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
| 24 |
+
* IN THE SOFTWARE.
|
| 25 |
+
*
|
| 26 |
+
* Based heavily on the Streaming Boyer-Moore-Horspool C++ implementation
|
| 27 |
+
* by Hongli Lai at: https://github.com/FooBarWidget/boyer-moore-horspool
|
| 28 |
+
*/
|
| 29 |
+
|
| 30 |
+
const { EventEmitter } = require('node:events')
|
| 31 |
+
const { inherits } = require('node:util')
|
| 32 |
+
|
| 33 |
+
function SBMH (needle) {
|
| 34 |
+
if (typeof needle === 'string') {
|
| 35 |
+
needle = Buffer.from(needle)
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
if (!Buffer.isBuffer(needle)) {
|
| 39 |
+
throw new TypeError('The needle has to be a String or a Buffer.')
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
const needleLength = needle.length
|
| 43 |
+
const needleLastCharIndex = needleLength - 1
|
| 44 |
+
|
| 45 |
+
if (needleLength === 0) {
|
| 46 |
+
throw new Error('The needle cannot be an empty String/Buffer.')
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
if (needleLength > 256) {
|
| 50 |
+
throw new Error('The needle cannot have a length bigger than 256.')
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
this.maxMatches = Infinity
|
| 54 |
+
this.matches = 0
|
| 55 |
+
|
| 56 |
+
this._occ = new Uint16Array(256)
|
| 57 |
+
.fill(needleLength) // Initialize occurrence table.
|
| 58 |
+
this._lookbehind_size = 0
|
| 59 |
+
this._needle = needle
|
| 60 |
+
this._bufpos = 0
|
| 61 |
+
|
| 62 |
+
this._lookbehind = Buffer.alloc(needleLastCharIndex)
|
| 63 |
+
|
| 64 |
+
// Populate occurrence table with analysis of the needle,
|
| 65 |
+
// ignoring last letter.
|
| 66 |
+
for (var i = 0; i < needleLastCharIndex; ++i) { // eslint-disable-line no-var
|
| 67 |
+
this._occ[needle[i]] = needleLastCharIndex - i
|
| 68 |
+
}
|
| 69 |
+
}
|
| 70 |
+
inherits(SBMH, EventEmitter)
|
| 71 |
+
|
| 72 |
+
SBMH.prototype.reset = function () {
|
| 73 |
+
this._lookbehind_size = 0
|
| 74 |
+
this.matches = 0
|
| 75 |
+
this._bufpos = 0
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
SBMH.prototype.push = function (chunk, pos) {
|
| 79 |
+
if (!Buffer.isBuffer(chunk)) {
|
| 80 |
+
chunk = Buffer.from(chunk, 'binary')
|
| 81 |
+
}
|
| 82 |
+
const chlen = chunk.length
|
| 83 |
+
this._bufpos = pos || 0
|
| 84 |
+
let r
|
| 85 |
+
while (r !== chlen && this.matches < this.maxMatches) { r = this._sbmh_feed(chunk) }
|
| 86 |
+
return r
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
SBMH.prototype._sbmh_feed = function (data) {
|
| 90 |
+
const len = data.length
|
| 91 |
+
const needle = this._needle
|
| 92 |
+
const needleLength = needle.length
|
| 93 |
+
const needleLastCharIndex = needleLength - 1
|
| 94 |
+
const needleLastChar = needle[needleLastCharIndex]
|
| 95 |
+
|
| 96 |
+
// Positive: points to a position in `data`
|
| 97 |
+
// pos == 3 points to data[3]
|
| 98 |
+
// Negative: points to a position in the lookbehind buffer
|
| 99 |
+
// pos == -2 points to lookbehind[lookbehind_size - 2]
|
| 100 |
+
let pos = -this._lookbehind_size
|
| 101 |
+
let ch
|
| 102 |
+
|
| 103 |
+
if (pos < 0) {
|
| 104 |
+
// Lookbehind buffer is not empty. Perform Boyer-Moore-Horspool
|
| 105 |
+
// search with character lookup code that considers both the
|
| 106 |
+
// lookbehind buffer and the current round's haystack data.
|
| 107 |
+
//
|
| 108 |
+
// Loop until
|
| 109 |
+
// there is a match.
|
| 110 |
+
// or until
|
| 111 |
+
// we've moved past the position that requires the
|
| 112 |
+
// lookbehind buffer. In this case we switch to the
|
| 113 |
+
// optimized loop.
|
| 114 |
+
// or until
|
| 115 |
+
// the character to look at lies outside the haystack.
|
| 116 |
+
while (pos < 0 && pos <= len - needleLength) {
|
| 117 |
+
ch = data[pos + needleLastCharIndex]
|
| 118 |
+
|
| 119 |
+
if (
|
| 120 |
+
ch === needleLastChar &&
|
| 121 |
+
this._sbmh_memcmp(data, pos, needleLastCharIndex)
|
| 122 |
+
) {
|
| 123 |
+
this._lookbehind_size = 0
|
| 124 |
+
++this.matches
|
| 125 |
+
this.emit('info', true)
|
| 126 |
+
return (this._bufpos = pos + needleLength)
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
pos += this._occ[ch]
|
| 130 |
+
}
|
| 131 |
+
|
| 132 |
+
// No match.
|
| 133 |
+
|
| 134 |
+
while (pos < 0 && !this._sbmh_memcmp(data, pos, len - pos)) {
|
| 135 |
+
// There's too few data for Boyer-Moore-Horspool to run,
|
| 136 |
+
// so let's use a different algorithm to skip as much as
|
| 137 |
+
// we can.
|
| 138 |
+
// Forward pos until
|
| 139 |
+
// the trailing part of lookbehind + data
|
| 140 |
+
// looks like the beginning of the needle
|
| 141 |
+
// or until
|
| 142 |
+
// pos == 0
|
| 143 |
+
++pos
|
| 144 |
+
}
|
| 145 |
+
|
| 146 |
+
if (pos >= 0) {
|
| 147 |
+
// Discard lookbehind buffer.
|
| 148 |
+
this.emit('info', false, this._lookbehind, 0, this._lookbehind_size)
|
| 149 |
+
this._lookbehind_size = 0
|
| 150 |
+
} else {
|
| 151 |
+
// Cut off part of the lookbehind buffer that has
|
| 152 |
+
// been processed and append the entire haystack
|
| 153 |
+
// into it.
|
| 154 |
+
const bytesToCutOff = this._lookbehind_size + pos
|
| 155 |
+
if (bytesToCutOff > 0) {
|
| 156 |
+
// The cut off data is guaranteed not to contain the needle.
|
| 157 |
+
this.emit('info', false, this._lookbehind, 0, bytesToCutOff)
|
| 158 |
+
}
|
| 159 |
+
|
| 160 |
+
this._lookbehind_size -= bytesToCutOff
|
| 161 |
+
this._lookbehind.copy(this._lookbehind, 0, bytesToCutOff, this._lookbehind_size)
|
| 162 |
+
|
| 163 |
+
data.copy(this._lookbehind, this._lookbehind_size)
|
| 164 |
+
this._lookbehind_size += len
|
| 165 |
+
|
| 166 |
+
this._bufpos = len
|
| 167 |
+
return len
|
| 168 |
+
}
|
| 169 |
+
}
|
| 170 |
+
|
| 171 |
+
// Lookbehind buffer is now empty. We only need to check if the
|
| 172 |
+
// needle is in the haystack.
|
| 173 |
+
pos = data.indexOf(needle, pos + this._bufpos)
|
| 174 |
+
|
| 175 |
+
if (pos !== -1) {
|
| 176 |
+
++this.matches
|
| 177 |
+
if (pos === 0) { this.emit('info', true) } else { this.emit('info', true, data, this._bufpos, pos) }
|
| 178 |
+
return (this._bufpos = pos + needleLength)
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
pos = len - needleLastCharIndex
|
| 182 |
+
if (pos < 0) {
|
| 183 |
+
pos = 0
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
+
// There was no match. If there's trailing haystack data that we cannot
|
| 187 |
+
// match yet using the Boyer-Moore-Horspool algorithm (because the trailing
|
| 188 |
+
// data is less than the needle size) then match using a modified
|
| 189 |
+
// algorithm that starts matching from the beginning instead of the end.
|
| 190 |
+
// Whatever trailing data is left after running this algorithm is added to
|
| 191 |
+
// the lookbehind buffer.
|
| 192 |
+
while (
|
| 193 |
+
pos !== len &&
|
| 194 |
+
(
|
| 195 |
+
data[pos] !== needle[0] ||
|
| 196 |
+
Buffer.compare(
|
| 197 |
+
data.subarray(pos + 1, len),
|
| 198 |
+
needle.subarray(1, len - pos)
|
| 199 |
+
) !== 0
|
| 200 |
+
)
|
| 201 |
+
) {
|
| 202 |
+
++pos
|
| 203 |
+
}
|
| 204 |
+
|
| 205 |
+
if (pos !== len) {
|
| 206 |
+
data.copy(this._lookbehind, 0, pos, len)
|
| 207 |
+
this._lookbehind_size = len - pos
|
| 208 |
+
}
|
| 209 |
+
|
| 210 |
+
// Everything until pos is guaranteed not to contain needle data.
|
| 211 |
+
if (pos !== 0) { this.emit('info', false, data, this._bufpos, pos) }
|
| 212 |
+
|
| 213 |
+
this._bufpos = len
|
| 214 |
+
return len
|
| 215 |
+
}
|
| 216 |
+
|
| 217 |
+
SBMH.prototype._sbmh_lookup_char = function (data, pos) {
|
| 218 |
+
return pos < 0
|
| 219 |
+
? this._lookbehind[this._lookbehind_size + pos]
|
| 220 |
+
: data[pos]
|
| 221 |
+
}
|
| 222 |
+
|
| 223 |
+
SBMH.prototype._sbmh_memcmp = function (data, pos, len) {
|
| 224 |
+
for (var i = 0; i < len; ++i) { // eslint-disable-line no-var
|
| 225 |
+
if (this._sbmh_lookup_char(data, pos + i) !== this._needle[i]) { return false }
|
| 226 |
+
}
|
| 227 |
+
return true
|
| 228 |
+
}
|
| 229 |
+
|
| 230 |
+
module.exports = SBMH
|
node_modules/@fastify/busboy/index.js
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'use strict'
|
| 2 |
+
|
| 3 |
+
const WritableStream = require('node:stream').Writable
|
| 4 |
+
const { inherits } = require('node:util')
|
| 5 |
+
const Dicer = require('./deps/dicer/lib/Dicer')
|
| 6 |
+
|
| 7 |
+
const MultipartParser = require('./lib/types/multipart')
|
| 8 |
+
const UrlencodedParser = require('./lib/types/urlencoded')
|
| 9 |
+
const parseParams = require('./lib/utils/parseParams')
|
| 10 |
+
|
| 11 |
+
function Busboy (opts) {
|
| 12 |
+
if (!(this instanceof Busboy)) { return new Busboy(opts) }
|
| 13 |
+
|
| 14 |
+
if (typeof opts !== 'object') {
|
| 15 |
+
throw new TypeError('Busboy expected an options-Object.')
|
| 16 |
+
}
|
| 17 |
+
if (typeof opts.headers !== 'object') {
|
| 18 |
+
throw new TypeError('Busboy expected an options-Object with headers-attribute.')
|
| 19 |
+
}
|
| 20 |
+
if (typeof opts.headers['content-type'] !== 'string') {
|
| 21 |
+
throw new TypeError('Missing Content-Type-header.')
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
const {
|
| 25 |
+
headers,
|
| 26 |
+
...streamOptions
|
| 27 |
+
} = opts
|
| 28 |
+
|
| 29 |
+
this.opts = {
|
| 30 |
+
autoDestroy: false,
|
| 31 |
+
...streamOptions
|
| 32 |
+
}
|
| 33 |
+
WritableStream.call(this, this.opts)
|
| 34 |
+
|
| 35 |
+
this._done = false
|
| 36 |
+
this._parser = this.getParserByHeaders(headers)
|
| 37 |
+
this._finished = false
|
| 38 |
+
}
|
| 39 |
+
inherits(Busboy, WritableStream)
|
| 40 |
+
|
| 41 |
+
Busboy.prototype.emit = function (ev) {
|
| 42 |
+
if (ev === 'finish') {
|
| 43 |
+
if (!this._done) {
|
| 44 |
+
this._parser?.end()
|
| 45 |
+
return
|
| 46 |
+
} else if (this._finished) {
|
| 47 |
+
return
|
| 48 |
+
}
|
| 49 |
+
this._finished = true
|
| 50 |
+
}
|
| 51 |
+
WritableStream.prototype.emit.apply(this, arguments)
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
Busboy.prototype.getParserByHeaders = function (headers) {
|
| 55 |
+
const parsed = parseParams(headers['content-type'])
|
| 56 |
+
|
| 57 |
+
const cfg = {
|
| 58 |
+
defCharset: this.opts.defCharset,
|
| 59 |
+
fileHwm: this.opts.fileHwm,
|
| 60 |
+
headers,
|
| 61 |
+
highWaterMark: this.opts.highWaterMark,
|
| 62 |
+
isPartAFile: this.opts.isPartAFile,
|
| 63 |
+
limits: this.opts.limits,
|
| 64 |
+
parsedConType: parsed,
|
| 65 |
+
preservePath: this.opts.preservePath
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
if (MultipartParser.detect.test(parsed[0])) {
|
| 69 |
+
return new MultipartParser(this, cfg)
|
| 70 |
+
}
|
| 71 |
+
if (UrlencodedParser.detect.test(parsed[0])) {
|
| 72 |
+
return new UrlencodedParser(this, cfg)
|
| 73 |
+
}
|
| 74 |
+
throw new Error('Unsupported Content-Type.')
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
Busboy.prototype._write = function (chunk, encoding, cb) {
|
| 78 |
+
this._parser.write(chunk, cb)
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
module.exports = Busboy
|
| 82 |
+
module.exports.default = Busboy
|
| 83 |
+
module.exports.Busboy = Busboy
|
| 84 |
+
|
| 85 |
+
module.exports.Dicer = Dicer
|
node_modules/@fastify/busboy/lib/types/multipart.js
ADDED
|
@@ -0,0 +1,317 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'use strict'
|
| 2 |
+
|
| 3 |
+
// TODO:
|
| 4 |
+
// * support 1 nested multipart level
|
| 5 |
+
// (see second multipart example here:
|
| 6 |
+
// https://www.w3.org/TR/html401/interact/forms.html#didx-multipartform-data)
|
| 7 |
+
// * support limits.fieldNameSize
|
| 8 |
+
// -- this will require modifications to utils.parseParams
|
| 9 |
+
|
| 10 |
+
const { Readable } = require('node:stream')
|
| 11 |
+
const { inherits } = require('node:util')
|
| 12 |
+
|
| 13 |
+
const Dicer = require('../../deps/dicer/lib/Dicer')
|
| 14 |
+
|
| 15 |
+
const parseParams = require('../utils/parseParams')
|
| 16 |
+
const decodeText = require('../utils/decodeText')
|
| 17 |
+
const basename = require('../utils/basename')
|
| 18 |
+
const getLimit = require('../utils/getLimit')
|
| 19 |
+
|
| 20 |
+
const RE_BOUNDARY = /^boundary$/i
|
| 21 |
+
const RE_FIELD = /^form-data$/i
|
| 22 |
+
const RE_CHARSET = /^charset$/i
|
| 23 |
+
const RE_FILENAME = /^filename$/i
|
| 24 |
+
const RE_NAME = /^name$/i
|
| 25 |
+
|
| 26 |
+
Multipart.detect = /^multipart\/form-data/i
|
| 27 |
+
function Multipart (boy, cfg) {
|
| 28 |
+
let i
|
| 29 |
+
let len
|
| 30 |
+
const self = this
|
| 31 |
+
let boundary
|
| 32 |
+
const limits = cfg.limits
|
| 33 |
+
const isPartAFile = cfg.isPartAFile || ((fieldName, contentType, fileName) => (contentType === 'application/octet-stream' || fileName !== undefined))
|
| 34 |
+
const parsedConType = cfg.parsedConType || []
|
| 35 |
+
const defCharset = cfg.defCharset || 'utf8'
|
| 36 |
+
const preservePath = cfg.preservePath
|
| 37 |
+
const fileOpts = { highWaterMark: cfg.fileHwm }
|
| 38 |
+
|
| 39 |
+
for (i = 0, len = parsedConType.length; i < len; ++i) {
|
| 40 |
+
if (Array.isArray(parsedConType[i]) &&
|
| 41 |
+
RE_BOUNDARY.test(parsedConType[i][0])) {
|
| 42 |
+
boundary = parsedConType[i][1]
|
| 43 |
+
break
|
| 44 |
+
}
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
function checkFinished () {
|
| 48 |
+
if (nends === 0 && finished && !boy._done) {
|
| 49 |
+
finished = false
|
| 50 |
+
self.end()
|
| 51 |
+
}
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
if (typeof boundary !== 'string') { throw new Error('Multipart: Boundary not found') }
|
| 55 |
+
|
| 56 |
+
const fieldSizeLimit = getLimit(limits, 'fieldSize', 1 * 1024 * 1024)
|
| 57 |
+
const fileSizeLimit = getLimit(limits, 'fileSize', Infinity)
|
| 58 |
+
const filesLimit = getLimit(limits, 'files', Infinity)
|
| 59 |
+
const fieldsLimit = getLimit(limits, 'fields', Infinity)
|
| 60 |
+
const partsLimit = getLimit(limits, 'parts', Infinity)
|
| 61 |
+
const headerPairsLimit = getLimit(limits, 'headerPairs', 2000)
|
| 62 |
+
const headerSizeLimit = getLimit(limits, 'headerSize', 80 * 1024)
|
| 63 |
+
|
| 64 |
+
let nfiles = 0
|
| 65 |
+
let nfields = 0
|
| 66 |
+
let nends = 0
|
| 67 |
+
let curFile
|
| 68 |
+
let curField
|
| 69 |
+
let finished = false
|
| 70 |
+
|
| 71 |
+
this._needDrain = false
|
| 72 |
+
this._pause = false
|
| 73 |
+
this._cb = undefined
|
| 74 |
+
this._nparts = 0
|
| 75 |
+
this._boy = boy
|
| 76 |
+
|
| 77 |
+
const parserCfg = {
|
| 78 |
+
boundary,
|
| 79 |
+
maxHeaderPairs: headerPairsLimit,
|
| 80 |
+
maxHeaderSize: headerSizeLimit,
|
| 81 |
+
partHwm: fileOpts.highWaterMark,
|
| 82 |
+
highWaterMark: cfg.highWaterMark
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
this.parser = new Dicer(parserCfg)
|
| 86 |
+
this.parser.on('drain', function () {
|
| 87 |
+
self._needDrain = false
|
| 88 |
+
if (self._cb && !self._pause) {
|
| 89 |
+
const cb = self._cb
|
| 90 |
+
self._cb = undefined
|
| 91 |
+
cb()
|
| 92 |
+
}
|
| 93 |
+
}).on('part', function onPart (part) {
|
| 94 |
+
if (++self._nparts > partsLimit) {
|
| 95 |
+
self.parser.removeListener('part', onPart)
|
| 96 |
+
self.parser.on('part', skipPart)
|
| 97 |
+
boy.hitPartsLimit = true
|
| 98 |
+
boy.emit('partsLimit')
|
| 99 |
+
return skipPart(part)
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
// hack because streams2 _always_ doesn't emit 'end' until nextTick, so let
|
| 103 |
+
// us emit 'end' early since we know the part has ended if we are already
|
| 104 |
+
// seeing the next part
|
| 105 |
+
if (curField) {
|
| 106 |
+
const field = curField
|
| 107 |
+
field.emit('end')
|
| 108 |
+
field.removeAllListeners('end')
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
part.on('header', function (header) {
|
| 112 |
+
let contype
|
| 113 |
+
let fieldname
|
| 114 |
+
let parsed
|
| 115 |
+
let charset
|
| 116 |
+
let encoding
|
| 117 |
+
let filename
|
| 118 |
+
let nsize = 0
|
| 119 |
+
|
| 120 |
+
if (header['content-type']) {
|
| 121 |
+
const contentType = header['content-type'][0]
|
| 122 |
+
if (contentType.length !== 0 && contentType.indexOf(';') === -1 && contentType.indexOf(' ') === -1 && contentType.indexOf('\t') === -1) {
|
| 123 |
+
contype = contentType.toLowerCase()
|
| 124 |
+
} else {
|
| 125 |
+
parsed = parseParams(contentType)
|
| 126 |
+
if (parsed[0]) {
|
| 127 |
+
contype = parsed[0].toLowerCase()
|
| 128 |
+
for (i = 0, len = parsed.length; i < len; ++i) {
|
| 129 |
+
if (RE_CHARSET.test(parsed[i][0])) {
|
| 130 |
+
charset = parsed[i][1].toLowerCase()
|
| 131 |
+
break
|
| 132 |
+
}
|
| 133 |
+
}
|
| 134 |
+
}
|
| 135 |
+
}
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
if (contype === undefined) { contype = 'text/plain' }
|
| 139 |
+
if (charset === undefined) { charset = defCharset }
|
| 140 |
+
|
| 141 |
+
if (header['content-disposition']) {
|
| 142 |
+
parsed = parseParams(header['content-disposition'][0])
|
| 143 |
+
if (!RE_FIELD.test(parsed[0])) { return skipPart(part) }
|
| 144 |
+
for (i = 0, len = parsed.length; i < len; ++i) {
|
| 145 |
+
if (RE_NAME.test(parsed[i][0])) {
|
| 146 |
+
fieldname = parsed[i][1]
|
| 147 |
+
if (hasBareLineBreak(fieldname)) { return skipPart(part) }
|
| 148 |
+
} else if (RE_FILENAME.test(parsed[i][0])) {
|
| 149 |
+
filename = parsed[i][1]
|
| 150 |
+
if (hasBareLineBreak(filename)) { return skipPart(part) }
|
| 151 |
+
if (!preservePath) { filename = basename(filename) }
|
| 152 |
+
}
|
| 153 |
+
}
|
| 154 |
+
} else { return skipPart(part) }
|
| 155 |
+
|
| 156 |
+
if (header['content-transfer-encoding']) { encoding = header['content-transfer-encoding'][0].toLowerCase() } else { encoding = '7bit' }
|
| 157 |
+
|
| 158 |
+
let onData,
|
| 159 |
+
onEnd
|
| 160 |
+
|
| 161 |
+
if (isPartAFile(fieldname, contype, filename)) {
|
| 162 |
+
// file/binary field
|
| 163 |
+
if (nfiles === filesLimit) {
|
| 164 |
+
if (!boy.hitFilesLimit) {
|
| 165 |
+
boy.hitFilesLimit = true
|
| 166 |
+
boy.emit('filesLimit')
|
| 167 |
+
}
|
| 168 |
+
return skipPart(part)
|
| 169 |
+
}
|
| 170 |
+
|
| 171 |
+
++nfiles
|
| 172 |
+
|
| 173 |
+
if (boy.listenerCount('file') === 0) {
|
| 174 |
+
self.parser._ignore()
|
| 175 |
+
return
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
+
++nends
|
| 179 |
+
const file = new FileStream(fileOpts)
|
| 180 |
+
curFile = file
|
| 181 |
+
file.on('end', function () {
|
| 182 |
+
--nends
|
| 183 |
+
self._pause = false
|
| 184 |
+
checkFinished()
|
| 185 |
+
if (self._cb && !self._needDrain) {
|
| 186 |
+
const cb = self._cb
|
| 187 |
+
self._cb = undefined
|
| 188 |
+
cb()
|
| 189 |
+
}
|
| 190 |
+
})
|
| 191 |
+
file._read = function (n) {
|
| 192 |
+
if (!self._pause) { return }
|
| 193 |
+
self._pause = false
|
| 194 |
+
if (self._cb && !self._needDrain) {
|
| 195 |
+
const cb = self._cb
|
| 196 |
+
self._cb = undefined
|
| 197 |
+
cb()
|
| 198 |
+
}
|
| 199 |
+
}
|
| 200 |
+
boy.emit('file', fieldname, file, filename, encoding, contype)
|
| 201 |
+
|
| 202 |
+
onData = function (data) {
|
| 203 |
+
if ((nsize += data.length) > fileSizeLimit) {
|
| 204 |
+
const extralen = fileSizeLimit - nsize + data.length
|
| 205 |
+
if (extralen > 0) { file.push(data.slice(0, extralen)) }
|
| 206 |
+
file.truncated = true
|
| 207 |
+
file.bytesRead = fileSizeLimit
|
| 208 |
+
part.removeAllListeners('data')
|
| 209 |
+
file.emit('limit')
|
| 210 |
+
return
|
| 211 |
+
} else if (!file.push(data)) { self._pause = true }
|
| 212 |
+
|
| 213 |
+
file.bytesRead = nsize
|
| 214 |
+
}
|
| 215 |
+
|
| 216 |
+
onEnd = function () {
|
| 217 |
+
curFile = undefined
|
| 218 |
+
file.push(null)
|
| 219 |
+
}
|
| 220 |
+
} else {
|
| 221 |
+
// non-file field
|
| 222 |
+
if (nfields === fieldsLimit) {
|
| 223 |
+
if (!boy.hitFieldsLimit) {
|
| 224 |
+
boy.hitFieldsLimit = true
|
| 225 |
+
boy.emit('fieldsLimit')
|
| 226 |
+
}
|
| 227 |
+
return skipPart(part)
|
| 228 |
+
}
|
| 229 |
+
|
| 230 |
+
++nfields
|
| 231 |
+
++nends
|
| 232 |
+
let buffer = ''
|
| 233 |
+
let truncated = false
|
| 234 |
+
curField = part
|
| 235 |
+
|
| 236 |
+
onData = function (data) {
|
| 237 |
+
if ((nsize += data.length) > fieldSizeLimit) {
|
| 238 |
+
const extralen = (fieldSizeLimit - (nsize - data.length))
|
| 239 |
+
buffer += data.toString('binary', 0, extralen)
|
| 240 |
+
truncated = true
|
| 241 |
+
part.removeAllListeners('data')
|
| 242 |
+
} else { buffer += data.toString('binary') }
|
| 243 |
+
}
|
| 244 |
+
|
| 245 |
+
onEnd = function () {
|
| 246 |
+
curField = undefined
|
| 247 |
+
if (buffer.length) { buffer = decodeText(buffer, 'binary', charset) }
|
| 248 |
+
boy.emit('field', fieldname, buffer, false, truncated, encoding, contype)
|
| 249 |
+
--nends
|
| 250 |
+
checkFinished()
|
| 251 |
+
}
|
| 252 |
+
}
|
| 253 |
+
|
| 254 |
+
/* As of node@2efe4ab761666 (v0.10.29+/v0.11.14+), busboy had become
|
| 255 |
+
broken. Streams2/streams3 is a huge black box of confusion, but
|
| 256 |
+
somehow overriding the sync state seems to fix things again (and still
|
| 257 |
+
seems to work for previous node versions).
|
| 258 |
+
*/
|
| 259 |
+
part._readableState.sync = false
|
| 260 |
+
|
| 261 |
+
part.on('data', onData)
|
| 262 |
+
part.on('end', onEnd)
|
| 263 |
+
}).on('error', function (err) {
|
| 264 |
+
if (curFile) { curFile.emit('error', err) }
|
| 265 |
+
})
|
| 266 |
+
}).on('error', function (err) {
|
| 267 |
+
boy.emit('error', err)
|
| 268 |
+
}).on('finish', function () {
|
| 269 |
+
finished = true
|
| 270 |
+
checkFinished()
|
| 271 |
+
})
|
| 272 |
+
}
|
| 273 |
+
|
| 274 |
+
Multipart.prototype.write = function (chunk, cb) {
|
| 275 |
+
const r = this.parser.write(chunk)
|
| 276 |
+
if (r && !this._pause) {
|
| 277 |
+
cb()
|
| 278 |
+
} else {
|
| 279 |
+
this._needDrain = !r
|
| 280 |
+
this._cb = cb
|
| 281 |
+
}
|
| 282 |
+
}
|
| 283 |
+
|
| 284 |
+
Multipart.prototype.end = function () {
|
| 285 |
+
const self = this
|
| 286 |
+
|
| 287 |
+
if (self.parser.writable) {
|
| 288 |
+
self.parser.end()
|
| 289 |
+
} else if (!self._boy._done) {
|
| 290 |
+
process.nextTick(function () {
|
| 291 |
+
self._boy._done = true
|
| 292 |
+
self._boy.emit('finish')
|
| 293 |
+
})
|
| 294 |
+
}
|
| 295 |
+
}
|
| 296 |
+
|
| 297 |
+
function skipPart (part) {
|
| 298 |
+
part.resume()
|
| 299 |
+
}
|
| 300 |
+
|
| 301 |
+
function hasBareLineBreak (value) {
|
| 302 |
+
return typeof value === 'string' && (value.includes('\r') || value.includes('\n'))
|
| 303 |
+
}
|
| 304 |
+
|
| 305 |
+
function FileStream (opts) {
|
| 306 |
+
Readable.call(this, opts)
|
| 307 |
+
|
| 308 |
+
this.bytesRead = 0
|
| 309 |
+
|
| 310 |
+
this.truncated = false
|
| 311 |
+
}
|
| 312 |
+
|
| 313 |
+
inherits(FileStream, Readable)
|
| 314 |
+
|
| 315 |
+
FileStream.prototype._read = function (n) {}
|
| 316 |
+
|
| 317 |
+
module.exports = Multipart
|
node_modules/@fastify/busboy/lib/types/urlencoded.js
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'use strict'
|
| 2 |
+
|
| 3 |
+
const Decoder = require('../utils/Decoder')
|
| 4 |
+
const decodeText = require('../utils/decodeText')
|
| 5 |
+
const getLimit = require('../utils/getLimit')
|
| 6 |
+
|
| 7 |
+
const RE_CHARSET = /^charset$/i
|
| 8 |
+
|
| 9 |
+
UrlEncoded.detect = /^application\/x-www-form-urlencoded/i
|
| 10 |
+
function UrlEncoded (boy, cfg) {
|
| 11 |
+
const limits = cfg.limits
|
| 12 |
+
const parsedConType = cfg.parsedConType
|
| 13 |
+
this.boy = boy
|
| 14 |
+
|
| 15 |
+
this.fieldSizeLimit = getLimit(limits, 'fieldSize', 1 * 1024 * 1024)
|
| 16 |
+
this.fieldNameSizeLimit = getLimit(limits, 'fieldNameSize', 100)
|
| 17 |
+
this.fieldsLimit = getLimit(limits, 'fields', Infinity)
|
| 18 |
+
|
| 19 |
+
let charset
|
| 20 |
+
for (var i = 0, len = parsedConType.length; i < len; ++i) { // eslint-disable-line no-var
|
| 21 |
+
if (Array.isArray(parsedConType[i]) &&
|
| 22 |
+
RE_CHARSET.test(parsedConType[i][0])) {
|
| 23 |
+
charset = parsedConType[i][1].toLowerCase()
|
| 24 |
+
break
|
| 25 |
+
}
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
if (charset === undefined) { charset = cfg.defCharset || 'utf8' }
|
| 29 |
+
|
| 30 |
+
this.decoder = new Decoder()
|
| 31 |
+
this.charset = charset
|
| 32 |
+
this._fields = 0
|
| 33 |
+
this._state = 'key'
|
| 34 |
+
this._checkingBytes = true
|
| 35 |
+
this._bytesKey = 0
|
| 36 |
+
this._bytesVal = 0
|
| 37 |
+
this._key = ''
|
| 38 |
+
this._val = ''
|
| 39 |
+
this._keyTrunc = false
|
| 40 |
+
this._valTrunc = false
|
| 41 |
+
this._hitLimit = false
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
UrlEncoded.prototype.write = function (data, cb) {
|
| 45 |
+
if (this._fields === this.fieldsLimit) {
|
| 46 |
+
if (!this.boy.hitFieldsLimit) {
|
| 47 |
+
this.boy.hitFieldsLimit = true
|
| 48 |
+
this.boy.emit('fieldsLimit')
|
| 49 |
+
}
|
| 50 |
+
return cb()
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
let idxeq; let idxamp; let i; let p = 0; const len = data.length
|
| 54 |
+
|
| 55 |
+
while (p < len) {
|
| 56 |
+
if (this._state === 'key') {
|
| 57 |
+
idxeq = idxamp = undefined
|
| 58 |
+
for (i = p; i < len; ++i) {
|
| 59 |
+
if (!this._checkingBytes) { ++p }
|
| 60 |
+
if (data[i] === 0x3D/* = */) {
|
| 61 |
+
idxeq = i
|
| 62 |
+
break
|
| 63 |
+
} else if (data[i] === 0x26/* & */) {
|
| 64 |
+
idxamp = i
|
| 65 |
+
break
|
| 66 |
+
}
|
| 67 |
+
if (this._checkingBytes && this._bytesKey === this.fieldNameSizeLimit) {
|
| 68 |
+
this._hitLimit = true
|
| 69 |
+
break
|
| 70 |
+
} else if (this._checkingBytes) { ++this._bytesKey }
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
if (idxeq !== undefined) {
|
| 74 |
+
// key with assignment
|
| 75 |
+
if (idxeq > p) { this._key += this.decoder.write(data.toString('binary', p, idxeq)) }
|
| 76 |
+
this._state = 'val'
|
| 77 |
+
|
| 78 |
+
this._hitLimit = false
|
| 79 |
+
this._checkingBytes = true
|
| 80 |
+
this._val = ''
|
| 81 |
+
this._bytesVal = 0
|
| 82 |
+
this._valTrunc = false
|
| 83 |
+
this.decoder.reset()
|
| 84 |
+
|
| 85 |
+
p = idxeq + 1
|
| 86 |
+
} else if (idxamp !== undefined) {
|
| 87 |
+
// key with no assignment
|
| 88 |
+
++this._fields
|
| 89 |
+
let key; const keyTrunc = this._keyTrunc
|
| 90 |
+
if (idxamp > p) { key = (this._key += this.decoder.write(data.toString('binary', p, idxamp))) } else { key = this._key }
|
| 91 |
+
|
| 92 |
+
this._hitLimit = false
|
| 93 |
+
this._checkingBytes = true
|
| 94 |
+
this._key = ''
|
| 95 |
+
this._bytesKey = 0
|
| 96 |
+
this._keyTrunc = false
|
| 97 |
+
this.decoder.reset()
|
| 98 |
+
|
| 99 |
+
if (key.length) {
|
| 100 |
+
this.boy.emit('field', decodeText(key, 'binary', this.charset),
|
| 101 |
+
'',
|
| 102 |
+
keyTrunc,
|
| 103 |
+
false)
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
p = idxamp + 1
|
| 107 |
+
if (this._fields === this.fieldsLimit) { return cb() }
|
| 108 |
+
} else if (this._hitLimit) {
|
| 109 |
+
// we may not have hit the actual limit if there are encoded bytes...
|
| 110 |
+
if (i > p) { this._key += this.decoder.write(data.toString('binary', p, i)) }
|
| 111 |
+
p = i
|
| 112 |
+
if ((this._bytesKey = this._key.length) === this.fieldNameSizeLimit) {
|
| 113 |
+
// yep, we actually did hit the limit
|
| 114 |
+
this._checkingBytes = false
|
| 115 |
+
this._keyTrunc = true
|
| 116 |
+
}
|
| 117 |
+
} else {
|
| 118 |
+
if (p < len) { this._key += this.decoder.write(data.toString('binary', p)) }
|
| 119 |
+
p = len
|
| 120 |
+
}
|
| 121 |
+
} else {
|
| 122 |
+
idxamp = undefined
|
| 123 |
+
for (i = p; i < len; ++i) {
|
| 124 |
+
if (!this._checkingBytes) { ++p }
|
| 125 |
+
if (data[i] === 0x26/* & */) {
|
| 126 |
+
idxamp = i
|
| 127 |
+
break
|
| 128 |
+
}
|
| 129 |
+
if (this._checkingBytes && this._bytesVal === this.fieldSizeLimit) {
|
| 130 |
+
this._hitLimit = true
|
| 131 |
+
break
|
| 132 |
+
} else if (this._checkingBytes) { ++this._bytesVal }
|
| 133 |
+
}
|
| 134 |
+
|
| 135 |
+
if (idxamp !== undefined) {
|
| 136 |
+
++this._fields
|
| 137 |
+
if (idxamp > p) { this._val += this.decoder.write(data.toString('binary', p, idxamp)) }
|
| 138 |
+
this.boy.emit('field', decodeText(this._key, 'binary', this.charset),
|
| 139 |
+
decodeText(this._val, 'binary', this.charset),
|
| 140 |
+
this._keyTrunc,
|
| 141 |
+
this._valTrunc)
|
| 142 |
+
this._state = 'key'
|
| 143 |
+
|
| 144 |
+
this._hitLimit = false
|
| 145 |
+
this._checkingBytes = true
|
| 146 |
+
this._key = ''
|
| 147 |
+
this._bytesKey = 0
|
| 148 |
+
this._keyTrunc = false
|
| 149 |
+
this.decoder.reset()
|
| 150 |
+
|
| 151 |
+
p = idxamp + 1
|
| 152 |
+
if (this._fields === this.fieldsLimit) { return cb() }
|
| 153 |
+
} else if (this._hitLimit) {
|
| 154 |
+
// we may not have hit the actual limit if there are encoded bytes...
|
| 155 |
+
if (i > p) { this._val += this.decoder.write(data.toString('binary', p, i)) }
|
| 156 |
+
p = i
|
| 157 |
+
if ((this._val === '' && this.fieldSizeLimit === 0) ||
|
| 158 |
+
(this._bytesVal = this._val.length) === this.fieldSizeLimit) {
|
| 159 |
+
// yep, we actually did hit the limit
|
| 160 |
+
this._checkingBytes = false
|
| 161 |
+
this._valTrunc = true
|
| 162 |
+
}
|
| 163 |
+
} else {
|
| 164 |
+
if (p < len) { this._val += this.decoder.write(data.toString('binary', p)) }
|
| 165 |
+
p = len
|
| 166 |
+
}
|
| 167 |
+
}
|
| 168 |
+
}
|
| 169 |
+
cb()
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
UrlEncoded.prototype.end = function () {
|
| 173 |
+
if (this.boy._done) { return }
|
| 174 |
+
|
| 175 |
+
if (this._state === 'key' && this._key.length > 0) {
|
| 176 |
+
this.boy.emit('field', decodeText(this._key, 'binary', this.charset),
|
| 177 |
+
'',
|
| 178 |
+
this._keyTrunc,
|
| 179 |
+
false)
|
| 180 |
+
} else if (this._state === 'val') {
|
| 181 |
+
this.boy.emit('field', decodeText(this._key, 'binary', this.charset),
|
| 182 |
+
decodeText(this._val, 'binary', this.charset),
|
| 183 |
+
this._keyTrunc,
|
| 184 |
+
this._valTrunc)
|
| 185 |
+
}
|
| 186 |
+
this.boy._done = true
|
| 187 |
+
this.boy.emit('finish')
|
| 188 |
+
}
|
| 189 |
+
|
| 190 |
+
module.exports = UrlEncoded
|
node_modules/@fastify/busboy/lib/utils/Decoder.js
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'use strict'
|
| 2 |
+
|
| 3 |
+
const RE_PLUS = /\+/g
|
| 4 |
+
|
| 5 |
+
const HEX = [
|
| 6 |
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
| 7 |
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
| 8 |
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
| 9 |
+
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0,
|
| 10 |
+
0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
| 11 |
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
| 12 |
+
0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
| 13 |
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
| 14 |
+
]
|
| 15 |
+
|
| 16 |
+
function Decoder () {
|
| 17 |
+
this.buffer = undefined
|
| 18 |
+
}
|
| 19 |
+
Decoder.prototype.write = function (str) {
|
| 20 |
+
// Replace '+' with ' ' before decoding
|
| 21 |
+
str = str.replace(RE_PLUS, ' ')
|
| 22 |
+
let res = ''
|
| 23 |
+
let i = 0; let p = 0; const len = str.length
|
| 24 |
+
for (; i < len; ++i) {
|
| 25 |
+
if (this.buffer !== undefined) {
|
| 26 |
+
if (!HEX[str.charCodeAt(i)]) {
|
| 27 |
+
res += '%' + this.buffer
|
| 28 |
+
this.buffer = undefined
|
| 29 |
+
--i // retry character
|
| 30 |
+
} else {
|
| 31 |
+
this.buffer += str[i]
|
| 32 |
+
++p
|
| 33 |
+
if (this.buffer.length === 2) {
|
| 34 |
+
res += String.fromCharCode(parseInt(this.buffer, 16))
|
| 35 |
+
this.buffer = undefined
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
} else if (str[i] === '%') {
|
| 39 |
+
if (i > p) {
|
| 40 |
+
res += str.substring(p, i)
|
| 41 |
+
p = i
|
| 42 |
+
}
|
| 43 |
+
this.buffer = ''
|
| 44 |
+
++p
|
| 45 |
+
}
|
| 46 |
+
}
|
| 47 |
+
if (p < len && this.buffer === undefined) { res += str.substring(p) }
|
| 48 |
+
return res
|
| 49 |
+
}
|
| 50 |
+
Decoder.prototype.reset = function () {
|
| 51 |
+
this.buffer = undefined
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
module.exports = Decoder
|
node_modules/@fastify/busboy/lib/utils/basename.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'use strict'
|
| 2 |
+
|
| 3 |
+
module.exports = function basename (path) {
|
| 4 |
+
if (typeof path !== 'string') { return '' }
|
| 5 |
+
for (var i = path.length - 1; i >= 0; --i) { // eslint-disable-line no-var
|
| 6 |
+
switch (path.charCodeAt(i)) {
|
| 7 |
+
case 0x2F: // '/'
|
| 8 |
+
case 0x5C: // '\'
|
| 9 |
+
path = path.slice(i + 1)
|
| 10 |
+
return (path === '..' || path === '.' ? '' : path)
|
| 11 |
+
}
|
| 12 |
+
}
|
| 13 |
+
return (path === '..' || path === '.' ? '' : path)
|
| 14 |
+
}
|
node_modules/@fastify/busboy/lib/utils/decodeText.js
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'use strict'
|
| 2 |
+
|
| 3 |
+
// Node has always utf-8
|
| 4 |
+
const utf8Decoder = new TextDecoder('utf-8')
|
| 5 |
+
const textDecoders = new Map([
|
| 6 |
+
['utf-8', utf8Decoder],
|
| 7 |
+
['utf8', utf8Decoder]
|
| 8 |
+
])
|
| 9 |
+
|
| 10 |
+
function getDecoder (charset) {
|
| 11 |
+
let lc
|
| 12 |
+
while (true) {
|
| 13 |
+
switch (charset) {
|
| 14 |
+
case 'utf-8':
|
| 15 |
+
case 'utf8':
|
| 16 |
+
return decoders.utf8
|
| 17 |
+
case 'latin1':
|
| 18 |
+
case 'ascii': // TODO: Make these a separate, strict decoder?
|
| 19 |
+
case 'us-ascii':
|
| 20 |
+
case 'iso-8859-1':
|
| 21 |
+
case 'iso8859-1':
|
| 22 |
+
case 'iso88591':
|
| 23 |
+
case 'iso_8859-1':
|
| 24 |
+
case 'windows-1252':
|
| 25 |
+
case 'iso_8859-1:1987':
|
| 26 |
+
case 'cp1252':
|
| 27 |
+
case 'x-cp1252':
|
| 28 |
+
return decoders.latin1
|
| 29 |
+
case 'utf16le':
|
| 30 |
+
case 'utf-16le':
|
| 31 |
+
case 'ucs2':
|
| 32 |
+
case 'ucs-2':
|
| 33 |
+
return decoders.utf16le
|
| 34 |
+
case 'base64':
|
| 35 |
+
return decoders.base64
|
| 36 |
+
default:
|
| 37 |
+
if (lc === undefined) {
|
| 38 |
+
lc = true
|
| 39 |
+
charset = charset.toLowerCase()
|
| 40 |
+
continue
|
| 41 |
+
}
|
| 42 |
+
return decoders.other.bind(charset)
|
| 43 |
+
}
|
| 44 |
+
}
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
function isAscii (data) {
|
| 48 |
+
for (var i = 0, len = data.length; i < len; ++i) { // eslint-disable-line no-var
|
| 49 |
+
if (data.charCodeAt(i) > 0x7F) { return false }
|
| 50 |
+
}
|
| 51 |
+
return true
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
const decoders = {
|
| 55 |
+
utf8: (data, sourceEncoding) => {
|
| 56 |
+
if (data.length === 0) {
|
| 57 |
+
return ''
|
| 58 |
+
}
|
| 59 |
+
if (typeof data === 'string') {
|
| 60 |
+
if (isAscii(data)) { return data }
|
| 61 |
+
data = Buffer.from(data, sourceEncoding)
|
| 62 |
+
}
|
| 63 |
+
return data.utf8Slice(0, data.length)
|
| 64 |
+
},
|
| 65 |
+
|
| 66 |
+
latin1: (data, sourceEncoding) => {
|
| 67 |
+
if (data.length === 0) {
|
| 68 |
+
return ''
|
| 69 |
+
}
|
| 70 |
+
if (typeof data === 'string') {
|
| 71 |
+
return data
|
| 72 |
+
}
|
| 73 |
+
return data.latin1Slice(0, data.length)
|
| 74 |
+
},
|
| 75 |
+
|
| 76 |
+
utf16le: (data, sourceEncoding) => {
|
| 77 |
+
if (data.length === 0) {
|
| 78 |
+
return ''
|
| 79 |
+
}
|
| 80 |
+
if (typeof data === 'string') {
|
| 81 |
+
data = Buffer.from(data, sourceEncoding)
|
| 82 |
+
}
|
| 83 |
+
return data.ucs2Slice(0, data.length)
|
| 84 |
+
},
|
| 85 |
+
|
| 86 |
+
base64: (data, sourceEncoding) => {
|
| 87 |
+
if (data.length === 0) {
|
| 88 |
+
return ''
|
| 89 |
+
}
|
| 90 |
+
if (typeof data === 'string') {
|
| 91 |
+
data = Buffer.from(data, sourceEncoding)
|
| 92 |
+
}
|
| 93 |
+
return data.base64Slice(0, data.length)
|
| 94 |
+
},
|
| 95 |
+
|
| 96 |
+
other: (data, sourceEncoding) => {
|
| 97 |
+
if (data.length === 0) {
|
| 98 |
+
return ''
|
| 99 |
+
}
|
| 100 |
+
if (typeof data === 'string') {
|
| 101 |
+
data = Buffer.from(data, sourceEncoding)
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
if (textDecoders.has(this.toString())) {
|
| 105 |
+
try {
|
| 106 |
+
return textDecoders.get(this).decode(data)
|
| 107 |
+
} catch {}
|
| 108 |
+
}
|
| 109 |
+
return typeof data === 'string'
|
| 110 |
+
? data
|
| 111 |
+
: data.toString()
|
| 112 |
+
}
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
function decodeText (text, sourceEncoding, destEncoding) {
|
| 116 |
+
if (text) {
|
| 117 |
+
return getDecoder(destEncoding)(text, sourceEncoding)
|
| 118 |
+
}
|
| 119 |
+
return text
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
module.exports = decodeText
|