Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(zoro): Add status, genres, season and japaneseTitle to fetchAnimeInfo #644

Open
wants to merge 26 commits into
base: master
Choose a base branch
from

[CodeFactor] Apply fixes

d113295
Select commit
Loading
Failed to load commit list.
Open

feat(zoro): Add status, genres, season and japaneseTitle to fetchAnimeInfo #644

[CodeFactor] Apply fixes
d113295
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor failed Jan 13, 2025 in 4s

8 issues fixed. 28 issues found.

Annotations

Check notice on line 186 in dist/providers/anime/anix.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/anix.js#L172-L186

Complex Method

Check warning on line 106 in src/providers/anime/anix.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/providers/anime/anix.ts#L106

Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong. (@typescript-eslint/no-non-null-asserted-optional-chain)

Check notice on line 180 in dist/providers/anime/animefox.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/animefox.js#L180

'episodeIs' is defined but never used. (no-unused-vars)

Check notice on line 320 in dist/providers/anime/zoro.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/zoro.js#L290-L320

Complex Method

Check notice on line 383 in src/providers/anime/zoro.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/providers/anime/zoro.ts#L352-L383

Complex Method

Check notice on line 215 in dist/providers/anime/gogoanime.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/gogoanime.js#L134-L215

Complex Method

Check notice on line 72 in dist/providers/anime/zoro.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/zoro.js#L37-L72

Complex Method

Check notice on line 283 in dist/providers/anime/anix.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/anix.js#L268-L283

Complex Method

Check warning on line 333 in dist/providers/anime/zoro.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/zoro.js#L333

'this.baseUrl' is assigned to itself. (no-self-assign)

Check notice on line 113 in dist/providers/movies/fmovies.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/movies/fmovies.js#L57-L113

Complex Method

Check notice on line 379 in dist/providers/anime/anix.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/anix.js#L372-L379

Complex Method

Check warning on line 296 in src/providers/anime/anix.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/providers/anime/anix.ts#L296

Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong. (@typescript-eslint/no-non-null-asserted-optional-chain)

Check notice on line 401 in src/providers/anime/anix.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/providers/anime/anix.ts#L389-L401

Complex Method

Check notice on line 672 in dist/providers/anime/zoro.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/zoro.js#L634-L672

Complex Method

Check warning on line 165 in dist/providers/anime/zoro.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/zoro.js#L165

Duplicate case label. (no-duplicate-case)

Check warning on line 181 in src/providers/anime/anix.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/providers/anime/anix.ts#L181

Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong. (@typescript-eslint/no-non-null-asserted-optional-chain)

Check warning on line 219 in src/providers/anime/anix.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/providers/anime/anix.ts#L219

Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong. (@typescript-eslint/no-non-null-asserted-optional-chain)

Check notice on line 321 in dist/providers/anime/zoro.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/zoro.js#L321

'episodeId' is defined but never used. (no-unused-vars)

Check warning on line 439 in src/providers/anime/anix.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/providers/anime/anix.ts#L439

Unexpected lexical declaration in case block. (no-case-declarations)

Check warning on line 59 in test/meta/anilist.test.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

test/meta/anilist.test.ts#L59

Expected an assignment or function call and instead saw an expression. (@typescript-eslint/no-unused-expressions)

Check notice on line 305 in src/providers/anime/anix.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/providers/anime/anix.ts#L290-L305

Complex Method

Check warning on line 180 in dist/providers/anime/zoro.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/zoro.js#L180

Unnecessary try/catch wrapper. (no-useless-catch)

Check warning on line 311 in src/providers/anime/anix.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/providers/anime/anix.ts#L311

Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong. (@typescript-eslint/no-non-null-asserted-optional-chain)

Check warning on line 39 in src/extractors/gogocdn.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/extractors/gogocdn.ts#L39

Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)

Check warning on line 417 in dist/providers/anime/anix.js

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

dist/providers/anime/anix.js#L417

Unexpected lexical declaration in case block. (no-case-declarations)