Socket
Socket
Sign inDemoInstall

union

Package Overview
Dependencies
2
Maintainers
5
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.8 to 0.4.0

4

package.json
{
"name": "union",
"description": "A hybrid buffered / streaming middleware kernel backwards compatible with connect.",
"version": "0.3.8",
"version": "0.4.0",
"author": "Nodejitsu Inc. <info@nodejitsu.com>",

@@ -23,3 +23,3 @@ "maintainers": [

"vows": "0.7.x",
"connect": "2.3.x"
"connect": "2.13.x"
},

@@ -26,0 +26,0 @@ "scripts": {

@@ -10,3 +10,3 @@ /*

var assert = require('assert'),
bodyParser = require('connect').bodyParser,
connect = require('connect'),
request = require('request'),

@@ -17,3 +17,3 @@ vows = require('vows'),

vows.describe('union/body-parser').addBatch({
"When using union with connect bodyParser()": {
"When using union with connect body parsing via urlencoded() or json()": {
topic: function () {

@@ -23,3 +23,4 @@ union.createServer({

before: [
bodyParser(),
connect.urlencoded(),
connect.json(),
function (req, res) {

@@ -26,0 +27,0 @@ res.end(JSON.stringify(req.body, true, 2));

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc