New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

journey

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

journey - npm Package Compare versions

Comparing version 0.4.0-pre to 0.4.0-pre-2

11

lib/journey.js

@@ -208,2 +208,4 @@ var path = require('path');

validateRoute: function (route, request, body, allowedMethods, cb) {
var that = this;
// Match the pattern with the url

@@ -248,2 +250,5 @@ var match = (function (pattern) {

var args = [];
if (that.options.api === 'http') { args.push(request) }
args.push(res);

@@ -420,7 +425,3 @@ args.push.apply(args, match.slice(1).map(function (m) {

try {
if (that.options.api === 'http') {
destination.call(this, this.request, this, params || {});
} else {
destination.call(this, this, params || {});
}
destination.call(this, this, params || {});
} catch (err) {

@@ -427,0 +428,0 @@ this.respond({

@@ -12,5 +12,5 @@ {

"main" : "./lib/journey",
"version" : "0.4.0-pre",
"version" : "0.4.0-pre-2",
"directories" : { "test": "./test" },
"engines" : { "node": "> 0.2.6" }
}
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