Comparing version 3.0.0 to 4.0.0
@@ -0,1 +1,3 @@ | ||
import koaRange from 'koa-range' | ||
class Range { | ||
@@ -7,6 +9,6 @@ description () { | ||
middleware () { | ||
return require('koa-range') | ||
return koaRange | ||
} | ||
} | ||
module.exports = Range | ||
export default Range |
{ | ||
"name": "lws-range", | ||
"author": "Lloyd Brookes <75pound@gmail.com>", | ||
"version": "3.0.0", | ||
"version": "4.0.0", | ||
"description": "Adds support for HTTP Range Requests to lws", | ||
"repository": "https://github.com/lwsjs/range.git", | ||
"license": "MIT", | ||
"type": "module", | ||
"exports": "./index.js", | ||
"keywords": [ | ||
@@ -15,3 +17,3 @@ "lws", | ||
"engines": { | ||
"node": ">=10" | ||
"node": ">=12.17" | ||
}, | ||
@@ -25,5 +27,5 @@ "scripts": { | ||
"devDependencies": { | ||
"lws": "^2.0.8", | ||
"node-fetch": "^2.6.0", | ||
"test-runner": "^0.8.13" | ||
"lws": "^4.1.1", | ||
"node-fetch": "^3.2.0", | ||
"test-runner": "^0.10.1" | ||
}, | ||
@@ -30,0 +32,0 @@ "files": [ |
@@ -1,5 +0,6 @@ | ||
[![view on npm](https://img.shields.io/npm/v/lws-range.svg)](https://www.npmjs.org/package/lws-range) | ||
[![npm module downloads](https://img.shields.io/npm/dt/lws-range.svg)](https://www.npmjs.org/package/lws-range) | ||
[![Build Status](https://travis-ci.org/lwsjs/range.svg?branch=master)](https://travis-ci.org/lwsjs/range) | ||
[![Dependency Status](https://badgen.net/david/dep/lwsjs/range)](https://david-dm.org/lwsjs/range) | ||
[![view on npm](https://badgen.net/npm/v/lws-range)](https://www.npmjs.org/package/lws-range) | ||
[![npm module downloads](https://badgen.net/npm/dt/lws-range)](https://www.npmjs.org/package/lws-range) | ||
[![Gihub repo dependents](https://badgen.net/github/dependents-repo/lwsjs/range)](https://github.com/lwsjs/range/network/dependents?dependent_type=REPOSITORY) | ||
[![Gihub package dependents](https://badgen.net/github/dependents-pkg/lwsjs/range)](https://github.com/lwsjs/range/network/dependents?dependent_type=PACKAGE) | ||
[![Node.js CI](https://github.com/lwsjs/range/actions/workflows/node.js.yml/badge.svg)](https://github.com/lwsjs/range/actions/workflows/node.js.yml) | ||
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard) | ||
@@ -13,2 +14,2 @@ | ||
© 2018-20 Lloyd Brookes \<75pound@gmail.com\>. | ||
© 2018-22 Lloyd Brookes \<75pound@gmail.com\>. |
Sorry, the diff of this file is not supported yet
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
2919
10
15
Yes