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

autoroute-express-promise

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autoroute-express-promise - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

4

index.js

@@ -17,4 +17,4 @@ /// <reference path="typings/typings.d.ts" />

var createRoutes = _.curry(function (o, routeDefinitions) {
var flattenedRoutes = routeDefinitions.map(route_methods_1.flattenRoute);
_.forEach(routeDefinitions, function (routeDef) {
var flattenedRoutes = _(routeDefinitions).map(route_methods_1.flattenRoute).flatten().value();
_.forEach(flattenedRoutes, function (routeDef) {
var route = routeDef.route, methods = routeDef.methods, startRoute = o.baseRoute(route), options_ = _.assign({}, o, { routeName: route, baseRoute: startRoute });

@@ -21,0 +21,0 @@ _.forEach(methods, toControllers(options_)); // attach routes/methods to router

{
"name": "autoroute-express-promise",
"version": "0.2.2",
"version": "0.2.3",
"description": "autoroute for use with promises",

@@ -35,4 +35,4 @@ "main": "index.js",

"ramda": "^0.17.1",
"route-methods": "0.0.1"
"route-methods": "0.0.2"
}
}

Sorry, the diff of this file is not supported yet

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