Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency superagent to v8 #61

Merged
merged 1 commit into from
May 6, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 6, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
superagent 3.7.0 -> 8.0.9 age adoption passing confidence

Release Notes

ladjs/superagent

v8.0.9

Compare Source

  • fix: fixed eslintrc config 53d2d8a
  • chore: bump deps 82f7498
  • Merge pull request #​1761 from Leafly-com/fix/follow-redirect-cookies cd094f5
  • Merge pull request #​1762 from Leafly-com/fix-cookie-header 4268ae4
  • fix(cookies): parse header correctly when merging cookies 4aac580
  • fix(redirects): emit correct response in redirect event e2538f3

v8.0.8

Compare Source

  • Merge pull request #​1757 from ShiraNagen/cookies-domains 93835cb
  • fix(cookies): send cookies to allowed domains e98489a

v8.0.7

Compare Source

v8.0.6

Compare Source

v8.0.5

Compare Source

  • docs: fixed links, added maintainer note 08a18b9
  • Merge pull request #​1753 from lamweili/patch-1 92b1435
  • chore(deps-dev): downgraded mocha from ^10.1.0 to ^6.2.3 889e90c

v8.0.4

Compare Source

v8.0.3

Compare Source

  • fix: fixes tinyify / require is not defined issued (closes #​1743 and closes #​1747) 63340fa
  • Merge pull request #​1744 from lamweili/fix-ci 0769a85
  • chore(deps-dev): bumped mocha from 6.2.2 to 6.2.3 14b2386
  • test: fixed an issue with test timeout as stream wasn't ready c122c42
  • ci: migrated to new codecov upload (removed in 1fc9682) 9299fb9
  • ci: updated gh actions to v3 ba5c32d
  • ci: support Node.js 18.x 15e8942
  • ci: support older Node.js (regression from 1fc9682) 1c39444

v8.0.2

Compare Source

v8.0.1

Compare Source

v8.0.0

Compare Source

  • feat: dropped IE support (ActiveXObject), fixed XMLHttpRequest in Electron (closes #​1731), 715516d
  • Merge pull request #​1729 from yunnysunny/feat/old-node 26c72d0
  • chore: re-enable old node test 18896ec
  • chore: down the version of commitlint and husky aa60766
  • chore: remove lint-staged in pre commit 80d0955
  • test: fix test error when commit git on windows 5b1ba9c
  • ci: remove unsupport dev dependencies for old node 713d8d4

v7.1.6: DEPRECATED (use v7.1.5 or v8.0.0+ instead)

Compare Source

  • chore: remove old node test stuff fa573df
  • chore: linting, bump deps (closes #​1727) a7a14d3
  • Merge pull request #​1682 from lance/1681-parse-json-seq-as-text d7ca5dd
  • Merge pull request #​1608 from jeremyruppel/ok-err-status 8f29f52
  • Merge branch 'master' into ok-err-status 59518b0
  • Merge pull request #​1630 from jimmywarting/remove-old-hacks 5c8fb1e
  • Merge branch 'master' into remove-old-hacks 764412a
  • fix: modifies the data type detection logic for json-seq 42b5231
  • revert if statement 0228b9e
  • Merge branch 'master' into remove-old-hacks 2d686df
  • RIP ActiveXObject c1ea82b
  • Preserve custom err.status from ok callback 57f779e

v7.1.5

Compare Source

  • chore: delete github yml file e7a29cf
  • Revert "chore: fixed package husky dep issue" de5cc71
  • Merge pull request #​1728 from perrin4869/fix/dev-dependencies 708fa6c
  • Optional dependencies are dev dependencies 9d34958

v7.1.4

Compare Source

  • chore: fixed package husky dep issue afeb2b7
  • chore: bump deps, added configs as files instead of in pkg a9f9942
  • Merge pull request #​1726 from ltxhhz/master fa123f5
  • fixed #​1680 , And fix the document path. 303afad
  • Merge branch 'visionmedia:master' into master 4611a6b
  • Merge pull request #​1723 from yunnysunny/feat/htt2-fix 9ed2916
  • ci: fix makefile error b8bf5e8
  • ci: fix github action b0b1f9a
  • ci: all node version will try to test on http2 44f8ae0
  • ci: remove unnecessary test 5030b83
  • ci: fix the error of express-session used in http2 bb3dc7a
  • test: fix the wrong use of statuses b6da894
  • Merge pull request #​1722 from yunnysunny/feature/test-on-low-node 34c9ff4
  • ci: use separate babel config for src and test 1330634
  • ci: fix missing require lint error 38bc6cb
  • ci: ignore eslint on old node 98f3b49
  • ci: only build test files on old node 641c0ce
  • ci: add test on node 10 2fa2541
  • chore: remove commitlint to optional dependencies dba8b08
  • ci: add test for node 10 5f27a06
  • chore: remove eslint to optional dependencies 418408f
  • 1.18 fixed css path c719f0c
  • Added Chinese document (添加中文文档) 713cbe0

v7.1.3

  • chore: fixed linting 2c18890
  • Merge pull request #​1717 from yunnysunny/feature/github-action-improve bc25a87
  • chore: bump deps c4e8c6e
  • Merge pull request #​1720 from bultkrantz/feature/custom-encoder 907d14b
  • use custom encoder if it is sent in option object 04fc158
  • Merge pull request #​1716 from yunnysunny/feature/fix-node14-pipe 508b9fb
  • test: only enlarge the timeout for pipe test 16c88c5
  • ci: use secret env to hide the sauce config b2b330b
  • ci: trigger ci on push and pull request b83fae3
  • ci: add slow parameter to mocha ba56f87
  • ci: fix the upload test on Windows a7cee2b
  • ci: set timeout to 15000ms 718e063
  • test: add event listener for read stream 8b68b11
  • ci: add error event listener for pipe 5e9f9d7
  • v7.1.2 633e467
  • Merge pull request #​1674 from yunnysunny/feature/fix-lookup 31e0160
  • Merge pull request #​1677 from yunnysunny/feature/github-action2 451cdcd
  • fix: fixed the errors of eslint (#​1675) 84206c7
  • fix: fixed the broken testcases (#​1676) 1fd4f90
  • feat: add github action 2704155
  • test: fixed not trigger req in lookup testcase 356e525
  • fix: fixed the error of null value of lookup 07e748f
  • Merge branch 'visionmedia:master' into master 77b052a
  • feat: add lookup method 590b1ac

v7.1.1

v7.0.2

Compare Source

v7.0.1

Compare Source

v7.0.0

Compare Source

  • fix: fixed linting, file size, and README updates for browser compat 152fcbe
  • chore: bump lockfile 42b2c67
  • fix: fixed security file linting 88daf8b
  • fix: add node v16 and drop v10 from tests (lib is still compiled to work down to node v6.4) 81fd7ad
  • fix: updated lockfile 0334997
  • Fix/tests (#​1659) 9518bfe
  • fix: locked mocha back to what it should have been c5ca6fd
  • fix: fixed linting issue 120a97b
  • fix: added abort fix logic for all Node versions 8b1923d
  • Create SECURITY.md (#​1658) 7ac9d42
  • chore: bump deps, fixed linting 048cf18
  • build: update formidable to 2.0.1 (#​1651) 6ac6429
  • chore: bump deps, including form-data (closes #​1267) 3c9c0f7
  • Note of the breaking change in browser 6.0 -> 6.1 (#​1614) e2987e3

v6.1.0

Compare Source

v6.0.0

Compare Source

  • fix: bump deps, fixed linting, specific retry approach d68907b
  • fix: fixed content-type case-sensitivity (closes #​1572) 44fadf9
  • Add mention of bearer auth to docs (#​1583) e88a13f
  • Update jQuery in tail.html (#​1582) a009ace
  • Revert "Improve .retry() method functionality with delays and prevent calling on successful request (#​1527)" 74641bb
  • fix: fixed lint, yarnlock 0c4f96f
  • Improve .retry() method functionality with delays and prevent calling on successful request (#​1527) 62eae78
  • fix: fixed travis f8ea331
  • removed extra should from test description (#​1581) cc34638

v5.3.1

Compare Source

v5.3.0

Compare Source

v5.2.2

Compare Source

v5.2.1

Compare Source

v5.2.0

Compare Source

  • Check res.text as well to return a better error txt message (#​1534) d957c81

v5.1.4

Compare Source

  • fix: throw timeout error in promise interface when timedout (#​1510) 56ce517

v5.1.3

Compare Source

  • fix: fixed support for NODE_TLS_REJECT_UNAUTHORIZED (per #​1511) 2377e62

v5.1.2

Compare Source

  • fix: fixed linting, fixed deprecation warning in tests 7d70a75
  • Use res.getHeaders() to avoid deprecation warning (#​1503) 8dc8b91

v5.1.1

Compare Source

v5.1.0

Compare Source

v5.0.9

Compare Source

  • feat: added fast-safe-stringify instead of JSON.stringify (closes #​1464) 2e5d6fd

v5.0.8

Compare Source

v5.0.6

Compare Source

v5.0.5

Compare Source

  • fix: remove redundant defs, bump deps fcf6cff

v5.0.4

Compare Source

v5.0.3

Compare Source

v5.0.2

Compare Source

v4.1.0

Compare Source

  • .connect() IP/DNS override option (Kornel)
  • .trustLocalhost() option for allowing broken HTTPS on localhost
  • .abort() used with promises rejects the promise.

v4.0.0

Compare Source

Breaking changes

  • Node.js v4 has reached it's end of life, so we no longer support it. It's v6+ or later. We recommend Node.js 10.
  • We now use ES6 in the browser code, too.
    • If you're using Browserify or Webpack to package code for Internet Explorer, you will also have to use Babel.
    • The pre-built node_modules/superagent.js is still ES5-compatible.
  • .end(…) returns undefined instead of the request. If you need the request object after calling .end() (and you probably don't), save it in a variable and call request.end(…). Consider not using .end() at all, and migrating to promises by calling .then() instead.
  • In Node, responses with unknown MIME type are buffered by default. To get old behavior, if you use custom unbuffered parsers, add .buffer(false) to requests or set superagent.buffer[yourMimeType] = false.
  • Invalid uses of .pipe() throw.

Minor changes

  • Throw if req.abort().end() is called
  • Throw if using unsupported mix of send and field
  • Reject .end() promise on all error events (Kornel Lesiński)
  • Set https.servername from the Host header (Kornel Lesiński)
  • Leave backticks unencoded in query strings where possible (Ethan Resnick)
  • Update node-mime to 2.x (Alexey Kucherenko)
  • Allow default buffer settings based on response-type (shrey)
  • response.buffered is more accurate.

v3.8.3

Compare Source

  • Add flags for 201 & 422 responses (Nikhil Fadnis)
  • Emit progress event while uploading Node Buffer via send method (Sergey Akhalkov)
  • Fixed setting correct cookies for redirects (Damien Clark)
  • Replace .catch with ['catch'] for IE9 Support (Miguel Stevens)

v3.8.2

Compare Source

  • Fixed handling of exceptions thrown from callbacks
  • Stricter matching of +json MIME types.

v3.8.1

Compare Source

  • Clear authorization header on cross-domain redirect

v3.8.0

Compare Source

  • Added support for "globally" defined headers and event handlers via superagent.agent(). It now remembers default settings for all its requests.
  • Added optional callback to .retry() (Alexander Murphy)
  • Unified auth args handling in node/browser (Edmundo Alvarez)
  • Fixed error handling in zlib pipes (Kornel)
  • Documented that 3xx status codes are errors (Mickey Reiss)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@sarvex sarvex merged commit fcedae8 into master May 6, 2023
@renovate renovate bot deleted the renovate/superagent-8.x branch May 6, 2023 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant