Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More โ†’
Socket
Sign inDemoInstall
Socket

@sapphire/fetch

Package Overview
Dependencies
Maintainers
3
Versions
867
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sapphire/fetch - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

9

CHANGELOG.md

@@ -6,2 +6,9 @@ # Change Log

## [1.0.1](https://github.com/sapphiredev/utilities/compare/@sapphire/fetch@1.0.0...@sapphire/fetch@1.0.1) (2021-05-02)
### Bug Fixes
- drop the `www.` from the SapphireJS URL ([494d89f](https://github.com/sapphiredev/utilities/commit/494d89ffa04f78c195b93d7905b3232884f7d7e2))
- update all the SapphireJS URLs from `.com` to `.dev` ([f59b46d](https://github.com/sapphiredev/utilities/commit/f59b46d1a0ebd39cad17b17d71cd3b9da808d5fd))
# 1.0.0 (2021-04-21)

@@ -11,2 +18,2 @@

- add fetch package ([#107](https://github.com/sapphire-community/utilities/issues/107)) ([891034c](https://github.com/sapphire-community/utilities/commit/891034cf5f9e6f2c700999fd39a71e490c5dc766))
- add fetch package ([#107](https://github.com/sapphiredev/utilities/issues/107)) ([891034c](https://github.com/sapphiredev/utilities/commit/891034cf5f9e6f2c700999fd39a71e490c5dc766))

10

package.json
{
"name": "@sapphire/fetch",
"version": "1.0.0",
"version": "1.0.1",
"description": "Tiny wrapper around node-fetch for improved TypeScript and data type support",

@@ -14,3 +14,3 @@ "author": "@sapphire",

},
"homepage": "https://github.com/sapphire-community/utilities/tree/main/packages/fetch",
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/fetch",
"scripts": {

@@ -30,3 +30,3 @@ "test": "jest",

"type": "git",
"url": "git+https://github.com/sapphire-community/utilities.git",
"url": "git+https://github.com/sapphiredev/utilities.git",
"directory": "packages/fetch"

@@ -53,3 +53,3 @@ },

"bugs": {
"url": "https://github.com/sapphire-community/utilities/issues"
"url": "https://github.com/sapphiredev/utilities/issues"
},

@@ -59,3 +59,3 @@ "publishConfig": {

},
"gitHead": "a03f10ee5979b8cf36afc1db480583f9ead84e9c"
"gitHead": "27467b533a2c79e3c7994c534d464c8ddfbc335f"
}

@@ -9,9 +9,7 @@ <div align="center">

[![GitHub](https://img.shields.io/github/license/sapphire-community/utilities)](https://github.com/sapphire-community/utilities/blob/main/LICENSE.md)
[![Total alerts](https://img.shields.io/lgtm/alerts/g/sapphire-community/utilities.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/sapphire-community/utilities/alerts/)
[![Language grade: JavaScript/TypeScript](https://img.shields.io/lgtm/grade/javascript/g/sapphire-community/utilities.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/sapphire-community/utilities/context:javascript)
[![Coverage Status](https://coveralls.io/repos/github/sapphire-community/utilities/badge.svg?branch=main)](https://coveralls.io/github/sapphire-community/utilities?branch=main)
[![GitHub](https://img.shields.io/github/license/sapphiredev/utilities)](https://github.com/sapphiredev/utilities/blob/main/LICENSE.md)
[![codecov](https://codecov.io/gh/sapphiredev/utilities/branch/main/graph/badge.svg?token=OEGIV6RFDO)](https://codecov.io/gh/sapphiredev/utilities)
[![npm bundle size](https://img.shields.io/bundlephobia/min/@sapphire/fetch?logo=webpack&style=flat-square)](https://bundlephobia.com/result?p=@sapphire/fetch)
[![npm](https://img.shields.io/npm/v/@sapphire/fetch?color=crimson&logo=npm&style=flat-square)](https://www.npmjs.com/package/@sapphire/fetch)
[![Depfu](https://badges.depfu.com/badges/ec42ff3d6bae55eee1de4749960852b3/count.svg)](https://depfu.com/github/sapphire-community/utilities?project_id=15195)
[![Depfu](https://badges.depfu.com/badges/ec42ff3d6bae55eee1de4749960852b3/count.svg)](https://depfu.com/github/sapphiredev/utilities?project_id=15195)

@@ -98,3 +96,3 @@ </div>

// Fetch the data. No need to call `.buffer()` after making the request!
const sapphireLogo = await fetch('https://github.com/sapphire-community.png', FetchResultTypes.Buffer);
const sapphireLogo = await fetch('https://github.com/sapphiredev.png', FetchResultTypes.Buffer);

@@ -134,3 +132,3 @@ // sapphireLogo is the `Buffer` of the image

For the full API documentation please refer to the TypeDoc generated [documentation](https://sapphire-community.github.io/utilities/modules/_sapphire_fetch.html).
For the full API documentation please refer to the TypeDoc generated [documentation](https://sapphiredev.github.io/utilities/modules/_sapphire_fetch.html).

@@ -145,6 +143,6 @@ ## Buy us some doughnuts

| :-------------: | :-------------------------------------------------: |
| Open Collective | [Click Here](https://sapphirejs.com/opencollective) |
| Ko-fi | [Click Here](https://sapphirejs.com/kofi) |
| Patreon | [Click Here](https://sapphirejs.com/patreon) |
| PayPal | [Click Here](https://sapphirejs.com/paypal) |
| Open Collective | [Click Here](https://sapphirejs.dev/opencollective) |
| Ko-fi | [Click Here](https://sapphirejs.dev/kofi) |
| Patreon | [Click Here](https://sapphirejs.dev/patreon) |
| PayPal | [Click Here](https://sapphirejs.dev/paypal) |

@@ -160,21 +158,21 @@ ## Contributors โœจ

<tr>
<td align="center"><a href="https://favware.tech/"><img src="https://avatars3.githubusercontent.com/u/4019718?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jeroen Claassens</b></sub></a><br /><a href="https://github.com/sapphire-community/utilities/commits?author=Favna" title="Code">๐Ÿ’ป</a> <a href="#infra-Favna" title="Infrastructure (Hosting, Build-Tools, etc)">๐Ÿš‡</a> <a href="#projectManagement-Favna" title="Project Management">๐Ÿ“†</a> <a href="https://github.com/sapphire-community/utilities/commits?author=Favna" title="Documentation">๐Ÿ“–</a> <a href="https://github.com/sapphire-community/utilities/commits?author=Favna" title="Tests">โš ๏ธ</a></td>
<td align="center"><a href="https://github.com/kyranet"><img src="https://avatars0.githubusercontent.com/u/24852502?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Antonio Romรกn</b></sub></a><br /><a href="https://github.com/sapphire-community/utilities/commits?author=kyranet" title="Code">๐Ÿ’ป</a> <a href="#projectManagement-kyranet" title="Project Management">๐Ÿ“†</a> <a href="https://github.com/sapphire-community/utilities/pulls?q=is%3Apr+reviewed-by%3Akyranet" title="Reviewed Pull Requests">๐Ÿ‘€</a> <a href="https://github.com/sapphire-community/utilities/commits?author=kyranet" title="Tests">โš ๏ธ</a></td>
<td align="center"><a href="https://github.com/PyroTechniac"><img src="https://avatars2.githubusercontent.com/u/39341355?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Gryffon Bellish</b></sub></a><br /><a href="https://github.com/sapphire-community/utilities/commits?author=PyroTechniac" title="Code">๐Ÿ’ป</a> <a href="https://github.com/sapphire-community/utilities/pulls?q=is%3Apr+reviewed-by%3APyroTechniac" title="Reviewed Pull Requests">๐Ÿ‘€</a> <a href="https://github.com/sapphire-community/utilities/commits?author=PyroTechniac" title="Tests">โš ๏ธ</a></td>
<td align="center"><a href="https://github.com/vladfrangu"><img src="https://avatars3.githubusercontent.com/u/17960496?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Vlad Frangu</b></sub></a><br /><a href="https://github.com/sapphire-community/utilities/commits?author=vladfrangu" title="Code">๐Ÿ’ป</a> <a href="https://github.com/sapphire-community/utilities/issues?q=author%3Avladfrangu" title="Bug reports">๐Ÿ›</a> <a href="https://github.com/sapphire-community/utilities/pulls?q=is%3Apr+reviewed-by%3Avladfrangu" title="Reviewed Pull Requests">๐Ÿ‘€</a> <a href="#userTesting-vladfrangu" title="User Testing">๐Ÿ““</a> <a href="https://github.com/sapphire-community/utilities/commits?author=vladfrangu" title="Tests">โš ๏ธ</a></td>
<td align="center"><a href="https://github.com/Soumil07"><img src="https://avatars0.githubusercontent.com/u/29275227?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Soumil07</b></sub></a><br /><a href="https://github.com/sapphire-community/utilities/commits?author=Soumil07" title="Code">๐Ÿ’ป</a> <a href="#projectManagement-Soumil07" title="Project Management">๐Ÿ“†</a> <a href="https://github.com/sapphire-community/utilities/commits?author=Soumil07" title="Tests">โš ๏ธ</a></td>
<td align="center"><a href="https://favware.tech/"><img src="https://avatars3.githubusercontent.com/u/4019718?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jeroen Claassens</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=Favna" title="Code">๐Ÿ’ป</a> <a href="#infra-Favna" title="Infrastructure (Hosting, Build-Tools, etc)">๐Ÿš‡</a> <a href="#projectManagement-Favna" title="Project Management">๐Ÿ“†</a> <a href="https://github.com/sapphiredev/utilities/commits?author=Favna" title="Documentation">๐Ÿ“–</a> <a href="https://github.com/sapphiredev/utilities/commits?author=Favna" title="Tests">โš ๏ธ</a></td>
<td align="center"><a href="https://github.com/kyranet"><img src="https://avatars0.githubusercontent.com/u/24852502?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Antonio Romรกn</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=kyranet" title="Code">๐Ÿ’ป</a> <a href="#projectManagement-kyranet" title="Project Management">๐Ÿ“†</a> <a href="https://github.com/sapphiredev/utilities/pulls?q=is%3Apr+reviewed-by%3Akyranet" title="Reviewed Pull Requests">๐Ÿ‘€</a> <a href="https://github.com/sapphiredev/utilities/commits?author=kyranet" title="Tests">โš ๏ธ</a></td>
<td align="center"><a href="https://github.com/PyroTechniac"><img src="https://avatars2.githubusercontent.com/u/39341355?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Gryffon Bellish</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=PyroTechniac" title="Code">๐Ÿ’ป</a> <a href="https://github.com/sapphiredev/utilities/pulls?q=is%3Apr+reviewed-by%3APyroTechniac" title="Reviewed Pull Requests">๐Ÿ‘€</a> <a href="https://github.com/sapphiredev/utilities/commits?author=PyroTechniac" title="Tests">โš ๏ธ</a></td>
<td align="center"><a href="https://github.com/vladfrangu"><img src="https://avatars3.githubusercontent.com/u/17960496?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Vlad Frangu</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=vladfrangu" title="Code">๐Ÿ’ป</a> <a href="https://github.com/sapphiredev/utilities/issues?q=author%3Avladfrangu" title="Bug reports">๐Ÿ›</a> <a href="https://github.com/sapphiredev/utilities/pulls?q=is%3Apr+reviewed-by%3Avladfrangu" title="Reviewed Pull Requests">๐Ÿ‘€</a> <a href="#userTesting-vladfrangu" title="User Testing">๐Ÿ““</a> <a href="https://github.com/sapphiredev/utilities/commits?author=vladfrangu" title="Tests">โš ๏ธ</a></td>
<td align="center"><a href="https://github.com/Soumil07"><img src="https://avatars0.githubusercontent.com/u/29275227?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Soumil07</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=Soumil07" title="Code">๐Ÿ’ป</a> <a href="#projectManagement-Soumil07" title="Project Management">๐Ÿ“†</a> <a href="https://github.com/sapphiredev/utilities/commits?author=Soumil07" title="Tests">โš ๏ธ</a></td>
<td align="center"><a href="https://github.com/apps/depfu"><img src="https://avatars3.githubusercontent.com/in/715?v=4?s=100" width="100px;" alt=""/><br /><sub><b>depfu[bot]</b></sub></a><br /><a href="#maintenance-depfu[bot]" title="Maintenance">๐Ÿšง</a></td>
<td align="center"><a href="https://github.com/apps/allcontributors"><img src="https://avatars0.githubusercontent.com/in/23186?v=4?s=100" width="100px;" alt=""/><br /><sub><b>allcontributors[bot]</b></sub></a><br /><a href="https://github.com/sapphire-community/utilities/commits?author=allcontributors[bot]" title="Documentation">๐Ÿ“–</a></td>
<td align="center"><a href="https://github.com/apps/allcontributors"><img src="https://avatars0.githubusercontent.com/in/23186?v=4?s=100" width="100px;" alt=""/><br /><sub><b>allcontributors[bot]</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=allcontributors[bot]" title="Documentation">๐Ÿ“–</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/Nytelife26"><img src="https://avatars1.githubusercontent.com/u/22531310?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Tyler J Russell</b></sub></a><br /><a href="https://github.com/sapphire-community/utilities/commits?author=Nytelife26" title="Documentation">๐Ÿ“–</a></td>
<td align="center"><a href="https://github.com/Alcremie"><img src="https://avatars0.githubusercontent.com/u/54785334?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ivan Lieder</b></sub></a><br /><a href="https://github.com/sapphire-community/utilities/commits?author=Alcremie" title="Code">๐Ÿ’ป</a> <a href="https://github.com/sapphire-community/utilities/issues?q=author%3AAlcremie" title="Bug reports">๐Ÿ›</a></td>
<td align="center"><a href="https://github.com/RealShadowNova"><img src="https://avatars3.githubusercontent.com/u/46537907?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Hezekiah Hendry</b></sub></a><br /><a href="https://github.com/sapphire-community/utilities/commits?author=RealShadowNova" title="Code">๐Ÿ’ป</a></td>
<td align="center"><a href="https://github.com/Stitch07"><img src="https://avatars.githubusercontent.com/u/29275227?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Stitch07</b></sub></a><br /><a href="https://github.com/sapphire-community/utilities/commits?author=Stitch07" title="Code">๐Ÿ’ป</a></td>
<td align="center"><a href="https://github.com/Vetlix"><img src="https://avatars.githubusercontent.com/u/31412314?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Vetlix</b></sub></a><br /><a href="https://github.com/sapphire-community/utilities/commits?author=Vetlix" title="Code">๐Ÿ’ป</a></td>
<td align="center"><a href="https://github.com/ethamitc"><img src="https://avatars.githubusercontent.com/u/27776796?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ethan Mitchell</b></sub></a><br /><a href="https://github.com/sapphire-community/utilities/commits?author=ethamitc" title="Documentation">๐Ÿ“–</a></td>
<td align="center"><a href="https://github.com/noftaly"><img src="https://avatars.githubusercontent.com/u/34779161?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Elliot</b></sub></a><br /><a href="https://github.com/sapphire-community/utilities/commits?author=noftaly" title="Code">๐Ÿ’ป</a></td>
<td align="center"><a href="https://github.com/Nytelife26"><img src="https://avatars1.githubusercontent.com/u/22531310?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Tyler J Russell</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=Nytelife26" title="Documentation">๐Ÿ“–</a></td>
<td align="center"><a href="https://github.com/Alcremie"><img src="https://avatars0.githubusercontent.com/u/54785334?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ivan Lieder</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=Alcremie" title="Code">๐Ÿ’ป</a> <a href="https://github.com/sapphiredev/utilities/issues?q=author%3AAlcremie" title="Bug reports">๐Ÿ›</a></td>
<td align="center"><a href="https://github.com/RealShadowNova"><img src="https://avatars3.githubusercontent.com/u/46537907?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Hezekiah Hendry</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=RealShadowNova" title="Code">๐Ÿ’ป</a></td>
<td align="center"><a href="https://github.com/Stitch07"><img src="https://avatars.githubusercontent.com/u/29275227?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Stitch07</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=Stitch07" title="Code">๐Ÿ’ป</a></td>
<td align="center"><a href="https://github.com/Vetlix"><img src="https://avatars.githubusercontent.com/u/31412314?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Vetlix</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=Vetlix" title="Code">๐Ÿ’ป</a></td>
<td align="center"><a href="https://github.com/ethamitc"><img src="https://avatars.githubusercontent.com/u/27776796?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ethan Mitchell</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=ethamitc" title="Documentation">๐Ÿ“–</a></td>
<td align="center"><a href="https://github.com/noftaly"><img src="https://avatars.githubusercontent.com/u/34779161?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Elliot</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=noftaly" title="Code">๐Ÿ’ป</a></td>
</tr>
<tr>
<td align="center"><a href="https://jurien.dev"><img src="https://avatars.githubusercontent.com/u/5418114?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jurien Hamaker</b></sub></a><br /><a href="https://github.com/sapphire-community/utilities/commits?author=jurienhamaker" title="Code">๐Ÿ’ป</a></td>
<td align="center"><a href="https://jurien.dev"><img src="https://avatars.githubusercontent.com/u/5418114?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jurien Hamaker</b></sub></a><br /><a href="https://github.com/sapphiredev/utilities/commits?author=jurienhamaker" title="Code">๐Ÿ’ป</a></td>
</tr>

@@ -181,0 +179,0 @@ </table>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc