New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

njv

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

njv - npm Package Compare versions

Comparing version 1.1.2 to 2.0.0

2

index.js

@@ -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": {

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