Epikcoder commited on
Commit
88ccbf7
·
1 Parent(s): 58293b7
Files changed (4) hide show
  1. beta.js +74 -0
  2. package-lock.json +728 -224
  3. package.json +5 -1
  4. src/utils/request/PuppeteerSg.js +1 -0
beta.js ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Just additional code for https://github.com/rkwyu/scribd-dl
2
+
3
+ import { exec } from 'child_process';
4
+ import { promisify } from 'util';
5
+ import cors from 'cors'
6
+ import express from 'express'
7
+ import {config} from 'dotenv'
8
+ config()
9
+ import path from 'path';
10
+ import { fileURLToPath } from 'url';
11
+ const __filename = fileURLToPath(import.meta.url);
12
+ const __dirname = path.dirname(__filename);
13
+ const execPromise = promisify(exec);
14
+
15
+ async function executeCommand(command) {
16
+ try {
17
+ const { stdout, stderr } = await execPromise(command);
18
+ if (stderr) {
19
+ throw new Error(`Stderr: ${stderr}`);
20
+ }
21
+
22
+ return stdout;
23
+ } catch (error) {
24
+ throw new Error(`Error executing command: ${error.message}`);
25
+ }
26
+ }
27
+
28
+ function checkIfGenerated(output) {
29
+ const logs = output.trim().split('\n');
30
+ const lastLog = logs[logs.length - 1];
31
+ if (lastLog.includes('Generated: ')) {
32
+ return { result: true, path: lastLog.split(" output/")[1] }
33
+ } else {
34
+ return { result: false, path: "" }
35
+ }
36
+ }
37
+
38
+ async function main(url) {
39
+ return new Promise(async (resolve, reject) => {
40
+ try {
41
+ const command = `npm start '${url}'`;
42
+ const output = await executeCommand(command);
43
+ resolve(checkIfGenerated(output));
44
+ } catch (error) {
45
+ if(error.toString().includes("Unsupported UR")) {
46
+ reject({error: "Not supported URL"})
47
+ }else{
48
+ reject({error: error})
49
+ }
50
+ }
51
+ })
52
+
53
+ }
54
+
55
+ const app = express()
56
+ app.use(cors())
57
+
58
+ app.get("/", (req, res) => {
59
+ res.send("/down?url=<scribd>")
60
+ })
61
+
62
+ app.all("/down", async(req,res) => {
63
+ const {url} = req.query;
64
+ if(!url) return res.json({error: "invalid url/nourl"})
65
+ return res.json(await main(url))
66
+ })
67
+ app.use(express.static(path.join(__dirname, 'output')));
68
+
69
+ const port = process.env.SERVER_PORT || 7860
70
+ app.listen(port, () => {
71
+ console.log("listening on port: " + port)
72
+ })
73
+
74
+ await main(`https://www.scribd.com/doc/252120132/Rangkaian-Alarm-Anti-Maling`);
package-lock.json CHANGED
@@ -11,13 +11,17 @@
11
  "dependencies": {
12
  "axios": "^1.6.8",
13
  "cli-progress": "^3.12.0",
 
 
 
14
  "ini": "^4.1.2",
15
  "pdfkit": "^0.15.0",
16
  "puppeteer": "^19.11.1",
17
- "sharp": "^0.33.3"
18
  },
19
  "devDependencies": {
20
  "@eslint/js": "^9.1.1",
 
21
  "eslint": "^9.1.1",
22
  "globals": "^15.0.0",
23
  "jest": "^29.7.0"
@@ -557,9 +561,10 @@
557
  "dev": true
558
  },
559
  "node_modules/@emnapi/runtime": {
560
- "version": "1.1.1",
561
- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.1.1.tgz",
562
- "integrity": "sha512-3bfqkzuR1KLx57nZfjr2NLnFOobvyS0aTszaEGCGqmYMVDRaGvgIZbjGSV/MHSSmLgQ/b9JFHQ5xm5WRZYd+XQ==",
 
563
  "optional": true,
564
  "dependencies": {
565
  "tslib": "^2.4.0"
@@ -692,431 +697,361 @@
692
  }
693
  },
694
  "node_modules/@img/sharp-darwin-arm64": {
695
- "version": "0.33.3",
696
- "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.3.tgz",
697
- "integrity": "sha512-FaNiGX1MrOuJ3hxuNzWgsT/mg5OHG/Izh59WW2mk1UwYHUwtfbhk5QNKYZgxf0pLOhx9ctGiGa2OykD71vOnSw==",
698
  "cpu": [
699
  "arm64"
700
  ],
 
701
  "optional": true,
702
  "os": [
703
  "darwin"
704
  ],
705
  "engines": {
706
- "glibc": ">=2.26",
707
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
708
- "npm": ">=9.6.5",
709
- "pnpm": ">=7.1.0",
710
- "yarn": ">=3.2.0"
711
  },
712
  "funding": {
713
  "url": "https://opencollective.com/libvips"
714
  },
715
  "optionalDependencies": {
716
- "@img/sharp-libvips-darwin-arm64": "1.0.2"
717
  }
718
  },
719
  "node_modules/@img/sharp-darwin-x64": {
720
- "version": "0.33.3",
721
- "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.33.3.tgz",
722
- "integrity": "sha512-2QeSl7QDK9ru//YBT4sQkoq7L0EAJZA3rtV+v9p8xTKl4U1bUqTIaCnoC7Ctx2kCjQgwFXDasOtPTCT8eCTXvw==",
723
  "cpu": [
724
  "x64"
725
  ],
 
726
  "optional": true,
727
  "os": [
728
  "darwin"
729
  ],
730
  "engines": {
731
- "glibc": ">=2.26",
732
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
733
- "npm": ">=9.6.5",
734
- "pnpm": ">=7.1.0",
735
- "yarn": ">=3.2.0"
736
  },
737
  "funding": {
738
  "url": "https://opencollective.com/libvips"
739
  },
740
  "optionalDependencies": {
741
- "@img/sharp-libvips-darwin-x64": "1.0.2"
742
  }
743
  },
744
  "node_modules/@img/sharp-libvips-darwin-arm64": {
745
- "version": "1.0.2",
746
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.0.2.tgz",
747
- "integrity": "sha512-tcK/41Rq8IKlSaKRCCAuuY3lDJjQnYIW1UXU1kxcEKrfL8WR7N6+rzNoOxoQRJWTAECuKwgAHnPvqXGN8XfkHA==",
748
  "cpu": [
749
  "arm64"
750
  ],
 
751
  "optional": true,
752
  "os": [
753
  "darwin"
754
  ],
755
- "engines": {
756
- "macos": ">=11",
757
- "npm": ">=9.6.5",
758
- "pnpm": ">=7.1.0",
759
- "yarn": ">=3.2.0"
760
- },
761
  "funding": {
762
  "url": "https://opencollective.com/libvips"
763
  }
764
  },
765
  "node_modules/@img/sharp-libvips-darwin-x64": {
766
- "version": "1.0.2",
767
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.0.2.tgz",
768
- "integrity": "sha512-Ofw+7oaWa0HiiMiKWqqaZbaYV3/UGL2wAPeLuJTx+9cXpCRdvQhCLG0IH8YGwM0yGWGLpsF4Su9vM1o6aer+Fw==",
769
  "cpu": [
770
  "x64"
771
  ],
 
772
  "optional": true,
773
  "os": [
774
  "darwin"
775
  ],
776
- "engines": {
777
- "macos": ">=10.13",
778
- "npm": ">=9.6.5",
779
- "pnpm": ">=7.1.0",
780
- "yarn": ">=3.2.0"
781
- },
782
  "funding": {
783
  "url": "https://opencollective.com/libvips"
784
  }
785
  },
786
  "node_modules/@img/sharp-libvips-linux-arm": {
787
- "version": "1.0.2",
788
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.0.2.tgz",
789
- "integrity": "sha512-iLWCvrKgeFoglQxdEwzu1eQV04o8YeYGFXtfWU26Zr2wWT3q3MTzC+QTCO3ZQfWd3doKHT4Pm2kRmLbupT+sZw==",
790
  "cpu": [
791
  "arm"
792
  ],
 
793
  "optional": true,
794
  "os": [
795
  "linux"
796
  ],
797
- "engines": {
798
- "glibc": ">=2.28",
799
- "npm": ">=9.6.5",
800
- "pnpm": ">=7.1.0",
801
- "yarn": ">=3.2.0"
802
- },
803
  "funding": {
804
  "url": "https://opencollective.com/libvips"
805
  }
806
  },
807
  "node_modules/@img/sharp-libvips-linux-arm64": {
808
- "version": "1.0.2",
809
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.0.2.tgz",
810
- "integrity": "sha512-x7kCt3N00ofFmmkkdshwj3vGPCnmiDh7Gwnd4nUwZln2YjqPxV1NlTyZOvoDWdKQVDL911487HOueBvrpflagw==",
811
  "cpu": [
812
  "arm64"
813
  ],
 
814
  "optional": true,
815
  "os": [
816
  "linux"
817
  ],
818
- "engines": {
819
- "glibc": ">=2.26",
820
- "npm": ">=9.6.5",
821
- "pnpm": ">=7.1.0",
822
- "yarn": ">=3.2.0"
823
- },
824
  "funding": {
825
  "url": "https://opencollective.com/libvips"
826
  }
827
  },
828
  "node_modules/@img/sharp-libvips-linux-s390x": {
829
- "version": "1.0.2",
830
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.0.2.tgz",
831
- "integrity": "sha512-cmhQ1J4qVhfmS6szYW7RT+gLJq9dH2i4maq+qyXayUSn9/3iY2ZeWpbAgSpSVbV2E1JUL2Gg7pwnYQ1h8rQIog==",
832
  "cpu": [
833
  "s390x"
834
  ],
 
835
  "optional": true,
836
  "os": [
837
  "linux"
838
  ],
839
- "engines": {
840
- "glibc": ">=2.28",
841
- "npm": ">=9.6.5",
842
- "pnpm": ">=7.1.0",
843
- "yarn": ">=3.2.0"
844
- },
845
  "funding": {
846
  "url": "https://opencollective.com/libvips"
847
  }
848
  },
