mirror of
https://github.com/iptv-org/epg
synced 2026-05-07 18:07:05 -04:00
conform to new eslint rules
This commit is contained in:
611
package-lock.json
generated
611
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
20
package.json
20
package.json
@@ -37,18 +37,18 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint/eslintrc": "^3.3.5",
|
"@eslint/eslintrc": "^3.3.5",
|
||||||
"@eslint/js": "^9.39.4",
|
"@eslint/js": "^10.0.1",
|
||||||
"@freearhey/chronos": "^0.0.1",
|
"@freearhey/chronos": "^0.0.1",
|
||||||
"@freearhey/core": "^0.15.2",
|
"@freearhey/core": "^0.15.2",
|
||||||
"@freearhey/search-js": "^0.2.1",
|
"@freearhey/search-js": "^0.2.1",
|
||||||
"@freearhey/storage-js": "^0.2.0",
|
"@freearhey/storage-js": "^0.2.0",
|
||||||
"@iptv-org/sdk": "^1.2.0",
|
"@iptv-org/sdk": "^1.3.0",
|
||||||
"@ntlab/sfetch": "^1.2.0",
|
"@ntlab/sfetch": "^1.2.0",
|
||||||
"@octokit/core": "^7.0.6",
|
"@octokit/core": "^7.0.6",
|
||||||
"@octokit/plugin-paginate-rest": "^14.0.0",
|
"@octokit/plugin-paginate-rest": "^14.0.0",
|
||||||
"@octokit/plugin-rest-endpoint-methods": "^17.0.0",
|
"@octokit/plugin-rest-endpoint-methods": "^17.0.0",
|
||||||
"@stylistic/eslint-plugin": "^5.10.0",
|
"@stylistic/eslint-plugin": "^5.10.0",
|
||||||
"@swc/core": "^1.15.24",
|
"@swc/core": "^1.15.26",
|
||||||
"@swc/jest": "^0.2.39",
|
"@swc/jest": "^0.2.39",
|
||||||
"@types/cli-progress": "^3.11.6",
|
"@types/cli-progress": "^3.11.6",
|
||||||
"@types/fs-extra": "^11.0.4",
|
"@types/fs-extra": "^11.0.4",
|
||||||
@@ -60,10 +60,10 @@
|
|||||||
"@types/lodash.sortby": "^4.7.9",
|
"@types/lodash.sortby": "^4.7.9",
|
||||||
"@types/lodash.startcase": "^4.4.9",
|
"@types/lodash.startcase": "^4.4.9",
|
||||||
"@types/lodash.uniqby": "^4.7.9",
|
"@types/lodash.uniqby": "^4.7.9",
|
||||||
"@types/node": "^25.5.2",
|
"@types/node": "^25.6.0",
|
||||||
"@types/pako": "^2.0.4",
|
"@types/pako": "^2.0.4",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.58.1",
|
"@typescript-eslint/eslint-plugin": "^8.58.2",
|
||||||
"@typescript-eslint/parser": "^8.58.1",
|
"@typescript-eslint/parser": "^8.58.2",
|
||||||
"axios": "^1.15.0",
|
"axios": "^1.15.0",
|
||||||
"chalk": "^5.6.2",
|
"chalk": "^5.6.2",
|
||||||
"cheerio": "^1.2.0",
|
"cheerio": "^1.2.0",
|
||||||
@@ -76,11 +76,11 @@
|
|||||||
"dayjs": "^1.11.20",
|
"dayjs": "^1.11.20",
|
||||||
"epg-grabber": "^0.46.1",
|
"epg-grabber": "^0.46.1",
|
||||||
"epg-parser": "^0.5.0",
|
"epg-parser": "^0.5.0",
|
||||||
"eslint": "^10.2.0",
|
"eslint": "^10.2.1",
|
||||||
"eslint-config-prettier": "^10.1.8",
|
"eslint-config-prettier": "^10.1.8",
|
||||||
"fs-extra": "^11.3.4",
|
"fs-extra": "^11.3.4",
|
||||||
"glob": "^13.0.6",
|
"glob": "^13.0.6",
|
||||||
"globals": "^17.4.0",
|
"globals": "^17.5.0",
|
||||||
"husky": "^9.1.7",
|
"husky": "^9.1.7",
|
||||||
"iconv-lite": "^0.7.2",
|
"iconv-lite": "^0.7.2",
|
||||||
"inquirer": "^13.4.1",
|
"inquirer": "^13.4.1",
|
||||||
@@ -101,10 +101,10 @@
|
|||||||
"socks-proxy-agent": "^10.0.0",
|
"socks-proxy-agent": "^10.0.0",
|
||||||
"srcset": "^5.0.3",
|
"srcset": "^5.0.3",
|
||||||
"table2array": "^0.0.2",
|
"table2array": "^0.0.2",
|
||||||
"tabletojson": "^4.1.9",
|
"tabletojson": "^4.1.10",
|
||||||
"tough-cookie": "^6.0.1",
|
"tough-cookie": "^6.0.1",
|
||||||
"tsx": "^4.21.0",
|
"tsx": "^4.21.0",
|
||||||
"typescript": "^6.0.2",
|
"typescript": "^6.0.3",
|
||||||
"uuid": "^13.0.0"
|
"uuid": "^13.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ export async function loadIssues(props?: { labels: string[] | string }) {
|
|||||||
if (props && props.labels) {
|
if (props && props.labels) {
|
||||||
labels = Array.isArray(props.labels) ? props.labels.join(',') : props.labels
|
labels = Array.isArray(props.labels) ? props.labels.join(',') : props.labels
|
||||||
}
|
}
|
||||||
let issues: object[] = []
|
let issues: object[]
|
||||||
if (TESTING) {
|
if (TESTING) {
|
||||||
issues = (await import('../../tests/__data__/input/sites_update/issues.mjs')).default
|
issues = (await import('../../tests/__data__/input/sites_update/issues.mjs')).default
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
parser({ content }) {
|
parser({ content }) {
|
||||||
let programs = []
|
let programs
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const parsed = JSON.parse(content)
|
const parsed = JSON.parse(content)
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
async channels({ lang }) {
|
async channels({ lang }) {
|
||||||
const axios = require('axios')
|
const axios = require('axios')
|
||||||
let data = ''
|
let data
|
||||||
try {
|
try {
|
||||||
const res = await axios.get(`https://elcinema.com/${lang}/tvguide/`, {
|
const res = await axios.get(`https://elcinema.com/${lang}/tvguide/`, {
|
||||||
headers: headers
|
headers: headers
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
parser: function ({ content }) {
|
parser: function ({ content }) {
|
||||||
const programs = []
|
const programs = []
|
||||||
let items = []
|
let items
|
||||||
|
|
||||||
try {
|
try {
|
||||||
items = JSON.parse(content)
|
items = JSON.parse(content)
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user