gonejack / tumblr-likes-downloader

Download liked posts with Node.js by fetching Tumblr API
21 stars 1 forks source link

Upgrade: bump got from 10.7.0 to 11.0.2 #26

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps got from 10.7.0 to 11.0.2.

Release notes

Sourced from got's releases.

v11.0.2

  • Fix response.statusMessage being null 965bd03ad463afb9fdbe098a48b16269b54de9bd
  • Update the http2-wrapper dependency to 1.0.0-beta.4.4 4e8de8e32cccaafddf0c6ef4f31716810ab4a14b
  • Use Merge as it's stricter than the intersection operator d3b972efaca28d8033468c7232a469e8cb034677
  • Prevent silent rejections in rare cases 8501c6901af4f7c74cd0ae3700b499bb42ce5928
  • Do not alter options.body 835c70bd6fdc5b1ba7e7ffd322490b6d66fb407e

v11.0.1

Fixed two regressions:

  • HTTPErrors have unspecified response body (#1162)
  • Options are duplicated while merging (#1163)

Improved TypeScript types for errors inherited from RequestError

v11.0.0

Introducing Got 11! :tada: The last major version was in December last year. :snowflake: Since then, a huge amount of bugs has been fixed. There are also many new features, for example, HTTP2 support is finally live! :globe_with_meridians:

If you find Got useful, you might want to sponsor the Got maintainers.


Breaking changes

Removed support for electron.net

Due to the inconsistencies between the Electron's net module and the Node.js http module, we have decided to officially drop support for it. Therefore, the useElectronNet option has been removed.

You'll still be able to use Got in the Electron main process and in the renderer process through the electron.remote module or if you use Node.js shims.

The Pagination API is now stable

We haven't seen any bugs yet, so please give it a try! If you want to leave some feedback, you can do it here. Any suggestion is greatly appreciated!

 {
-    _pagination: {...}
+    pagination: {...}
 }

API

  • The options.encoding behavior has been reverted back to the Got 9 behavior. In other words, the options is only meant for the Got promise API. To set the encoding for streams, simply call stream.setEncoding(encoding).
-got.stream('https://sindresorhus.com', {encoding: 'base64'});
+got.stream('https://sindresorhus.com').setEncoding('base64');
</tr></table> ... (truncated)
Commits
  • 731e4fa 11.0.2
  • 835c70b Do not alter options.body
  • 8501c69 Prevent silent rejections in rare cases
  • d3b972e Use Merge as it's stricter than the intersection operator
  • f839ae7 Export missing types
  • 4e8de8e Update the http2-wrapper dependency to 1.0.0-beta.4.4
  • 965bd03 Fix response.statusMessage being null
  • 090be50 11.0.1
  • d914a7e Fix merging options and beforeError hook logic
  • 1f6ac45 11.0.0
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 4 years ago

Superseded by #27.