849
  "node_modules/@img/sharp-libvips-linux-x64": {
850
- "version": "1.0.2",
851
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.0.2.tgz",
852
- "integrity": "sha512-E441q4Qdb+7yuyiADVi5J+44x8ctlrqn8XgkDTwr4qPJzWkaHwD489iZ4nGDgcuya4iMN3ULV6NwbhRZJ9Z7SQ==",
853
  "cpu": [
854
  "x64"
855
  ],
 
856
  "optional": true,
857
  "os": [
858
  "linux"
859
  ],
860
- "engines": {
861
- "glibc": ">=2.26",
862
- "npm": ">=9.6.5",
863
- "pnpm": ">=7.1.0",
864
- "yarn": ">=3.2.0"
865
- },
866
  "funding": {
867
  "url": "https://opencollective.com/libvips"
868
  }
869
  },
870
  "node_modules/@img/sharp-libvips-linuxmusl-arm64": {
871
- "version": "1.0.2",
872
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.0.2.tgz",
873
- "integrity": "sha512-3CAkndNpYUrlDqkCM5qhksfE+qSIREVpyoeHIU6jd48SJZViAmznoQQLAv4hVXF7xyUB9zf+G++e2v1ABjCbEQ==",
874
  "cpu": [
875
  "arm64"
876
  ],
 
877
  "optional": true,
878
  "os": [
879
  "linux"
880
  ],
881
- "engines": {
882
- "musl": ">=1.2.2",
883
- "npm": ">=9.6.5",
884
- "pnpm": ">=7.1.0",
885
- "yarn": ">=3.2.0"
886
- },
887
  "funding": {
888
  "url": "https://opencollective.com/libvips"
889
  }
890
  },
891
  "node_modules/@img/sharp-libvips-linuxmusl-x64": {
892
- "version": "1.0.2",
893
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.0.2.tgz",
894
- "integrity": "sha512-VI94Q6khIHqHWNOh6LLdm9s2Ry4zdjWJwH56WoiJU7NTeDwyApdZZ8c+SADC8OH98KWNQXnE01UdJ9CSfZvwZw==",
895
  "cpu": [
896
  "x64"
897
  ],
 
898
  "optional": true,
899
  "os": [
900
  "linux"
901
  ],
902
- "engines": {
903
- "musl": ">=1.2.2",
904
- "npm": ">=9.6.5",
905
- "pnpm": ">=7.1.0",
906
- "yarn": ">=3.2.0"
907
- },
908
  "funding": {
909
  "url": "https://opencollective.com/libvips"
910
  }
911
  },
912
  "node_modules/@img/sharp-linux-arm": {
913
- "version": "0.33.3",
914
- "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.33.3.tgz",
915
- "integrity": "sha512-Q7Ee3fFSC9P7vUSqVEF0zccJsZ8GiiCJYGWDdhEjdlOeS9/jdkyJ6sUSPj+bL8VuOYFSbofrW0t/86ceVhx32w==",
916
  "cpu": [
917
  "arm"
918
  ],
 
919
  "optional": true,
920
  "os": [
921
  "linux"
922
  ],
923
  "engines": {
924
- "glibc": ">=2.28",
925
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
926
- "npm": ">=9.6.5",
927
- "pnpm": ">=7.1.0",
928
- "yarn": ">=3.2.0"
929
  },
930
  "funding": {
931
  "url": "https://opencollective.com/libvips"
932
  },
933
  "optionalDependencies": {
934
- "@img/sharp-libvips-linux-arm": "1.0.2"
935
  }
936
  },
937
  "node_modules/@img/sharp-linux-arm64": {
938
- "version": "0.33.3",
939
- "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.33.3.tgz",
940
- "integrity": "sha512-Zf+sF1jHZJKA6Gor9hoYG2ljr4wo9cY4twaxgFDvlG0Xz9V7sinsPp8pFd1XtlhTzYo0IhDbl3rK7P6MzHpnYA==",
941
  "cpu": [
942
  "arm64"
943
  ],
 
944
  "optional": true,
945
  "os": [
946
  "linux"
947
  ],
948
  "engines": {
949
- "glibc": ">=2.26",
950
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
951
- "npm": ">=9.6.5",
952
- "pnpm": ">=7.1.0",
953
- "yarn": ">=3.2.0"
954
  },
955
  "funding": {
956
  "url": "https://opencollective.com/libvips"
957
  },
958
  "optionalDependencies": {
959
- "@img/sharp-libvips-linux-arm64": "1.0.2"
960
  }
961
  },
962
  "node_modules/@img/sharp-linux-s390x": {
963
- "version": "0.33.3",
964
- "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.33.3.tgz",
965
- "integrity": "sha512-vFk441DKRFepjhTEH20oBlFrHcLjPfI8B0pMIxGm3+yilKyYeHEVvrZhYFdqIseSclIqbQ3SnZMwEMWonY5XFA==",
966
  "cpu": [
967
  "s390x"
968
  ],
 
969
  "optional": true,
970
  "os": [
971
  "linux"
972
  ],
973
  "engines": {
974
- "glibc": ">=2.28",
975
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
976
- "npm": ">=9.6.5",
977
- "pnpm": ">=7.1.0",
978
- "yarn": ">=3.2.0"
979
  },
980
  "funding": {
981
  "url": "https://opencollective.com/libvips"
982
  },
983
  "optionalDependencies": {
984
- "@img/sharp-libvips-linux-s390x": "1.0.2"
985
  }
986
  },
987
  "node_modules/@img/sharp-linux-x64": {
988
- "version": "0.33.3",
989
- "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.33.3.tgz",
990
- "integrity": "sha512-Q4I++herIJxJi+qmbySd072oDPRkCg/SClLEIDh5IL9h1zjhqjv82H0Seupd+q2m0yOfD+/fJnjSoDFtKiHu2g==",
991
  "cpu": [
992
  "x64"
993
  ],
 
994
  "optional": true,
995
  "os": [
996
  "linux"
997
  ],
998
  "engines": {
999
- "glibc": ">=2.26",
1000
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
1001
- "npm": ">=9.6.5",
1002
- "pnpm": ">=7.1.0",
1003
- "yarn": ">=3.2.0"
1004
  },
1005
  "funding": {
1006
  "url": "https://opencollective.com/libvips"
1007
  },
1008
  "optionalDependencies": {
1009
- "@img/sharp-libvips-linux-x64": "1.0.2"
1010
  }
1011
  },
1012
  "node_modules/@img/sharp-linuxmusl-arm64": {
1013
- "version": "0.33.3",
1014
- "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.33.3.tgz",
1015
- "integrity": "sha512-qnDccehRDXadhM9PM5hLvcPRYqyFCBN31kq+ErBSZtZlsAc1U4Z85xf/RXv1qolkdu+ibw64fUDaRdktxTNP9A==",
1016
  "cpu": [
1017
  "arm64"
1018
  ],
 
1019
  "optional": true,
1020
  "os": [
1021
  "linux"
1022
  ],
1023
  "engines": {
1024
- "musl": ">=1.2.2",
1025
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
1026
- "npm": ">=9.6.5",
1027
- "pnpm": ">=7.1.0",
1028
- "yarn": ">=3.2.0"
1029
  },
1030
  "funding": {
1031
  "url": "https://opencollective.com/libvips"
1032
  },
1033
  "optionalDependencies": {
1034
- "@img/sharp-libvips-linuxmusl-arm64": "1.0.2"
1035
  }
1036
  },
1037
  "node_modules/@img/sharp-linuxmusl-x64": {
1038
- "version": "0.33.3",
1039
- "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.33.3.tgz",
1040
- "integrity": "sha512-Jhchim8kHWIU/GZ+9poHMWRcefeaxFIs9EBqf9KtcC14Ojk6qua7ghKiPs0sbeLbLj/2IGBtDcxHyjCdYWkk2w==",
1041
  "cpu": [
1042
  "x64"
1043
  ],
 
1044
  "optional": true,
1045
  "os": [
1046
  "linux"
1047
  ],
1048
  "engines": {
1049
- "musl": ">=1.2.2",
1050
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
1051
- "npm": ">=9.6.5",
1052
- "pnpm": ">=7.1.0",
1053
- "yarn": ">=3.2.0"
1054
  },
1055
  "funding": {
1056
  "url": "https://opencollective.com/libvips"
1057
  },
1058
  "optionalDependencies": {
1059
- "@img/sharp-libvips-linuxmusl-x64": "1.0.2"
1060
  }
1061
  },
1062
  "node_modules/@img/sharp-wasm32": {
1063
- "version": "0.33.3",
1064
- "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.33.3.tgz",
1065
- "integrity": "sha512-68zivsdJ0koE96stdUfM+gmyaK/NcoSZK5dV5CAjES0FUXS9lchYt8LAB5rTbM7nlWtxaU/2GON0HVN6/ZYJAQ==",
1066
  "cpu": [
1067
  "wasm32"
1068
  ],
 
1069
  "optional": true,
1070
  "dependencies": {
1071
- "@emnapi/runtime": "^1.1.0"
1072
  },
1073
  "engines": {
1074
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
1075
- "npm": ">=9.6.5",
1076
- "pnpm": ">=7.1.0",
1077
- "yarn": ">=3.2.0"
1078
  },
1079
  "funding": {
1080
  "url": "https://opencollective.com/libvips"
1081
  }
1082
  },
1083
  "node_modules/@img/sharp-win32-ia32": {
1084
- "version": "0.33.3",
1085
- "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.33.3.tgz",
1086
- "integrity": "sha512-CyimAduT2whQD8ER4Ux7exKrtfoaUiVr7HG0zZvO0XTFn2idUWljjxv58GxNTkFb8/J9Ub9AqITGkJD6ZginxQ==",
1087
  "cpu": [
1088
  "ia32"
1089
  ],
 
1090
  "optional": true,
1091
  "os": [
1092
  "win32"
1093
  ],
1094
  "engines": {
1095
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
1096
- "npm": ">=9.6.5",
1097
- "pnpm": ">=7.1.0",
1098
- "yarn": ">=3.2.0"
1099
  },
1100
  "funding": {
1101
  "url": "https://opencollective.com/libvips"
1102
  }
1103
  },
