Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stacked

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stacked - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

8

package.json
{
"name": "stacked",
"version": "1.0.0",
"version": "1.0.1",
"author": "Felix Gnass <fgnass@gmail.com>",
"description": "bundle multiple middleware functions into one stack",
"keywords": ["connect", "middleware", "stack"],
"keywords": [
"connect",
"middleware",
"stack"
],
"homepage": "https://github.com/fgnass/stacked",

@@ -8,0 +12,0 @@ "main": "stacked.js",

@@ -30,2 +30,3 @@ var URL = require('url')

handle.use = function(fn) {
if (typeof fn == 'object' && fn.handle) fn = fn.handle.bind(fn)
layers.push(fn)

@@ -43,2 +44,3 @@ return this

if (mount.substr(-1) != '/') mount += '/'
if (typeof fn == 'object' && fn.handle) fn = fn.handle.bind(fn)

@@ -45,0 +47,0 @@ return function(req, res, next) {

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