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

yukon

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yukon - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

demo/404.js

6

middlewares/api.js

@@ -31,7 +31,9 @@ var fs = require('fs');

if (callArgs.host) callArgs.path = callArgs.host + callArgs.path;
callArgs.path = apiServer + callArgs.path; // we don't want the apiServer in timer results
// MAGIC ALERT: if path ends with '/', assume it gets an id from the express request :id matcher
callArgs.path = callArgs.path.match(/\/$/) ? callArgs.path + req.params.id : callArgs.path;
console.log(callArgs);
config.beforeApiCall(callArgs, req, res);

@@ -38,0 +40,0 @@

{
"name": "yukon",
"version": "0.0.10",
"version": "0.0.11",
"description": "Self-discovering component-based API-driven framework based on express",

@@ -25,3 +25,3 @@ "main": "index.js",

"lodash": "^2.4.1",
"nodulejs": "^1.1.6",
"nodulejs": "^1.1.9",
"superagent": "^0.21.0"

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