1104
  "node_modules/@img/sharp-win32-x64": {
1105
- "version": "0.33.3",
1106
- "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.33.3.tgz",
1107
- "integrity": "sha512-viT4fUIDKnli3IfOephGnolMzhz5VaTvDRkYqtZxOMIoMQ4MrAziO7pT1nVnOt2FAm7qW5aa+CCc13aEY6Le0g==",
1108
  "cpu": [
1109
  "x64"
1110
  ],
 
1111
  "optional": true,
1112
  "os": [
1113
  "win32"
1114
  ],
1115
  "engines": {
1116
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
1117
- "npm": ">=9.6.5",
1118
- "pnpm": ">=7.1.0",
1119
- "yarn": ">=3.2.0"
1120
  },
1121
  "funding": {
1122
  "url": "https://opencollective.com/libvips"
@@ -2062,12 +1997,13 @@
2062
  }
2063
  },
2064
  "node_modules/@types/node": {
2065
- "version": "20.12.7",
2066
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.7.tgz",
2067
- "integrity": "sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==",
2068
  "devOptional": true,
 
2069
  "dependencies": {
2070
- "undici-types": "~5.26.4"
2071
  }
2072
  },
2073
  "node_modules/@types/stack-utils": {
@@ -2100,6 +2036,19 @@
2100
  "@types/node": "*"
2101
  }
2102
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
2103
  "node_modules/acorn": {
2104
  "version": "8.11.3",
2105
  "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz",
@@ -2215,6 +2164,12 @@
2215
  "url": "https://github.com/sponsors/ljharb"
2216
  }
2217
  },
 
 
 
 
 
 
2218
  "node_modules/asynckit": {
2219
  "version": "0.4.0",
2220
  "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
@@ -2465,6 +2420,45 @@
2465
  "readable-stream": "^3.4.0"
2466
  }
2467
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2468
  "node_modules/brace-expansion": {
2469
  "version": "1.1.11",
2470
  "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
@@ -2573,6 +2567,15 @@
2573
  "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
2574
  "dev": true
2575
  },
 
 
 
 
 
 
 
 
 
2576
  "node_modules/call-bind": {
2577
  "version": "1.0.7",
2578
  "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz",
@@ -2802,12 +2805,61 @@
2802
  "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
2803
  "dev": true
2804
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2805
  "node_modules/convert-source-map": {
2806
  "version": "2.0.0",
2807
  "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
2808
  "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
2809
  "dev": true
2810
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2811
  "node_modules/cosmiconfig": {
2812
  "version": "8.1.3",
2813
  "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.1.3.tgz",
@@ -3104,6 +3156,25 @@
3104
  "node": ">=0.4.0"
3105
  }
3106
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3107
  "node_modules/detect-libc": {
3108
  "version": "2.0.3",
3109
  "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz",
@@ -3140,6 +3211,24 @@
3140
  "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
3141
  }
3142
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3143
  "node_modules/electron-to-chromium": {
3144
  "version": "1.4.750",
3145
  "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.750.tgz",
@@ -3163,6 +3252,15 @@
3163
  "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
3164
  "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
3165
  },
 
 
 
 
 
 
 
 
 
3166
  "node_modules/end-of-stream": {
3167
  "version": "1.4.4",
3168
  "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
@@ -3225,6 +3323,12 @@
3225
  "node": ">=6"
3226
  }
3227
  },
 
 
 
 
 
 
3228
  "node_modules/escape-string-regexp": {
3229
  "version": "1.0.5",
3230
  "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
@@ -3512,6 +3616,15 @@
3512
  "node": ">=0.10.0"
3513
  }
3514
  },
 
 
 
 
 
 
 
 
 
3515
  "node_modules/execa": {
3516
  "version": "5.1.1",
3517
  "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
@@ -3572,6 +3685,63 @@
3572
  "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
3573
  }
3574
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3575
  "node_modules/extract-zip": {
3576
  "version": "2.0.1",
3577
  "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz",
@@ -3659,6 +3829,39 @@
3659
  "node": ">=8"
3660
  }
3661
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3662
  "node_modules/find-up": {
3663
  "version": "4.1.0",
3664
  "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
@@ -3731,6 +3934,24 @@
3731
  "node": ">= 6"
3732
  }
3733
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3734
  "node_modules/fs-constants": {
3735
  "version": "1.0.0",
3736
  "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
@@ -3971,6 +4192,22 @@
3971
  "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",
3972
  "dev": true
3973
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3974
  "node_modules/https-proxy-agent": {
3975
  "version": "5.0.1",
3976
  "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
@@ -3992,6 +4229,18 @@
3992
  "node": ">=10.17.0"
3993
  }
3994
  },
 
 
 
 
 
 
 
 
 
 
 
 
3995
  "node_modules/ieee754": {
3996
  "version": "1.2.1",
3997
  "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
@@ -4099,6 +4348,15 @@
4099
  "node": ">= 0.4"
4100
  }
4101
  },
 
 
 
 
 
 
 
 
 
4102
  "node_modules/is-arguments": {
4103
  "version": "1.1.1",
4104
  "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz",
@@ -6104,17 +6362,6 @@
6104
  "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
6105
  "dev": true
6106
  },
6107
- "node_modules/lru-cache": {
6108
- "version": "6.0.0",
6109
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
6110
- "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
6111
- "dependencies": {
6112
- "yallist": "^4.0.0"
6113
- },
6114
- "engines": {
6115
- "node": ">=10"
6116
- }
6117
- },
6118
  "node_modules/make-dir": {
6119
  "version": "4.0.0",
6120
  "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz",
@@ -6139,12 +6386,36 @@
6139
  "tmpl": "1.0.5"
6140
  }
6141
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6142
  "node_modules/merge-stream": {
6143
  "version": "2.0.0",
6144
  "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
6145
  "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",
6146
  "dev": true
6147
  },
 
 
 
 
 
 
 
 
 
6148
  "node_modules/micromatch": {
6149
  "version": "4.0.5",
6150
  "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
@@ -6158,6 +6429,18 @@
6158
  "node": ">=8.6"
6159
  }
6160
  },
 
 
 
 
 
 
 
 
 
 
 
 
6161
  "node_modules/mime-db": {
6162
  "version": "1.52.0",
6163
  "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
@@ -6219,6 +6502,15 @@
6219
  "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
6220
  "dev": true
6221
  },
 
 
 
 
 
 
 
 
 
6222
  "node_modules/node-fetch": {
6223
  "version": "2.6.7",
6224
  "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
@@ -6271,6 +6563,15 @@
6271
  "node": ">=8"
6272
  }
6273
  },
 
 
 
 
 
 
 
 
 
6274
  "node_modules/object-inspect": {
6275
  "version": "1.13.1",
6276
  "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz",
@@ -6319,6 +6620,18 @@
6319
  "url": "https://github.com/sponsors/ljharb"
6320
  }
6321
  },
 
 
 
 
 
 
 
 
 
 
 
 
6322
  "node_modules/once": {
6323
  "version": "1.4.0",
6324
  "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
@@ -6443,6 +6756,15 @@
6443
  "url": "https://github.com/sponsors/sindresorhus"
6444
  }
6445
  },
 
 
 
 
 
 
 
 
 
6446
  "node_modules/path-exists": {
6447
  "version": "4.0.0",
6448
  "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
@@ -6476,6 +6798,12 @@
6476
  "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
6477
  "dev": true
6478
  },
 
 
 
 
 
 
6479
  "node_modules/path-type": {
6480
  "version": "4.0.0",
6481
  "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
@@ -6637,6 +6965,19 @@
6637
  "node": ">= 6"
6638
  }
6639
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
6640
  "node_modules/proxy-from-env": {
6641
  "version": "1.1.0",
6642
  "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
@@ -6720,6 +7061,21 @@
6720
  }
6721
  ]
6722
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6723
  "node_modules/queue-microtask": {
6724
  "version": "1.2.3",
6725
  "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
@@ -6740,6 +7096,30 @@
6740
  }
6741
  ]
6742
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6743
  "node_modules/react-is": {
6744
  "version": "18.3.1",
6745
  "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz",
@@ -6891,13 +7271,17 @@
6891
  }
6892
  ]
6893
  },
 
 
 
 
 
 
6894
  "node_modules/semver": {
6895
- "version": "7.6.0",
6896
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
6897
- "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
6898
- "dependencies": {
6899
- "lru-cache": "^6.0.0"
6900
- },
6901
  "bin": {
6902
  "semver": "bin/semver.js"
6903
  },
@@ -6905,6 +7289,66 @@
6905
  "node": ">=10"
6906
  }
6907
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6908
  "node_modules/set-function-length": {
6909
  "version": "1.2.2",
6910
  "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz",
@@ -6935,43 +7379,49 @@
6935
  "node": ">= 0.4"
6936
  }
6937
  },
 
 
 
 
 
 
