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.3.6 to 0.3.7

9

lib/locomotive/controller.js

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

Object.keys(this).filter(localProperties).forEach(function(key) {
self.__res.locals[key] = self[key];
var value = self[key];
// TODO: Implement a test case for this.
// Make sure functions are always run in the current controllers` context.
if (value instanceof Function)
value = value.bind(self);
self.__res.locals[key] = value;
});

@@ -116,0 +123,0 @@

2

package.json
{
"name": "locomotive",
"version": "0.3.6",
"version": "0.3.7",
"description": "Powerful MVC web framework for Node.js.",

@@ -5,0 +5,0 @@ "author": { "name": "Jared Hanson", "email": "jaredhanson@gmail.com", "url": "http://www.jaredhanson.net/" },

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