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.0 to 1.1.1

2

lib/jsonValidator.js

@@ -23,3 +23,3 @@ /**

*/
if (req.body) {
if (req.method === 'POST' || req.method === 'PUT' || req.method === 'PATCH') {
if (!~resContentTypes.indexOf('application/vnd.api+json')) {

@@ -26,0 +26,0 @@ return next(httpError(415))

{
"name": "njv",
"version": "1.1.0",
"version": "1.1.1",
"description": "jsonapi validator middleware for node.js",

@@ -5,0 +5,0 @@ "main": "index.js",

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