6938
  "node_modules/sharp": {
6939
- "version": "0.33.3",
6940
- "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.3.tgz",
6941
- "integrity": "sha512-vHUeXJU1UvlO/BNwTpT0x/r53WkLUVxrmb5JTgW92fdFCFk0ispLMAeu/jPO2vjkXM1fYUi3K7/qcLF47pwM1A==",
6942
  "hasInstallScript": true,
 
6943
  "dependencies": {
6944
  "color": "^4.2.3",
6945
  "detect-libc": "^2.0.3",
6946
- "semver": "^7.6.0"
6947
  },
6948
  "engines": {
6949
- "libvips": ">=8.15.2",
6950
  "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
6951
  },
6952
  "funding": {
6953
  "url": "https://opencollective.com/libvips"
6954
  },
6955
  "optionalDependencies": {
6956
- "@img/sharp-darwin-arm64": "0.33.3",
6957
- "@img/sharp-darwin-x64": "0.33.3",
6958
- "@img/sharp-libvips-darwin-arm64": "1.0.2",
6959
- "@img/sharp-libvips-darwin-x64": "1.0.2",
6960
- "@img/sharp-libvips-linux-arm": "1.0.2",
6961
- "@img/sharp-libvips-linux-arm64": "1.0.2",
6962
- "@img/sharp-libvips-linux-s390x": "1.0.2",
6963
- "@img/sharp-libvips-linux-x64": "1.0.2",
6964
- "@img/sharp-libvips-linuxmusl-arm64": "1.0.2",
6965
- "@img/sharp-libvips-linuxmusl-x64": "1.0.2",
6966
- "@img/sharp-linux-arm": "0.33.3",
6967
- "@img/sharp-linux-arm64": "0.33.3",
6968
- "@img/sharp-linux-s390x": "0.33.3",
6969
- "@img/sharp-linux-x64": "0.33.3",
6970
- "@img/sharp-linuxmusl-arm64": "0.33.3",
6971
- "@img/sharp-linuxmusl-x64": "0.33.3",
6972
- "@img/sharp-wasm32": "0.33.3",
6973
- "@img/sharp-win32-ia32": "0.33.3",
6974
- "@img/sharp-win32-x64": "0.33.3"
6975
  }
6976
  },
6977
  "node_modules/shebang-command": {
@@ -7092,6 +7542,15 @@
7092
  "node": ">=8"
7093
  }
7094
  },
 
 
 
 
 
 
 
 
 
7095
  "node_modules/stop-iteration-iterator": {
7096
  "version": "1.0.0",
7097
  "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz",
@@ -7284,6 +7743,15 @@
7284
  "node": ">=8.0"
7285
  }
7286
  },
 
 
 
 
 
 
 
 
 
7287
  "node_modules/tr46": {
7288
  "version": "0.0.3",
7289
  "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
@@ -7327,6 +7795,19 @@
7327
  "url": "https://github.com/sponsors/sindresorhus"
7328
  }
7329
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
7330
  "node_modules/unbzip2-stream": {
7331
  "version": "1.4.3",
7332
  "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz",
@@ -7337,10 +7818,11 @@
7337
  }
7338
  },
7339
  "node_modules/undici-types": {
7340
- "version": "5.26.5",
7341
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
7342
- "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
7343
- "devOptional": true
 
7344
  },
7345
  "node_modules/unicode-properties": {
7346
  "version": "1.4.1",
@@ -7360,6 +7842,15 @@
7360
  "tiny-inflate": "^1.0.0"
7361
  }
7362
  },
 
 
 
 
 
 
 
 
 
7363
  "node_modules/update-browserslist-db": {
7364
  "version": "1.0.13",
7365
  "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz",
@@ -7404,6 +7895,15 @@
7404
  "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
7405
  "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
7406
  },
 
 
 
 
 
 
 
 
 
7407
  "node_modules/v8-to-istanbul": {
7408
  "version": "9.2.0",
7409
  "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.2.0.tgz",
@@ -7418,6 +7918,15 @@
7418
  "node": ">=10.12.0"
7419
  }
7420
  },
 
 
 
 
 
 
 
 
 
7421
  "node_modules/walker": {
7422
  "version": "1.0.8",
7423
  "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz",
@@ -7607,11 +8116,6 @@
7607
  "node": ">=10"
7608
  }
7609
  },
