Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/kwhitley/itty-fetcher

An even simpler wrapper around native Fetch to strip boilerplate from your fetching code!
https://github.com/kwhitley/itty-fetcher

released v0.9.4 - fix non-GET endpoints disallowing query params

d9e714cf06d38b7b27cd634632dba491436a7a7a authored over 1 year ago
released v0.9.3 - README tweak

73265063ca7d3c837a57808705bf93e77066ee6a authored over 1 year ago
Update README.md

4a4501398b2813cb3ce7e583fa7e09ba1aa4f7c4 authored over 1 year ago
released v0.9.2 - README tweak for NPM

ff96c92b21f414aac93cee658ea3fc5807aca44a authored over 1 year ago
Update README.md

f81aab54baa22587125ab7e5c368bea41c969d39 authored over 1 year ago
released v0.9.1 - readme update

280b18b1beb99babe11bba501ed00bf48f80bd5f authored over 1 year ago
Update README.md

6fc848c84bb487ac60c32ef546e06c524a8af0c3 authored over 1 year ago
updated CHANGELOG

b4571f03f002d7b5fe5d4dccc3ff359a24e2a1ee authored over 1 year ago
released v0.9.0 - see release notes

c690f334c2b77054cd627ffd2cac0946598f00ff authored over 1 year ago
Merge pull request #40 from kwhitley/v0.9

v0.9 - WIP

22235d15031d2e27cd100164761fe4f1488f9055 authored over 1 year ago
added test case for async transformRequest #36

48f1acc174055f488d16e99f6e49b20f10d4ec94 authored over 1 year ago
removed useless line

da9f8777b872ed55dc9716bacc80c3341d6702dd authored over 1 year ago
test coverage for text, json, and no error response body

ad0ed177b7411fae93c0ca80930b0a6fa76ae272 authored over 1 year ago
removed extraneous code in GET query merge

d676a834beface7e86f9c8e07526a635ec578d16 authored over 1 year ago
fixed bug when using query in both url and payload

4752c41e4f28c6c9e3968db259a54afd76762af5 authored over 1 year ago
simplified what gets stringified

80b7d2293a214d2b67fc7d59e05f633900993532 authored over 1 year ago
minification

f12fe62c02e39eab3b59f4d57bf215f0053198ea authored over 1 year ago
error body is parsed

ce395aab8615e900018f9755efcaa7fbfcb4a536 authored over 1 year ago
adding minification passes

bbd3b3b93a1eb994e1c75f2b5a3610e6acab5dbb authored over 1 year ago
fixes #37 #39 #36

ff40f2447b0a39257e210373b587588dc0d5fbc2 authored over 1 year ago
released v0.8.2 - post merge with fix-query

df8ac9a217ebec3a35613d5aabb32bff8d389dd9 authored over 1 year ago
Merge pull request #38 from kwhitley/fix-query-and-build

fixes query issue and build steps

e3e329dfcdded52b96f80322e3d2a0de7106afdd authored over 1 year ago
released v0.8.1-next.8 - releasing as only index.ts

5d06b3a146a8c881c93d41c2414b9f49ccad5eae authored over 1 year ago
released v0.8.1-next.7 - should not include files in package.json

e8baa0efecfdfaaec07c5cc0f3e7725e32e81264 authored over 1 year ago
released v0.8.1-next.6 - sue

958a40b196cb61871658ca7e33e6163f0a4af01c authored over 1 year ago
released v0.8.1-next.5 - fix main in package.json

878100baf73f3c6187848768f4e48cb7a9277352 authored over 1 year ago
released v0.8.1-next.1 - fix main in package.json

34c44bbea62a439efaf5d51fff040f9f08722f3d authored over 1 year ago
released v0.8.1-next.4 - etch version

8c33f444f1b32b3e8db3732e5b2c8c87cf7833b9 authored over 1 year ago
released v0.8.1-next.3 - build tests

48bc53f405e01adfb7297148a6b9fafabec1a091 authored over 1 year ago
released v0.8.1-next.2 - testing next still

1d36c0e8fcd3563d2e1ff8e90d914d102091fc7c authored over 1 year ago
released v0.8.1-next.1 - query fix and build changes

8a8fc24348300d863e4cb43942f2ca334acdf14e authored over 1 year ago
released v0.8.1-next.0 - testing query fix

19e6bef87dbbb6a0c6073d80b87349a921078737 authored over 1 year ago
Merge branch 'v0.x' into fix-query-and-build

822834d71fc9fd22b99385374d79c71d6242eaa8 authored over 1 year ago
fixes query issue and build steps

c5fea1a02930547004eae74b20e795f41aa3c961 authored over 1 year ago
Merge pull request #33 from tyvdh/patch-1

Adds null checking for contentType

Thanks @tyvdh!

15f8e2141666bbbc4c0c63178dc18e16d67254a0 authored over 1 year ago
Update itty-fetcher.ts

