Socket
Socket
Sign inDemoInstall

tailwind

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tailwind - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

4

dist/wires/api/http/v1/postCommand.js

@@ -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 @@ }

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