@ejnshtein/smol-request
Advanced tools
Comparing version 1.0.12-b to 1.1.0
{ | ||
"name": "@ejnshtein/smol-request", | ||
"version": "1.0.12b", | ||
"description": "Tiny http/https request wrapper for Node.js using ESM (13.5 and newer)", | ||
"version": "1.1.0", | ||
"description": "Tiny http/https request wrapper for Node.js 10+ (Version 13.5 and newer supports ESM)", | ||
"type": "module", | ||
@@ -24,3 +24,3 @@ "main": "Request.cjs", | ||
"engines": { | ||
"node": ">=13.5" | ||
"node": ">=10.20" | ||
}, | ||
@@ -27,0 +27,0 @@ "typings": "./typings/index.d.ts", |
@@ -7,3 +7,3 @@ # Smol Request | ||
Small async request client for Node.js 13.5 and newer with 0 dependencies. | ||
Small async request client for Node.js 10.20.x+ and newer with 0 dependencies (And ESM support for Node 13.5+). | ||
Mostly meant to be used as an http layer for some API library. | ||
@@ -20,4 +20,9 @@ | ||
```js | ||
// import with esm | ||
import request from '@ejnshtein/smol-request' | ||
// or commonjs | ||
const request = require('@ejnshtein/smol-request') | ||
request('https://ghibliapi.herokuapp.com/films', { responseType: 'json' }) | ||
@@ -24,0 +29,0 @@ .then(({ data }) => { |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
12742
1
115
2
1