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

@dynacom/core

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dynacom/core - npm Package Compare versions

Comparing version 1.1.11 to 1.1.12

15

classes/domain.js

@@ -32,3 +32,2 @@ const Future = require( '@dynacom/futures' );

route( a ) {

@@ -40,7 +39,15 @@ if ( a instanceof Route ) {

if ( a.hasOwnProperty( routePath ) ) {
let handler = a[ routePath ];
this.routes.push( new Route( routePath, handler ) );
let b = a[ routePath ];
let handler = typeof b == 'function' ? b : b.handler;
let method = typeof b == 'function' ? null : b.method;
this.routes.push( new Route( routePath, method, handler ) );
}
}
}
} else if (Array.isArray( a )){
a.forEach(
route => {
this.routes.push( new Route( route.pattern, route.method, route.handler ) );
}
);
}
return this;

@@ -47,0 +54,0 @@ }

@@ -10,3 +10,3 @@ {

, "name": "@dynacom/core"
, "version": "1.1.11"
, "version": "1.1.12"
, "repository": {

@@ -13,0 +13,0 @@ "type": "git"

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