Fix linter errors

This commit is contained in:
Isra 2023-10-03 17:48:40 -05:00
parent 381c6d4e14
commit 64b493eaf2
3 changed files with 33 additions and 5 deletions

25
package-lock.json generated
View File

@ -1,19 +1,20 @@
{
"name": "@movie-web/providers",
"version": "1.0.0",
"version": "1.0.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@movie-web/providers",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",
"dependencies": {
"cheerio": "^1.0.0-rc.12",
"crypto-js": "^4.1.1",
"form-data": "^4.0.0",
"node-fetch": "^2.7.0",
"randombytes": "^2.1.0"
"randombytes": "^2.1.0",
"unpacker": "^1.0.1"
},
"devDependencies": {
"@types/crypto-js": "^4.1.1",
@ -4709,6 +4710,24 @@
"url": "https://github.com/sponsors/raouldeheer"
}
},
"node_modules/nanoid": {
"version": "3.3.6",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz",
"integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==",
"dev": true,
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/ai"
}
],
"bin": {
"nanoid": "bin/nanoid.cjs"
},
"engines": {
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
}
},
"node_modules/natural-compare": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",

View File

@ -80,6 +80,7 @@
"crypto-js": "^4.1.1",
"form-data": "^4.0.0",
"node-fetch": "^2.7.0",
"randombytes": "^2.1.0"
"randombytes": "^2.1.0",
"unpacker": "^1.0.1"
}
}

View File

@ -16,7 +16,15 @@ import { showBoxScraper } from './sources/showbox';
export function gatherAllSources(): Array<Sourcerer> {
// all sources are gathered here
return [flixhqScraper, remotestreamScraper, kissAsianScraper, superStreamScraper, goMoviesScraper, zoechipScraper, showBoxScraper];
return [
flixhqScraper,
remotestreamScraper,
kissAsianScraper,
superStreamScraper,
goMoviesScraper,
zoechipScraper,
showBoxScraper,
];
}
export function gatherAllEmbeds(): Array<Embed> {