7610
- "node_modules/yallist": {
7611
- "version": "4.0.0",
7612
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
7613
- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
7614
- },
7615
  "node_modules/yargs": {
7616
  "version": "17.7.1",
7617
  "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz",
 
11
  "dependencies": {
12
  "axios": "^1.6.8",
13
  "cli-progress": "^3.12.0",
14
+ "cors": "^2.8.5",
15
+ "dotenv": "^16.4.5",
16
+ "express": "^4.19.2",
17
  "ini": "^4.1.2",
18
  "pdfkit": "^0.15.0",
19
  "puppeteer": "^19.11.1",
20
+ "sharp": "^0.33.5"
21
  },
22
  "devDependencies": {
23
  "@eslint/js": "^9.1.1",
24
+ "@types/node": "^22.5.4",
25
  "eslint": "^9.1.1",
26
  "globals": "^15.0.0",
27
  "jest": "^29.7.0"
 
561
  "dev": true
562
  },
563
  "node_modules/@emnapi/runtime": {
564
+ "version": "1.2.0",
565
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.2.0.tgz",
566
+ "integrity": "sha512-bV21/9LQmcQeCPEg3BDFtvwL6cwiTMksYNWQQ4KOxCZikEGalWtenoZ0wCiukJINlGCIi2KXx01g4FoH/LxpzQ==",
567
+ "license": "MIT",
568
  "optional": true,
569
  "dependencies": {
570
  "tslib": "^2.4.0"
 
697
  }
698
  },
699
  "node_modules/@img/sharp-darwin-arm64": {
700
+ "version": "0.33.5",
701
+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.5.tgz",
702
+ "integrity": "sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ==",
703
  "cpu": [
704
  "arm64"
705
  ],
706
+ "license": "Apache-2.0",
707
  "optional": true,
708
  "os": [
709
  "darwin"
710
  ],
711
  "engines": {
712
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
 
 
 
 
713
  },
714
  "funding": {
715
  "url": "https://opencollective.com/libvips"
716
  },
717
  "optionalDependencies": {
718
+ "@img/sharp-libvips-darwin-arm64": "1.0.4"
719
  }
720
  },
721
  "node_modules/@img/sharp-darwin-x64": {
722
+ "version": "0.33.5",
723
+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.33.5.tgz",
724
+ "integrity": "sha512-fyHac4jIc1ANYGRDxtiqelIbdWkIuQaI84Mv45KvGRRxSAa7o7d1ZKAOBaYbnepLC1WqxfpimdeWfvqqSGwR2Q==",
725
  "cpu": [
726
  "x64"
727
  ],
728
+ "license": "Apache-2.0",
729
  "optional": true,
730
  "os": [
731
  "darwin"
732
  ],
733
  "engines": {
734
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
 
 
 
 
735
  },
736
  "funding": {
737
  "url": "https://opencollective.com/libvips"
738
  },
739
  "optionalDependencies": {
740
+ "@img/sharp-libvips-darwin-x64": "1.0.4"
741
  }
742
  },
743
  "node_modules/@img/sharp-libvips-darwin-arm64": {
744
+ "version": "1.0.4",
745
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.0.4.tgz",
746
+ "integrity": "sha512-XblONe153h0O2zuFfTAbQYAX2JhYmDHeWikp1LM9Hul9gVPjFY427k6dFEcOL72O01QxQsWi761svJ/ev9xEDg==",
747
  "cpu": [
748
  "arm64"
749
  ],
750
+ "license": "LGPL-3.0-or-later",
751
  "optional": true,
752
  "os": [
753
  "darwin"
754
  ],
 
 
 
 
 
 
755
  "funding": {
756
  "url": "https://opencollective.com/libvips"
757
  }
758
  },
759
  "node_modules/@img/sharp-libvips-darwin-x64": {
760
+ "version": "1.0.4",
761
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.0.4.tgz",
762
+ "integrity": "sha512-xnGR8YuZYfJGmWPvmlunFaWJsb9T/AO2ykoP3Fz/0X5XV2aoYBPkX6xqCQvUTKKiLddarLaxpzNe+b1hjeWHAQ==",
763
  "cpu": [
764
  "x64"
765
  ],
766
+ "license": "LGPL-3.0-or-later",
767
  "optional": true,
768
  "os": [
769
  "darwin"
770
  ],
 
 
 
 
 
 
771
  "funding": {
772
  "url": "https://opencollective.com/libvips"
773
  }
774
  },
775
  "node_modules/@img/sharp-libvips-linux-arm": {
776
+ "version": "1.0.5",
777
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.0.5.tgz",
778
+ "integrity": "sha512-gvcC4ACAOPRNATg/ov8/MnbxFDJqf/pDePbBnuBDcjsI8PssmjoKMAz4LtLaVi+OnSb5FK/yIOamqDwGmXW32g==",
779
  "cpu": [
780
  "arm"
781
  ],
782
+ "license": "LGPL-3.0-or-later",
783
  "optional": true,
784
  "os": [
785
  "linux"
786
  ],
 
 
 
 
 
 
787
  "funding": {
788
  "url": "https://opencollective.com/libvips"
789
  }
790
  },
791
  "node_modules/@img/sharp-libvips-linux-arm64": {
792
+ "version": "1.0.4",
793
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.0.4.tgz",
794
+ "integrity": "sha512-9B+taZ8DlyyqzZQnoeIvDVR/2F4EbMepXMc/NdVbkzsJbzkUjhXv/70GQJ7tdLA4YJgNP25zukcxpX2/SueNrA==",
795
  "cpu": [
796
  "arm64"
797
  ],
798
+ "license": "LGPL-3.0-or-later",
799
  "optional": true,
800
  "os": [
801
  "linux"
802
  ],
 
 
 
 
 
 
803
  "funding": {
804
  "url": "https://opencollective.com/libvips"
805
  }
806
  },
807
  "node_modules/@img/sharp-libvips-linux-s390x": {
808
+ "version": "1.0.4",
809
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.0.4.tgz",
810
+ "integrity": "sha512-u7Wz6ntiSSgGSGcjZ55im6uvTrOxSIS8/dgoVMoiGE9I6JAfU50yH5BoDlYA1tcuGS7g/QNtetJnxA6QEsCVTA==",
811
  "cpu": [
812
  "s390x"
813
  ],
814
+ "license": "LGPL-3.0-or-later",
815
  "optional": true,
816
  "os": [
817
  "linux"
818
  ],
 
 
 
 
 
 
819
  "funding": {
820
  "url": "https://opencollective.com/libvips"
821
  }
822
  },
823
  "node_modules/@img/sharp-libvips-linux-x64": {
824
+ "version": "1.0.4",
825
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.0.4.tgz",
826
+ "integrity": "sha512-MmWmQ3iPFZr0Iev+BAgVMb3ZyC4KeFc3jFxnNbEPas60e1cIfevbtuyf9nDGIzOaW9PdnDciJm+wFFaTlj5xYw==",
827
  "cpu": [
828
  "x64"
829
  ],
830
+ "license": "LGPL-3.0-or-later",
831
  "optional": true,
832
  "os": [
833
  "linux"
834
  ],
 
 
 
 
 
 
835
  "funding": {
836
  "url": "https://opencollective.com/libvips"
837
  }
838
  },
839
  "node_modules/@img/sharp-libvips-linuxmusl-arm64": {
840
+ "version": "1.0.4",
841
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.0.4.tgz",
842
+ "integrity": "sha512-9Ti+BbTYDcsbp4wfYib8Ctm1ilkugkA/uscUn6UXK1ldpC1JjiXbLfFZtRlBhjPZ5o1NCLiDbg8fhUPKStHoTA==",
843
  "cpu": [
844
  "arm64"
845
  ],
846
+ "license": "LGPL-3.0-or-later",
847
  "optional": true,
848
  "os": [
849
  "linux"
850
  ],
 
 
 
 
 
 
851
  "funding": {
852
  "url": "https://opencollective.com/libvips"
853
  }
854
  },
855
  "node_modules/@img/sharp-libvips-linuxmusl-x64": {
856
+ "version": "1.0.4",
857
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.0.4.tgz",
858
+ "integrity": "sha512-viYN1KX9m+/hGkJtvYYp+CCLgnJXwiQB39damAO7WMdKWlIhmYTfHjwSbQeUK/20vY154mwezd9HflVFM1wVSw==",
859
  "cpu": [
860
  "x64"
861
  ],
862
+ "license": "LGPL-3.0-or-later",
863
  "optional": true,
864
  "os": [
865
  "linux"
866
  ],
 
 
 
 
 
 
867
  "funding": {
868
  "url": "https://opencollective.com/libvips"
869
  }
870
  },
871
  "node_modules/@img/sharp-linux-arm": {
872
+ "version": "0.33.5",
873
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.33.5.tgz",
874
+ "integrity": "sha512-JTS1eldqZbJxjvKaAkxhZmBqPRGmxgu+qFKSInv8moZ2AmT5Yib3EQ1c6gp493HvrvV8QgdOXdyaIBrhvFhBMQ==",
875
  "cpu": [
876
  "arm"
877
  ],
878
+ "license": "Apache-2.0",
879
  "optional": true,
880
  "os": [
881
  "linux"
882
  ],
883
  "engines": {
884
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
 
 
 
 
885
  },
886
  "funding": {
887
  "url": "https://opencollective.com/libvips"
888
  },
889
  "optionalDependencies": {
890
+ "@img/sharp-libvips-linux-arm": "1.0.5"
891
  }
892
  },
893
  "node_modules/@img/sharp-linux-arm64": {
894
+ "version": "0.33.5",
895
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.33.5.tgz",
896
+ "integrity": "sha512-JMVv+AMRyGOHtO1RFBiJy/MBsgz0x4AWrT6QoEVVTyh1E39TrCUpTRI7mx9VksGX4awWASxqCYLCV4wBZHAYxA==",
897
  "cpu": [
898
  "arm64"
899
  ],
900
+ "license": "Apache-2.0",
901
  "optional": true,
902
  "os": [
903
  "linux"
904
  ],
905
  "engines": {
906
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
 
 
 
 
907
  },
908
  "funding": {
909
  "url": "https://opencollective.com/libvips"
910
  },
911
  "optionalDependencies": {
912
+ "@img/sharp-libvips-linux-arm64": "1.0.4"
913
  }
914
  },
915
  "node_modules/@img/sharp-linux-s390x": {
916
+ "version": "0.33.5",
917
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.33.5.tgz",
918
+ "integrity": "sha512-y/5PCd+mP4CA/sPDKl2961b+C9d+vPAveS33s6Z3zfASk2j5upL6fXVPZi7ztePZ5CuH+1kW8JtvxgbuXHRa4Q==",
919
  "cpu": [
920
  "s390x"
921
  ],
922
+ "license": "Apache-2.0",
923
  "optional": true,
924
  "os": [
925
  "linux"
926
  ],
927
  "engines": {
928
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
 
 
 
 
929
  },
930
  "funding": {
931
  "url": "https://opencollective.com/libvips"
932
  },
933
  "optionalDependencies": {
934
+ "@img/sharp-libvips-linux-s390x": "1.0.4"
935
  }
936
  },
937
  "node_modules/@img/sharp-linux-x64": {
938
+ "version": "0.33.5",
939
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.33.5.tgz",
940
+ "integrity": "sha512-opC+Ok5pRNAzuvq1AG0ar+1owsu842/Ab+4qvU879ippJBHvyY5n2mxF1izXqkPYlGuP/M556uh53jRLJmzTWA==",
941
  "cpu": [
942
  "x64"
943
  ],
944
+ "license": "Apache-2.0",
945
  "optional": true,
946
  "os": [
947
  "linux"
948
  ],
949
  "engines": {
950
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
 
 
 
 
951
  },
952
  "funding": {
953
  "url": "https://opencollective.com/libvips"
954
  },
955
  "optionalDependencies": {
956
+ "@img/sharp-libvips-linux-x64": "1.0.4"
957
  }
958
  },
959
  "node_modules/@img/sharp-linuxmusl-arm64": {
960
+ "version": "0.33.5",
961
+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.33.5.tgz",
962
+ "integrity": "sha512-XrHMZwGQGvJg2V/oRSUfSAfjfPxO+4DkiRh6p2AFjLQztWUuY/o8Mq0eMQVIY7HJ1CDQUJlxGGZRw1a5bqmd1g==",
963
  "cpu": [
964
  "arm64"
965
  ],
966
+ "license": "Apache-2.0",
967
  "optional": true,
968
  "os": [
969
  "linux"
970
  ],
971
  "engines": {
972
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
 
 
 
 
973
  },
974
  "funding": {
975
  "url": "https://opencollective.com/libvips"
976
  },
977
  "optionalDependencies": {
978
+ "@img/sharp-libvips-linuxmusl-arm64": "1.0.4"
979
  }
980
  },
981
  "node_modules/@img/sharp-linuxmusl-x64": {
982
+ "version": "0.33.5",
983
+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.33.5.tgz",
984
+ "integrity": "sha512-WT+d/cgqKkkKySYmqoZ8y3pxx7lx9vVejxW/W4DOFMYVSkErR+w7mf2u8m/y4+xHe7yY9DAXQMWQhpnMuFfScw==",
985
  "cpu": [
986
  "x64"
987
  ],
988
+ "license": "Apache-2.0",
989
  "optional": true,
990
  "os": [
991
  "linux"
992
  ],
993
  "engines": {
994
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
 
 
 
 
995
  },
996
  "funding": {
997
  "url": "https://opencollective.com/libvips"
998
  },
999
  "optionalDependencies": {
1000
+ "@img/sharp-libvips-linuxmusl-x64": "1.0.4"
1001
  }
1002
  },
1003
  "node_modules/@img/sharp-wasm32": {
1004
+ "version": "0.33.5",
1005
+ "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.33.5.tgz",
1006
+ "integrity": "sha512-ykUW4LVGaMcU9lu9thv85CbRMAwfeadCJHRsg2GmeRa/cJxsVY9Rbd57JcMxBkKHag5U/x7TSBpScF4U8ElVzg==",
1007
  "cpu": [
1008
  "wasm32"
1009
  ],
1010
+ "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT",
1011
  "optional": true,
1012
  "dependencies": {
1013
+ "@emnapi/runtime": "^1.2.0"
1014
  },
1015
  "engines": {
1016
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
 
 
 
1017
  },
1018
  "funding": {
1019
  "url": "https://opencollective.com/libvips"
1020
  }
1021
  },
1022
  "node_modules/@img/sharp-win32-ia32": {
1023
+ "version": "0.33.5",
1024
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.33.5.tgz",
1025
+ "integrity": "sha512-T36PblLaTwuVJ/zw/LaH0PdZkRz5rd3SmMHX8GSmR7vtNSP5Z6bQkExdSK7xGWyxLw4sUknBuugTelgw2faBbQ==",
1026
  "cpu": [
1027
  "ia32"
1028
  ],
1029
+ "license": "Apache-2.0 AND LGPL-3.0-or-later",
1030
  "optional": true,
1031
  "os": [
1032
  "win32"
1033
  ],
1034
  "engines": {
1035
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
 
 
 
1036
  },
1037
  "funding": {
1038
  "url": "https://opencollective.com/libvips"
1039
  }
1040
  },
1041
  "node_modules/@img/sharp-win32-x64": {
1042
+ "version": "0.33.5",
1043
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.33.5.tgz",
1044
+ "integrity": "sha512-MpY/o8/8kj+EcnxwvrP4aTJSWw/aZ7JIGR4aBeZkZw5B7/Jn+tY9/VNwtcoGmdT7GfggGIU4kygOMSbYnOrAbg==",
1045
  "cpu": [
1046
  "x64"
1047
  ],
1048
+ "license": "Apache-2.0 AND LGPL-3.0-or-later",
1049
  "optional": true,
1050
  "os": [
1051
  "win32"
1052
  ],
1053
  "engines": {
1054
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
 
 
 
1055
  },
1056
  "funding": {
1057
  "url": "https://opencollective.com/libvips"
 
1997
  }
1998
  },
1999
  "node_modules/@types/node": {
2000
+ "version": "22.5.4",
2001
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.4.tgz",
2002
+ "integrity": "sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg==",
2003
  "devOptional": true,
2004
+ "license": "MIT",
2005
  "dependencies": {
2006
+ "undici-types": "~6.19.2"
2007
  }
2008
  },
2009
  "node_modules/@types/stack-utils": {
 
2036
  "@types/node": "*"
2037
  }
2038
  },
