Socket
Socket
Sign inDemoInstall

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.14 to 0.0.15

yukon.js

4

middlewares/api.js

@@ -32,4 +32,4 @@ // custom middleware invoked by doAPI (not express middleware)

var callArgs = _.assign(_.cloneDeep(config.apiDefaults), args);
callArgs.paramMethod = (callArgs.verb === 'get') ? 'query' : 'send';
callArgs.paramMethod = (callArgs.verb !== 'get' && callArgs.bodyType === 'json') ? 'send' : 'query';
config.apiCallBefore(callArgs, req, res);

@@ -36,0 +36,0 @@

{
"name": "yukon",
"version": "0.0.14",
"version": "0.0.15",
"description": "Self-discovering component-based API-driven framework based on express",
"main": "index.js",
"main": "yukon.js",
"scripts": {

@@ -25,3 +25,3 @@ "test": "echo \"Error: no test specified\" && exit 1"

"lodash": "^2.4.1",
"nodulejs": "^1.1.11",
"nodulejs": "^1.1.12",
"superagent": "^0.21.0"

@@ -31,3 +31,5 @@ },

"body-parser": "^1.10.1",
"expect": "^1.3.0",
"express": "^4.10.6",
"glob": "^4.3.2",
"jade": "^1.8.2",

@@ -34,0 +36,0 @@ "mocha": "^2.1.0",

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