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 |
|
 BryanandTony
|
7eb6400f6c
|
feat: add .debug.html (#12476)
* feat: add .debug.html
* Update lib/middleware/template.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* use regex to extract index
* add tests
* add docs
---------
|
2023-05-09 17:26:24 +08:00 |
|
 零小白andxianjiantao
|
728da7f154
|
fix: author is not iterable (#11555)
Co-authored-by: xianjiantao <xianjiantao@bytedance.com>
|
2023-01-04 21:44:23 +08:00 |
|
Tony
|
d2ab8ab3c0
|
feat(core): json feed (#11494)
* feat(core): json feed
* docs: json feed description
* fix: remove extra comma if no elements exist after author
* test: json feed test
* feat: generate json feed without art-template
* test: fix coverage
* style: 4 spaces json
* docs: fix parameter
|
2023-01-02 21:35:36 +08:00 |
|
Rongrong
|
5b35471e39
|
fix(core): offending RFC4287 (#9441)
* fix(core): offending RFC4287
should not leave `<updated>` blank when `<published>` is not blank
these two fields MUST conform to the "date-time" production in RFC3339
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
* test(common-utils): complete tests
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
* test(template): restrict expected value of `pubDate`
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
|
2022-04-02 17:44:45 +08:00 |
|
Rongrong
|
3364b7eb1d
|
fix(route): migrate invalid enclosure_length usages to itunes_duration (#9291)
Close #9287
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
|
2022-03-10 20:54:29 +08:00 |
|
DIYgod
|
ba09be474d
|
test: fix rss-parser update error
|
2021-11-28 00:43:59 +00:00 |
|
NeverBehave
|
0792f7ba25
|
feat(core): first attempt to init script standard (#8224)
- lazy load
- rate limit per path
- init .debug.json support
- docs
- maintainer
- radar
|
2021-09-22 05:41:00 -07:00 |
|
DIYgod
|
aea67f7ae0
|
feat: longer default titleLengthLimit
|
2020-03-17 18:51:29 +08:00 |
|
junfengP
|
dae512feb9
|
feat: add route javlibrary (#3797)
|
2020-02-01 19:46:32 +08:00 |
|
DIYgod
|
cbe13ea05b
|
test: fix require
|
2019-09-18 18:03:50 +08:00 |
|
DIYgod
|
24cab914d8
|
feat: error page
|
2019-09-04 16:00:00 +08:00 |
|
DIYgod
|
0af16097b3
|
feat: replace text
|
2019-09-04 14:28:29 +08:00 |
|
DIYgod
|
745eb0d52a
|
test: add template enclosure test cases
|
2019-08-23 15:44:52 +08:00 |
|
Cloud
|
4b4b1d492a
|
fix: atomlink href (#2858)
|
2019-08-15 18:54:05 +08:00 |
|
Henry Wang
|
e1d91a591e
|
del: line breaker handling in middleware (#1592)
* del: remove line breaker handling
As it's slowing down RSSHub drastically
* del: related test case
* feat: weibo line breaker handling
|
2019-02-21 15:24:55 +08:00 |
|
Henry Wang
|
7a0f3e3eb7
|
替换换行符为 <br> (#1523)
close #1522
|
2019-02-19 22:45:29 +08:00 |
|
DIYgod
|
2438a498db
|
test: clear up
|
2019-01-31 15:30:44 +08:00 |
|
DIYgod
|
9afa5049d0
|
test: middleware/header
|
2019-01-31 15:12:54 +08:00 |
|
DIYgod
|
0a62389eaa
|
test: middleware/template
|
2019-01-31 11:45:00 +08:00 |
|