2039
+ "node_modules/accepts": {
2040
+ "version": "1.3.8",
2041
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
2042
+ "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
2043
+ "license": "MIT",
2044
+ "dependencies": {
2045
+ "mime-types": "~2.1.34",
2046
+ "negotiator": "0.6.3"
2047
+ },
2048
+ "engines": {
2049
+ "node": ">= 0.6"
2050
+ }
2051
+ },
2052
  "node_modules/acorn": {
2053
  "version": "8.11.3",
2054
  "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz",
 
2164
  "url": "https://github.com/sponsors/ljharb"
2165
  }
2166
  },
2167
+ "node_modules/array-flatten": {
2168
+ "version": "1.1.1",
2169
+ "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
2170
+ "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==",
2171
+ "license": "MIT"
2172
+ },
2173
  "node_modules/asynckit": {
2174
  "version": "0.4.0",
2175
  "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
 
2420
  "readable-stream": "^3.4.0"
2421
  }
2422
  },
2423
+ "node_modules/body-parser": {
2424
+ "version": "1.20.2",
2425
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz",
2426
+ "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==",
2427
+ "license": "MIT",
2428
+ "dependencies": {
2429
+ "bytes": "3.1.2",
2430
+ "content-type": "~1.0.5",
2431
+ "debug": "2.6.9",
2432
+ "depd": "2.0.0",
2433
+ "destroy": "1.2.0",
2434
+ "http-errors": "2.0.0",
2435
+ "iconv-lite": "0.4.24",
2436
+ "on-finished": "2.4.1",
2437
+ "qs": "6.11.0",
2438
+ "raw-body": "2.5.2",
2439
+ "type-is": "~1.6.18",
2440
+ "unpipe": "1.0.0"
2441
+ },
2442
+ "engines": {
2443
+ "node": ">= 0.8",
2444
+ "npm": "1.2.8000 || >= 1.4.16"
2445
+ }
2446
+ },
2447
+ "node_modules/body-parser/node_modules/debug": {
2448
+ "version": "2.6.9",
2449
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
2450
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
2451
+ "license": "MIT",
2452
+ "dependencies": {
2453
+ "ms": "2.0.0"
2454
+ }
2455
+ },
2456
+ "node_modules/body-parser/node_modules/ms": {
2457
+ "version": "2.0.0",
2458
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
2459
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
2460
+ "license": "MIT"
2461
+ },
2462
  "node_modules/brace-expansion": {
2463
  "version": "1.1.11",
2464
  "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
 
2567
  "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
2568
  "dev": true
2569
  },
2570
+ "node_modules/bytes": {
2571
+ "version": "3.1.2",
2572
+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
2573
+ "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
2574
+ "license": "MIT",
2575
+ "engines": {
2576
+ "node": ">= 0.8"
2577
+ }
2578
+ },
2579
  "node_modules/call-bind": {
2580
  "version": "1.0.7",
2581
  "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz",
 
2805
  "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
2806
  "dev": true
2807
  },
2808
+ "node_modules/content-disposition": {
2809
+ "version": "0.5.4",
2810
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
2811
+ "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
2812
+ "license": "MIT",
2813
+ "dependencies": {
2814
+ "safe-buffer": "5.2.1"
2815
+ },
2816
+ "engines": {
2817
+ "node": ">= 0.6"
2818
+ }
2819
+ },
2820
+ "node_modules/content-type": {
2821
+ "version": "1.0.5",
2822
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
2823
+ "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
2824
+ "license": "MIT",
2825
+ "engines": {
2826
+ "node": ">= 0.6"
2827
+ }
2828
+ },
2829
  "node_modules/convert-source-map": {
2830
  "version": "2.0.0",
2831
  "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
2832
  "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
2833
  "dev": true
2834
  },
2835
+ "node_modules/cookie": {
2836
+ "version": "0.6.0",
2837
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz",
2838
+ "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==",
2839
+ "license": "MIT",
2840
+ "engines": {
2841
+ "node": ">= 0.6"
2842
+ }
2843
+ },
2844
+ "node_modules/cookie-signature": {
2845
+ "version": "1.0.6",
2846
+ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
2847
+ "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==",
2848
+ "license": "MIT"
2849
+ },
2850
+ "node_modules/cors": {
2851
+ "version": "2.8.5",
2852
+ "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz",
2853
+ "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==",
2854
+ "license": "MIT",
2855
+ "dependencies": {
2856
+ "object-assign": "^4",
2857
+ "vary": "^1"
2858
+ },
2859
+ "engines": {
2860
+ "node": ">= 0.10"
2861
+ }
2862
+ },
2863
  "node_modules/cosmiconfig": {
2864
  "version": "8.1.3",
2865
  "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.1.3.tgz",
 
3156
  "node": ">=0.4.0"
3157
  }
3158
  },
3159
+ "node_modules/depd": {
3160
+ "version": "2.0.0",
3161
+ "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
3162
+ "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
3163
+ "license": "MIT",
3164
+ "engines": {
3165
+ "node": ">= 0.8"
3166
+ }
3167
+ },
3168
+ "node_modules/destroy": {
3169
+ "version": "1.2.0",
3170
+ "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
3171
+ "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==",
3172
+ "license": "MIT",
3173
+ "engines": {
3174
+ "node": ">= 0.8",
3175
+ "npm": "1.2.8000 || >= 1.4.16"
3176
+ }
3177
+ },
3178
  "node_modules/detect-libc": {
3179
  "version": "2.0.3",
3180
  "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz",
 
3211
  "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
3212
  }
3213
  },
3214
+ "node_modules/dotenv": {
3215
+ "version": "16.4.5",
3216
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz",
3217
+ "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==",
3218
+ "license": "BSD-2-Clause",
3219
+ "engines": {
3220
+ "node": ">=12"
3221
+ },
3222
+ "funding": {
3223
+ "url": "https://dotenvx.com"
3224
+ }
3225
+ },
3226
+ "node_modules/ee-first": {
3227
+ "version": "1.1.1",
3228
+ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
3229
+ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==",
3230
+ "license": "MIT"
3231
+ },
3232
  "node_modules/electron-to-chromium": {
3233
  "version": "1.4.750",
3234
  "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.750.tgz",
 
3252
  "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
3253
  "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
3254
  },
3255
+ "node_modules/encodeurl": {
3256
+ "version": "1.0.2",
3257
+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
3258
+ "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
3259
+ "license": "MIT",
3260
+ "engines": {
3261
+ "node": ">= 0.8"
3262
+ }
3263
+ },
3264
  "node_modules/end-of-stream": {
3265
  "version": "1.4.4",
3266
  "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
 
3323
  "node": ">=6"
3324
  }
3325
  },
3326
+ "node_modules/escape-html": {
3327
+ "version": "1.0.3",
3328
+ "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
3329
+ "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==",
3330
+ "license": "MIT"
3331
+ },
3332
  "node_modules/escape-string-regexp": {
3333
  "version": "1.0.5",
3334
  "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
 
3616
  "node": ">=0.10.0"
3617
  }
3618
  },
3619
+ "node_modules/etag": {
3620
+ "version": "1.8.1",
3621
+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
3622
+ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
3623
+ "license": "MIT",
3624
+ "engines": {
3625
+ "node": ">= 0.6"
3626
+ }
3627
+ },
3628
  "node_modules/execa": {
3629
  "version": "5.1.1",
3630
  "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
 
3685
  "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
3686
  }
3687
  },
3688
+ "node_modules/express": {
3689
+ "version": "4.19.2",
3690
+ "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz",
3691
+ "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==",
3692
+ "license": "MIT",
3693
+ "dependencies": {
3694
+ "accepts": "~1.3.8",
3695
+ "array-flatten": "1.1.1",
3696
+ "body-parser": "1.20.2",
3697
+ "content-disposition": "0.5.4",
3698
+ "content-type": "~1.0.4",
3699
+ "cookie": "0.6.0",
3700
+ "cookie-signature": "1.0.6",
3701
+ "debug": "2.6.9",
3702
+ "depd": "2.0.0",
3703
+ "encodeurl": "~1.0.2",
3704
+ "escape-html": "~1.0.3",
3705
+ "etag": "~1.8.1",
3706
+ "finalhandler": "1.2.0",
3707
+ "fresh": "0.5.2",
3708
+ "http-errors": "2.0.0",
3709
+ "merge-descriptors": "1.0.1",
3710
+ "methods": "~1.1.2",
3711
+ "on-finished": "2.4.1",
3712
+ "parseurl": "~1.3.3",
3713
+ "path-to-regexp": "0.1.7",
3714
+ "proxy-addr": "~2.0.7",
3715
+ "qs": "6.11.0",
3716
+ "range-parser": "~1.2.1",
3717
+ "safe-buffer": "5.2.1",
3718
+ "send": "0.18.0",
3719
+ "serve-static": "1.15.0",
3720
+ "setprototypeof": "1.2.0",
3721
+ "statuses": "2.0.1",
3722
+ "type-is": "~1.6.18",
3723
+ "utils-merge": "1.0.1",
3724
+ "vary": "~1.1.2"
3725
+ },
3726
+ "engines": {
3727
+ "node": ">= 0.10.0"
3728
+ }
3729
+ },
3730
+ "node_modules/express/node_modules/debug": {
3731
+ "version": "2.6.9",
3732
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
3733
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
3734
+ "license": "MIT",
3735
+ "dependencies": {
3736
+ "ms": "2.0.0"
3737
+ }
3738
+ },
3739
+ "node_modules/express/node_modules/ms": {
3740
+ "version": "2.0.0",
3741
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
3742
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
3743
+ "license": "MIT"
3744
+ },
3745
  "node_modules/extract-zip": {
3746
  "version": "2.0.1",
3747
  "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz",
 
3829
  "node": ">=8"
3830
  }
3831
  },
