sync-request-curl
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -8,3 +8,3 @@ "use strict"; | ||
if (code < 1 || code > 99) { | ||
throw new Error(`CurlError code must be between 0 and 99. Given: ${code}`); | ||
throw new Error(`CurlError code must be between 1 and 99. Given: ${code}`); | ||
} | ||
@@ -11,0 +11,0 @@ this.code = code; |
@@ -5,3 +5,3 @@ export class CurlError extends Error { | ||
if (code < 1 || code > 99) { | ||
throw new Error(`CurlError code must be between 0 and 99. Given: ${code}`); | ||
throw new Error(`CurlError code must be between 1 and 99. Given: ${code}`); | ||
} | ||
@@ -8,0 +8,0 @@ this.code = code; |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"files": [ | ||
@@ -59,3 +59,3 @@ "dist" | ||
"@types/morgan": "^1.9.5", | ||
"@types/node": "^20.6.0", | ||
"@types/node": "^20.6.1", | ||
"@typescript-eslint/eslint-plugin": "^6.7.0", | ||
@@ -62,0 +62,0 @@ "@typescript-eslint/parser": "^6.7.0", |
@@ -17,7 +17,7 @@ <div align="center"> | ||
| ||
[![npm bundle size](https://badgen.net/bundlephobia/min/sync-request-curl)](https://bundlephobia.com/package/sync-request-curl) | ||
[![install size](https://packagephobia.com/badge?p=sync-request-curl)](https://packagephobia.com/result?p=sync-request-curl) | ||
| ||
[![Depfu Dependencies](https://badges.depfu.com/badges/6c4074c4d23ad57ee2bfd9ff90456090/overview.svg)](https://depfu.com/github/nktnet1/sync-request-curl?project_id=39032) | ||
| ||
[![NPM Downloads](https://img.shields.io/npm/dw/sync-request-curl)](https://npm-stat.com/charts.html?package=sync-request-curl) | ||
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fnktnet1%2Fsync-request-curl.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fnktnet1%2Fsync-request-curl?ref=badge_shield) | ||
| ||
@@ -28,2 +28,12 @@ [![NPM License](https://img.shields.io/npm/l/sync-request-curl)](https://opensource.org/license/mit/) | ||
[![Downloads Total](https://badgen.net/npm/dt/sync-request-curl)](https://github.com/nktnet1/sync-request-curl) | ||
| ||
[![Downloads Total](https://badgen.net/npm/dy/sync-request-curl)](https://github.com/nktnet1/sync-request-curl) | ||
| ||
[![Downloads Monthly](https://badgen.net/npm/dm/sync-request-curl)](https://github.com/nktnet1/sync-request-curl) | ||
| ||
[![Downloads Weekly](https://badgen.net/npm/dw/sync-request-curl)](https://github.com/nktnet1/sync-request-curl) | ||
| ||
[![Downloads Daily](https://badgen.net/npm/dd/sync-request-curl)](https://github.com/nktnet1/sync-request-curl) | ||
--- | ||
@@ -361,3 +371,3 @@ | ||
if (code < 1 || code > 99) { | ||
throw new Error(`CurlError code must be between 0 and 99. Given: ${code}`); | ||
throw new Error(`CurlError code must be between 1 and 99. Given: ${code}`); | ||
} | ||
@@ -400,2 +410,4 @@ this.code = code; | ||
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fnktnet1%2Fsync-request-curl.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fnktnet1%2Fsync-request-curl?ref=badge_large) | ||
</details> | ||
@@ -402,0 +414,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48424
452