DIYgod
83e701b592
feat: compile ts through tsdown ( #18908 )
...
* feat: build ts via tsdown
* feat: exec tsdown
* fix
* fix
* fix
* feat: use tsdown shims
* chore: run rolldown lifecycle script
* fix: use shims
---------
2025-04-22 22:29:11 +08:00
Tony
d64c7620f9
feat(route): daily.dev sources ( #17464 )
2024-11-06 02:25:45 +08:00
pseudoyu
0a42f88de7
feat(route): add lang field in route namespace
2024-11-01 22:09:31 +07:00
nuomi1
5a653b6ef4
feat(route/mi): refactor crowdfunding with ofetch and art-template ( #16974 )
...
* feat(route/mi): refactor crowdfunding with ofetch and art-template
* fix: remove unnecessary diff
* refactor: use flatMap
---------
2024-10-04 22:23:53 +08:00
github-actions[bot]
0a2f685d42
style: auto format
2024-03-17 18:54:31 +00:00
zcw159357
4741d44de5
fix(route): Fix mi ( #14766 )
...
* 迁移小米相关路由
* 迁移小米相关路由
* 迁移小米相关路由
* 迁移小米相关路由
* 迁移小米相关路由
* 迁移小米相关路由
2024-03-18 02:44:47 +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
DIYgod
f812e915a4
feat: remove notOperational routes - bbs
2023-12-19 22:29:51 +08:00
Felix Hsu
3367005533
fix(route): xiaomiyoupin crowdfunding error and migrate to v2 ( #11677 )
...
* fix(route): xiaomiyoupin crowdfunding error and migrate to v2
* Update lib/v2/xiaomiyoupin/maintainer.js
* Update docs/shopping.md
* use single api endpoint for both module
* add pubDate()
2023-01-25 00:04:40 +08:00
Ethan Shen
916c656391
fix(route): 小米有品每日上新 ( #7403 )
2022-02-01 22:48:12 +08:00
Daniel Li (李丹阳) and Sukka
d77a039f05
style(eslint): add no-implicit-coercion rule ( #8175 )
...
* refactor: add no-implicit-coercion rule for ESLint
* fix: errors from deepscan
* fix: errors from deepscan
* fix: errors from deepscan
* fix: errors from deepscan
* fix: errors from deepscan
* Update docs/en/joinus/quick-start.md
Co-authored-by: Sukka <isukkaw@gmail.com >
* Update docs/joinus/quick-start.md
Co-authored-by: Sukka <isukkaw@gmail.com >
* Update lib/routes/av01/tag.js
Co-authored-by: Sukka <isukkaw@gmail.com >
* Update lib/routes/gov/taiwan/mnd.js
Co-authored-by: Sukka <isukkaw@gmail.com >
* Update lib/routes/ps/product.js
Co-authored-by: Sukka <isukkaw@gmail.com >
* refactor: minify html string
Co-authored-by: Sukka <isukkaw@gmail.com >
2021-09-15 21:22:11 +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
Ethan Shen
481773c281
fix: 小米有品按上新时间排序 ( #6223 )
2020-11-29 18:59:50 +00:00
Ethan Shen
934f07d320
fix: 小米众筹无商品时报错 ( #6093 )
2020-11-08 01:16:45 +00:00
Henry
90e1f80e78
fix: DeepScan issues
2020-08-24 12:53:04 +01:00
Ethan Shen
484c62bef5
feat: add 小米应用商店金米奖 ( #4916 )
2020-06-07 22:46:38 +08:00
DIYgod
529fc917d3
fix: xiaomi youpin, close #4108
2020-03-08 04:39:20 +08:00
DIYgod
77d55262ff
chore: bump got from 9.x to 10.x ( #3875 )
2020-02-04 01:09:14 +08:00
DIYgod
77cb871113
feat: add xiaomi bbs
2020-01-21 18:14:48 +08:00
DIYgod
50535a937a
refactor: remove await before cache.set
2019-09-20 15:58:30 +08:00
DIYgod
9a3bea3525
feat: remove referrerpolicy in routes
2019-08-28 14:38:19 +08:00
Cloud
5501113f82
fix: youpin error ( #2877 )
2019-08-19 11:35:43 +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