got-fetch icon indicating copy to clipboard operation
got-fetch copied to clipboard

A fetch interface to got

Results 14 got-fetch issues
Sort by recently updated
recently updated
newest added

I saw https://github.com/alexghr/got-fetch/pull/344, but I was wondering if we could widen the range of peerdeps to include got v13 as well? There is virtually no difference between v13 and v12,...

Bumps [got](https://github.com/sindresorhus/got) from 12.3.1 to 14.2.0. Release notes Sourced from got's releases. v14.2.0 Add cause property with the original error to RequestError (#2327) 4cbd01d https://github.com/sindresorhus/got/compare/v14.1.0...v14.2.0 v14.1.0 Allow typing the body...

automerge

This is a feature request to have a global or context way to pass in additional parameters. I.e. node already has fetch, so this package's only selling point is extra...

Test case: ```ts it.only('Should support retries', async () => { nock('https://unstable.com') .get('/v1/unstable') .times(1) .reply(StatusCodes.INTERNAL_SERVER_ERROR) .get('/v1/unstable') .times(1) .reply(StatusCodes.OK); const fetch = createFetch( got.extend({ retry: { limit: 5, methods: ['GET'], }, })...

This is most certainly a hack, but I was trying to maintain the current behaviour. https://github.com/alexghr/got-fetch/issues/369 I can also port this to main

In fetch.ts there is this code: ` const url = new URL(typeof input === 'string' ? input : input.url);` that assumes that the input will always be a full URL...

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.0.4 to 5.1.3. Release notes Sourced from typescript's releases. TypeScript 5.1.3 For release notes, check out the release announcement. For the complete list of fixed issues, check...

automerge

Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 19.0.5 to 21.0.0. Release notes Sourced from semantic-release's releases. v21.0.0 21.0.0 (2023-03-24) BREAKING CHANGES deps: the npm plugin has updated the npm dependency to v9 legacy authentication...

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.4.0 to 29.5.0. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/jest&package-manager=npm_and_yarn&previous-version=29.4.0&new-version=29.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: #...

automerge

In node-fetch, there have a handy(in my opinion) `Response.buffer()`, may be we can add this?