Comparing version 1.1.2 to 2.0.0
@@ -15,3 +15,3 @@ /** | ||
var _buildHttpError = require('build-http-error'); | ||
var _buildHttpError = require('http-errors'); | ||
@@ -18,0 +18,0 @@ var _buildHttpError2 = _interopRequireDefault(_buildHttpError); |
@@ -7,3 +7,3 @@ /** | ||
import httpError from 'build-http-error' | ||
import httpError from 'http-errors' | ||
@@ -10,0 +10,0 @@ const jsonValidator = () => (req, res, next) => { |
{ | ||
"name": "njv", | ||
"version": "1.1.2", | ||
"version": "2.0.0", | ||
"description": "jsonapi validator middleware for node.js", | ||
"main": "index.js", | ||
"dependencies": { | ||
"build-http-error": "^0.2.1" | ||
"http-errors": "^1.4.0" | ||
}, | ||
@@ -9,0 +9,0 @@ "devDependencies": { |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
6932
2
+ Addedhttp-errors@^1.4.0
+ Addeddepd@1.1.2(transitive)
+ Addedhttp-errors@1.8.1(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedsetprototypeof@1.2.0(transitive)
+ Addedstatuses@1.5.0(transitive)
+ Addedtoidentifier@1.0.1(transitive)
- Removedbuild-http-error@^0.2.1
- Removedbuild-http-error@0.2.1(transitive)