gonejack / tumblr-likes-downloader

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

Upgrade: bump got from 6.7.1 to 10.0.2 #10

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps got from 6.7.1 to 10.0.2.

Release notes *Sourced from [got's releases](https://github.com/sindresorhus/got/releases).* > ## v10.0.2 > - Fix TypeScript type problem with `URL` and `URLSearchParams` globals ([#969](https://github-redirect.dependabot.com/sindresorhus/got/issues/969)) 2d5e28d > - Fix `got.mergeOptions(...)` TypeScript type ([#953](https://github-redirect.dependabot.com/sindresorhus/got/issues/953)) b962d08 > - Fix unhandled timeout errors when connection drops 5a8f461 > > https://github.com/sindresorhus/got/compare/v10.0.1...v10.0.2 > > ## v10.0.1 > - Fix using the `json` option with `got.stream.post` 2ec5c4d > > https://github.com/sindresorhus/got/compare/v10.0.0...v10.0.1 > > ## v10.0.0 > We're excited to announce Got 10! 🎉 This release has been in the works for almost a year and has been a major undertaking. Got was fully rewritten in TypeScript, which helped us catch many bugs and will give us more confidence in the codebase going forward. Got is now faster and much more stable. We also fixed a huge amount of bugs. Big thanks to everyone that helped make this release possible. 🙌 > > --- > > *If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).* > > **Note:** Some HTTP agents like `https-proxy-agent` and `agentkeepalive` are not compatible with Node.js 10 and hence not compatible with Got as Got takes advantage of some Node.js 10-only APIs. > > ### Breaking > > - Require Node.js 10 633651f > - Why: This is so that we can use `stream.pipeline` for more reliable stream handling. Node.js 8 will be out of LTS at the end of this month anyway. > - Remove support for protocol-less URLs in the `url` argument 92bc808 > - Why: To reduce ambiguity. It was not clear from just reading the code what it would default to. > - Migrate: > ```diff > - got('sindresorhus.com'); > + got('https://sindresorhus.com'); > ``` > - Rename the `query` option to `searchParams` and make it stricter b223663 5376216 518f0f5906e1fcd38691555b17fb91db643f3d47 > - Why: To get closer to the `window.fetch` naming in the browser. > - Migrate: > ```diff > - got(…, {query: …}); > + got(…, {searchParams: …}); > ``` > - Replace the `baseUrl` option with `prefixUrl` ([#829](https://github-redirect.dependabot.com/sindresorhus/got/issues/829)) 0d534ed > - Note: We also made it stricter to reduce ambiguity. The Got `url` argument now [cannot be prefixed with a slash](https://github.com/sindresorhus/got#prefixurl) when this option is used. > - Why: We renamed it to make it clear that it doesn't do any URL resolution. > - Migrate: > ```diff > - got('/foo', {baseUrl: 'https://x.com'}); > + got('foo', {prefixUrl: 'https://x.com'}); > ``` > - Change the `json` option to accept an object instead of a boolean and to only be responsible for the request, not the response ([#704](https://github-redirect.dependabot.com/sindresorhus/got/issues/704)) a6a7d5a > - Note: You now set the request body in this option instead of the `body` option when you want to send JSON. This option also no longer sets the response type to JSON. You either call the `.json()` method or specify the `responseType` option for that. > - Why: Many people were confused how `{json: true}` worked and they also complained that they could not set the request/response type individually. > ... (truncated)
Commits - [`a755a16`](https://github.com/sindresorhus/got/commit/a755a1614938b52a87321ad69f183aa76d57153b) 10.0.2 - [`a3ca534`](https://github.com/sindresorhus/got/commit/a3ca534a24685b14c2e2aaab9ac900e23209fb9b) Fix lint issue - [`2d5e28d`](https://github.com/sindresorhus/got/commit/2d5e28dbf0dce63bdb263de24ff28bd60dfbf322) Fix type problem with `URL` and `URLSearchParams` globals ([#969](https://github-redirect.dependabot.com/sindresorhus/got/issues/969)) - [`b962d08`](https://github.com/sindresorhus/got/commit/b962d08188250a442b093f13009b1e1f3633ec27) Fix `got.mergeOptions(...)` types ([#953](https://github-redirect.dependabot.com/sindresorhus/got/issues/953)) - [`22e72c8`](https://github.com/sindresorhus/got/commit/22e72c87619e889f17d4bce25522a55a4a376acf) Fix a bug in the JSON example ([#967](https://github-redirect.dependabot.com/sindresorhus/got/issues/967)) - [`c688c73`](https://github.com/sindresorhus/got/commit/c688c73d695f23aff4e0299142fa4078e41793cd) Clarify the `options.body` behavior - [`5a8f461`](https://github.com/sindresorhus/got/commit/5a8f461d9181dc516b8bf711e8773ca40e7cc3a3) Fix unhandled timeout errors when connection drops - [`09e6d99`](https://github.com/sindresorhus/got/commit/09e6d99520c1528cc9ee023b16a4ff16cb465afa) Update `@szmarczak/http-timer` to `3.1.1` - [`37b3320`](https://github.com/sindresorhus/got/commit/37b3320596f9fc198d054f0a52c708c6f2f28426) Remove leading slashes from the `prefixUrl` in examples ([#957](https://github-redirect.dependabot.com/sindresorhus/got/issues/957)) - [`d11dbe4`](https://github.com/sindresorhus/got/commit/d11dbe40a4e8da094afc000973973fd19ef6ae2a) Fix Got examples in the `request` migration guide - Additional commits viewable in [compare view](https://github.com/sindresorhus/got/compare/v6.7.1...v10.0.2)


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 #11.