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 |
|
Andvari
|
e8f9690248
|
fix(route/reuters): Suppress full text fetch (#14035)
|
2023-12-18 01:26:44 +08:00 |
|
Tony
|
9c13eb9aed
|
fix(route): reuters return fulfilled promises (#13730)
* fix: reuters return fulfilled promises
* fix: remove deprecated routes and migration prompt
|
2023-11-09 00:25:41 +08:00 |
|
Andvari
|
abd651d77d
|
feat(route/reuters): Add **experimental** sophi API support. (#13509)
* fix(route/reuters): Make `limit` parameter actually work.
* feat(route/reuters): Add **experimental** `sophi` API support.
* Rewrite query name.
* Add doc.
* Update lib/v2/reuters/common.js
* Update lib/v2/reuters/common.js
* Update traditional-media.md
---------
|
2023-10-16 21:07:31 +08:00 |
|
Andvari
|
b08abca743
|
fix(route): Remove duplicate articles in reuters feed. (#13349)
* Remove duplicate articles in reuters feed.
* Refining
|
2023-09-21 17:17:12 +08:00 |
|
Andvari
|
31b56187c0
|
feat(route): use API for reuters. (#13190)
* feat(route): use reuters api.
* Fix typo in doc.
* Refining
* Update common.js
* Update common.js
* Update common.js
* Update common.js
* Update common.js
* Refactor the code, and apologize for my stubbornness.
|
2023-09-05 23:57:42 +08:00 |
|
DIYgod
|
7b65ba69bb
|
feat: add docusaurus website (#13039)
|
2023-08-15 03:12:12 +01:00 |
|
Bratislava
|
28a41d61c7
|
perf(route/reuters): use downsized pictures from Reuters (#12766)
* perf(route/reuters): use downsized pictures from Reuters
* perf(route/reuters): use 1920w pictures from Reuters
|
2023-07-08 17:09:42 +11:00 |
|
Ethan Shen
|
413a959cb3
|
feat(route): add Reuters Graphics (#12748)
|
2023-07-04 00:39:46 +08:00 |
|
Tony
|
d6478759ac
|
fix(route): reuters (#12702)
|
2023-06-23 19:51:59 +08:00 |
|
Tony
|
cbe111a000
|
fix(route): reuters (#11073)
|
2022-10-13 00:57:52 +08:00 |
|
 
|
6b9db7a97f
|
fix(route): Add v2 router to subscribe reuters.com and remove deprecated routes (#9761)
* Add v2 router to subscribe Reuters.com
* Fix Reuters document
* Fix Reuters radar
* Update docs/en/traditional-media.md
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update docs/traditional-media.md
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update docs/traditional-media.md
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update docs/en/traditional-media.md, Delete empty paramDesc
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/reuters/index.js default value setting
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/reuters/index.js don't select all the time
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/reuters/index.js test variable first
Co-authored-by: Rongrong <i@rong.moe>
* Update lib/v2/reuters/radar.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/reuters/index.js clean code
Co-authored-by: Rongrong <i@rong.moe>
* Update lib/v2/reuters/index.js test variable first
Co-authored-by: Rongrong <i@rong.moe>
* Update lib/v2/reuters/index.js
Co-authored-by: Rongrong <i@rong.moe>
* Update lib/v2/reuters/index.js
Co-authored-by: Rongrong <i@rong.moe>
* Update lib/v2/reuters/investigates.js
Co-authored-by: Rongrong <i@rong.moe>
* Update lib/v2/reuters/maintainer.js
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/en/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update lib/v2/reuters/investigates.js
Co-authored-by: Rongrong <i@rong.moe>
* Update lib/v2/reuters/investigates.js
Co-authored-by: Rongrong <i@rong.moe>
* Remove old routes of reuters.com
* Update docs/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update lib/v2/reuters/maintainer.js
Co-authored-by: Rongrong <i@rong.moe>
* Update lib/v2/reuters/router.js deprecated promotes
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/en/traditional-media.md deprecated warning
Co-authored-by: Rongrong <i@rong.moe>
* fix typo afica to africa
* Add reuters migration notes
* rename reuters routes navigation.js to common.js
* rename navigation to common
* Update docs/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/en/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/en/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/en/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update lib/v2/reuters/router.js
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/en/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/en/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* vscode auto format double qustion mark incorrect
* dont know what to prompt
* Update lib/v2/reuters/migration_prompt.js prompt deprecated routes
Co-authored-by: Rongrong <i@rong.moe>
* Update lib/v2/reuters/common.js
Co-authored-by: Rongrong <i@rong.moe>
* Update lib/v2/reuters/common.js
Co-authored-by: Rongrong <i@rong.moe>
* Update lib/v2/reuters/maintainer.js
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/en/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update lib/v2/reuters/radar.js
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/en/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/en/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update docs/traditional-media.md
Co-authored-by: Rongrong <i@rong.moe>
* Update lib/v2/reuters/common.js
Co-authored-by: Rongrong <i@rong.moe>
* style: lint
Co-authored-by: Rongrong <i@rong.moe>
|
2022-05-28 03:53:41 +08:00 |
|