3832
+ "node_modules/finalhandler": {
3833
+ "version": "1.2.0",
3834
+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz",
3835
+ "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==",
3836
+ "license": "MIT",
3837
+ "dependencies": {
3838
+ "debug": "2.6.9",
3839
+ "encodeurl": "~1.0.2",
3840
+ "escape-html": "~1.0.3",
3841
+ "on-finished": "2.4.1",
3842
+ "parseurl": "~1.3.3",
3843
+ "statuses": "2.0.1",
3844
+ "unpipe": "~1.0.0"
3845
+ },
3846
+ "engines": {
3847
+ "node": ">= 0.8"
3848
+ }
3849
+ },
3850
+ "node_modules/finalhandler/node_modules/debug": {
3851
+ "version": "2.6.9",
3852
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
3853
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
3854
+ "license": "MIT",
3855
+ "dependencies": {
3856
+ "ms": "2.0.0"
3857
+ }
3858
+ },
3859
+ "node_modules/finalhandler/node_modules/ms": {
3860
+ "version": "2.0.0",
3861
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
3862
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
3863
+ "license": "MIT"
3864
+ },
3865
  "node_modules/find-up": {
3866
  "version": "4.1.0",
3867
  "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
 
3934
  "node": ">= 6"
3935
  }
3936
  },
3937
+ "node_modules/forwarded": {
3938
+ "version": "0.2.0",
3939
+ "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
3940
+ "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
3941
+ "license": "MIT",
3942
+ "engines": {
3943
+ "node": ">= 0.6"
3944
+ }
3945
+ },
3946
+ "node_modules/fresh": {
3947
+ "version": "0.5.2",
3948
+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
3949
+ "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
3950
+ "license": "MIT",
3951
+ "engines": {
3952
+ "node": ">= 0.6"
3953
+ }
3954
+ },
3955
  "node_modules/fs-constants": {
3956
  "version": "1.0.0",
3957
  "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
 
4192
  "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",
4193
  "dev": true
4194
  },
4195
+ "node_modules/http-errors": {
4196
+ "version": "2.0.0",
4197
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
4198
+ "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
4199
+ "license": "MIT",
4200
+ "dependencies": {
4201
+ "depd": "2.0.0",
4202
+ "inherits": "2.0.4",
4203
+ "setprototypeof": "1.2.0",
4204
+ "statuses": "2.0.1",
4205
+ "toidentifier": "1.0.1"
4206
+ },
4207
+ "engines": {
4208
+ "node": ">= 0.8"
4209
+ }
4210
+ },
4211
  "node_modules/https-proxy-agent": {
4212
  "version": "5.0.1",
4213
  "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
 
4229
  "node": ">=10.17.0"
4230
  }
4231
  },
4232
+ "node_modules/iconv-lite": {
4233
+ "version": "0.4.24",
4234
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
4235
+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
4236
+ "license": "MIT",
4237
+ "dependencies": {
4238
+ "safer-buffer": ">= 2.1.2 < 3"
4239
+ },
4240
+ "engines": {
4241
+ "node": ">=0.10.0"
4242
+ }
4243
+ },
4244
  "node_modules/ieee754": {
4245
  "version": "1.2.1",
4246
  "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
 
4348
  "node": ">= 0.4"
4349
  }
4350
  },
4351
+ "node_modules/ipaddr.js": {
4352
+ "version": "1.9.1",
4353
+ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
4354
+ "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
4355
+ "license": "MIT",
4356
+ "engines": {
4357
+ "node": ">= 0.10"
4358
+ }
4359
+ },
4360
  "node_modules/is-arguments": {
4361
  "version": "1.1.1",
4362
  "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz",
 
6362
  "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
6363
  "dev": true
6364
  },
 
 
 
 
 
 
 
 
 
 
 
6365
  "node_modules/make-dir": {
6366
  "version": "4.0.0",
6367
  "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz",
 
6386
  "tmpl": "1.0.5"
6387
  }
6388
  },
6389
+ "node_modules/media-typer": {
6390
+ "version": "0.3.0",
6391
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
6392
+ "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
6393
+ "license": "MIT",
6394
+ "engines": {
6395
+ "node": ">= 0.6"
6396
+ }
6397
+ },
6398
+ "node_modules/merge-descriptors": {
6399
+ "version": "1.0.1",
6400
+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
6401
+ "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==",
6402
+ "license": "MIT"
6403
+ },
6404
  "node_modules/merge-stream": {
6405
  "version": "2.0.0",
6406
  "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
6407
  "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",
6408
  "dev": true
6409
  },
6410
+ "node_modules/methods": {
6411
+ "version": "1.1.2",
6412
+ "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
6413
+ "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==",
6414
+ "license": "MIT",
6415
+ "engines": {
6416
+ "node": ">= 0.6"
6417
+ }
6418
+ },
6419
  "node_modules/micromatch": {
6420
  "version": "4.0.5",
6421
  "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
 
6429
  "node": ">=8.6"
6430
  }
6431
  },
6432
+ "node_modules/mime": {
6433
+ "version": "1.6.0",
6434
+ "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
6435
+ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
6436
+ "license": "MIT",
6437
+ "bin": {
6438
+ "mime": "cli.js"
6439
+ },
6440
+ "engines": {
6441
+ "node": ">=4"
6442
+ }
6443
+ },
6444
  "node_modules/mime-db": {
6445
  "version": "1.52.0",
6446
  "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
 
6502
  "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
6503
  "dev": true
6504
  },
6505
+ "node_modules/negotiator": {
6506
+ "version": "0.6.3",
6507
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
6508
+ "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
6509
+ "license": "MIT",
6510
+ "engines": {
6511
+ "node": ">= 0.6"
6512
+ }
6513
+ },
6514
  "node_modules/node-fetch": {
6515
  "version": "2.6.7",
6516
  "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
 
6563
  "node": ">=8"
6564
  }
6565
  },
6566
+ "node_modules/object-assign": {
6567
+ "version": "4.1.1",
6568
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
6569
+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
6570
+ "license": "MIT",
6571
+ "engines": {
6572
+ "node": ">=0.10.0"
6573
+ }
6574
+ },
6575
  "node_modules/object-inspect": {
6576
  "version": "1.13.1",
6577
  "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz",
 
6620
  "url": "https://github.com/sponsors/ljharb"
6621
  }
6622
  },
6623
+ "node_modules/on-finished": {
6624
+ "version": "2.4.1",
6625
+ "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
6626
+ "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
6627
+ "license": "MIT",
6628
+ "dependencies": {
6629
+ "ee-first": "1.1.1"
6630
+ },
6631
+ "engines": {
6632
+ "node": ">= 0.8"
6633
+ }
6634
+ },
6635
  "node_modules/once": {
6636
  "version": "1.4.0",
6637
  "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
 
6756
  "url": "https://github.com/sponsors/sindresorhus"
6757
  }
6758
  },
6759
+ "node_modules/parseurl": {
6760
+ "version": "1.3.3",
6761
+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
6762
+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
6763
+ "license": "MIT",
6764
+ "engines": {
6765
+ "node": ">= 0.8"
6766
+ }
6767
+ },
6768
  "node_modules/path-exists": {
6769
  "version": "4.0.0",
6770
  "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
 
6798
  "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
6799
  "dev": true
6800
  },
6801
+ "node_modules/path-to-regexp": {
6802
+ "version": "0.1.7",
6803
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
6804
+ "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==",
6805
+ "license": "MIT"
6806
+ },
6807
  "node_modules/path-type": {
6808
  "version": "4.0.0",
6809
  "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
 
6965
  "node": ">= 6"
6966
  }
6967
  },
6968
+ "node_modules/proxy-addr": {
6969
+ "version": "2.0.7",
6970
+ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
6971
+ "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
6972
+ "license": "MIT",
6973
+ "dependencies": {
6974
+ "forwarded": "0.2.0",
6975
+ "ipaddr.js": "1.9.1"
6976
+ },
6977
+ "engines": {
6978
+ "node": ">= 0.10"
6979
+ }
6980
+ },
6981
  "node_modules/proxy-from-env": {
6982
  "version": "1.1.0",
6983
  "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
 
7061
  }
7062
  ]
7063
  },
7064
+ "node_modules/qs": {
7065
+ "version": "6.11.0",
7066
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz",
7067
+ "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==",
7068
+ "license": "BSD-3-Clause",
7069
+ "dependencies": {
7070
+ "side-channel": "^1.0.4"
7071
+ },
7072
+ "engines": {
7073
+ "node": ">=0.6"
7074
+ },
7075
+ "funding": {
7076
+ "url": "https://github.com/sponsors/ljharb"
7077
+ }
7078
+ },
7079
  "node_modules/queue-microtask": {
7080
  "version": "1.2.3",
7081
  "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
 
7096
  }
7097
  ]
7098
  },
7099
+ "node_modules/range-parser": {
7100
+ "version": "1.2.1",
7101
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
7102
+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
7103
+ "license": "MIT",
7104
+ "engines": {
7105
+ "node": ">= 0.6"
7106
+ }
7107
+ },
7108
+ "node_modules/raw-body": {
7109
+ "version": "2.5.2",
7110
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz",
7111
+ "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==",
7112
+ "license": "MIT",
7113
+ "dependencies": {
7114
+ "bytes": "3.1.2",
7115
+ "http-errors": "2.0.0",
7116
+ "iconv-lite": "0.4.24",
7117
+ "unpipe": "1.0.0"
7118
+ },
7119
+ "engines": {
7120
+ "node": ">= 0.8"
7121
+ }
7122
+ },
7123
  "node_modules/react-is": {
7124
  "version": "18.3.1",
7125
  "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz",
 
7271
  }
7272
  ]
7273
  },
7274
+ "node_modules/safer-buffer": {
7275
+ "version": "2.1.2",
7276
+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
7277
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
7278
+ "license": "MIT"
7279
+ },
7280
  "node_modules/semver": {
7281
+ "version": "7.6.3",
7282
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
7283
+ "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
7284
+ "license": "ISC",
 
 
7285
  "bin": {
7286
  "semver": "bin/semver.js"
7287
  },
 
7289
  "node": ">=10"
7290
  }
