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 |
|
JimenezLi
|
0e70524248
|
feat(proxy): add PAC script support (#14218)
* feat(proxy): add PAC script support
* fix pnpm fail
* fix coverage
* fix coverage final
* update docs
|
2024-01-13 02:35:56 +00:00 |
|
Tony
|
1f90b69973
|
fix: adjust http log level (#14114)
* feat: log redirect
* fix: change puppeteer/proxy/redirect/got log level to `http`
ref: https://github.com/winstonjs/winston#logging-levels (npm levels)
|
2023-12-26 02:23:33 +08:00 |
|
DIYgod
|
a63c86a049
|
feat: remove notOperational routes - design
|
2023-12-20 00:35:56 +08:00 |
|
DIYgod
|
27eda52681
|
fix: logger.debug
|
2023-07-24 03:11:26 +01:00 |
|
DIYgod
|
f1660e9723
|
feat: expand the scope of retries and set proxy strategy
|
2023-07-24 02:38:24 +01:00 |
|
DIYgod
|
030043347a
|
feat: exclude some requests for reverse proxy
|
2023-07-24 01:57:22 +01:00 |
|
DIYgod
|
3da47b69ed
|
fix: reverse proxy fails for some requests
|
2023-07-24 01:04:46 +01:00 |
|
DIYgod
|
541cae4397
|
test: fix empty request error and remove node 16 support
|
2023-07-23 21:41:12 +01:00 |
|
DIYgod
|
cd6b5e0f0b
|
feat: bypass reverse proxy for requests with cookies
|
2023-07-23 21:28:00 +01:00 |
|
DIYgod
|
d7224338a5
|
test: fix empty request error
|
2023-07-23 20:44:57 +01:00 |
|
github-actions[bot]
|
872ff0c538
|
style: auto format
|
2023-07-23 19:30:33 +00:00 |
|
DIYgod
|
3a5d293b7f
|
feat: support reverse proxy
|
2023-07-23 20:28:38 +01:00 |
|
dependabot[bot]
|
b982947a60
|
chore(deps): bump https-proxy-agent from 5.0.1 to 6.1.0 and socks-proxy-agent from 7.0.0 to 8.0.1 (#12445)
* chore(deps): bump https-proxy-agent from 5.0.1 to 6.0.0
Bumps [https-proxy-agent](https://github.com/TooTallNate/proxy-agents/tree/HEAD/packages/https-proxy-agent) from 5.0.1 to 6.0.0.
- [Release notes](https://github.com/TooTallNate/proxy-agents/releases)
- [Changelog](https://github.com/TooTallNate/proxy-agents/blob/main/packages/https-proxy-agent/CHANGELOG.md)
- [Commits](https://github.com/TooTallNate/proxy-agents/commits/HEAD/packages/https-proxy-agent)
---
updated-dependencies:
- dependency-name: https-proxy-agent
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore(deps): bump https-proxy-agent from 5.0.1 to 6.0.0
* test: update test to use WHATWG URL API
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2023-05-07 00:25:12 +08:00 |
|
Rongrong
|
d60d89ea87
|
feat(core): unify proxy; optimize request-wrapper (#11472)
* feat(core): unify proxy; optimize request-wrapper
Signed-off-by: Rongrong <i@rong.moe>
* Fix DeepScan issue
Signed-off-by: Rongrong <i@rong.moe>
* Simplify protocol existence judgment
Signed-off-by: Rongrong <i@rong.moe>
* chore: regenerate yarn.lock
Signed-off-by: Rongrong <i@rong.moe>
|
2022-12-23 01:13:01 +08:00 |
|
DIYgod
|
9329a44c80
|
feat(core): support proxy config for pupperteer (#10714)
* feat: support proxy config for pupperteer
* test: add puppeteer proxy detection
* fix: package.json
* test: fix regex
|
2022-09-07 00:07:04 +08:00 |
|
Rongrong
|
23fcb6bc5a
|
feat(core/utils/request-wrapper): request logging (#9691)
Signed-off-by: Rongrong <i@rong.moe>
|
2022-05-04 12:36:48 +10:00 |
|
Tony
|
34b58ebc64
|
fix(utils): request without hostname (#9649)
|
2022-04-28 19:35:31 +08:00 |
|
dependabot[bot]
|
dd4a216648
|
chore(deps): bump socks-proxy-agent from 6.1.1 to 6.2.0 (#9572)
* chore(deps): bump socks-proxy-agent from 6.1.1 to 6.2.0
Bumps [socks-proxy-agent](https://github.com/TooTallNate/node-socks-proxy-agent) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/TooTallNate/node-socks-proxy-agent/releases)
- [Changelog](https://github.com/TooTallNate/node-socks-proxy-agent/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TooTallNate/node-socks-proxy-agent/compare/v6.1.1...v6.2.0)
---
updated-dependencies:
- dependency-name: socks-proxy-agent
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: use dot notation
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
|
2022-04-21 03:54:53 +08:00 |
|
Rongrong
|
0522c63d5f
|
fix(core/utils): invalid request header Server (#9582)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
|
2022-04-20 22:32:46 +08:00 |
|
Sukka
|
31720bbb1b
|
perf: lazy require dependencies (#8025)
|
2021-08-20 14:05:57 +08:00 |
|
DIYgod
|
c5e3a27f44
|
feat: auto add headers.host
|
2020-12-17 18:54:29 +08:00 |
|
Mitt
|
f7a1380dac
|
fix: host in headers after redirecting request (#4717)
|
2020-05-11 18:35:08 +08:00 |
|
zengxs
|
58e930b4cc
|
support proxy-uri
|
2020-05-06 22:43:09 +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
|
0b63142add
|
test: fix undefined url
|
2020-02-15 21:46:10 +08:00 |
|
DIYgod
|
48b27fe811
|
feat: auto add header Host
|
2020-02-15 21:32:16 +08:00 |
|
DIYgod
|
77d55262ff
|
chore: bump got from 9.x to 10.x (#3875)
|
2020-02-04 01:09:14 +08:00 |
|
DIYgod
|
7a2dc47bf7
|
feat(core): auto referer
|
2019-10-22 17:25:32 +08:00 |
|
DIYgod
|
4445443946
|
feat: use dynamical config
|
2019-09-18 17:45:21 +08:00 |
|
DIYgod
|
eba8f46875
|
feat: header x-app -> server
|
2019-08-15 23:14:48 +08:00 |
|
DIYgod
|
e5d34eda6b
|
test: request-wrapper
|
2019-08-11 00:31:20 +08:00 |
|
DIYgod
|
6f3a7836f2
|
feat: request wrapper
|
2019-08-06 13:00:22 +08:00 |
|