Spaces:
Paused
Paused
Upload 18 files
Browse filesFiles changed (18)
- .dockerignoreAdded+9
- .envAdded+26
- DockerfileAdded+11
- doc/language.jsonAdded+937
- doc/regions.jsonAdded+699
- index.jsAdded+19
- package-lock.jsonAdded+2642
- package.jsonAdded+22
- public/assets/logo.pngAdded
- public/configure.htmlAdded+683
- public/js/languages.jsAdded+202
- src/cache.jsAdded+112
- src/db.jsAdded+89
- src/routes.jsAdded+363
- src/tmdb.jsAdded+343
- src/utils/logger.jsAdded+69
- src/utils/middleware.jsAdded+28
- src/utils/queue.jsAdded+7
123456789.gitdblognode_modules.dockerignore.env.gitattributes.gitignoreDockerfile1234567891011121314151617181920212223242526# Change exposition portPORT=3000
# URL to access the addonBASE_URL=http://localhost:3000
CACHE_CATALOG_CONTENT_DURATION_DAYS=3CACHE_POSTER_CONTENT_DURATION_DAYS=7
# Enable public instanceTMDB_BEARER_TOKEN=
# Define streaming catalog providers based on region# TMDB_LANGUAGE = iso_639_1 code from doc/languages.json# TMDB_WATCH_REGION= = iso_3166_1 code from doc/regions.jsonTMDB_LANGUAGE=enTMDB_WATCH_REGION=GB
# Possible values are: info, debug# Default is 'info' if not specified; 'debug' provides more detailed logsLOG_LEVEL=info
# The value can be expressed in days (d), weeks (w), or months (M). # For example, '3d' means that log files will be kept for 3 days before being deleted. # If LOG_INTERVAL_DELETION is not defined in the environment variables, the default value is '3d'.LOG_INTERVAL_DELETION=3d1234567891011FROM node:18-slim
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
CMD ["node", "index.js"]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937[ { "iso_639_1": "bi", "english_name": "Bislama", "name": "" }, { "iso_639_1": "cs", "english_name": "Czech", "name": "Český" }, { "iso_639_1": "ba", "english_name": "Bashkir", "name": "" }, { "iso_639_1": "ae", "english_name": "Avestan", "name": "" }, { "iso_639_1": "av", "english_name": "Avaric", "name": "" }, { "iso_639_1": "de", "english_name": "German", "name": "Deutsch" }, { "iso_639_1": "mt", "english_name": "Maltese", "name": "Malti" }, { "iso_639_1": "om", "english_name": "Oromo", "name": "" }, { "iso_639_1": "rm", "english_name": "Raeto-Romance", "name": "" }, { "iso_639_1": "so", "english_name": "Somali", "name": "Somali" }, { "iso_639_1": "ts", "english_name": "Tsonga", "name": "" }, { "iso_639_1": "vi", "english_name": "Vietnamese", "name": "Tiếng Việt" }, { "iso_639_1": "gn", "english_name": "Guarani", "name": "" }, { "iso_639_1": "ig", "english_name": "Igbo", "name": "" }, { "iso_639_1": "it", "english_name": "Italian", "name": "Italiano" }, { "iso_639_1": "ki", "english_name": "Kikuyu", "name": "" }, { "iso_639_1": "ku", "english_name": "Kurdish", "name": "" }, { "iso_639_1": "la", "english_name": "Latin", "name": "Latin" }, { "iso_639_1": "ln", "english_name": "Lingala", "name": "" }, { "iso_639_1": "lb", "english_name": "Letzeburgesch", "name": "" }, { "iso_639_1": "ny", "english_name": "Chichewa; Nyanja", "name": "" }, { "iso_639_1": "pl", "english_name": "Polish", "name": "Polski" }, { "iso_639_1": "si", "english_name": "Sinhalese", "name": "සිංහල" }, { "iso_639_1": "to", "english_name": "Tonga", "name": "" }, { "iso_639_1": "az", "english_name": "Azerbaijani", "name": "Azərbaycan" }, { "iso_639_1": "ce", "english_name": "Chechen", "name": "" }, { "iso_639_1": "cu", "english_name": "Slavic", "name": "" }, { "iso_639_1": "da", "english_name": "Danish", "name": "Dansk" }, { "iso_639_1": "hz", "english_name": "Herero", "name": "" }, { "iso_639_1": "ie", "english_name": "Interlingue", "name": "" }, { "iso_639_1": "rw", "english_name": "Kinyarwanda", "name": "Kinyarwanda" }, { "iso_639_1": "mi", "english_name": "Maori", "name": "" }, { "iso_639_1": "no", "english_name": "Norwegian", "name": "Norsk" }, { "iso_639_1": "pi", "english_name": "Pali", "name": "" }, { "iso_639_1": "sk", "english_name": "Slovak", "name": "Slovenčina" }, { "iso_639_1": "se", "english_name": "Northern Sami", "name": "" }, { "iso_639_1": "sm", "english_name": "Samoan", "name": "" }, { "iso_639_1": "uk", "english_name": "Ukrainian", "name": "Український" }, { "iso_639_1": "en", "english_name": "English", "name": "English" }, { "iso_639_1": "ay", "english_name": "Aymara", "name": "" }, { "iso_639_1": "ca", "english_name": "Catalan", "name": "Català" }, { "iso_639_1": "eo", "english_name": "Esperanto", "name": "Esperanto" }, { "iso_639_1": "ha", "english_name": "Hausa", "name": "Hausa" }, { "iso_639_1": "ho", "english_name": "Hiri Motu", "name": "" }, { "iso_639_1": "hu", "english_name": "Hungarian", "name": "Magyar" }, { "iso_639_1": "io", "english_name": "Ido", "name": "" }, { "iso_639_1": "ii", "english_name": "Yi", "name": "" }, { "iso_639_1": "kn", "english_name": "Kannada", "name": "?????" }, { "iso_639_1": "kv", "english_name": "Komi", "name": "" }, { "iso_639_1": "li", "english_name": "Limburgish", "name": "" }, { "iso_639_1": "oj", "english_name": "Ojibwa", "name": "" }, { "iso_639_1": "ru", "english_name": "Russian", "name": "Pусский" }, { "iso_639_1": "sr", "english_name": "Serbian", "name": "Srpski" }, { "iso_639_1": "sv", "english_name": "Swedish", "name": "svenska" }, { "iso_639_1": "ty", "english_name": "Tahitian", "name": "" }, { "iso_639_1": "zu", "english_name": "Zulu", "name": "isiZulu" }, { "iso_639_1": "ka", "english_name": "Georgian", "name": "ქართული" }, { "iso_639_1": "ch", "english_name": "Chamorro", "name": "Finu' Chamorro" }, { "iso_639_1": "be", "english_name": "Belarusian", "name": "беларуская мова" }, { "iso_639_1": "br", "english_name": "Breton", "name": "" }, { "iso_639_1": "kw", "english_name": "Cornish", "name": "" }, { "iso_639_1": "fi", "english_name": "Finnish", "name": "suomi" }, { "iso_639_1": "sh", "english_name": "Serbo-Croatian", "name": "" }, { "iso_639_1": "nn", "english_name": "Norwegian Nynorsk", "name": "" }, { "iso_639_1": "tt", "english_name": "Tatar", "name": "" }, { "iso_639_1": "tg", "english_name": "Tajik", "name": "" }, { "iso_639_1": "vo", "english_name": "Volapük", "name": "" }, { "iso_639_1": "ps", "english_name": "Pushto", "name": "پښتو" }, { "iso_639_1": "mk", "english_name": "Macedonian", "name": "" }, { "iso_639_1": "fr", "english_name": "French", "name": "Français" }, { "iso_639_1": "bm", "english_name": "Bambara", "name": "Bamanankan" }, { "iso_639_1": "eu", "english_name": "Basque", "name": "euskera" }, { "iso_639_1": "fj", "english_name": "Fijian", "name": "" }, { "iso_639_1": "id", "english_name": "Indonesian", "name": "Bahasa indonesia" }, { "iso_639_1": "mg", "english_name": "Malagasy", "name": "" }, { "iso_639_1": "na", "english_name": "Nauru", "name": "" }, { "iso_639_1": "xx", "english_name": "No Language", "name": "No Language" }, { "iso_639_1": "qu", "english_name": "Quechua", "name": "" }, { "iso_639_1": "sq", "english_name": "Albanian", "name": "shqip" }, { "iso_639_1": "ti", "english_name": "Tigrinya", "name": "" }, { "iso_639_1": "tw", "english_name": "Twi", "name": "" }, { "iso_639_1": "wa", "english_name": "Walloon", "name": "" }, { "iso_639_1": "ab", "english_name": "Abkhazian", "name": "" }, { "iso_639_1": "bs", "english_name": "Bosnian", "name": "Bosanski" }, { "iso_639_1": "af", "english_name": "Afrikaans", "name": "Afrikaans" }, { "iso_639_1": "an", "english_name": "Aragonese", "name": "" }, { "iso_639_1": "fy", "english_name": "Frisian", "name": "" }, { "iso_639_1": "gu", "english_name": "Gujarati", "name": "" }, { "iso_639_1": "ik", "english_name": "Inupiaq", "name": "" }, { "iso_639_1": "ja", "english_name": "Japanese", "name": "日本語" }, { "iso_639_1": "ko", "english_name": "Korean", "name": "한국어/조선말" }, { "iso_639_1": "lg", "english_name": "Ganda", "name": "" }, { "iso_639_1": "nl", "english_name": "Dutch", "name": "Nederlands" }, { "iso_639_1": "os", "english_name": "Ossetian; Ossetic", "name": "" }, { "iso_639_1": "el", "english_name": "Greek", "name": "ελληνικά" }, { "iso_639_1": "bn", "english_name": "Bengali", "name": "বাংলা" }, { "iso_639_1": "cr", "english_name": "Cree", "name": "" }, { "iso_639_1": "km", "english_name": "Khmer", "name": "" }, { "iso_639_1": "lo", "english_name": "Lao", "name": "" }, { "iso_639_1": "nd", "english_name": "Ndebele", "name": "" }, { "iso_639_1": "ne", "english_name": "Nepali", "name": "" }, { "iso_639_1": "sc", "english_name": "Sardinian", "name": "" }, { "iso_639_1": "sw", "english_name": "Swahili", "name": "Kiswahili" }, { "iso_639_1": "tl", "english_name": "Tagalog", "name": "" }, { "iso_639_1": "ur", "english_name": "Urdu", "name": "اردو" }, { "iso_639_1": "ee", "english_name": "Ewe", "name": "Èʋegbe" }, { "iso_639_1": "aa", "english_name": "Afar", "name": "" }, { "iso_639_1": "co", "english_name": "Corsican", "name": "" }, { "iso_639_1": "et", "english_name": "Estonian", "name": "Eesti" }, { "iso_639_1": "is", "english_name": "Icelandic", "name": "Íslenska" }, { "iso_639_1": "ks", "english_name": "Kashmiri", "name": "" }, { "iso_639_1": "kr", "english_name": "Kanuri", "name": "" }, { "iso_639_1": "ky", "english_name": "Kirghiz", "name": "??????" }, { "iso_639_1": "kj", "english_name": "Kuanyama", "name": "" }, { "iso_639_1": "nr", "english_name": "Ndebele", "name": "" }, { "iso_639_1": "or", "english_name": "Oriya", "name": "" }, { "iso_639_1": "wo", "english_name": "Wolof", "name": "Wolof" }, { "iso_639_1": "za", "english_name": "Zhuang", "name": "" }, { "iso_639_1": "ar", "english_name": "Arabic", "name": "العربية" }, { "iso_639_1": "cv", "english_name": "Chuvash", "name": "" }, { "iso_639_1": "fo", "english_name": "Faroese", "name": "" }, { "iso_639_1": "hr", "english_name": "Croatian", "name": "Hrvatski" }, { "iso_639_1": "ms", "english_name": "Malay", "name": "Bahasa melayu" }, { "iso_639_1": "nb", "english_name": "Norwegian Bokmål", "name": "Bokmål" }, { "iso_639_1": "rn", "english_name": "Rundi", "name": "Kirundi" }, { "iso_639_1": "sn", "english_name": "Shona", "name": "" }, { "iso_639_1": "st", "english_name": "Sotho", "name": "" }, { "iso_639_1": "tr", "english_name": "Turkish", "name": "Türkçe" }, { "iso_639_1": "am", "english_name": "Amharic", "name": "" }, { "iso_639_1": "fa", "english_name": "Persian", "name": "فارسی" }, { "iso_639_1": "hy", "english_name": "Armenian", "name": "" }, { "iso_639_1": "pa", "english_name": "Punjabi", "name": "ਪੰਜਾਬੀ" }, { "iso_639_1": "as", "english_name": "Assamese", "name": "" }, { "iso_639_1": "ia", "english_name": "Interlingua", "name": "" }, { "iso_639_1": "lv", "english_name": "Latvian", "name": "Latviešu" }, { "iso_639_1": "lu", "english_name": "Luba-Katanga", "name": "" }, { "iso_639_1": "mr", "english_name": "Marathi", "name": "" }, { "iso_639_1": "mn", "english_name": "Mongolian", "name": "" }, { "iso_639_1": "pt", "english_name": "Portuguese", "name": "Português" }, { "iso_639_1": "th", "english_name": "Thai", "name": "ภาษาไทย" }, { "iso_639_1": "tk", "english_name": "Turkmen", "name": "" }, { "iso_639_1": "ve", "english_name": "Venda", "name": "" }, { "iso_639_1": "dv", "english_name": "Divehi", "name": "" }, { "iso_639_1": "gv", "english_name": "Manx", "name": "" }, { "iso_639_1": "kl", "english_name": "Kalaallisut", "name": "" }, { "iso_639_1": "kk", "english_name": "Kazakh", "name": "қазақ" }, { "iso_639_1": "lt", "english_name": "Lithuanian", "name": "Lietuvių" }, { "iso_639_1": "my", "english_name": "Burmese", "name": "" }, { "iso_639_1": "sl", "english_name": "Slovenian", "name": "Slovenščina" }, { "iso_639_1": "sd", "english_name": "Sindhi", "name": "" }, { "iso_639_1": "cn", "english_name": "Cantonese", "name": "广州话 / 廣州話" }, { "iso_639_1": "hi", "english_name": "Hindi", "name": "हिन्दी" }, { "iso_639_1": "cy", "english_name": "Welsh", "name": "Cymraeg" }, { "iso_639_1": "ht", "english_name": "Haitian; Haitian Creole", "name": "" }, { "iso_639_1": "iu", "english_name": "Inuktitut", "name": "" }, { "iso_639_1": "jv", "english_name": "Javanese", "name": "" }, { "iso_639_1": "mh", "english_name": "Marshall", "name": "" }, { "iso_639_1": "sa", "english_name": "Sanskrit", "name": "" }, { "iso_639_1": "ss", "english_name": "Swati", "name": "" }, { "iso_639_1": "te", "english_name": "Telugu", "name": "తెలుగు" }, { "iso_639_1": "kg", "english_name": "Kongo", "name": "" }, { "iso_639_1": "ml", "english_name": "Malayalam", "name": "" }, { "iso_639_1": "uz", "english_name": "Uzbek", "name": "ozbek" }, { "iso_639_1": "sg", "english_name": "Sango", "name": "" }, { "iso_639_1": "xh", "english_name": "Xhosa", "name": "" }, { "iso_639_1": "es", "english_name": "Spanish", "name": "Español" }, { "iso_639_1": "su", "english_name": "Sundanese", "name": "" }, { "iso_639_1": "ug", "english_name": "Uighur", "name": "" }, { "iso_639_1": "yi", "english_name": "Yiddish", "name": "" }, { "iso_639_1": "yo", "english_name": "Yoruba", "name": "Èdè Yorùbá" }, { "iso_639_1": "zh", "english_name": "Mandarin", "name": "普通话" }, { "iso_639_1": "he", "english_name": "Hebrew", "name": "עִבְרִית" }, { "iso_639_1": "bo", "english_name": "Tibetan", "name": "" }, { "iso_639_1": "ak", "english_name": "Akan", "name": "" }, { "iso_639_1": "mo", "english_name": "Moldavian", "name": "" }, { "iso_639_1": "ng", "english_name": "Ndonga", "name": "" }, { "iso_639_1": "dz", "english_name": "Dzongkha", "name": "" }, { "iso_639_1": "ff", "english_name": "Fulah", "name": "Fulfulde" }, { "iso_639_1": "gd", "english_name": "Gaelic", "name": "" }, { "iso_639_1": "ga", "english_name": "Irish", "name": "Gaeilge" }, { "iso_639_1": "gl", "english_name": "Galician", "name": "Galego" }, { "iso_639_1": "nv", "english_name": "Navajo", "name": "" }, { "iso_639_1": "oc", "english_name": "Occitan", "name": "" }, { "iso_639_1": "ro", "english_name": "Romanian", "name": "Română" }, { "iso_639_1": "ta", "english_name": "Tamil", "name": "தமிழ்" }, { "iso_639_1": "tn", "english_name": "Tswana", "name": "" }, { "iso_639_1": "bg", "english_name": "Bulgarian", "name": "български език" } ]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699{ "results": [ { "iso_3166_1": "AD", "english_name": "Andorra", "native_name": "Andorra" }, { "iso_3166_1": "AE", "english_name": "United Arab Emirates", "native_name": "United Arab Emirates" }, { "iso_3166_1": "AG", "english_name": "Antigua and Barbuda", "native_name": "Antigua & Barbuda" }, { "iso_3166_1": "AL", "english_name": "Albania", "native_name": "Albania" }, { "iso_3166_1": "AO", "english_name": "Angola", "native_name": "Angola" }, { "iso_3166_1": "AR", "english_name": "Argentina", "native_name": "Argentina" }, { "iso_3166_1": "AT", "english_name": "Austria", "native_name": "Austria" }, { "iso_3166_1": "AU", "english_name": "Australia", "native_name": "Australia" }, { "iso_3166_1": "AZ", "english_name": "Azerbaijan", "native_name": "Azerbaijan" }, { "iso_3166_1": "BA", "english_name": "Bosnia and Herzegovina", "native_name": "Bosnia & Herzegovina" }, { "iso_3166_1": "BB", "english_name": "Barbados", "native_name": "Barbados" }, { "iso_3166_1": "BE", "english_name": "Belgium", "native_name": "Belgium" }, { "iso_3166_1": "BF", "english_name": "Burkina Faso", "native_name": "Burkina Faso" }, { "iso_3166_1": "BG", "english_name": "Bulgaria", "native_name": "Bulgaria" }, { "iso_3166_1": "BH", "english_name": "Bahrain", "native_name": "Bahrain" }, { "iso_3166_1": "BM", "english_name": "Bermuda", "native_name": "Bermuda" }, { "iso_3166_1": "BO", "english_name": "Bolivia", "native_name": "Bolivia" }, { "iso_3166_1": "BR", "english_name": "Brazil", "native_name": "Brazil" }, { "iso_3166_1": "BS", "english_name": "Bahamas", "native_name": "Bahamas" }, { "iso_3166_1": "BY", "english_name": "Belarus", "native_name": "Belarus" }, { "iso_3166_1": "BZ", "english_name": "Belize", "native_name": "Belize" }, { "iso_3166_1": "CA", "english_name": "Canada", "native_name": "Canada" }, { "iso_3166_1": "CD", "english_name": "Congo", "native_name": "Democratic Republic of the Congo (Kinshasa)" }, { "iso_3166_1": "CH", "english_name": "Switzerland", "native_name": "Switzerland" }, { "iso_3166_1": "CI", "english_name": "Cote D'Ivoire", "native_name": "Côte d’Ivoire" }, { "iso_3166_1": "CL", "english_name": "Chile", "native_name": "Chile" }, { "iso_3166_1": "CM", "english_name": "Cameroon", "native_name": "Cameroon" }, { "iso_3166_1": "CO", "english_name": "Colombia", "native_name": "Colombia" }, { "iso_3166_1": "CR", "english_name": "Costa Rica", "native_name": "Costa Rica" }, { "iso_3166_1": "CU", "english_name": "Cuba", "native_name": "Cuba" }, { "iso_3166_1": "CV", "english_name": "Cape Verde", "native_name": "Cape Verde" }, { "iso_3166_1": "CY", "english_name": "Cyprus", "native_name": "Cyprus" }, { "iso_3166_1": "CZ", "english_name": "Czech Republic", "native_name": "Czech Republic" }, { "iso_3166_1": "DE", "english_name": "Germany", "native_name": "Germany" }, { "iso_3166_1": "DK", "english_name": "Denmark", "native_name": "Denmark" }, { "iso_3166_1": "DO", "english_name": "Dominican Republic", "native_name": "Dominican Republic" }, { "iso_3166_1": "DZ", "english_name": "Algeria", "native_name": "Algeria" }, { "iso_3166_1": "EC", "english_name": "Ecuador", "native_name": "Ecuador" }, { "iso_3166_1": "EE", "english_name": "Estonia", "native_name": "Estonia" }, { "iso_3166_1": "EG", "english_name": "Egypt", "native_name": "Egypt" }, { "iso_3166_1": "ES", "english_name": "Spain", "native_name": "Spain" }, { "iso_3166_1": "FI", "english_name": "Finland", "native_name": "Finland" }, { "iso_3166_1": "FJ", "english_name": "Fiji", "native_name": "Fiji" }, { "iso_3166_1": "FR", "english_name": "France", "native_name": "France" }, { "iso_3166_1": "GB", "english_name": "United Kingdom", "native_name": "United Kingdom" }, { "iso_3166_1": "GF", "english_name": "French Guiana", "native_name": "French Guiana" }, { "iso_3166_1": "GH", "english_name": "Ghana", "native_name": "Ghana" }, { "iso_3166_1": "GI", "english_name": "Gibraltar", "native_name": "Gibraltar" }, { "iso_3166_1": "GP", "english_name": "Guadaloupe", "native_name": "Guadeloupe" }, { "iso_3166_1": "GQ", "english_name": "Equatorial Guinea", "native_name": "Equatorial Guinea" }, { "iso_3166_1": "GR", "english_name": "Greece", "native_name": "Greece" }, { "iso_3166_1": "GT", "english_name": "Guatemala", "native_name": "Guatemala" }, { "iso_3166_1": "GY", "english_name": "Guyana", "native_name": "Guyana" }, { "iso_3166_1": "HK", "english_name": "Hong Kong", "native_name": "Hong Kong SAR China" }, { "iso_3166_1": "HN", "english_name": "Honduras", "native_name": "Honduras" }, { "iso_3166_1": "HR", "english_name": "Croatia", "native_name": "Croatia" }, { "iso_3166_1": "HU", "english_name": "Hungary", "native_name": "Hungary" }, { "iso_3166_1": "ID", "english_name": "Indonesia", "native_name": "Indonesia" }, { "iso_3166_1": "IE", "english_name": "Ireland", "native_name": "Ireland" }, { "iso_3166_1": "IL", "english_name": "Israel", "native_name": "Israel" }, { "iso_3166_1": "IN", "english_name": "India", "native_name": "India" }, { "iso_3166_1": "IQ", "english_name": "Iraq", "native_name": "Iraq" }, { "iso_3166_1": "IS", "english_name": "Iceland", "native_name": "Iceland" }, { "iso_3166_1": "IT", "english_name": "Italy", "native_name": "Italy" }, { "iso_3166_1": "JM", "english_name": "Jamaica", "native_name": "Jamaica" }, { "iso_3166_1": "JO", "english_name": "Jordan", "native_name": "Jordan" }, { "iso_3166_1": "JP", "english_name": "Japan", "native_name": "Japan" }, { "iso_3166_1": "KE", "english_name": "Kenya", "native_name": "Kenya" }, { "iso_3166_1": "KR", "english_name": "South Korea", "native_name": "South Korea" }, { "iso_3166_1": "KW", "english_name": "Kuwait", "native_name": "Kuwait" }, { "iso_3166_1": "LB", "english_name": "Lebanon", "native_name": "Lebanon" }, { "iso_3166_1": "LC", "english_name": "St. Lucia", "native_name": "St. Lucia" }, { "iso_3166_1": "LI", "english_name": "Liechtenstein", "native_name": "Liechtenstein" }, { "iso_3166_1": "LT", "english_name": "Lithuania", "native_name": "Lithuania" }, { "iso_3166_1": "LU", "english_name": "Luxembourg", "native_name": "Luxembourg" }, { "iso_3166_1": "LV", "english_name": "Latvia", "native_name": "Latvia" }, { "iso_3166_1": "LY", "english_name": "Libyan Arab Jamahiriya", "native_name": "Libya" }, { "iso_3166_1": "MA", "english_name": "Morocco", "native_name": "Morocco" }, { "iso_3166_1": "MC", "english_name": "Monaco", "native_name": "Monaco" }, { "iso_3166_1": "MD", "english_name": "Moldova", "native_name": "Moldova" }, { "iso_3166_1": "ME", "english_name": "Montenegro", "native_name": "Montenegro" }, { "iso_3166_1": "MG", "english_name": "Madagascar", "native_name": "Madagascar" }, { "iso_3166_1": "MK", "english_name": "Macedonia", "native_name": "Macedonia" }, { "iso_3166_1": "ML", "english_name": "Mali", "native_name": "Mali" }, { "iso_3166_1": "MT", "english_name": "Malta", "native_name": "Malta" }, { "iso_3166_1": "MU", "english_name": "Mauritius", "native_name": "Mauritius" }, { "iso_3166_1": "MW", "english_name": "Malawi", "native_name": "Malawi" }, { "iso_3166_1": "MX", "english_name": "Mexico", "native_name": "Mexico" }, { "iso_3166_1": "MY", "english_name": "Malaysia", "native_name": "Malaysia" }, { "iso_3166_1": "MZ", "english_name": "Mozambique", "native_name": "Mozambique" }, { "iso_3166_1": "NE", "english_name": "Niger", "native_name": "Niger" }, { "iso_3166_1": "NG", "english_name": "Nigeria", "native_name": "Nigeria" }, { "iso_3166_1": "NI", "english_name": "Nicaragua", "native_name": "Nicaragua" }, { "iso_3166_1": "NL", "english_name": "Netherlands", "native_name": "Netherlands" }, { "iso_3166_1": "NO", "english_name": "Norway", "native_name": "Norway" }, { "iso_3166_1": "NZ", "english_name": "New Zealand", "native_name": "New Zealand" }, { "iso_3166_1": "OM", "english_name": "Oman", "native_name": "Oman" }, { "iso_3166_1": "PA", "english_name": "Panama", "native_name": "Panama" }, { "iso_3166_1": "PE", "english_name": "Peru", "native_name": "Peru" }, { "iso_3166_1": "PF", "english_name": "French Polynesia", "native_name": "French Polynesia" }, { "iso_3166_1": "PG", "english_name": "Papua New Guinea", "native_name": "Papua New Guinea" }, { "iso_3166_1": "PH", "english_name": "Philippines", "native_name": "Philippines" }, { "iso_3166_1": "PK", "english_name": "Pakistan", "native_name": "Pakistan" }, { "iso_3166_1": "PL", "english_name": "Poland", "native_name": "Poland" }, { "iso_3166_1": "PS", "english_name": "Palestinian Territory", "native_name": "Palestinian Territories" }, { "iso_3166_1": "PT", "english_name": "Portugal", "native_name": "Portugal" }, { "iso_3166_1": "PY", "english_name": "Paraguay", "native_name": "Paraguay" }, { "iso_3166_1": "QA", "english_name": "Qatar", "native_name": "Qatar" }, { "iso_3166_1": "RO", "english_name": "Romania", "native_name": "Romania" }, { "iso_3166_1": "RS", "english_name": "Serbia", "native_name": "Serbia" }, { "iso_3166_1": "RU", "english_name": "Russia", "native_name": "Russia" }, { "iso_3166_1": "SA", "english_name": "Saudi Arabia", "native_name": "Saudi Arabia" }, { "iso_3166_1": "SC", "english_name": "Seychelles", "native_name": "Seychelles" }, { "iso_3166_1": "SE", "english_name": "Sweden", "native_name": "Sweden" }, { "iso_3166_1": "SG", "english_name": "Singapore", "native_name": "Singapore" }, { "iso_3166_1": "SI", "english_name": "Slovenia", "native_name": "Slovenia" }, { "iso_3166_1": "SK", "english_name": "Slovakia", "native_name": "Slovakia" }, { "iso_3166_1": "SM", "english_name": "San Marino", "native_name": "San Marino" }, { "iso_3166_1": "SN", "english_name": "Senegal", "native_name": "Senegal" }, { "iso_3166_1": "SV", "english_name": "El Salvador", "native_name": "El Salvador" }, { "iso_3166_1": "TC", "english_name": "Turks and Caicos Islands", "native_name": "Turks & Caicos Islands" }, { "iso_3166_1": "TD", "english_name": "Chad", "native_name": "Chad" }, { "iso_3166_1": "TH", "english_name": "Thailand", "native_name": "Thailand" }, { "iso_3166_1": "TN", "english_name": "Tunisia", "native_name": "Tunisia" }, { "iso_3166_1": "TR", "english_name": "Turkey", "native_name": "Turkey" }, { "iso_3166_1": "TT", "english_name": "Trinidad and Tobago", "native_name": "Trinidad & Tobago" }, { "iso_3166_1": "TW", "english_name": "Taiwan", "native_name": "Taiwan" }, { "iso_3166_1": "TZ", "english_name": "Tanzania", "native_name": "Tanzania" }, { "iso_3166_1": "UA", "english_name": "Ukraine", "native_name": "Ukraine" }, { "iso_3166_1": "UG", "english_name": "Uganda", "native_name": "Uganda" }, { "iso_3166_1": "US", "english_name": "United States of America", "native_name": "United States" }, { "iso_3166_1": "UY", "english_name": "Uruguay", "native_name": "Uruguay" }, { "iso_3166_1": "VA", "english_name": "Holy See", "native_name": "Vatican City" }, { "iso_3166_1": "VE", "english_name": "Venezuela", "native_name": "Venezuela" }, { "iso_3166_1": "XK", "english_name": "Kosovo", "native_name": "Kosovo" }, { "iso_3166_1": "YE", "english_name": "Yemen", "native_name": "Yemen" }, { "iso_3166_1": "ZA", "english_name": "South Africa", "native_name": "South Africa" }, { "iso_3166_1": "ZM", "english_name": "Zambia", "native_name": "Zambia" }, { "iso_3166_1": "ZW", "english_name": "Zimbabwe", "native_name": "Zimbabwe" } ] }12345678910111213141516171819require('dotenv').config();const express = require('express');const cors = require('cors');const path = require('path');const log = require('./src/utils/logger');const routes = require('./src/routes');
const PORT = process.env.PORT || 7000;const app = express();
app.use(cors());
app.use(express.static(path.join(__dirname, 'public')));
app.use('/', routes);
app.listen(PORT, () => { log.info(`Express server running on port ${PORT} in ${process.env.NODE_ENV || 'development'} mode.`);});12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642{ "name": "stremio-catalogs-providers", "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "stremio-catalogs-providers", "version": "1.0.0", "license": "ISC", "dependencies": { "async": "^3.2.6", "axios": "^1.7.5", "cors": "^2.8.5", "dotenv": "^16.4.5", "express": "^4.19.2", "sqlite3": "^5.1.7", "winston": "^3.14.2", "winston-daily-rotate-file": "^5.0.0" } }, "node_modules/@colors/colors": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==", "license": "MIT", "engines": { "node": ">=0.1.90" } }, "node_modules/@dabh/diagnostics": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", "license": "MIT", "dependencies": { "colorspace": "1.1.x", "enabled": "2.0.x", "kuler": "^2.0.0" } }, "node_modules/@gar/promisify": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", "license": "MIT", "optional": true }, "node_modules/@npmcli/fs": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz", "integrity": "sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==", "license": "ISC", "optional": true, "dependencies": { "@gar/promisify": "^1.0.1", "semver": "^7.3.5" } }, "node_modules/@npmcli/move-file": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz", "integrity": "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==", "deprecated": "This functionality has been moved to @npmcli/fs", "license": "MIT", "optional": true, "dependencies": { "mkdirp": "^1.0.4", "rimraf": "^3.0.2" }, "engines": { "node": ">=10" } }, "node_modules/@tootallnate/once": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", "license": "MIT", "optional": true, "engines": { "node": ">= 6" } }, "node_modules/@types/triple-beam": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz", "integrity": "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==", "license": "MIT" }, "node_modules/abbrev": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "license": "ISC", "optional": true }, "node_modules/accepts": { "version": "1.3.8", "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", "license": "MIT", "dependencies": { "mime-types": "~2.1.34", "negotiator": "0.6.3" }, "engines": { "node": ">= 0.6" } }, "node_modules/agent-base": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "license": "MIT", "optional": true, "dependencies": { "debug": "4" }, "engines": { "node": ">= 6.0.0" } }, "node_modules/agent-base/node_modules/debug": { "version": "4.3.6", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", "license": "MIT", "optional": true, "dependencies": { "ms": "2.1.2" }, "engines": { "node": ">=6.0" }, "peerDependenciesMeta": { "supports-color": { "optional": true } } }, "node_modules/agent-base/node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "license": "MIT", "optional": true }, "node_modules/agentkeepalive": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.5.0.tgz", "integrity": "sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==", "license": "MIT", "optional": true, "dependencies": { "humanize-ms": "^1.2.1" }, "engines": { "node": ">= 8.0.0" } }, "node_modules/aggregate-error": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", "license": "MIT", "optional": true, "dependencies": { "clean-stack": "^2.0.0", "indent-string": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "license": "MIT", "optional": true, "engines": { "node": ">=8" } }, "node_modules/aproba": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==", "license": "ISC", "optional": true }, "node_modules/are-we-there-yet": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "deprecated": "This package is no longer supported.", "license": "ISC", "optional": true, "dependencies": { "delegates": "^1.0.0", "readable-stream": "^3.6.0" }, "engines": { "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/array-flatten": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", "license": "MIT" }, "node_modules/async": { "version": "3.2.6", "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", "license": "MIT" }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", "license": "MIT" }, "node_modules/axios": { "version": "1.7.5", "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.5.tgz", "integrity": "sha512-fZu86yCo+svH3uqJ/yTdQ0QHpQu5oL+/QE+QPSv6BZSkDAoky9vytxp7u5qk83OJFS3kEBcesWni9WTZAv3tSw==", "license": "MIT", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "license": "MIT", "optional": true }, "node_modules/base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/feross" }, { "type": "patreon", "url": "https://www.patreon.com/feross" }, { "type": "consulting", "url": "https://feross.org/support" } ], "license": "MIT" }, "node_modules/bindings": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", "license": "MIT", "dependencies": { "file-uri-to-path": "1.0.0" } }, "node_modules/bl": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", "license": "MIT", "dependencies": { "buffer": "^5.5.0", "inherits": "^2.0.4", "readable-stream": "^3.4.0" } }, "node_modules/body-parser": { "version": "1.20.2", "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", "license": "MIT", "dependencies": { "bytes": "3.1.2", "content-type": "~1.0.5", "debug": "2.6.9", "depd": "2.0.0", "destroy": "1.2.0", "http-errors": "2.0.0", "iconv-lite": "0.4.24", "on-finished": "2.4.1", "qs": "6.11.0", "raw-body": "2.5.2", "type-is": "~1.6.18", "unpipe": "1.0.0" }, "engines": { "node": ">= 0.8", "npm": "1.2.8000 || >= 1.4.16" } }, "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "license": "MIT", "optional": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "node_modules/buffer": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/feross" }, { "type": "patreon", "url": "https://www.patreon.com/feross" }, { "type": "consulting", "url": "https://feross.org/support" } ], "license": "MIT", "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.1.13" } }, "node_modules/bytes": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/cacache": { "version": "15.3.0", "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz", "integrity": "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==", "license": "ISC", "optional": true, "dependencies": { "@npmcli/fs": "^1.0.0", "@npmcli/move-file": "^1.0.1", "chownr": "^2.0.0", "fs-minipass": "^2.0.0", "glob": "^7.1.4", "infer-owner": "^1.0.4", "lru-cache": "^6.0.0", "minipass": "^3.1.1", "minipass-collect": "^1.0.2", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.2", "mkdirp": "^1.0.3", "p-map": "^4.0.0", "promise-inflight": "^1.0.1", "rimraf": "^3.0.2", "ssri": "^8.0.1", "tar": "^6.0.2", "unique-filename": "^1.1.1" }, "engines": { "node": ">= 10" } }, "node_modules/call-bind": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", "function-bind": "^1.1.2", "get-intrinsic": "^1.2.4", "set-function-length": "^1.2.1" }, "engines": { "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/chownr": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", "license": "ISC", "engines": { "node": ">=10" } }, "node_modules/clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", "license": "MIT", "optional": true, "engines": { "node": ">=6" } }, "node_modules/color": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", "license": "MIT", "dependencies": { "color-convert": "^1.9.3", "color-string": "^1.6.0" } }, "node_modules/color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "license": "MIT", "dependencies": { "color-name": "1.1.3" } }, "node_modules/color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", "license": "MIT" }, "node_modules/color-string": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", "license": "MIT", "dependencies": { "color-name": "^1.0.0", "simple-swizzle": "^0.2.2" } }, "node_modules/color-support": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", "license": "ISC", "optional": true, "bin": { "color-support": "bin.js" } }, "node_modules/colorspace": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", "license": "MIT", "dependencies": { "color": "^3.1.3", "text-hex": "1.0.x" } }, "node_modules/combined-stream": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" }, "engines": { "node": ">= 0.8" } }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", "license": "MIT", "optional": true }, "node_modules/console-control-strings": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==", "license": "ISC", "optional": true }, "node_modules/content-disposition": { "version": "0.5.4", "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", "license": "MIT", "dependencies": { "safe-buffer": "5.2.1" }, "engines": { "node": ">= 0.6" } }, "node_modules/content-type": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/cookie": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/cookie-signature": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", "license": "MIT" }, "node_modules/cors": { "version": "2.8.5", "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", "license": "MIT", "dependencies": { "object-assign": "^4", "vary": "^1" }, "engines": { "node": ">= 0.10" } }, "node_modules/debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "license": "MIT", "dependencies": { "ms": "2.0.0" } }, "node_modules/decompress-response": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", "license": "MIT", "dependencies": { "mimic-response": "^3.1.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/deep-extend": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", "license": "MIT", "engines": { "node": ">=4.0.0" } }, "node_modules/define-data-property": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", "gopd": "^1.0.1" }, "engines": { "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", "license": "MIT", "engines": { "node": ">=0.4.0" } }, "node_modules/delegates": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==", "license": "MIT", "optional": true }, "node_modules/depd": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/destroy": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", "license": "MIT", "engines": { "node": ">= 0.8", "npm": "1.2.8000 || >= 1.4.16" } }, "node_modules/detect-libc": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz", "integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==", "license": "Apache-2.0", "engines": { "node": ">=8" } }, "node_modules/dotenv": { "version": "16.4.5", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", "license": "BSD-2-Clause", "engines": { "node": ">=12" }, "funding": { "url": "https://dotenvx.com" } }, "node_modules/ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", "license": "MIT" }, "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "license": "MIT", "optional": true }, "node_modules/enabled": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==", "license": "MIT" }, "node_modules/encodeurl": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/encoding": { "version": "0.1.13", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", "license": "MIT", "optional": true, "dependencies": { "iconv-lite": "^0.6.2" } }, "node_modules/encoding/node_modules/iconv-lite": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", "license": "MIT", "optional": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" }, "engines": { "node": ">=0.10.0" } }, "node_modules/end-of-stream": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", "license": "MIT", "dependencies": { "once": "^1.4.0" } }, "node_modules/env-paths": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", "license": "MIT", "optional": true, "engines": { "node": ">=6" } }, "node_modules/err-code": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", "license": "MIT", "optional": true }, "node_modules/es-define-property": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", "license": "MIT", "dependencies": { "get-intrinsic": "^1.2.4" }, "engines": { "node": ">= 0.4" } }, "node_modules/es-errors": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", "license": "MIT", "engines": { "node": ">= 0.4" } }, "node_modules/escape-html": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", "license": "MIT" }, "node_modules/etag": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/expand-template": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==", "license": "(MIT OR WTFPL)", "engines": { "node": ">=6" } }, "node_modules/express": { "version": "4.19.2", "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", "license": "MIT", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", "body-parser": "1.20.2", "content-disposition": "0.5.4", "content-type": "~1.0.4", "cookie": "0.6.0", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "etag": "~1.8.1", "finalhandler": "1.2.0", "fresh": "0.5.2", "http-errors": "2.0.0", "merge-descriptors": "1.0.1", "methods": "~1.1.2", "on-finished": "2.4.1", "parseurl": "~1.3.3", "path-to-regexp": "0.1.7", "proxy-addr": "~2.0.7", "qs": "6.11.0", "range-parser": "~1.2.1", "safe-buffer": "5.2.1", "send": "0.18.0", "serve-static": "1.15.0", "setprototypeof": "1.2.0", "statuses": "2.0.1", "type-is": "~1.6.18", "utils-merge": "1.0.1", "vary": "~1.1.2" }, "engines": { "node": ">= 0.10.0" } }, "node_modules/fecha": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz", "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==", "license": "MIT" }, "node_modules/file-stream-rotator": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/file-stream-rotator/-/file-stream-rotator-0.6.1.tgz", "integrity": "sha512-u+dBid4PvZw17PmDeRcNOtCP9CCK/9lRN2w+r1xIS7yOL9JFrIBKTvrYsxT4P0pGtThYTn++QS5ChHaUov3+zQ==", "license": "MIT", "dependencies": { "moment": "^2.29.1" } }, "node_modules/file-uri-to-path": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", "license": "MIT" }, "node_modules/finalhandler": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", "license": "MIT", "dependencies": { "debug": "2.6.9", "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "on-finished": "2.4.1", "parseurl": "~1.3.3", "statuses": "2.0.1", "unpipe": "~1.0.0" }, "engines": { "node": ">= 0.8" } }, "node_modules/fn.name": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==", "license": "MIT" }, "node_modules/follow-redirects": { "version": "1.15.6", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "funding": [ { "type": "individual", "url": "https://github.com/sponsors/RubenVerborgh" } ], "license": "MIT", "engines": { "node": ">=4.0" }, "peerDependenciesMeta": { "debug": { "optional": true } } }, "node_modules/form-data": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "mime-types": "^2.1.12" }, "engines": { "node": ">= 6" } }, "node_modules/forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/fresh": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/fs-constants": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", "license": "MIT" }, "node_modules/fs-minipass": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", "license": "ISC", "dependencies": { "minipass": "^3.0.0" }, "engines": { "node": ">= 8" } }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", "license": "ISC", "optional": true }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/gauge": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "deprecated": "This package is no longer supported.", "license": "ISC", "optional": true, "dependencies": { "aproba": "^1.0.3 || ^2.0.0", "color-support": "^1.1.3", "console-control-strings": "^1.1.0", "has-unicode": "^2.0.1", "signal-exit": "^3.0.7", "string-width": "^4.2.3", "strip-ansi": "^6.0.1", "wide-align": "^1.1.5" }, "engines": { "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/get-intrinsic": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", "license": "MIT", "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2", "has-proto": "^1.0.1", "has-symbols": "^1.0.3", "hasown": "^2.0.0" }, "engines": { "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/github-from-package": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==", "license": "MIT" }, "node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "deprecated": "Glob versions prior to v9 are no longer supported", "license": "ISC", "optional": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", "minimatch": "^3.1.1", "once": "^1.3.0", "path-is-absolute": "^1.0.0" }, "engines": { "node": "*" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/gopd": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/graceful-fs": { "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "license": "ISC", "optional": true }, "node_modules/has-property-descriptors": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", "license": "MIT", "dependencies": { "es-define-property": "^1.0.0" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/has-proto": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", "license": "MIT", "engines": { "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/has-symbols": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", "license": "MIT", "engines": { "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/has-unicode": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==", "license": "ISC", "optional": true }, "node_modules/hasown": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", "license": "MIT", "dependencies": { "function-bind": "^1.1.2" }, "engines": { "node": ">= 0.4" } }, "node_modules/http-cache-semantics": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", "license": "BSD-2-Clause", "optional": true }, "node_modules/http-errors": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", "license": "MIT", "dependencies": { "depd": "2.0.0", "inherits": "2.0.4", "setprototypeof": "1.2.0", "statuses": "2.0.1", "toidentifier": "1.0.1" }, "engines": { "node": ">= 0.8" } }, "node_modules/http-proxy-agent": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", "license": "MIT", "optional": true, "dependencies": { "@tootallnate/once": "1", "agent-base": "6", "debug": "4" }, "engines": { "node": ">= 6" } }, "node_modules/http-proxy-agent/node_modules/debug": { "version": "4.3.6", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", "license": "MIT", "optional": true, "dependencies": { "ms": "2.1.2" }, "engines": { "node": ">=6.0" }, "peerDependenciesMeta": { "supports-color": { "optional": true } } }, "node_modules/http-proxy-agent/node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "license": "MIT", "optional": true }, "node_modules/https-proxy-agent": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", "license": "MIT", "optional": true, "dependencies": { "agent-base": "6", "debug": "4" }, "engines": { "node": ">= 6" } }, "node_modules/https-proxy-agent/node_modules/debug": { "version": "4.3.6", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", "license": "MIT", "optional": true, "dependencies": { "ms": "2.1.2" }, "engines": { "node": ">=6.0" }, "peerDependenciesMeta": { "supports-color": { "optional": true } } }, "node_modules/https-proxy-agent/node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "license": "MIT", "optional": true }, "node_modules/humanize-ms": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", "license": "MIT", "optional": true, "dependencies": { "ms": "^2.0.0" } }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "license": "MIT", "dependencies": { "safer-buffer": ">= 2.1.2 < 3" }, "engines": { "node": ">=0.10.0" } }, "node_modules/ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/feross" }, { "type": "patreon", "url": "https://www.patreon.com/feross" }, { "type": "consulting", "url": "https://feross.org/support" } ], "license": "BSD-3-Clause" }, "node_modules/imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "license": "MIT", "optional": true, "engines": { "node": ">=0.8.19" } }, "node_modules/indent-string": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", "license": "MIT", "optional": true, "engines": { "node": ">=8" } }, "node_modules/infer-owner": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", "license": "ISC", "optional": true }, "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", "license": "ISC", "optional": true, "dependencies": { "once": "^1.3.0", "wrappy": "1" } }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "license": "ISC" }, "node_modules/ini": { "version": "1.3.8", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "license": "ISC" }, "node_modules/ip-address": { "version": "9.0.5", "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", "license": "MIT", "optional": true, "dependencies": { "jsbn": "1.1.0", "sprintf-js": "^1.1.3" }, "engines": { "node": ">= 12" } }, "node_modules/ipaddr.js": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", "license": "MIT", "engines": { "node": ">= 0.10" } }, "node_modules/is-arrayish": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==", "license": "MIT" }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "license": "MIT", "optional": true, "engines": { "node": ">=8" } }, "node_modules/is-lambda": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==", "license": "MIT", "optional": true }, "node_modules/is-stream": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", "license": "MIT", "engines": { "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", "license": "ISC", "optional": true }, "node_modules/jsbn": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==", "license": "MIT", "optional": true }, "node_modules/kuler": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==", "license": "MIT" }, "node_modules/logform": { "version": "2.6.1", "resolved": "https://registry.npmjs.org/logform/-/logform-2.6.1.tgz", "integrity": "sha512-CdaO738xRapbKIMVn2m4F6KTj4j7ooJ8POVnebSgKo3KBz5axNXRAL7ZdRjIV6NOr2Uf4vjtRkxrFETOioCqSA==", "license": "MIT", "dependencies": { "@colors/colors": "1.6.0", "@types/triple-beam": "^1.3.2", "fecha": "^4.2.0", "ms": "^2.1.1", "safe-stable-stringify": "^2.3.1", "triple-beam": "^1.3.0" }, "engines": { "node": ">= 12.0.0" } }, "node_modules/logform/node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "license": "MIT" }, "node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "license": "ISC", "optional": true, "dependencies": { "yallist": "^4.0.0" }, "engines": { "node": ">=10" } }, "node_modules/make-fetch-happen": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz", "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==", "license": "ISC", "optional": true, "dependencies": { "agentkeepalive": "^4.1.3", "cacache": "^15.2.0", "http-cache-semantics": "^4.1.0", "http-proxy-agent": "^4.0.1", "https-proxy-agent": "^5.0.0", "is-lambda": "^1.0.1", "lru-cache": "^6.0.0", "minipass": "^3.1.3", "minipass-collect": "^1.0.2", "minipass-fetch": "^1.3.2", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", "negotiator": "^0.6.2", "promise-retry": "^2.0.1", "socks-proxy-agent": "^6.0.0", "ssri": "^8.0.0" }, "engines": { "node": ">= 10" } }, "node_modules/media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/merge-descriptors": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", "license": "MIT" }, "node_modules/methods": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/mime": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", "license": "MIT", "bin": { "mime": "cli.js" }, "engines": { "node": ">=4" } }, "node_modules/mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/mime-types": { "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", "license": "MIT", "dependencies": { "mime-db": "1.52.0" }, "engines": { "node": ">= 0.6" } }, "node_modules/mimic-response": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", "license": "MIT", "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "license": "ISC", "optional": true, "dependencies": { "brace-expansion": "^1.1.7" }, "engines": { "node": "*" } }, "node_modules/minimist": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/minipass": { "version": "3.3.6", "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, "engines": { "node": ">=8" } }, "node_modules/minipass-collect": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", "license": "ISC", "optional": true, "dependencies": { "minipass": "^3.0.0" }, "engines": { "node": ">= 8" } }, "node_modules/minipass-fetch": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz", "integrity": "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==", "license": "MIT", "optional": true, "dependencies": { "minipass": "^3.1.0", "minipass-sized": "^1.0.3", "minizlib": "^2.0.0" }, "engines": { "node": ">=8" }, "optionalDependencies": { "encoding": "^0.1.12" } }, "node_modules/minipass-flush": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", "license": "ISC", "optional": true, "dependencies": { "minipass": "^3.0.0" }, "engines": { "node": ">= 8" } }, "node_modules/minipass-pipeline": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", "license": "ISC", "optional": true, "dependencies": { "minipass": "^3.0.0" }, "engines": { "node": ">=8" } }, "node_modules/minipass-sized": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", "license": "ISC", "optional": true, "dependencies": { "minipass": "^3.0.0" }, "engines": { "node": ">=8" } }, "node_modules/minizlib": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", "license": "MIT", "dependencies": { "minipass": "^3.0.0", "yallist": "^4.0.0" }, "engines": { "node": ">= 8" } }, "node_modules/mkdirp": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", "license": "MIT", "bin": { "mkdirp": "bin/cmd.js" }, "engines": { "node": ">=10" } }, "node_modules/mkdirp-classic": { "version": "0.5.3", "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==", "license": "MIT" }, "node_modules/moment": { "version": "2.30.1", "resolved": "https://registry.npmjs.org/moment/-/moment-2.30.1.tgz", "integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==", "license": "MIT", "engines": { "node": "*" } }, "node_modules/ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "license": "MIT" }, "node_modules/napi-build-utils": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz", "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==", "license": "MIT" }, "node_modules/negotiator": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/node-abi": { "version": "3.67.0", "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.67.0.tgz", "integrity": "sha512-bLn/fU/ALVBE9wj+p4Y21ZJWYFjUXLXPi/IewyLZkx3ApxKDNBWCKdReeKOtD8dWpOdDCeMyLh6ZewzcLsG2Nw==", "license": "MIT", "dependencies": { "semver": "^7.3.5" }, "engines": { "node": ">=10" } }, "node_modules/node-addon-api": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", "license": "MIT" }, "node_modules/node-gyp": { "version": "8.4.1", "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-8.4.1.tgz", "integrity": "sha512-olTJRgUtAb/hOXG0E93wZDs5YiJlgbXxTwQAFHyNlRsXQnYzUaF2aGgujZbw+hR8aF4ZG/rST57bWMWD16jr9w==", "license": "MIT", "optional": true, "dependencies": { "env-paths": "^2.2.0", "glob": "^7.1.4", "graceful-fs": "^4.2.6", "make-fetch-happen": "^9.1.0", "nopt": "^5.0.0", "npmlog": "^6.0.0", "rimraf": "^3.0.2", "semver": "^7.3.5", "tar": "^6.1.2", "which": "^2.0.2" }, "bin": { "node-gyp": "bin/node-gyp.js" }, "engines": { "node": ">= 10.12.0" } }, "node_modules/nopt": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", "license": "ISC", "optional": true, "dependencies": { "abbrev": "1" }, "bin": { "nopt": "bin/nopt.js" }, "engines": { "node": ">=6" } }, "node_modules/npmlog": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "deprecated": "This package is no longer supported.", "license": "ISC", "optional": true, "dependencies": { "are-we-there-yet": "^3.0.0", "console-control-strings": "^1.1.0", "gauge": "^4.0.3", "set-blocking": "^2.0.0" }, "engines": { "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/object-hash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", "license": "MIT", "engines": { "node": ">= 6" } }, "node_modules/object-inspect": { "version": "1.13.2", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", "license": "MIT", "engines": { "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/on-finished": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", "license": "MIT", "dependencies": { "ee-first": "1.1.1" }, "engines": { "node": ">= 0.8" } }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", "license": "ISC", "dependencies": { "wrappy": "1" } }, "node_modules/one-time": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", "license": "MIT", "dependencies": { "fn.name": "1.x.x" } }, "node_modules/p-map": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", "license": "MIT", "optional": true, "dependencies": { "aggregate-error": "^3.0.0" }, "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/parseurl": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", "license": "MIT", "optional": true, "engines": { "node": ">=0.10.0" } }, "node_modules/path-to-regexp": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==", "license": "MIT" }, "node_modules/prebuild-install": { "version": "7.1.2", "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.2.tgz", "integrity": "sha512-UnNke3IQb6sgarcZIDU3gbMeTp/9SSU1DAIkil7PrqG1vZlBtY5msYccSKSHDqa3hNg436IXK+SNImReuA1wEQ==", "license": "MIT", "dependencies": { "detect-libc": "^2.0.0", "expand-template": "^2.0.3", "github-from-package": "0.0.0", "minimist": "^1.2.3", "mkdirp-classic": "^0.5.3", "napi-build-utils": "^1.0.1", "node-abi": "^3.3.0", "pump": "^3.0.0", "rc": "^1.2.7", "simple-get": "^4.0.0", "tar-fs": "^2.0.0", "tunnel-agent": "^0.6.0" }, "bin": { "prebuild-install": "bin.js" }, "engines": { "node": ">=10" } }, "node_modules/promise-inflight": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==", "license": "ISC", "optional": true }, "node_modules/promise-retry": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", "license": "MIT", "optional": true, "dependencies": { "err-code": "^2.0.2", "retry": "^0.12.0" }, "engines": { "node": ">=10" } }, "node_modules/proxy-addr": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", "license": "MIT", "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" }, "engines": { "node": ">= 0.10" } }, "node_modules/proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", "license": "MIT" }, "node_modules/pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", "license": "MIT", "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" } }, "node_modules/qs": { "version": "6.11.0", "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", "license": "BSD-3-Clause", "dependencies": { "side-channel": "^1.0.4" }, "engines": { "node": ">=0.6" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/range-parser": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/raw-body": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", "license": "MIT", "dependencies": { "bytes": "3.1.2", "http-errors": "2.0.0", "iconv-lite": "0.4.24", "unpipe": "1.0.0" }, "engines": { "node": ">= 0.8" } }, "node_modules/rc": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", "dependencies": { "deep-extend": "^0.6.0", "ini": "~1.3.0", "minimist": "^1.2.0", "strip-json-comments": "~2.0.1" }, "bin": { "rc": "cli.js" } }, "node_modules/readable-stream": { "version": "3.6.2", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "license": "MIT", "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", "util-deprecate": "^1.0.1" }, "engines": { "node": ">= 6" } }, "node_modules/retry": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", "license": "MIT", "optional": true, "engines": { "node": ">= 4" } }, "node_modules/rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "deprecated": "Rimraf versions prior to v4 are no longer supported", "license": "ISC", "optional": true, "dependencies": { "glob": "^7.1.3" }, "bin": { "rimraf": "bin.js" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/feross" }, { "type": "patreon", "url": "https://www.patreon.com/feross" }, { "type": "consulting", "url": "https://feross.org/support" } ], "license": "MIT" }, "node_modules/safe-stable-stringify": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.5.0.tgz", "integrity": "sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA==", "license": "MIT", "engines": { "node": ">=10" } }, "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "license": "MIT" }, "node_modules/semver": { "version": "7.6.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "license": "ISC", "bin": { "semver": "bin/semver.js" }, "engines": { "node": ">=10" } }, "node_modules/send": { "version": "0.18.0", "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", "license": "MIT", "dependencies": { "debug": "2.6.9", "depd": "2.0.0", "destroy": "1.2.0", "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "etag": "~1.8.1", "fresh": "0.5.2", "http-errors": "2.0.0", "mime": "1.6.0", "ms": "2.1.3", "on-finished": "2.4.1", "range-parser": "~1.2.1", "statuses": "2.0.1" }, "engines": { "node": ">= 0.8.0" } }, "node_modules/send/node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "license": "MIT" }, "node_modules/serve-static": { "version": "1.15.0", "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", "license": "MIT", "dependencies": { "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "parseurl": "~1.3.3", "send": "0.18.0" }, "engines": { "node": ">= 0.8.0" } }, "node_modules/set-blocking": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", "license": "ISC", "optional": true }, "node_modules/set-function-length": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", "license": "MIT", "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", "function-bind": "^1.1.2", "get-intrinsic": "^1.2.4", "gopd": "^1.0.1", "has-property-descriptors": "^1.0.2" }, "engines": { "node": ">= 0.4" } }, "node_modules/setprototypeof": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", "license": "ISC" }, "node_modules/side-channel": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.4", "object-inspect": "^1.13.1" }, "engines": { "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/signal-exit": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", "license": "ISC", "optional": true }, "node_modules/simple-concat": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/feross" }, { "type": "patreon", "url": "https://www.patreon.com/feross" }, { "type": "consulting", "url": "https://feross.org/support" } ], "license": "MIT" }, "node_modules/simple-get": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz", "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/feross" }, { "type": "patreon", "url": "https://www.patreon.com/feross" }, { "type": "consulting", "url": "https://feross.org/support" } ], "license": "MIT", "dependencies": { "decompress-response": "^6.0.0", "once": "^1.3.1", "simple-concat": "^1.0.0" } }, "node_modules/simple-swizzle": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==", "license": "MIT", "dependencies": { "is-arrayish": "^0.3.1" } }, "node_modules/smart-buffer": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", "license": "MIT", "optional": true, "engines": { "node": ">= 6.0.0", "npm": ">= 3.0.0" } }, "node_modules/socks": { "version": "2.8.3", "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.3.tgz", "integrity": "sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw==", "license": "MIT", "optional": true, "dependencies": { "ip-address": "^9.0.5", "smart-buffer": "^4.2.0" }, "engines": { "node": ">= 10.0.0", "npm": ">= 3.0.0" } }, "node_modules/socks-proxy-agent": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz", "integrity": "sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ==", "license": "MIT", "optional": true, "dependencies": { "agent-base": "^6.0.2", "debug": "^4.3.3", "socks": "^2.6.2" }, "engines": { "node": ">= 10" } }, "node_modules/socks-proxy-agent/node_modules/debug": { "version": "4.3.6", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", "license": "MIT", "optional": true, "dependencies": { "ms": "2.1.2" }, "engines": { "node": ">=6.0" }, "peerDependenciesMeta": { "supports-color": { "optional": true } } }, "node_modules/socks-proxy-agent/node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "license": "MIT", "optional": true }, "node_modules/sprintf-js": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==", "license": "BSD-3-Clause", "optional": true }, "node_modules/sqlite3": { "version": "5.1.7", "resolved": "https://registry.npmjs.org/sqlite3/-/sqlite3-5.1.7.tgz", "integrity": "sha512-GGIyOiFaG+TUra3JIfkI/zGP8yZYLPQ0pl1bH+ODjiX57sPhrLU5sQJn1y9bDKZUFYkX1crlrPfSYt0BKKdkog==", "hasInstallScript": true, "license": "BSD-3-Clause", "dependencies": { "bindings": "^1.5.0", "node-addon-api": "^7.0.0", "prebuild-install": "^7.1.1", "tar": "^6.1.11" }, "optionalDependencies": { "node-gyp": "8.x" }, "peerDependencies": { "node-gyp": "8.x" }, "peerDependenciesMeta": { "node-gyp": { "optional": true } } }, "node_modules/ssri": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", "license": "ISC", "optional": true, "dependencies": { "minipass": "^3.1.1" }, "engines": { "node": ">= 8" } }, "node_modules/stack-trace": { "version": "0.0.10", "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==", "license": "MIT", "engines": { "node": "*" } }, "node_modules/statuses": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", "license": "MIT", "dependencies": { "safe-buffer": "~5.2.0" } }, "node_modules/string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "license": "MIT", "optional": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" }, "engines": { "node": ">=8" } }, "node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "license": "MIT", "optional": true, "dependencies": { "ansi-regex": "^5.0.1" }, "engines": { "node": ">=8" } }, "node_modules/strip-json-comments": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/tar": { "version": "6.2.1", "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz", "integrity": "sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==", "license": "ISC", "dependencies": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", "minipass": "^5.0.0", "minizlib": "^2.1.1", "mkdirp": "^1.0.3", "yallist": "^4.0.0" }, "engines": { "node": ">=10" } }, "node_modules/tar-fs": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==", "license": "MIT", "dependencies": { "chownr": "^1.1.1", "mkdirp-classic": "^0.5.2", "pump": "^3.0.0", "tar-stream": "^2.1.4" } }, "node_modules/tar-fs/node_modules/chownr": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", "license": "ISC" }, "node_modules/tar-stream": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", "license": "MIT", "dependencies": { "bl": "^4.0.3", "end-of-stream": "^1.4.1", "fs-constants": "^1.0.0", "inherits": "^2.0.3", "readable-stream": "^3.1.1" }, "engines": { "node": ">=6" } }, "node_modules/tar/node_modules/minipass": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", "license": "ISC", "engines": { "node": ">=8" } }, "node_modules/text-hex": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==", "license": "MIT" }, "node_modules/toidentifier": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", "license": "MIT", "engines": { "node": ">=0.6" } }, "node_modules/triple-beam": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.4.1.tgz", "integrity": "sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg==", "license": "MIT", "engines": { "node": ">= 14.0.0" } }, "node_modules/tunnel-agent": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", "license": "Apache-2.0", "dependencies": { "safe-buffer": "^5.0.1" }, "engines": { "node": "*" } }, "node_modules/type-is": { "version": "1.6.18", "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", "license": "MIT", "dependencies": { "media-typer": "0.3.0", "mime-types": "~2.1.24" }, "engines": { "node": ">= 0.6" } }, "node_modules/unique-filename": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", "license": "ISC", "optional": true, "dependencies": { "unique-slug": "^2.0.0" } }, "node_modules/unique-slug": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz", "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", "license": "ISC", "optional": true, "dependencies": { "imurmurhash": "^0.1.4" } }, "node_modules/unpipe": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", "license": "MIT" }, "node_modules/utils-merge": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", "license": "MIT", "engines": { "node": ">= 0.4.0" } }, "node_modules/vary": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "license": "ISC", "optional": true, "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "bin/node-which" }, "engines": { "node": ">= 8" } }, "node_modules/wide-align": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", "license": "ISC", "optional": true, "dependencies": { "string-width": "^1.0.2 || 2 || 3 || 4" } }, "node_modules/winston": { "version": "3.14.2", "resolved": "https://registry.npmjs.org/winston/-/winston-3.14.2.tgz", "integrity": "sha512-CO8cdpBB2yqzEf8v895L+GNKYJiEq8eKlHU38af3snQBQ+sdAIUepjMSguOIJC7ICbzm0ZI+Af2If4vIJrtmOg==", "license": "MIT", "dependencies": { "@colors/colors": "^1.6.0", "@dabh/diagnostics": "^2.0.2", "async": "^3.2.3", "is-stream": "^2.0.0", "logform": "^2.6.0", "one-time": "^1.0.0", "readable-stream": "^3.4.0", "safe-stable-stringify": "^2.3.1", "stack-trace": "0.0.x", "triple-beam": "^1.3.0", "winston-transport": "^4.7.0" }, "engines": { "node": ">= 12.0.0" } }, "node_modules/winston-daily-rotate-file": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/winston-daily-rotate-file/-/winston-daily-rotate-file-5.0.0.tgz", "integrity": "sha512-JDjiXXkM5qvwY06733vf09I2wnMXpZEhxEVOSPenZMii+g7pcDcTBt2MRugnoi8BwVSuCT2jfRXBUy+n1Zz/Yw==", "license": "MIT", "dependencies": { "file-stream-rotator": "^0.6.1", "object-hash": "^3.0.0", "triple-beam": "^1.4.1", "winston-transport": "^4.7.0" }, "engines": { "node": ">=8" }, "peerDependencies": { "winston": "^3" } }, "node_modules/winston-transport": { "version": "4.7.1", "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.7.1.tgz", "integrity": "sha512-wQCXXVgfv/wUPOfb2x0ruxzwkcZfxcktz6JIMUaPLmcNhO4bZTwA/WtDWK74xV3F2dKu8YadrFv0qhwYjVEwhA==", "license": "MIT", "dependencies": { "logform": "^2.6.1", "readable-stream": "^3.6.2", "triple-beam": "^1.3.0" }, "engines": { "node": ">= 12.0.0" } }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "license": "ISC" }, "node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "license": "ISC" } }}12345678910111213141516171819202122{ "name": "stremio-catalogs-providers", "version": "1.0.0", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "author": "", "license": "ISC", "description": "", "dependencies": { "async": "^3.2.6", "axios": "^1.7.5", "cors": "^2.8.5", "dotenv": "^16.4.5", "express": "^4.19.2", "sqlite3": "^5.1.7", "winston": "^3.14.2", "winston-daily-rotate-file": "^5.0.0" }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683<!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Streaming Catalog Providers - Stremio Addon Configuration</title> <link rel="shortcut icon" href="https://your-icon-url.com/favicon.ico" type="image/x-icon" /> <link href="https://fonts.googleapis.com/css2?family=Helvetica:wght@400;600;700&display=swap" rel="stylesheet" /> <script src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.15.0/Sortable.min.js"></script> <style> * { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Helvetica', sans-serif; line-height: 1.6; background: #f0f0f5; color: #333; padding: 20px; display: flex; justify-content: center; align-items: center; min-height: 100vh; text-align: center; transition: background 0.3s, color 0.3s; }
#addon { position: relative; width: 90%; max-width: none; background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); margin: 0 auto; }
.theme-toggle { position: absolute; top: 20px; right: 20px; font-size: 1.5rem; cursor: pointer; transition: color 0.3s; z-index: 10; }
body.dark-mode { background: #333; color: #f0f0f5; }
body.dark-mode #addon { background: #444; box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); }
body.dark-mode .provider { background: #555; border-color: #666; }
body.dark-mode .provider:hover { border-color: #f0f0f5; box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2); }
body.dark-mode .link-display { background: #666; border: 1px solid #777; }
body.dark-mode .name { color: #f0f0f5; }
body.dark-mode .version { color: #aaa; }
body.dark-mode .description { color: #ccc; }
body.dark-mode .form-element label { color: #f0f0f5; }
body.dark-mode .form-element input { background: #555; color: #f0f0f5; border: 1px solid #666; }
body.dark-mode .form-element input::placeholder { color: #bbb; }
body.dark-mode .providers-title, body.dark-mode .selected-providers-title { color: #f0f0f5; }
.providers-title, .selected-providers-title { font-size: 1.5rem; color: #333; margin-bottom: 15px; font-weight: 600; text-align: left; }
body.dark-mode .providers-title, body.dark-mode .selected-providers-title { color: #f0f0f5; }
body.dark-mode .modal { background-color: #333; color: #f0f0f5; border: 1px solid #444; }
body.dark-mode .modal-close { color: #f0f0f5; }
body.dark-mode .modal h4 { color: #f0f0f5; }
body.dark-mode .modal p, body.dark-mode .modal ul { color: #ccc; }
body.dark-mode .modal ul li { color: #ccc; }
body.dark-mode .form-element label { color: #e0e0e0; display: flex; align-items: center; font-size: 1rem; }
body.dark-mode .form-element .info-icon { color: #fff; display: inline-block; width: 24px; height: 24px; text-align: center; line-height: 24px; margin-left: 8px; cursor: help; }
body.dark-mode select { background-color: #555; color: #f0f0f5; border: 1px solid #666; border-radius: 8px; width: 100%; }
body.dark-mode select option { background-color: #666; color: #e0e0e0; }
.logo { margin-bottom: 20px; }
.logo img { max-width: 120px; height: auto; }
.name { font-size: 2rem; color: #333; margin-bottom: 10px; font-weight: 700; }
.version { font-size: 1.2rem; color: #888; }
.description { font-size: 1rem; color: #555; margin-bottom: 20px; }
.separator { border-top: 1px solid #e0e0e0; margin: 20px 0; }
.provider-container { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.provider, .selected-provider { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); border: 2px solid #ccc; overflow: hidden; position: relative; transition: border-color 0.3s, box-shadow 0.3s; }
.provider img, .selected-provider img { max-width: 100%; max-height: 100%; object-fit: contain; transition: filter 0.3s; }
.provider:hover, .selected-provider:hover { border-color: #333; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); }
.remove-button { position: absolute; top: 5px; right: 5px; background: #d90f0f; color: #fff; border: none; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; line-height: 20px; padding: 0; z-index: 1; }
.remove-button:hover { background: #a70202; }
.pure-form { margin-top: 20px; }
.form-element { margin-bottom: 20px; text-align: left; }
.form-element label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 0.9rem; }
.form-element input, .form-element select { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 1rem; color: #333; }
.button-container { display: flex; gap: 15px; justify-content: center; margin-bottom: 20px; }
button { padding: 12px 24px; border: none; border-radius: 8px; font-size: 1rem; color: #fff; cursor: pointer; transition: background-color 0.3s, transform 0.2s; }
#installButton { background-color: #007aff; }
#installButton:hover { background-color: #0051a8; }
#copyButton { background-color: #4caf50; }
#copyButton:hover { background-color: #388e3c; }
.popup { display: none; position: fixed; top: 20px; right: 20px; padding: 10px; border-radius: 8px; color: #fff; background-color: #333; font-size: 0.9rem; }
.popup.success { background-color: #4caf50; }
.popup.error { background-color: #f44336; }
@media (max-width: 768px) { .provider-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.provider { width: 100%; height: auto; padding: 10px; } }
.popup { display: none; position: fixed; top: 20px; right: 20px; padding: 10px; border-radius: 8px; color: #fff; background-color: #333; font-size: 0.9rem; z-index: 1000; }
.popup.success { background-color: #4caf50; }
.popup.error { background-color: #f44336; }
.info-icon { font-size: 1.2rem; color: #007aff; cursor: pointer; margin-left: 8px; vertical-align: middle; }
.modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); z-index: 1000; max-width: 500px; width: 90%; text-align: left; }
.modal h4 { margin-top: 0; }
.modal-close { position: absolute; top: 10px; right: 10px; cursor: pointer; font-size: 1.2rem; color: #333; }
@media only screen and (max-width: 768px) { .modal { height: 100vh; max-height: 80vh; margin: 0; border: none; overflow-y: auto; }
.modal h4 { margin-top: 0; }
.modal-close { position: absolute; top: 10px; right: 10px; cursor: pointer; font-size: 1.5rem; color: #333; } } </style> </head><html> <body> <div id="addon"> <div id="theme-toggle" class="theme-toggle" title="Toggle Dark/Light Mode"> 🌙 </div> <div class="logo"> <img src="assets/logo.png" alt="Addon Logo" /> </div> <h1 class="name">Streaming Catalog Providers</h1> <h2 class="version">1.0.0</h2> <h2 class="description">Choose your streaming providers below.</h2> <div class="separator"></div> <h3 class="providers-title">Available providers</h3> <div class="form-element"> <input type="text" id="searchProviders" placeholder="Search providers..." /> </div> <div id="providers" class="provider-container"></div> <div class="separator"></div> <form class="pure-form" id="mainForm"> <div class="form-element"> <label for="tmdbApiKey"> TMDB API key (<a href="https://www.themoviedb.org/settings/api" target="_blank" style="color: #007aff;">Get it here</a>) </label> <input type="text" id="tmdbApiKey" name="tmdbApiKey" /> </div> <div class="form-element"> <label for="language"> Language </label> <select id="language" name="language" required> <option value="">Select your language</option> </select> </div> <div class="form-element"> <label for="ageRange"> Age range (content moderation) <span id="infoIcon" class="info-icon" title="Learn more">?</span> </label> <select id="ageRange" name="ageRange"> <option value="">Select your age range</option> <option value="0-5">0-5 years</option> <option value="6-11">6-11 years</option> <option value="12-15">12-15 years</option> <option value="16-17">16-17 years</option> <option value="18+">18+ years</option> </select> </div> <div class="separator"></div> <div class="form-element"> <label for="rpdbApiKey">RPDB API key (<a href="https://ratingposterdb.com/api-key/" target="_blank" style="color: #007aff;">Get it here</a>) </label> <input type="text" id="rpdbApiKey" name="rpdbApiKey"> </div> <div class="separator"></div> <h3 class="selected-providers-title">Selected providers</h3> <div id="selectedProviders" class="provider-container"></div> <div class="separator"></div> <div class="button-container"> <button type="button" id="installButton">INSTALL</button> <button type="button" id="copyButton">COPY LINK</button> </div> <div class="separator"></div> </form> <div id="popup" class="popup"></div> <div id="infoModal" class="modal"> <span id="modalClose" class="modal-close">×</span> <h4>Age Range Content Moderation</h4> <p> The content moderation system filters media based on the selected age range to ensure suitability for viewers. Here's how it works: </p> <ul> <li> <strong>0-5 years:</strong> Uses the US certification 'G' (General Audience). Filters out content that is not suitable for very young children. This includes genres such as horror, drama, thriller, crime, war, western, erotic, war & politics, talk-show, soap-opera, reality-show, news, mystery, documentary, and history. </li> <li> <strong>6-11 years:</strong> Uses the US certification 'G' (General Audience). Filters out content unsuitable for young children, maintaining a focus on safe, family-friendly genres. The same genres as for 0-5 years are excluded. </li> <li> <strong>12-15 years:</strong> Uses the US certification 'PG' (Parental Guidance). Allows content with mild themes appropriate for older children and pre-teens. No specific genres are excluded for this age range. </li> <li> <strong>16-17 years:</strong> Uses the US certification 'PG-13' (Parents Strongly Cautioned). Permits content suitable for older teens, including more complex and mature themes but not adult content. No specific genres are excluded for this age range. </li> <li> <strong>18+ years:</strong> Includes all content, even those with adult themes and explicit material. For this age range, no genres are excluded. </li> </ul> <p> <p> <strong>Warning:</strong> Please note that the data for this content moderation system is sourced from TMDB (The Movie Database) and may contain inaccuracies. Viewer discretion is advised. </p> </p> </div> <script src="js/languages.js"></script> <script> document.addEventListener('DOMContentLoaded', () => { function populateLanguageDropdown() { const dropdown = document.getElementById('language'); languages.forEach(lang => { const option = document.createElement('option'); option.value = lang.iso_639_1; option.textContent = lang.english_name + (lang.name ? ` (${lang.name})` : ''); dropdown.appendChild(option); }); } populateLanguageDropdown(); const mainForm = document.getElementById('mainForm'); const installButton = document.getElementById('installButton'); const copyButton = document.getElementById('copyButton'); const popup = document.getElementById('popup'); const providersContainer = document.getElementById('providers'); const infoIcon = document.getElementById('infoIcon'); const infoModal = document.getElementById('infoModal'); const modalClose = document.getElementById('modalClose'); const selectedProvidersContainer = document.getElementById('selectedProviders'); let selectedProviders = []; let providersMap = {}; new Sortable(selectedProvidersContainer, { animation: 150, ghostClass: 'sortable-ghost', onEnd: (evt) => { selectedProviders = Array.from(selectedProvidersContainer.querySelectorAll('.selected-provider')).map(div => div.getAttribute('data-id')); } }); const renderSelectedProviders = () => { selectedProvidersContainer.innerHTML = selectedProviders.map(providerId => ` <div class="selected-provider" data-id="${providerId}"> <img src="https://image.tmdb.org/t/p/w500/${providersMap[providerId].logo_path}" alt="${providersMap[providerId].display_name}" title="${providersMap[providerId].display_name}" /> <button class="remove-button" data-id="${providerId}">×</button> </div>`).join(''); document.querySelectorAll('.remove-button').forEach(button => { button.addEventListener('click', (event) => { const providerId = event.target.getAttribute('data-id'); selectedProviders = selectedProviders.filter(id => id !== providerId); const providerElement = document.querySelector(`.provider[data-id="${providerId}"]`); if (providerElement) providerElement.style.display = 'block'; renderSelectedProviders(); }); }); }; const fetchProviders = async () => { try { const response = await fetch('/providers'); if (!response.ok) { throw new Error('Failed to fetch providers'); } const providers = await response.json(); providersMap = providers.reduce((map, provider) => { map[provider.id] = provider; return map; }, {}); return providers; } catch (error) { console.error('Error fetching providers:', error); return []; } }; const renderProviders = async () => { const providers = await fetchProviders(); providers.sort((a, b) => a.display_name.localeCompare(b.display_name)); providersContainer.innerHTML = providers.map(provider => ` <div class="provider" data-id="${provider.id}"> <img src="https://image.tmdb.org/t/p/w500/${provider.logo_path}" alt="${provider.display_name}" title="${provider.display_name}" /> </div>`).join('');
document.querySelectorAll('.provider').forEach(provider => { provider.addEventListener('click', () => { const providerId = provider.getAttribute('data-id'); if (selectedProviders.includes(providerId)) { selectedProviders = selectedProviders.filter(id => id !== providerId); provider.style.display = 'block'; } else { selectedProviders.push(providerId); provider.style.display = 'none'; } renderSelectedProviders(); }); }); }; const showInfoModal = () => { infoModal.style.display = 'block'; }; const hideInfoModal = () => { infoModal.style.display = 'none'; }; infoIcon.addEventListener('click', showInfoModal); modalClose.addEventListener('click', hideInfoModal); const getStremioLink = () => { const config = Object.fromEntries(new FormData(mainForm)); config.providers = selectedProviders; config.ageRange = document.getElementById('ageRange').value; return "stremio://" + window.location.host + "/" + encodeURIComponent(JSON.stringify(config)) + "/manifest.json"; }; const getHttpsLink = () => { const config = Object.fromEntries(new FormData(mainForm)); config.providers = selectedProviders; config.ageRange = document.getElementById('ageRange').value; return "https://" + window.location.host + "/" + encodeURIComponent(JSON.stringify(config)) + "/manifest.json"; }; const showPopup = (message, type) => { popup.textContent = message; popup.className = `popup ${type}`; popup.style.display = 'block'; setTimeout(() => { popup.style.display = 'none'; }, 3000); }; const validateForm = () => { const language = document.getElementById('language').value.trim(); const ageRange = document.getElementById('ageRange').value.trim(); return language && ageRange && selectedProviders.length > 0; }; copyButton.onclick = () => { if (!validateForm()) { showPopup('Configuration incomplete: Please select a Language, an Age Range and choose at least one provider.', 'error'); return; } const link = getHttpsLink(); navigator.clipboard.writeText(link).then(() => { showPopup('Link copied to clipboard!', 'success'); }).catch(err => { console.error('Failed to copy the link: ', err); showPopup('Failed to copy the link.', 'error'); }); }; installButton.onclick = () => { if (!validateForm()) { showPopup('Configuration incomplete: Please select a Language, an Age Range and choose at least one provider.', 'error'); return; } const link = getStremioLink(); window.location.href = link; }; renderProviders(); document.getElementById('theme-toggle').addEventListener('click', () => { document.body.classList.toggle('dark-mode'); const isDarkMode = document.body.classList.contains('dark-mode'); document.getElementById('theme-toggle').textContent = isDarkMode ? '🌞' : '🌙'; }); document.getElementById('searchProviders').addEventListener('input', function(event) { const searchTerm = event.target.value.toLowerCase(); document.querySelectorAll('#providers .provider').forEach(provider => { const providerName = providersMap[provider.getAttribute('data-id')].display_name.toLowerCase(); provider.style.display = providerName.includes(searchTerm) ? 'flex' : 'none'; }); }); }); </script> </body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202const languages = [ {iso_639_1: "bi", english_name: "Bislama", name: "" }, {iso_639_1: "cs", english_name: "Czech", name: "Český" }, {iso_639_1: "ba", english_name: "Bashkir", name: "" }, {iso_639_1: "ae", english_name: "Avestan", name: "" }, {iso_639_1: "av", english_name: "Avaric", name: "" }, {iso_639_1: "de", english_name: "German", name: "Deutsch" }, {iso_639_1: "mt", english_name: "Maltese", name: "Malti" }, {iso_639_1: "om", english_name: "Oromo", name: "" }, {iso_639_1: "rm", english_name: "Raeto-Romance", name: "" }, {iso_639_1: "so", english_name: "Somali", name: "Somali" }, {iso_639_1: "ts", english_name: "Tsonga", name: "" }, {iso_639_1: "vi", english_name: "Vietnamese", name: "Tiếng Việt" }, {iso_639_1: "gn", english_name: "Guarani", name: "" }, {iso_639_1: "ig", english_name: "Igbo", name: "" }, {iso_639_1: "it", english_name: "Italian", name: "Italiano" }, {iso_639_1: "ki", english_name: "Kikuyu", name: "" }, {iso_639_1: "ku", english_name: "Kurdish", name: "" }, {iso_639_1: "la", english_name: "Latin", name: "Latin" }, {iso_639_1: "ln", english_name: "Lingala", name: "" }, {iso_639_1: "lb", english_name: "Letzeburgesch", name: "" }, {iso_639_1: "ny", english_name: "Chichewa; Nyanja", name: "" }, {iso_639_1: "pl", english_name: "Polish", name: "Polski" }, {iso_639_1: "si", english_name: "Sinhalese", name: "සිංහල" }, {iso_639_1: "to", english_name: "Tonga", name: "" }, {iso_639_1: "az", english_name: "Azerbaijani", name: "Azərbaycan" }, {iso_639_1: "ce", english_name: "Chechen", name: "" }, {iso_639_1: "cu", english_name: "Slavic", name: "" }, {iso_639_1: "da", english_name: "Danish", name: "Dansk" }, {iso_639_1: "hz", english_name: "Herero", name: "" }, {iso_639_1: "ie", english_name: "Interlingue", name: "" }, {iso_639_1: "rw", english_name: "Kinyarwanda", name: "Kinyarwanda" }, {iso_639_1: "mi", english_name: "Maori", name: "" }, {iso_639_1: "no", english_name: "Norwegian", name: "Norsk" }, {iso_639_1: "pi", english_name: "Pali", name: "" }, {iso_639_1: "sk", english_name: "Slovak", name: "Slovenčina" }, {iso_639_1: "se", english_name: "Northern Sami", name: "" }, {iso_639_1: "sm", english_name: "Samoan", name: "" }, {iso_639_1: "uk", english_name: "Ukrainian", name: "Український" }, {iso_639_1: "en", english_name: "English", name: "English" }, {iso_639_1: "ay", english_name: "Aymara", name: "" }, {iso_639_1: "ca", english_name: "Catalan", name: "Català" }, {iso_639_1: "eo", english_name: "Esperanto", name: "Esperanto" }, {iso_639_1: "ha", english_name: "Hausa", name: "Hausa" }, {iso_639_1: "ho", english_name: "Hiri Motu", name: "" }, {iso_639_1: "hu", english_name: "Hungarian", name: "Magyar" }, {iso_639_1: "io", english_name: "Ido", name: "" }, {iso_639_1: "ii", english_name: "Yi", name: "" }, {iso_639_1: "kn", english_name: "Kannada", name: "?????" }, {iso_639_1: "kv", english_name: "Komi", name: "" }, {iso_639_1: "li", english_name: "Limburgish", name: "" }, {iso_639_1: "oj", english_name: "Ojibwa", name: "" }, {iso_639_1: "ru", english_name: "Russian", name: "Pусский" }, {iso_639_1: "sr", english_name: "Serbian", name: "Srpski" }, {iso_639_1: "sv", english_name: "Swedish", name: "svenska" }, {iso_639_1: "ty", english_name: "Tahitian", name: "" }, {iso_639_1: "zu", english_name: "Zulu", name: "isiZulu" }, {iso_639_1: "ka", english_name: "Georgian", name: "ქართული" }, {iso_639_1: "ch", english_name: "Chamorro", name: "Finu' Chamorro" }, {iso_639_1: "be", english_name: "Belarusian", name: "беларуская мова" }, {iso_639_1: "br", english_name: "Breton", name: "" }, {iso_639_1: "kw", english_name: "Cornish", name: "" }, {iso_639_1: "fi", english_name: "Finnish", name: "suomi" }, {iso_639_1: "sh", english_name: "Serbo-Croatian", name: "" }, {iso_639_1: "nn", english_name: "Norwegian Nynorsk", name: "" }, {iso_639_1: "tt", english_name: "Tatar", name: "" }, {iso_639_1: "tg", english_name: "Tajik", name: "" }, {iso_639_1: "vo", english_name: "Volapük", name: "" }, {iso_639_1: "ps", english_name: "Pushto", name: "پښتو" }, {iso_639_1: "mk", english_name: "Macedonian", name: "" }, {iso_639_1: "fr", english_name: "French", name: "Français" }, {iso_639_1: "bm", english_name: "Bambara", name: "Bamanankan" }, {iso_639_1: "eu", english_name: "Basque", name: "euskera" }, {iso_639_1: "fj", english_name: "Fijian", name: "" }, {iso_639_1: "id", english_name: "Indonesian", name: "Bahasa indonesia" }, {iso_639_1: "mg", english_name: "Malagasy", name: "" }, {iso_639_1: "na", english_name: "Nauru", name: "" }, {iso_639_1: "xx", english_name: "No Language", name: "No Language" }, {iso_639_1: "qu", english_name: "Quechua", name: "" }, {iso_639_1: "sq", english_name: "Albanian", name: "shqip" }, {iso_639_1: "ti", english_name: "Tigrinya", name: "" }, {iso_639_1: "tw", english_name: "Twi", name: "" }, {iso_639_1: "wa", english_name: "Walloon", name: "" }, {iso_639_1: "ab", english_name: "Abkhazian", name: "" }, {iso_639_1: "bs", english_name: "Bosnian", name: "Bosanski" }, {iso_639_1: "af", english_name: "Afrikaans", name: "Afrikaans" }, {iso_639_1: "an", english_name: "Aragonese", name: "" }, {iso_639_1: "fy", english_name: "Frisian", name: "" }, {iso_639_1: "gu", english_name: "Gujarati", name: "" }, {iso_639_1: "ik", english_name: "Inupiaq", name: "" }, {iso_639_1: "ja", english_name: "Japanese", name: "日本語" }, {iso_639_1: "ko", english_name: "Korean", name: "한국어/조선말" }, {iso_639_1: "lg", english_name: "Ganda", name: "" }, {iso_639_1: "nl", english_name: "Dutch", name: "Nederlands" }, {iso_639_1: "os", english_name: "Ossetian; Ossetic", name: "" }, {iso_639_1: "el", english_name: "Greek", name: "ελληνικά" }, {iso_639_1: "bn", english_name: "Bengali", name: "বাংলা" }, {iso_639_1: "cr", english_name: "Cree", name: "" }, {iso_639_1: "km", english_name: "Khmer", name: "" }, {iso_639_1: "lo", english_name: "Lao", name: "" }, {iso_639_1: "nd", english_name: "Ndebele", name: "" }, {iso_639_1: "ne", english_name: "Nepali", name: "" }, {iso_639_1: "sc", english_name: "Sardinian", name: "" }, {iso_639_1: "sw", english_name: "Swahili", name: "Kiswahili" }, {iso_639_1: "tl", english_name: "Tagalog", name: "" }, {iso_639_1: "ur", english_name: "Urdu", name: "اردو" }, {iso_639_1: "ee", english_name: "Ewe", name: "Èʋegbe" }, {iso_639_1: "aa", english_name: "Afar", name: "" }, {iso_639_1: "co", english_name: "Corsican", name: "" }, {iso_639_1: "et", english_name: "Estonian", name: "Eesti" }, {iso_639_1: "is", english_name: "Icelandic", name: "Íslenska" }, {iso_639_1: "ks", english_name: "Kashmiri", name: "" }, {iso_639_1: "kr", english_name: "Kanuri", name: "" }, {iso_639_1: "ky", english_name: "Kirghiz", name: "??????" }, {iso_639_1: "kj", english_name: "Kuanyama", name: "" }, {iso_639_1: "nr", english_name: "Ndebele", name: "" }, {iso_639_1: "or", english_name: "Oriya", name: "" }, {iso_639_1: "wo", english_name: "Wolof", name: "Wolof" }, {iso_639_1: "za", english_name: "Zhuang", name: "" }, {iso_639_1: "ar", english_name: "Arabic", name: "العربية" }, {iso_639_1: "cv", english_name: "Chuvash", name: "" }, {iso_639_1: "fo", english_name: "Faroese", name: "" }, {iso_639_1: "hr", english_name: "Croatian", name: "Hrvatski" }, {iso_639_1: "ms", english_name: "Malay", name: "Bahasa melayu" }, {iso_639_1: "nb", english_name: "Norwegian Bokmål", name: "Bokmål" }, {iso_639_1: "rn", english_name: "Rundi", name: "Kirundi" }, {iso_639_1: "sn", english_name: "Shona", name: "" }, {iso_639_1: "st", english_name: "Sotho", name: "" }, {iso_639_1: "tr", english_name: "Turkish", name: "Türkçe" }, {iso_639_1: "am", english_name: "Amharic", name: "" }, {iso_639_1: "fa", english_name: "Persian", name: "فارسی" }, {iso_639_1: "hy", english_name: "Armenian", name: "" }, {iso_639_1: "pa", english_name: "Punjabi", name: "ਪੰਜਾਬੀ" }, {iso_639_1: "as", english_name: "Assamese", name: "" }, {iso_639_1: "ia", english_name: "Interlingua", name: "" }, {iso_639_1: "lv", english_name: "Latvian", name: "Latviešu" }, {iso_639_1: "lu", english_name: "Luba-Katanga", name: "" }, {iso_639_1: "mr", english_name: "Marathi", name: "" }, {iso_639_1: "mn", english_name: "Mongolian", name: "" }, {iso_639_1: "pt", english_name: "Portuguese", name: "Português" }, {iso_639_1: "th", english_name: "Thai", name: "ภาษาไทย" }, {iso_639_1: "tk", english_name: "Turkmen", name: "" }, {iso_639_1: "ve", english_name: "Venda", name: "" }, {iso_639_1: "dv", english_name: "Divehi", name: "" }, {iso_639_1: "gv", english_name: "Manx", name: "" }, {iso_639_1: "kl", english_name: "Kalaallisut", name: "" }, {iso_639_1: "kk", english_name: "Kazakh", name: "қазақ" }, {iso_639_1: "lt", english_name: "Lithuanian", name: "Lietuvių" }, {iso_639_1: "my", english_name: "Burmese", name: "" }, {iso_639_1: "sl", english_name: "Slovenian", name: "Slovenščina" }, {iso_639_1: "sd", english_name: "Sindhi", name: "" }, {iso_639_1: "cn", english_name: "Cantonese", name: "广州话 / 廣州話" }, {iso_639_1: "hi", english_name: "Hindi", name: "हिन्दी" }, {iso_639_1: "cy", english_name: "Welsh", name: "Cymraeg" }, {iso_639_1: "ht", english_name: "Haitian; Haitian Creole", name: "" }, {iso_639_1: "iu", english_name: "Inuktitut", name: "" }, {iso_639_1: "jv", english_name: "Javanese", name: "" }, {iso_639_1: "mh", english_name: "Marshall", name: "" }, {iso_639_1: "sa", english_name: "Sanskrit", name: "" }, {iso_639_1: "ss", english_name: "Swati", name: "" }, {iso_639_1: "te", english_name: "Telugu", name: "తెలుగు" }, {iso_639_1: "kg", english_name: "Kongo", name: "" }, {iso_639_1: "ml", english_name: "Malayalam", name: "" }, {iso_639_1: "uz", english_name: "Uzbek", name: "ozbek" }, {iso_639_1: "sg", english_name: "Sango", name: "" }, {iso_639_1: "xh", english_name: "Xhosa", name: "" }, {iso_639_1: "es", english_name: "Spanish", name: "Español" }, {iso_639_1: "su", english_name: "Sundanese", name: "" }, {iso_639_1: "ug", english_name: "Uighur", name: "" }, {iso_639_1: "yi", english_name: "Yiddish", name: "" }, {iso_639_1: "yo", english_name: "Yoruba", name: "Èdè Yorùbá" }, {iso_639_1: "zh", english_name: "Mandarin", name: "普通话" }, {iso_639_1: "he", english_name: "Hebrew", name: "עִבְרִית" }, {iso_639_1: "bo", english_name: "Tibetan", name: "" }, {iso_639_1: "ak", english_name: "Akan", name: "" }, {iso_639_1: "mo", english_name: "Moldavian", name: "" }, {iso_639_1: "ng", english_name: "Ndonga", name: "" }, {iso_639_1: "dz", english_name: "Dzongkha", name: "" }, {iso_639_1: "ff", english_name: "Fulah", name: "Fulfulde" }, {iso_639_1: "gd", english_name: "Gaelic", name: "" }, {iso_639_1: "ga", english_name: "Irish", name: "Gaeilge" }, {iso_639_1: "gl", english_name: "Galician", name: "Galego" }, {iso_639_1: "nv", english_name: "Navajo", name: "" }, {iso_639_1: "oc", english_name: "Occitan", name: "" }, {iso_639_1: "ro", english_name: "Romanian", name: "Română" }, {iso_639_1: "ta", english_name: "Tamil", name: "தமிழ்" }, {iso_639_1: "tn", english_name: "Tswana", name: "" }, {iso_639_1: "bg", english_name: "Bulgarian", name: "български език" }];
languages.sort((a, b) => { const nameA = a.english_name.toUpperCase(); const nameB = b.english_name.toUpperCase(); if (nameA < nameB) { return -1; } if (nameA > nameB) { return 1; } return 0; });123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112const { catalogDb } = require('./db');const log = require('./utils/logger');const fs = require('fs');const path = require('path');const axios = require('axios');const { CACHE_CATALOG_CONTENT_DURATION_DAYS, CACHE_POSTER_CONTENT_DURATION_DAYS } = process.env;const baseUrl = process.env.BASE_URL || 'http://localhost:7000';
const defaultCacheDurationDays = 3;const cacheCatalogDurationDays = parseInt(CACHE_CATALOG_CONTENT_DURATION_DAYS, 10) || defaultCacheDurationDays;const cacheCatalogDurationMillis = cacheCatalogDurationDays * 24 * 60 * 60 * 1000;
const posterCacheDurationDays = parseInt(CACHE_POSTER_CONTENT_DURATION_DAYS, 10) || defaultCacheDurationDays;const posterCacheDurationMillis = posterCacheDurationDays * 24 * 60 * 60 * 1000;
log.debug(`Cache duration for catalog: ${cacheCatalogDurationMillis} milliseconds (${cacheCatalogDurationDays} days)`);log.debug(`Cache duration for posters: ${posterCacheDurationMillis} milliseconds (${posterCacheDurationDays} days)`);
const getCache = (key) => { return new Promise((resolve, reject) => { catalogDb.get("SELECT value, expiration FROM cache WHERE key = ?", [key], (err, row) => { if (err) { log.error(`Error fetching cache for key ${key}:`, err); return reject(err); } if (row && row.expiration > Date.now()) { log.info(`Cache hit for key ${key}`); resolve(JSON.parse(row.value)); } else { log.info(`Cache miss for key ${key}`); resolve(null); } }); });};
const setCache = (key, value, page = 1, skip = 0, providerId = null, type = null, sortBy = null, ageRange = null) => { const expiration = Date.now() + cacheCatalogDurationMillis; log.debug(`Setting cache with expiration: ${new Date(expiration).toUTCString()}`);
catalogDb.run(` INSERT OR REPLACE INTO cache (key, value, expiration, page, skip, provider_id, type, sortBy, ageRange) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)`, [key, JSON.stringify(value), expiration, page, skip, providerId, type, sortBy, ageRange], (err) => { if (err) { log.error('Error setting cache:', err); } else { log.debug(`Cache set with page: ${page}, skip: ${skip}, providerId: ${providerId}, type: ${type}, sortBy: ${sortBy}, ageRange: ${ageRange}`); } } );};
const posterDirectory = path.join(__dirname, '../db/rpdbPosters');
if (!fs.existsSync(posterDirectory)) { fs.mkdirSync(posterDirectory, { recursive: true });}
const formatFileName = (posterId) => { return posterId.replace(/[^a-zA-Z0-9-_]/g, '_');};
const getCachedPoster = async (posterId) => { const formattedPosterId = formatFileName(posterId); const filePath = path.join(posterDirectory, `${formattedPosterId}.jpg`); const fileStats = fs.existsSync(filePath) ? fs.statSync(filePath) : null;
if (fileStats && (Date.now() - fileStats.mtimeMs < posterCacheDurationMillis)) { const posterUrl = `${baseUrl}/poster/${formattedPosterId}.jpg`; log.debug(`Cache hit for poster id ${posterId}, serving from ${posterUrl}`); return { poster_url: posterUrl }; } else { log.debug(`Cache miss or expired for poster id ${posterId}`); return null; }};
const setCachedPoster = async (posterId, posterUrl) => { const formattedPosterId = formatFileName(posterId); const filePath = path.join(posterDirectory, `${formattedPosterId}.jpg`);
try { const response = await axios.get(posterUrl, { responseType: 'arraybuffer' }); fs.writeFileSync(filePath, response.data); log.debug(`Poster id ${posterId} cached at ${filePath}`); } catch (error) { log.error(`Error caching poster id ${posterId} from URL ${posterUrl}: ${error.message}`); throw error; }};
const cleanUpCache = () => { catalogDb.run("DELETE FROM cache WHERE expiration <= ?", [Date.now()], (err) => { if (err) { log.error('Failed to clean up cache:', err); } else { log.info('Cache cleanup completed successfully.'); } });};
setInterval(cleanUpCache, 24 * 60 * 60 * 1000);
module.exports = { getCache, setCache, cleanUpCache, getCachedPoster, setCachedPoster};1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889const fs = require('fs');const path = require('path');const sqlite3 = require('sqlite3').verbose();const log = require('./utils/logger');
const dbDir = path.join(__dirname, '../db');
if (!fs.existsSync(dbDir)) { fs.mkdirSync(dbDir, { recursive: true }); log.debug('Created db directory');}
const providersDb = new sqlite3.Database(path.join(dbDir, 'providers.db'), (err) => { if (err) { log.error('Failed to connect to providers.db:', err); } else { log.debug('Connected to providers.db successfully'); }});
const catalogDb = new sqlite3.Database(path.join(dbDir, 'catalog.db'), (err) => { if (err) { log.error('Failed to connect to catalog.db:', err); } else { log.debug('Connected to catalog.db successfully'); }});
const genresDb = new sqlite3.Database(path.join(dbDir, 'genres.db'), (err) => { if (err) { log.error('Failed to connect to genres.db:', err); } else { log.debug('Connected to genres.db successfully'); }});
providersDb.serialize(() => { providersDb.run(`CREATE TABLE IF NOT EXISTS providers ( provider_id INTEGER PRIMARY KEY, provider_name TEXT, logo_path TEXT )`, (err) => { if (err) { log.error('Error creating providers table:', err); } else { log.debug('Providers table created or already exists'); } });});
catalogDb.serialize(() => { catalogDb.run(`CREATE TABLE IF NOT EXISTS cache ( key TEXT PRIMARY KEY, value TEXT, expiration INTEGER, page INTEGER DEFAULT 1, skip INTEGER DEFAULT 0, provider_id INTEGER, type TEXT, sortBy TEXT, ageRange TEXT )`, (err) => { if (err) { log.error('Error creating cache table:', err); } else { log.debug('Cache table created or already exists with type, sortBy, and ageRange columns'); } });});
genresDb.serialize(() => { genresDb.run(`CREATE TABLE IF NOT EXISTS genres ( genre_id INTEGER PRIMARY KEY, genre_name TEXT, media_type TEXT )`, (err) => { if (err) { log.error('Error creating genres table:', err); } else { log.debug('Genres table created or already exists'); } });});
module.exports = { providersDb, catalogDb, genresDb};123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363const express = require('express');const path = require('path');const fs = require('fs');const log = require('./utils/logger');const { requestLogger, errorHandler } = require('./utils/middleware');const { providersDb, genresDb } = require('./db');const { discoverContent, getGenres } = require('./tmdb');const { getCachedPoster, setCachedPoster } = require('./cache');const { TMDB_LANGUAGE } = process.env;const axios = require('axios');
const router = express.Router();
router.use(requestLogger);
router.get('/poster/:filename', (req, res) => { const filePath = path.join(__dirname, '../db/rpdbPosters', req.params.filename); fs.access(filePath, fs.constants.F_OK, (err) => { if (err) { log.error(`Poster not found: ${filePath}`); res.status(404).send('Poster not found'); } else { res.sendFile(filePath); } });});
router.get("/:configParameters?/catalog/:type/:id/:extra?.json", async (req, res, next) => { const { id, configParameters, type, extra: extraParam } = req.params; const extra = extraParam ? decodeURIComponent(extraParam) : ''; let ageRange = null; let genre = null; let tmdbApiKey = null; let rpdbApiKey = null; let language = TMDB_LANGUAGE; let skip = 0;
log.debug(`Received parameters: id=${id}, type=${type}, configParameters=${configParameters}, extra=${extra}`);
if (configParameters) { try { const parsedConfig = JSON.parse(decodeURIComponent(configParameters)); ageRange = parsedConfig.ageRange || null; tmdbApiKey = parsedConfig.tmdbApiKey || null; rpdbApiKey = parsedConfig.rpdbApiKey || null; language = parsedConfig.language || TMDB_LANGUAGE; log.debug(`Config parameters extracted: ageRange=${ageRange}, tmdbApiKey=${tmdbApiKey}, rpdbApiKey=${rpdbApiKey}, language=${language}`); } catch (error) { log.error(`Error parsing configParameters: ${error.message}`); } } else { log.warn('configParameters is missing'); }
const match = id.match(/^tmdb-discover-(movies|series)(-new)?-(\d+)$/); if (!match) { return res.status(400).json({ error: 'Invalid catalog id' }); } const catalogType = match[1]; const providerId = parseInt(match[3], 10); const providers = [providerId.toString()];
if (extra.startsWith('skip=')) { const skipValue = parseInt(extra.split('=')[1], 10); skip = isNaN(skipValue) ? 0 : skipValue; }
if (extra.includes('genre=')) { const genreName = extra.split('genre=')[1]; log.debug(`Extracting genre: ${genreName}`); const genreRow = await new Promise((resolve, reject) => { genresDb.get("SELECT genre_id FROM genres WHERE genre_name = ? AND media_type = ?", [genreName, type === 'series' ? 'tv' : 'movie'], (err, row) => { if (err) { reject(err); } else { resolve(row); } }); }); if (genreRow) { genre = genreRow.genre_id; log.debug(`Genre ID extracted: ${genre}`); } else { log.warn(`Genre not found for name: ${genreName}`); } } else { log.warn('Genre parameter is missing in extra'); }
try { const sortBy = catalogType === 'movies' ? (id.includes('-new') ? 'primary_release_date.desc' : 'popularity.desc') : (id.includes('-new') ? 'first_air_date.desc' : 'popularity.desc');
log.debug(`Calling discoverContent with parameters: type=${catalogType}, ageRange=${ageRange}, sortBy=${sortBy}, genre=${genre}, language=${language}, skip=${skip}`);
const discoverResults = await discoverContent(catalogType, providers, ageRange, sortBy, genre, tmdbApiKey, language, skip, type);
const getRpdbPoster = (type, id, language, rpdbkey) => { const tier = rpdbkey.split("-")[0]; const lang = language.split("-")[0]; const baseUrl = `https://api.ratingposterdb.com/${rpdbkey}/tmdb/poster-default/${type}-${id}.jpg?fallback=true`; return tier === "t1" || lang === "en" ? baseUrl : `${baseUrl}&lang=${lang}`; };
const getPosterUrl = async (content, rpdbApiKey) => { const posterId = `poster:${content.id}`; if (rpdbApiKey) { const cachedPoster = await getCachedPoster(posterId); if (cachedPoster) { log.debug(`Using cached poster URL for id ${posterId}`); return cachedPoster.poster_url; } } let posterUrl; if (rpdbApiKey) { const rpdbImage = getRpdbPoster(catalogType, content.id, language, rpdbApiKey); try { log.debug(`Fetching RPDB poster URL: ${rpdbImage}`); await axios.get(rpdbImage); posterUrl = rpdbImage; } catch (error) { log.warn('Error fetching RPDB poster, falling back to TMDB poster.'); posterUrl = `https://image.tmdb.org/t/p/w500${content.poster_path}`; } } else { posterUrl = `https://image.tmdb.org/t/p/w500${content.poster_path}`; } return posterUrl; };
const filteredResults = discoverResults.results.filter(content => content.poster_path);
const metas = await Promise.all(filteredResults.map(async (content) => ({ id: `tmdb:${content.id}`, type: catalogType === 'movies' ? 'movie' : 'series', name: catalogType === 'movies' ? content.title : content.name, poster: await getPosterUrl(content, rpdbApiKey), background: `https://image.tmdb.org/t/p/w1280${content.backdrop_path}`, description: content.overview, year: catalogType === 'movies' ? content.release_date?.split('-')[0] : content.first_air_date?.split('-')[0], imdbRating: content.vote_average ? content.vote_average.toFixed(1) : null, })));
res.json({ metas });
filteredResults.forEach(async (content) => { const posterId = `poster:${content.id}`; const posterUrl = await getPosterUrl(content, rpdbApiKey); if (rpdbApiKey && posterUrl !== `https://image.tmdb.org/t/p/w500${content.poster_path}`) { setCachedPoster(posterId, posterUrl).catch(err => log.error(`Error caching poster: ${err.message}`)); } });
} catch (error) { log.error(`Error processing request: ${error.message}`); if (!res.headersSent) { res.status(500).json({ error: 'Internal Server Error' }); } }});
router.get('/providers', (req, res) => { log.info('Route /providers: Fetching providers from the database');
providersDb.all('SELECT provider_id AS id, provider_name AS display_name, logo_path FROM providers', [], (err, rows) => { if (err) { log.error('Error querying database:', err); return res.status(500).json({ error: 'Error querying database' }); } res.json(rows); });});
router.get("/", (req, res) => { log.info('Route /: Redirecting to /configure'); res.redirect("/configure");});
router.get("/:configParameters?/configure", (req, res) => { log.info('Route /:configParameters?/configure: Sending configure.html page'); res.sendFile(path.join(__dirname, '../public/configure.html'));});
const getProvider = (providerId) => { return new Promise((resolve, reject) => { providersDb.get("SELECT * FROM providers WHERE provider_id = ?", [providerId], (err, row) => { if (err) { reject(err); } else if (row) { resolve(row); } else { resolve(null); } }); });};
const manifestTemplate = { id: 'community.tmdb-addon', version: '1.0.0', name: 'TMDB Collection Addon', description: 'Addon that provides collections from TMDB.', resources: ['catalog'], types: ['movie', 'series'], idPrefixes: ['tt'], catalogs: [], behaviorHints: { configurable: true, configurationRequired: false, }, config: [ { key: 'tmdbApiKey', type: 'text', title: 'TMDB API Key (<a href="https://www.themoviedb.org/settings/api" target="_blank">Get it here</a>)', }, { key: 'language', type: 'text', title: 'Language (<a href="https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes" target="_blank">ISO 639-1 codes</a>)', required: true, }, { key: "providers", type: "text", title: "Providers list", required: true, }, { key: "ageRange", type: "select", title: "Select Age Range", options: [ { value: "0-5", title: "0-5 years" }, { value: "6-11", title: "6-11 years" }, { value: "12-15", title: "12-15 years" }, { value: "16-17", title: "16-17 years" }, { value: "18+", title: "18+ years (Adults)" }, ], required: true, } ] };
router.get("/:configParameters?/manifest.json", async (req, res, next) => { const { configParameters } = req.params; let config = { ...req.query };
if (configParameters) { try { const decodedConfig = JSON.parse(decodeURIComponent(configParameters)); config = { ...config, ...decodedConfig }; } catch (error) { log.error(`Failed to decode configParameters: ${error.message}`, error); return res.status(400).json({ error: 'Invalid config parameters' }); } }
const providers = Array.isArray(config.providers) ? config.providers : [];
if (!providers.length) { log.error('No providers specified.'); return res.status(400).json({ error: 'No providers specified' }); }
try { const providerInfo = await Promise.all(providers.map(providerId => getProvider(providerId)));
const [movieGenres, seriesGenres] = await Promise.all([ getGenres('movie'), getGenres('series') ]);
const genreOptions = (genres) => genres.map(genre => genre.name);
const isKidsMode = config.ageRange && config.ageRange !== '18+'; const catalogs = providerInfo.flatMap(provider => { if (!provider) { log.warn(`Provider with ID not found`); return []; }
const popularMovieCatalog = { type: 'movie', id: `tmdb-discover-movies-${provider.provider_id}`, name: `Popular Movies - ${provider.provider_name}`, extra: [ { name: 'genre', isRequired: false, options: genreOptions(movieGenres) }, { name: 'skip', isRequired: false }, ] };
const newMovieCatalog = { type: 'movie', id: `tmdb-discover-movies-new-${provider.provider_id}`, name: `New Movies - ${provider.provider_name}`, extra: [ { name: 'genre', isRequired: false, options: genreOptions(movieGenres) }, { name: 'skip', isRequired: false }, ] };
const popularSeriesCatalog = { type: 'series', id: `tmdb-discover-series-${provider.provider_id}`, name: `Popular Series - ${provider.provider_name}`, extra: [ { name: 'genre', isRequired: false, options: genreOptions(seriesGenres) }, { name: 'skip', isRequired: false }, ] };
const newSeriesCatalog = { type: 'series', id: `tmdb-discover-series-new-${provider.provider_id}`, name: `New Series - ${provider.provider_name}`, extra: [ { name: 'genre', isRequired: false, options: genreOptions(seriesGenres) }, { name: 'skip', isRequired: false }, ] };
if (isKidsMode) { popularMovieCatalog.extra.push({ name: 'ageRange', value: config.ageRange }); newMovieCatalog.extra.push({ name: 'ageRange', value: config.ageRange }); popularSeriesCatalog.extra.push({ name: 'ageRange', value: config.ageRange }); newSeriesCatalog.extra.push({ name: 'ageRange', value: config.ageRange }); } else { popularMovieCatalog.extra.push({ name: 'ageRange', value: '18+' }); newMovieCatalog.extra.push({ name: 'ageRange', value: '18+' }); popularSeriesCatalog.extra.push({ name: 'ageRange', value: '18+' }); newSeriesCatalog.extra.push({ name: 'ageRange', value: '18+' }); }
return [popularMovieCatalog, newMovieCatalog, popularSeriesCatalog, newSeriesCatalog]; });
const manifest = { ...manifestTemplate, catalogs: catalogs };
log.info('Route /manifest.json: Sending manifest'); res.json(manifest); } catch (error) { log.error(`Error generating manifest: ${error.message}`, error); res.status(500).json({ error: 'Internal Server Error' }); }});
router.use(errorHandler);
module.exports = router;123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343const axios = require('axios');const queue = require('./utils/queue');const { providersDb, genresDb, catalogDb } = require('./db');const { TMDB_BEARER_TOKEN, TMDB_LANGUAGE, TMDB_WATCH_REGION } = process.env;const { getCache, setCache } = require('./cache');const log = require('./utils/logger');
const TMDB_BASE_URL = 'https://api.themoviedb.org/3';
const makeRequest = (url, tmdbApiKey = null) => { const headers = {};
if (!tmdbApiKey) { headers['Authorization'] = `Bearer ${TMDB_BEARER_TOKEN}`; }
return new Promise((resolve, reject) => { queue.push({ fn: () => axios.get(url, { headers }) .then(response => { log.debug(`API request successful for URL: ${url}`); resolve(response.data); }) .catch(error => { log.error(`Error during API request for URL: ${url} - ${error.message}`); reject(error); }) }); });};
const determinePageFromSkip = async (providerId, skip, catalogDb, type, sortBy, ageRange) => { try { const cachedEntry = await new Promise((resolve, reject) => { catalogDb.get( "SELECT page, skip FROM cache WHERE provider_id = ? AND skip = ? AND type = ? AND sortBy = ? AND ageRange = ? ORDER BY skip DESC LIMIT 1", [providerId, skip, type, sortBy, ageRange], (err, row) => { if (err) { reject(err); } else { resolve(row); } } ); });
if (cachedEntry) { log.debug('Cached Entry:', cachedEntry); log.debug('Determined Page from Cache:', cachedEntry.page); return cachedEntry.page; }
const lastEntry = await new Promise((resolve, reject) => { catalogDb.get( "SELECT page, skip FROM cache WHERE provider_id = ? AND type = ? AND sortBy = ? AND ageRange = ? ORDER BY skip DESC LIMIT 1", [providerId, type, sortBy, ageRange], (err, row) => { if (err) { reject(err); } else { resolve(row); } } ); });
log.debug('Last Entry:', lastEntry);
if (lastEntry) { log.debug('Current Skip:', skip, 'Last Skip:', lastEntry.skip);
if (skip > lastEntry.skip) { log.debug('Determined Page:', lastEntry.page + 1); return lastEntry.page + 1; } }
log.debug('Default Page:', 1); return 1; } catch (error) { log.error('Error in determinePageFromSkip:', error); return 1; }};
const fetchData = async (endpoint, params = {}, tmdbApiKey = null, providerId = null, ageRange = null) => { if (tmdbApiKey) { params.api_key = tmdbApiKey; }
const { skip, type, sort_by: sortBy, ...queryParams } = params;
const page = providerId ? await determinePageFromSkip(providerId, skip, catalogDb, type, sortBy, ageRange) : 1;
const queryParamsWithPage = { ...queryParams, page, language: params.language || TMDB_LANGUAGE, };
if (sortBy) { queryParamsWithPage.sort_by = sortBy; }
const queryString = new URLSearchParams(queryParamsWithPage).toString();
const url = `${TMDB_BASE_URL}${endpoint}?${queryString}`;
log.debug('Request URL:', url);
const cachedData = await getCache(url, skip); if (cachedData) { return cachedData; }
const data = await makeRequest(url, tmdbApiKey);
setCache(url, data, page, skip, providerId, type, sortBy, ageRange); log.debug(`Data stored in cache for URL: ${url} with page: ${page}, skip: ${skip}, providerId: ${providerId}, type: ${type}, sortBy: ${sortBy}, ageRange: ${ageRange}`);
return data;};
const discoverContent = async (type, watchProviders = [], ageRange = null, sortBy = 'popularity.desc', genre = null, tmdbApiKey = null, language = TMDB_LANGUAGE, skip = 0) => { const mediaType = type === 'series' ? 'tv' : 'movie'; const endpoint = `/discover/${mediaType}`;
const regions = TMDB_WATCH_REGION ? TMDB_WATCH_REGION.split(',') : []; const providerId = watchProviders[0];
const params = { with_watch_providers: watchProviders.join(','), sort_by: sortBy, language, skip, type };
if (ageRange) { switch(ageRange) { case '0-5': if (mediaType === 'movie') { params.certification_country = 'US'; params.certification = 'G'; params.without_genres = '27,18,53,80,10752,37,10749,10768,10767,10766,10764,10763,9648,99,36'; } if (mediaType === 'tv') { params.with_genres = '10762'; // Kids only } break;
case '6-11': if (mediaType === 'movie') { params.certification_country = 'US'; params.certification = 'G'; params.without_genres = '27,18,53,80,10752,37,10749,10768,10767,10766,10764,10763,9648,99,36'; } if (mediaType === 'tv') { params.with_genres = '10762'; // Kids only } break;
case '12-15': if (mediaType === 'movie') { params.certification_country = 'US'; params.certification = 'PG'; } if (mediaType === 'tv') { params.with_genres = '16'; // Animation only } break;
case '16-17': if (mediaType === 'movie') { params.certification_country = 'US'; params.certification = 'PG-13'; } break;
case '18+': if (mediaType === 'movie') { params.include_adult = true; } break;
default: log.warn(`Unknown ageRange: ${ageRange}`); break; } }
if (genre) { params.with_genres = genre; }
const fetchForRegion = async (region) => { params.watch_region = region; return await fetchData(endpoint, params, tmdbApiKey, providerId, ageRange); };
const results = await Promise.all(regions.map(region => fetchForRegion(region)));
const combinedResults = results.reduce((acc, result) => acc.concat(result.results), []);
const uniqueResults = Array.from(new Map(combinedResults.map(item => [item.id, item])).values());
return { ...results[0], results: uniqueResults };};
const mergeProviders = (providers) => { const merged = {};
providers.forEach(provider => { const { provider_id, provider_name, logo_path } = provider;
if (!merged[provider_name]) { merged[provider_name] = { provider_id, logo_path }; } });
return Object.entries(merged).map(([provider_name, details]) => ({ provider_id: details.provider_id, provider_name, logo_path: details.logo_path }));};
const updateProviders = async () => { try { const regions = TMDB_WATCH_REGION ? TMDB_WATCH_REGION.split(',') : []; const movieEndpoint = `/watch/providers/movie`; const tvEndpoint = `/watch/providers/tv`;
const fetchProvidersForRegion = async (region) => { const params = { watch_region: region }; const [movieData, tvData] = await Promise.all([ fetchData(movieEndpoint, params), fetchData(tvEndpoint, params) ]); return [...movieData.results, ...tvData.results]; };
const results = await Promise.all(regions.map(region => fetchProvidersForRegion(region))); const combinedProviders = mergeProviders(results.flat());
const insertOrUpdateProvider = providersDb.prepare(` INSERT INTO providers (provider_id, provider_name, logo_path) VALUES (?, ?, ?) ON CONFLICT(provider_id) DO UPDATE SET provider_name = excluded.provider_name, logo_path = excluded.logo_path; `);
combinedProviders.forEach(provider => { insertOrUpdateProvider.run(provider.provider_id, provider.provider_name, provider.logo_path); });
insertOrUpdateProvider.finalize(); log.info('Providers update completed.'); } catch (error) { log.error(`Error during providers update: ${error.message}`); }};
const scheduleUpdates = () => { log.info('Scheduling provider and genre updates every 72 hours.'); setInterval(async () => { log.info('Starting provider update...'); await updateProviders();
log.info('Starting genre update...'); await updateGenres(); }, 3 * 24 * 60 * 60 * 1000);};
const getGenres = async (type) => { const mediaType = type === 'series' ? 'tv' : 'movie'; const endpoint = `/genre/${mediaType}/list`; const data = await fetchData(endpoint); log.debug(`Genres retrieved for type ${type}`); return data.genres;};
const updateGenres = async () => { try { const genresMap = new Map();
const movieGenres = await getGenres('movie'); const tvGenres = await getGenres('series');
movieGenres.concat(tvGenres).forEach(genre => { if (genresMap.has(genre.name)) { const existingGenre = genresMap.get(genre.name); existingGenre.ids.push(genre.id); } else { genresMap.set(genre.name, { name: genre.name, ids: [genre.id], mediaTypes: new Set([genre.media_type || (movieGenres.includes(genre) ? 'movie' : 'tv')]) }); } });
const insertOrUpdateGenre = genresDb.prepare(` INSERT INTO genres (genre_id, genre_name, media_type) VALUES (?, ?, ?) ON CONFLICT(genre_id) DO UPDATE SET genre_name = excluded.genre_name, media_type = excluded.media_type; `);
genresMap.forEach((value) => { const mediaTypes = Array.from(value.mediaTypes).join(','); value.ids.forEach(id => { insertOrUpdateGenre.run(id, value.name, mediaTypes); }); });
insertOrUpdateGenre.finalize();
log.info('Genres update completed.'); } catch (error) { log.error(`Error during genres update: ${error.message}`); }};
(async () => { try { log.info('Initializing provider and genre updates.'); await updateProviders(); await updateGenres(); scheduleUpdates(); } catch (error) { log.error(`Initialization error: ${error.message}`); }})();
module.exports = { makeRequest, fetchData, discoverContent, updateProviders, getGenres };123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869const winston = require('winston');const DailyRotateFile = require('winston-daily-rotate-file');const path = require('path');
winston.addColors({ error: 'red', warn: 'yellow', info: 'blue', debug: 'green'});
const uppercaseLevelFormat = winston.format((info) => { info.level = info.level.toUpperCase(); return info;});
const LOG_LEVEL = process.env.LOG_LEVEL || 'info';const LOG_FILE_PATH = path.join(__dirname, '../../log/application-%DATE%.log');const MAX_FILES = process.env.LOG_INTERVAL_DELETION || '3d';
const log = winston.createLogger({ level: LOG_LEVEL, format: winston.format.combine( uppercaseLevelFormat(), winston.format.colorize(), winston.format.timestamp(), winston.format.printf(({ level, message, timestamp }) => { return `${timestamp} ${level}: ${message}`; }) ), transports: [ new winston.transports.Console(), new DailyRotateFile({ filename: LOG_FILE_PATH, datePattern: 'YYYY-MM-DD', maxSize: '20m', maxFiles: MAX_FILES }) ]});
log.exceptions.handle( new winston.transports.Console({ format: winston.format.combine( uppercaseLevelFormat(), winston.format.colorize(), winston.format.timestamp(), winston.format.printf(({ level, message, timestamp }) => { return `${timestamp} ${level}: ${message}`; }) ) }), new DailyRotateFile({ filename: path.join(__dirname, '../../log/exceptions-%DATE%.log'), datePattern: 'YYYY-MM-DD', maxSize: '20m', maxFiles: '30d' }));
process.on('unhandledRejection', (reason, promise) => { throw reason;});
log.on('error', function (err) { console.error('Error in logger:', err);});
module.exports = log;12345678910111213141516171819202122232425262728const log = require('./logger');
const requestLogger = (req, res, next) => { const userAgent = req.headers['user-agent'] || ''; const origin = req.get('origin') || ''; const fullUrl = req.protocol + '://' + req.get('host') + req.originalUrl;
log.info('--- Request received ---'); log.debug(`Full URL: ${fullUrl}`); // log.debug(`Method: ${req.method}`); // log.debug(`Query parameters: ${JSON.stringify(req.query, null, 2)}`); // log.debug(`Request body: ${JSON.stringify(req.body, null, 2)}`); // log.debug(`Headers: ${JSON.stringify(req.headers, null, 2)}`); // log.debug(`User-Agent: ${userAgent}`); // log.debug(`Origin: ${origin}`);
next();};
const errorHandler = (err, req, res, next) => { log.error(`Error occurred: ${err.message}\nStack trace: ${err.stack}`); res.status(500).json({ error: 'Internal Server Error' });};
module.exports = { requestLogger, errorHandler};1234567const async = require('async');
const queue = async.queue((task, callback) => { task.fn().then(callback).catch(callback);}, 45); // 45 requests per second
module.exports = queue;.dockerignoreAdded+9
.envAdded+26
DockerfileAdded+11
doc/language.jsonAdded+937
doc/regions.jsonAdded+699
index.jsAdded+19
package-lock.jsonAdded+2642
package.jsonAdded+22
public/assets/logo.pngAdded

public/configure.htmlAdded+683
public/js/languages.jsAdded+202
src/cache.jsAdded+112
src/db.jsAdded+89
src/routes.jsAdded+363
src/tmdb.jsAdded+343
src/utils/logger.jsAdded+69
src/utils/middleware.jsAdded+28
src/utils/queue.jsAdded+7