88a88291bc55db0629432a44b8a94fbc36d1e28f authored almost 2 years ago
released v0.8.1 - small code reorg

2648b3e1d90b296ddccb6ada0690fcac17208c70 authored about 2 years ago
released v0.8.0 - adds StatusError and handleResponse option

3f0c23b600e577a661e764db897ec449351b9acd authored about 2 years ago
Merge pull request #29 from kwhitley/handleResponse

Error Handling

8dc37c413ab2b653832afb4f0093710b8b778ac1 authored about 2 years ago
released v0.7.7 - glitched release

c9d8c0438384bd7270c2de9b0b4464f03596cd6b authored about 2 years ago
adds CHANGELOG entry

01ca857a2295d10d73a3b03e2991d9f19a5deb05 authored about 2 years ago
removed the useless StatusError typing in spec file

74f14abc0b065d8312a03fa58f4c0ca289f0d492 authored about 2 years ago
README tweak

8dde5902804205d0fa1aaba0794961b8e4d3a359 authored about 2 years ago
README tweak

b780b79b56099cfbb3eb5e777c3d3467198a0a6e authored about 2 years ago
attempt to fix build badge

454d8528913ee6634c5a94341a2b5beff3bcecdd authored about 2 years ago
removed attempted generic

6eef0ee2becd534793a5a6b5ab2a1cf1b60e33e1 authored about 2 years ago
removed async/await from response handling

48b83e157267ac0aeeeec9646e64f2501664b3a5 authored about 2 years ago
added StatusError to allow catch to read status codes, and handleResponse option

2e3b5d16875d858d0ad22dbf54b7d4aac8fcdf6b authored about 2 years ago
released v0.7.6 - testing support for { headers } base option

bcfe3151c968ad96d694ea68afdeb86ca3b2ed2e authored about 2 years ago
released v0.7.5 - fix: do not stringify prototype of a payload

7ee9d9b10f86f9ae31eab527e475abc420bc89b7 authored about 2 years ago
Merge pull request #26 from kwhitley/25-fix-arraybuffer

