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.0.0 to 1.0.1

2

lib/jsonValidator.js

@@ -28,3 +28,3 @@ /**

*/
const regExp = /^\W*application\/vnd\.api\+json$/i
const regExp = /^\s*application\/vnd\.api\+json$/i
let isAcceptable = true

@@ -31,0 +31,0 @@ let eachMediaArray = []

{
"name": "njv",
"version": "1.0.0",
"version": "1.0.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