7291
  },
7292
+ "node_modules/send": {
7293
+ "version": "0.18.0",
7294
+ "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz",
7295
+ "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==",
7296
+ "license": "MIT",
7297
+ "dependencies": {
7298
+ "debug": "2.6.9",
7299
+ "depd": "2.0.0",
7300
+ "destroy": "1.2.0",
7301
+ "encodeurl": "~1.0.2",
7302
+ "escape-html": "~1.0.3",
7303
+ "etag": "~1.8.1",
7304
+ "fresh": "0.5.2",
7305
+ "http-errors": "2.0.0",
7306
+ "mime": "1.6.0",
7307
+ "ms": "2.1.3",
7308
+ "on-finished": "2.4.1",
7309
+ "range-parser": "~1.2.1",
7310
+ "statuses": "2.0.1"
7311
+ },
7312
+ "engines": {
7313
+ "node": ">= 0.8.0"
7314
+ }
7315
+ },
7316
+ "node_modules/send/node_modules/debug": {
7317
+ "version": "2.6.9",
7318
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
7319
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
7320
+ "license": "MIT",
7321
+ "dependencies": {
7322
+ "ms": "2.0.0"
7323
+ }
7324
+ },
7325
+ "node_modules/send/node_modules/debug/node_modules/ms": {
7326
+ "version": "2.0.0",
7327
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
7328
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
7329
+ "license": "MIT"
7330
+ },
7331
+ "node_modules/send/node_modules/ms": {
7332
+ "version": "2.1.3",
7333
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
7334
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
7335
+ "license": "MIT"
7336
+ },
7337
+ "node_modules/serve-static": {
7338
+ "version": "1.15.0",
7339
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz",
7340
+ "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==",
7341
+ "license": "MIT",
7342
+ "dependencies": {
7343
+ "encodeurl": "~1.0.2",
7344
+ "escape-html": "~1.0.3",
7345
+ "parseurl": "~1.3.3",
7346
+ "send": "0.18.0"
7347
+ },
7348
+ "engines": {
7349
+ "node": ">= 0.8.0"
7350
+ }
7351
+ },
7352
  "node_modules/set-function-length": {
7353
  "version": "1.2.2",
7354
  "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz",
 
7379
  "node": ">= 0.4"
7380
  }
7381
  },
7382
+ "node_modules/setprototypeof": {
7383
+ "version": "1.2.0",
7384
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
7385
+ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
7386
+ "license": "ISC"
7387
+ },
7388
  "node_modules/sharp": {
7389
+ "version": "0.33.5",
7390
+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.5.tgz",
7391
+ "integrity": "sha512-haPVm1EkS9pgvHrQ/F3Xy+hgcuMV0Wm9vfIBSiwZ05k+xgb0PkBQpGsAA/oWdDobNaZTH5ppvHtzCFbnSEwHVw==",
7392
  "hasInstallScript": true,
7393
+ "license": "Apache-2.0",
7394
  "dependencies": {
7395
  "color": "^4.2.3",
7396
  "detect-libc": "^2.0.3",
7397
+ "semver": "^7.6.3"
7398
  },
7399
  "engines": {
 
7400
  "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
7401
  },
7402
  "funding": {
7403
  "url": "https://opencollective.com/libvips"
7404
  },
7405
  "optionalDependencies": {
7406
+ "@img/sharp-darwin-arm64": "0.33.5",
7407
+ "@img/sharp-darwin-x64": "0.33.5",
7408
+ "@img/sharp-libvips-darwin-arm64": "1.0.4",
7409
+ "@img/sharp-libvips-darwin-x64": "1.0.4",
7410
+ "@img/sharp-libvips-linux-arm": "1.0.5",
7411
+ "@img/sharp-libvips-linux-arm64": "1.0.4",
7412
+ "@img/sharp-libvips-linux-s390x": "1.0.4",
7413
+ "@img/sharp-libvips-linux-x64": "1.0.4",
7414
+ "@img/sharp-libvips-linuxmusl-arm64": "1.0.4",
7415
+ "@img/sharp-libvips-linuxmusl-x64": "1.0.4",
7416
+ "@img/sharp-linux-arm": "0.33.5",
7417
+ "@img/sharp-linux-arm64": "0.33.5",
7418
+ "@img/sharp-linux-s390x": "0.33.5",
7419
+ "@img/sharp-linux-x64": "0.33.5",
7420
+ "@img/sharp-linuxmusl-arm64": "0.33.5",
7421
+ "@img/sharp-linuxmusl-x64": "0.33.5",
7422
+ "@img/sharp-wasm32": "0.33.5",
7423
+ "@img/sharp-win32-ia32": "0.33.5",
7424
+ "@img/sharp-win32-x64": "0.33.5"
7425
  }
7426
  },
7427
  "node_modules/shebang-command": {
 
7542
  "node": ">=8"
7543
  }
7544
  },
7545
+ "node_modules/statuses": {
7546
+ "version": "2.0.1",
7547
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
7548
+ "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
7549
+ "license": "MIT",
7550
+ "engines": {
7551
+ "node": ">= 0.8"
7552
+ }
7553
+ },
7554
  "node_modules/stop-iteration-iterator": {
7555
  "version": "1.0.0",
7556
  "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz",
 
7743
  "node": ">=8.0"
7744
  }
7745
  },
7746
+ "node_modules/toidentifier": {
7747
+ "version": "1.0.1",
7748
+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
7749
+ "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
7750
+ "license": "MIT",
7751
+ "engines": {
7752
+ "node": ">=0.6"
7753
+ }
7754
+ },
7755
  "node_modules/tr46": {
7756
  "version": "0.0.3",
7757
  "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
 
7795
  "url": "https://github.com/sponsors/sindresorhus"
7796
  }
7797
  },
7798
+ "node_modules/type-is": {
7799
+ "version": "1.6.18",
7800
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
7801
+ "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
7802
+ "license": "MIT",
7803
+ "dependencies": {
7804
+ "media-typer": "0.3.0",
7805
+ "mime-types": "~2.1.24"
7806
+ },
7807
+ "engines": {
7808
+ "node": ">= 0.6"
7809
+ }
7810
+ },
7811
  "node_modules/unbzip2-stream": {
7812
  "version": "1.4.3",
7813
  "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz",
 
7818
  }
7819
  },
7820
  "node_modules/undici-types": {
7821
+ "version": "6.19.8",
7822
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
7823
+ "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
7824
+ "devOptional": true,
7825
+ "license": "MIT"
7826
  },
7827
  "node_modules/unicode-properties": {
7828
  "version": "1.4.1",
 
7842
  "tiny-inflate": "^1.0.0"
7843
  }
7844
  },
7845
+ "node_modules/unpipe": {
7846
+ "version": "1.0.0",
7847
+ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
7848
+ "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
7849
+ "license": "MIT",
7850
+ "engines": {
7851
+ "node": ">= 0.8"
7852
+ }
7853
+ },
7854
  "node_modules/update-browserslist-db": {
7855
  "version": "1.0.13",
7856
  "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz",
 
7895
  "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
7896
  "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
7897
  },
7898
+ "node_modules/utils-merge": {
7899
+ "version": "1.0.1",
7900
+ "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
7901
+ "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==",
7902
+ "license": "MIT",
7903
+ "engines": {
7904
+ "node": ">= 0.4.0"
7905
+ }
7906
+ },
7907
  "node_modules/v8-to-istanbul": {
7908
  "version": "9.2.0",
7909
  "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.2.0.tgz",
 
7918
  "node": ">=10.12.0"
7919
  }
7920
  },
7921
+ "node_modules/vary": {
7922
+ "version": "1.1.2",
7923
+ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
7924
+ "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",
7925
+ "license": "MIT",
7926
+ "engines": {
7927
+ "node": ">= 0.8"
7928
+ }
7929
+ },
7930
  "node_modules/walker": {
7931
  "version": "1.0.8",
7932
  "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz",
 
8116
  "node": ">=10"
8117
  }
8118
  },
 
 
 
 
 
8119
  "node_modules/yargs": {
8120
  "version": "17.7.1",
8121
  "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz",
package.json CHANGED
@@ -19,15 +19,19 @@
19
  "dependencies": {
20
  "axios": "^1.6.8",
21
  "cli-progress": "^3.12.0",
 
 
 
22
  "ini": "^4.1.2",
23
  "pdfkit": "^0.15.0",
24
  "puppeteer": "^19.11.1",
25
- "sharp": "^0.33.3"
26
  },
27
  "type": "module",
28
  "types": "module",
29
  "devDependencies": {
30
  "@eslint/js": "^9.1.1",
 
31
  "eslint": "^9.1.1",
32
  "globals": "^15.0.0",
33
  "jest": "^29.7.0"
 
19
  "dependencies": {
20
  "axios": "^1.6.8",
21
  "cli-progress": "^3.12.0",
22
+ "cors": "^2.8.5",
23
+ "dotenv": "^16.4.5",
24
+ "express": "^4.19.2",
25
  "ini": "^4.1.2",
26
  "pdfkit": "^0.15.0",
27
  "puppeteer": "^19.11.1",
28
+ "sharp": "^0.33.5"
29
  },
30
  "type": "module",
31
  "types": "module",
32
  "devDependencies": {
33
  "@eslint/js": "^9.1.1",
34
+ "@types/node": "^22.5.4",
35
  "eslint": "^9.1.1",
36
  "globals": "^15.0.0",
37
  "jest": "^29.7.0"
src/utils/request/PuppeteerSg.js CHANGED
@@ -18,6 +18,7 @@ class PuppeteerSg {
18
  this.browser = await puppeteer.launch({
19
  headless: "new",
20
  defaultViewport: null,
 
21
  });
22
  }
23
 
 
18
  this.browser = await puppeteer.launch({
19
  headless: "new",
20
  defaultViewport: null,
21
+ args: ["--no-sandbox"]
22
  });
23
  }
24