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

locomotive

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

locomotive - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

2

lib/cli/create.js

@@ -209,3 +209,3 @@ /**

, '// Add phases to configure environments, run initializers, draw routes, and'
, '// start an HTTP server. Additional phases can be inserted as neeeded, which'
, '// start an HTTP server. Additional phases can be inserted as needed, which'
, '// is particularly useful if your application handles upgrades from HTTP to'

@@ -212,0 +212,0 @@ , '// other protocols such as WebSocket.'

@@ -420,3 +420,2 @@ /**

}
return this;

@@ -453,3 +452,2 @@ };

}
return this;

@@ -574,3 +572,9 @@ };

try {
self[action](data);
// TODO: Implement promise support for before and after filters.
var promise = self[action](data);
if (promise && typeof promise.then == 'function') {
promise.then(null, function(err) {
self.error(err);
});
}
return;

@@ -577,0 +581,0 @@ } catch (ex) {

{
"name": "locomotive",
"version": "0.4.1",
"version": "0.4.2",
"description": "Powerful MVC web framework for Node.js.",

@@ -53,3 +53,4 @@ "keywords": [

"chai-connect-middleware": "0.3.x",
"chai-locomotive-helpers": "0.1.x"
"chai-locomotive-helpers": "0.1.x",
"promise": "4.x.x"
},

@@ -56,0 +57,0 @@ "engines": {

@@ -7,2 +7,3 @@ # Locomotive

[![Dependencies](https://david-dm.org/jaredhanson/locomotive.png)](https://david-dm.org/jaredhanson/locomotive)
[![Tips](http://img.shields.io/gittip/jaredhanson.png)](https://www.gittip.com/jaredhanson/)

@@ -9,0 +10,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