[#25] Don't stringify the prototype of a payload

890a49ea2e4dc6777787ae7e7ebc39cecadabad6 authored about 2 years ago
Don't stringify the prototype of a payload

Previous code threw because TypedArrays/ArrayBuffers will fail when you attempt to Stringify the...

0f869ffa6f8e6cc05f7fac836c614a3dca3d14ed authored about 2 years ago
released v0.7.4 - removing extra files from package

31d74d417a3b8c572528597e0e5892df662aafec authored about 2 years ago
released v0.7.3 - improved content-type checking

e0adb27bc60654870a442fe08a24f7ef83f78f88 authored over 2 years ago
CHANGELOG update

993f52c67b794b9efae5449ec9bb7edc407b71e8 authored over 2 years ago
Merge pull request #24 from kwhitley/23-improved-payload-type-checking

Invert the type checking logic of the payload in order to determine whether to stringify or not

387de80af289140ee7052c53d3173ea4f89d034d authored over 2 years ago
Invert the type checkling logic of the payload in order to determine whether to stringify or not

This change means that isn't a base type of `undefined`, `string`, `number`, `array` or `object`...

d4dcdcd4efe4d404ff406115468c06b2c7cb8fb9 authored over 2 years ago
released v0.7.2 - README tweak for increased file size

06e5894740c30fe8fb57af74ac8b31e652c7ef4c authored over 2 years ago
released v0.7.1 - patch fix to formdata and blob

6955cd5f14cb0728f585ca498d27b0b73347d50d authored over 2 years ago
Merge pull request #23 from kwhitley/16-21-22-ensure-definition-of-builtins

Add safe checking of payload data type to prevent undefined errors

b9777f4d4ea590c11396b4de42a8baaec7b79e69 authored over 2 years ago
Merge pull request #20 from Crisfole/patch-1

Export the FetcherType

6a80577e438a18bd40debe9ee26331383040c83c authored over 2 years ago
Add explicitly and safe checking of payload data type to prevent undefined issues

Thanks to @Crisfole for the tip on using `typeof FormData !== "undefined"`!

- Export all common...

5e420ec529a6fdae782127b0e309484b74e7a830 authored over 2 years ago
Export the FetcherType

Exporting the FetcherType allows you to wrap itty-fetcher more easily:

```ts
export function...

3d6a4c8b034757734a8d08fb56e59eb956eca1b6 authored over 2 years ago
released v0.7.0 - releasing blob and formdata support

c3171cc9b47b1832b312b4d0658f5a3ed9ed03c0 authored over 2 years ago
Merge pull request #19 from kwhitley/simple-blob-support

adds payload-as-blob support

266ddd3a6b4d77dc07f53d65e7759f1ab9d49779 authored over 2 years ago
CHANGELOG and README update

97005964803f8ed593b89e5ae1dd2a7a212fd200 authored over 2 years ago
ensure blob passed through to body from payload

fd70bb2bb6dc55ffb3427f4666e6bff5d48c2122 authored over 2 years ago
Update src/itty-fetcher.ts

Co-authored-by: Dana Woodman <[email protected]>

3a2f66ee9ae66b9fbbd1e56ee369be9aa8548881 authored over 2 years ago
adds simple blob support

358e48c31e9ae0b7f77dc0ed3c5dfb83ac94bfd8 authored over 2 years ago
Merge pull request #18 from kwhitley/vitest-jsdom-env

[#17] Allow manually sending "body" in request init

7a11e350a9c877d70bcb3b0a502afdca8fb10ad5 authored over 2 years ago
Remove console log

7935a9de99afefd001a4f72a78e5b153c519d8df authored over 2 years ago
Revert

71583adc2526edc194dc50c8cd1645d9e8e75ba2 authored over 2 years ago
Change back capitalization

6989f0cd96d82b564b3fbae2e2498020beb1ccfe authored over 2 years ago
Allow manually defining body in request init

Closes #17

d2d06daaa33fcbeba6044b92494cb2a96c727067 authored over 2 years ago
Fix tests by downgrading node-fetch

5007a8be0e4ae95b673740580482a5a73808c719 authored over 2 years ago
Change vitest test environment to jsdom

b090582de93d6a4545a3b43064bdb4555291864c authored over 2 years ago
released v0.6.1 - TS fix

931e723bdccbc82ff84553e5dda73b9dbb5a413a authored over 2 years ago
Merge pull request #15 from kwhitley/14-set-headers-type

Explicitly set request.headers in transformRequest to Record<string, string>

2b87951f344e32b2b8fde39cc1674cee2e6055ef authored over 2 years ago
Make sure we headers is always considered a Record<string, string>

c1396dec98ae0b4085faa71c3b1ab5d58f7032b8 authored over 2 years ago
Explicitly set request.headers in transformRequest to Record<string, string>

Closes #14

e0470ba1c1ca405e9b09872136745ac250329164 authored over 2 years ago
released v0.6.0 - adds support for fetch option

c556bb1501bb9feefee39d39bf735c5c814be5fd authored over 2 years ago
Merge pull request #13 from danawoodman/12-custom-fetch

Allow a custom fetch method

a8ba6750ef3f96e38aa56be8a9d97ee8beebc467 authored over 2 years ago
Improve tests, make fetch optional

056437481779c51c161745b77a676ba9708ca98e authored over 2 years ago
First pass at allowing a custom fetch method

492105d1b19c942bc6fe97d60e75cc3c3be2a99a authored over 2 years ago
node version to 18.0.0 instead of 18.10.0

b18d43480ccd3777990315f274fb61863de3a9e7 authored over 2 years ago
Merge pull request #11 from danawoodman/10-add-formdata-handling

Pass FormData in as-is

5ad92fb83b70e8ee9cc9a0525c5b7b97b7c8edb4 authored over 2 years ago
Add note in readme about depedencies on web API's and Rich's example

55735a131136eb8d447e5ab90b17e28a2054fcf7 authored over 2 years ago
Update actions to use Node v18

06cc4b3ebf8b8bd21cd24d3fa2e9cda4f6c523c1 authored over 2 years ago
Add node-version file

b7b74debdc290650c8ceab595588f498b74f1383 authored over 2 years ago
Rewrite tests to be table-driven, add tests for passing in FormData

2548aa4e34967f8012127c1a6c56fe8e661ad912 authored over 2 years ago
Pass FormData in as-is

d10aad76854dfb245f7177e3abbafdb80063d696 authored over 2 years ago
add changelog entry

ea4b93765e80cb6833155c8ac8a9541bcd0f3d08 authored over 2 years ago
released v0.5.0 - adds transformRequest base config option support

48f24a18efa2f9cda301e9a6d20eeb083a2cb0cd authored over 2 years ago
Credits!

9938e925fb5917b768108d74bbd9ffa54a0ba04a authored over 2 years ago
package.json description edit

da6cb37ddd10ceb5a45e8a153600d80628c61975 authored over 2 years ago
README cleanup and filesize injection

a8581e0b6ae504d8d7e2df4b63457a7d7a5309bb authored over 2 years ago
supressing eslint errors on any

2652230778a7f5eefd124137aac3d598b87cd13f authored over 2 years ago
Merge pull request #9 from danawoodman/add-request-transformer

Add "transformRequest" method to fetcher options

aae09f1a3489e04ccbffe055fd9b7312075a973b authored over 2 years ago
Add slash

7b221b03af52728199e1adc0fba8792be2c7c340 authored over 2 years ago
Add note on RequestLike

745e4e6e9a113eaab1cf1e6ed11394fdbcc38803 authored over 2 years ago