Commit Graph
22 Commits
Author SHA1 Message Date
Tony 03969f3867 refactor: fix lint issue (#18963)
* fix: unicorn/no-empty-file

* fix: unicorn/prefer-node-protocol

* fix: unicorn/prefer-number-properties

* fix: unicorn/consistent-destructuring

* fix: unicorn/no-array-callback-reference

* fix: unicorn/new-for-builtins

* fix: set checkNaN to false in unicorn/prefer-number-properties

* fix: unicorn/prefer-string-slice

* fix: update eslint ignore
2025-04-29 03:00:16 +08:00
dependabot[bot]andTony 8a0efc0ba2 chore(deps-dev): bump eslint-plugin-unicorn from 56.0.1 to 57.0.0 (#18392)
* chore(deps-dev): bump eslint-plugin-unicorn from 56.0.1 to 57.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 56.0.1 to 57.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v56.0.1...v57.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: remove unicorn plugin

* style: fix eslint issues

* style: fix more issues

* chore: flat config unicorn

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2025-02-19 05:10:11 +08:00
TsuyumiandTony fb8e90dff0 feat(route/pixiv): refactor novels api and add series support (#17532)
* feat(route/pixiv): refactor novels api and add series support

* chore: cleanup

* Update lib/routes/pixiv/novel-api/series/nsfw.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/pixiv/novel-api/series/sfw.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/pixiv/novel-api/user-novels/nsfw.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/pixiv/novel-api/user-novels/nsfw.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/pixiv/novels.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/pixiv/series.ts

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* refactor: rename pixiv/series to pixiv/novel/series

---------
2024-11-11 19:14:02 -08:00
Tsuyumi cf7ce2470b feat(route/pixiv): add R18 novels support and full content toggle for… (#17391)
* feat(route/pixiv): add R18 novels support and full content toggle for user novels

* fix: information & image placeholders

* refactor: split novels fetching into SFW/NSFW modules and improve type definitions

* feat: add info for sfw

* feat: add radar

* refactor: use jsdom instead of regex

* feat: add limit support for nsfw novels

* docs: rename radar title

* revert: part of #17440
Object.entries(options.searchParams) returns `[]`

* fix: clean up

* feat: early exit when no SFW novels found

* refactor: combine novel parsing logic into utils

* docs: restore pixiv doc link

* feat: cache novel content

* refactor: cleanup

* refactor: full content function

---------
2024-11-06 03:56:50 +08:00
DIYgod 44c9853541 feat: replace require with import 7/n 2024-03-07 01:17:21 +08:00
DIYgod 3d33ab1f72 feat: replace require with import 6/n 2024-03-07 00:46:47 +08:00
DIYgod e42ff57cb4 feat: replace require with import 5/n 2024-03-07 00:39:42 +08:00
DIYgod 34d889743b feat: replace require with import 4/n 2024-03-07 00:15:48 +08:00
Yufan You 130b11224e chore: remove @ts-nocheck (#14669) 2024-03-05 21:06:03 +08:00
DIYgod 8065ededf5 feat: rename routes .js to .ts 2024-03-04 00:35:37 +08:00
DIYgod d88620c39c feat: update esm dependencies 2024-03-01 22:58:04 +08:00
DIYgod 6f57c02538 feat: rename routes dir - 2/2 2024-03-01 01:24:49 +08:00
Tony 256387bd25 feat(route): pixiv novels (#10647)
* feat(route): pixiv novels

* fix: radar

* fix: cache rename

* docs: fix tag closing

* fix: sort
2022-08-29 23:40:16 +08:00
Sukka d82847f541 style/chore(eslint): enforce new rules (#8040)
* style: prefer object shorthand syntax
* refactor: prefer Array#map over Array#forEach
* style: prefer arrow callback
* chore(eslint): update rules
* style: auto fix by eslint
2021-08-17 22:23:23 +08:00
Sukka 6e3b58ed1d refactor: avoid promise overhead (#8028) 2021-08-16 11:45:53 -07:00
小白-白 4d139d4a05 fix(docs): manga support for pixiv user activity (#6923)
* fix: support refresh token login (#6883)

* docs: update pixiv login

* docs: update pixiv login

* docs: update pixiv config

* fix: manga support for pixiv user activity (#6879)
2021-02-14 22:12:37 -05:00
Bao, Huang-Huang 45347d2b9c feat: bypass Pixiv Cloudflare by directly accessing Pixiv gateway server IP (#5952) 2020-10-20 11:18:05 +01:00
DIYgod 77d55262ff chore: bump got from 9.x to 10.x (#3875) 2020-02-04 01:09:14 +08:00
Clarke a96171334f feat: add pixiv illustfollows (#3073) 2019-09-15 12:52:29 +08:00
DIYgod a56c0b5a39 refactor: rename axios to got 2019-06-03 18:03:05 +08:00
DIYgod e2badbfa98 chore: module alias for all routes 2019-05-15 15:27:15 +08:00
DIYgod 38a90e29b0 optimize directory structure 2018-12-26 18:35:10 +08:00