Commit Graph
16 Commits
Author SHA1 Message Date
NyaaaDoge df51c93677 feat(route): add steam community hub (#15346)
* feat(route): add steam community hub

* Update lib/routes/steamcommunity/appcommunityfeed.ts

* Update lib/routes/steamcommunity/appcommunityfeed.ts

* Move to route folder Steam

---------
2024-04-24 17:33:56 +08:00
moppman e91927843d fix(route): Restore Steam store route (#14834)
This updates the deprecated Steam store search route. The CSS stuff is
mostly untouched, just some small changes for bundle and discount detection.
`URLSearchParams` is now used instead of external query packages.

Implement PR feedback
2024-03-19 15:42:05 +08:00
DIYgod 6f57c02538 feat: rename routes dir - 2/2 2024-03-01 01:24:49 +08:00
Tony 6d901cb7dc style(eslint): add eslint-unicorn (#14257)
* style: add eslint-unicorn

* style: fix unicorn/no-useless-spread

* style: fix unicorn/no-useless-promise-resolve-reject

* style: fix unicorn/no-for-loop

* fix: codeql bad HTML filtering regexp

* fix: codeql incomplete replace

* fix: unicorn/no-abusive-eslint-disable

* style: fix unicorn/no-new-array

* style: fix unicorn/no-typeof-undefined

* style: fix unicorn/no-zero-fractions

* style: fix unicorn/no-empty-file

* style: fix unicorn/prefer-date-now

* revert: auto fix unicorn/prefer-switch on lib/v2/kuaidi100/utils.js

* style: fix unicorn/prefer-array-find

* style: fix unicorn/prefer-array-flat

* style: fix unicorn/prefer-array-flat-map

* style: fix unicorn/prefer-at

* style: fix unicorn/prefer-string-starts-ends-with

* style: fix unicorn/prefer-includes

* fix: codeql URL substring sanitization

* style: fix unicorn/prefer-optional-catch-binding

* style: fix unicorn/catch-error-name

* style: fix unicorn/escape-case

* style: fix unicorn/prefer-native-coercion-functions

* style: fix unicorn/prefer-regexp-test

* style: fix unicorn/require-array-join-separator

* style: fix unicorn/prefer-math-trunc

* style: fix unicorn/prefer-negative-index

* style: fix unicorn/prefer-dom-node-dataset

* style: fix unicorn/prefer-dom-node-text-content

* style: fix unicorn/prefer-query-selector

* style: fix unicorn/no-array-for-each

* style: fix unicorn/no-negated-condition

* style: fix unicorn/prefer-add-event-listener

* style: fix unicorn/import-style

* style: fix prefer-regex-literals

* style: disable unicorn/no-useless-switch-case

* style: disable unicorn/text-encoding-identifier-case

* style: fix unicorn/prefer-set-has

* style: fix unicorn/prefer-spread

* revert: auto fix on lib/routes/universities/ynnu/edu/base64.js

* style: fix unicorn/no-useless-undefined

* style: fix unicorn/no-array-push-push

* style: fix unicorn/no-useless-undefined again

* style: fix unicorn/no-lonely-if

* style: fix unicorn/prefer-reflect-apply

* style: fix unicorn/switch-case-braces

* style: fix unicorn/prefer-switch

* style: fix unicorn/prefer-array-some

* fix: deepscan UNUSED_VAR_ASSIGN

* style: fix unicorn/prefer-ternary

* fix: follow-up of unicorn/prefer-ternary

* revert: auto fix of unicorn/prefer-string-slice for substring()

* style: disable unicorn/prefer-string-slice

fix: auto fix slice over deprecated substr

* style: fix unicorn/throw-new-error

* style: fix unicorn/filename-case

* test: fix dateParser renaming

* style: fix unicorn/better-regex

* style: fix unicorn/prefer-string-replace-all

* fix(deps): add sanitize-html

* style: fix no-prototype-builtins

* style: fix unicorn/consistent-destructuring

* style: fix unicorn/consistent-function-scoping

* style: fix unicorn/prefer-regexp-test

* style: fix unicorn/prefer-logical-operator-over-ternary

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

* style: add prefer-object-has-own

* style: warn unicorn/no-empty-file

* style: fix unicorn/prefer-number-properties

* style: fix no-useless-undefined again

* style: fix unicorn/numeric-separators-style

* style: disable unicorn/no-array-callback-reference

false postive with cheerio
2024-01-18 20:43:40 +08:00
MisteryMonster 87980a9e5b chore(route): Remove steam news (#7764) 2021-06-26 17:08:56 -07:00
Laam Pui 2fcf82a89c fix: steam news center (#6481) 2020-12-26 05:51:05 +00:00
DIYgod 7718d3460d feat: remove steamdb 2020-06-18 19:27:51 +08:00
DIYgod 0050f8882f feat: deps cloudscraper -> hooman, close #4538 2020-05-06 23:48:28 +08:00
Richard Yu 27577b48ca fix: steamdb blocked by cloudflare, wrong <td> ordinal and allo… (#4451) 2020-04-16 19:40:03 +08:00
Yu Jin 9a3a99eb90 feat: added steamdb free games (#4372) 2020-04-13 19:25:33 +08:00
DIYgod 0e7b14e718 chore(deps-dev): bump prettier from 1.19.1 to 2.0.2 2020-04-02 21:21:46 +08:00
DIYgod 77d55262ff chore: bump got from 9.x to 10.x (#3875) 2020-02-04 01:09:14 +08:00
Henry Wang d9e2bcd4d9 feat: add Metacritic game releases (#2366) 2019-06-11 11:28:17 +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