Comparing version 2.4.0 to 2.4.1
@@ -10,3 +10,3 @@ 'use strict'; | ||
var Command = require('commands-events').Command, | ||
typer = require('media-typer'); | ||
typer = require('content-type'); | ||
@@ -38,3 +38,3 @@ var validateCommand = require('./validateCommand'); | ||
case 8: | ||
if (!(contentType.type !== 'application' || contentType.subtype !== 'json')) { | ||
if (!(contentType.type !== 'application/json')) { | ||
_context.next = 10; | ||
@@ -41,0 +41,0 @@ break; |
{ | ||
"name": "tailwind", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "tailwind is a base module for streaming and evented CQS applications.", | ||
@@ -21,4 +21,4 @@ "contributors": [ | ||
"dependencies": { | ||
"@babel/runtime": "7.1.2", | ||
"ajv": "6.5.4", | ||
"@babel/runtime": "7.1.5", | ||
"ajv": "6.5.5", | ||
"app-root-path": "2.1.0", | ||
@@ -29,3 +29,4 @@ "async-retry": "1.2.3", | ||
"compression": "1.7.3", | ||
"cors": "2.8.4", | ||
"content-type": "1.0.4", | ||
"cors": "2.8.5", | ||
"crypto2": "2.0.0", | ||
@@ -38,6 +39,5 @@ "datasette": "1.0.1", | ||
"json-lines": "1.0.0", | ||
"limes": "1.0.1", | ||
"limes": "1.1.0", | ||
"lodash": "4.17.11", | ||
"lusca": "1.6.1", | ||
"media-typer": "0.3.0", | ||
"morgan": "1.9.1", | ||
@@ -55,3 +55,3 @@ "nocache": "2.0.0", | ||
"amqplib": "0.5.2", | ||
"assertthat": "1.0.0", | ||
"assertthat": "2.0.0", | ||
"common-tags": "1.8.0", | ||
@@ -61,3 +61,3 @@ "json-lines-client": "1.0.1", | ||
"nodeenv": "1.0.0", | ||
"roboter": "2.0.0", | ||
"roboter": "2.1.0", | ||
"shelljs": "0.8.2" | ||
@@ -64,0 +64,0 @@ }, |
'use strict'; | ||
const Command = require('commands-events').Command, | ||
typer = require('media-typer'); | ||
typer = require('content-type'); | ||
@@ -20,3 +20,3 @@ const validateCommand = require('./validateCommand'); | ||
if (contentType.type !== 'application' || contentType.subtype !== 'json') { | ||
if (contentType.type !== 'application/json') { | ||
return res.status(415).send('Header content-type must be application/json.'); | ||
@@ -23,0 +23,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
363785
+ Addedcontent-type@1.0.4
+ Added@babel/runtime@7.1.5(transitive)
+ Addedajv@6.5.5(transitive)
+ Addedcontent-type@1.0.4(transitive)
+ Addedcors@2.8.5(transitive)
+ Addedexpress-jwt@5.3.1(transitive)
+ Addedjsonwebtoken@8.3.0(transitive)
+ Addedlimes@1.1.0(transitive)
- Removedmedia-typer@0.3.0
- Removedajv@6.5.4(transitive)
- Removedcontent-type@1.0.5(transitive)
- Removedcors@2.8.4(transitive)
- Removedexpress-jwt@5.3.0(transitive)
- Removedhoek@2.16.3(transitive)
- Removedisemail@1.2.0(transitive)
- Removedjoi@6.10.1(transitive)
- Removedjsonwebtoken@7.4.38.1.1(transitive)
- Removedlimes@1.0.1(transitive)
- Removedtopo@1.1.0(transitive)
Updated@babel/runtime@7.1.5
Updatedajv@6.5.5
Updatedcors@2.8.5
Updatedlimes@1.1.0