Comparing version 1.0.0 to 1.0.1
@@ -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", |