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

decl-api

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

decl-api - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

docs.js

14

index.js

@@ -1,2 +0,2 @@

var Q, assert, callActionFromReq, callActionFromReqAndRespond, createExpressRestApi, normalizeAction, normalizeActions, normalizeParam, normalizeParams, normalizeType, path, sendErrorResponse, sendSuccessResponse, serveClient, stringifyApi, toJson, types, wrapActionResult, _,
var Q, assert, callActionFromReq, callActionFromReqAndRespond, createExpressRestApi, docs, normalizeAction, normalizeActions, normalizeParam, normalizeParams, normalizeType, path, sendErrorResponse, sendSuccessResponse, serveClient, stringifyApi, toJson, types, wrapActionResult, _,
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };

@@ -17,6 +17,7 @@

date: "date",
object: "object"
object: "object",
boolean: "boolean"
};
types.any = [types.number, types.string, types.array, types.date, types.object];
types.any = [types.number, types.boolean, types.string, types.array, types.date, types.object];

@@ -208,2 +209,6 @@ normalizeType = function(type) {

docs = function() {
return require('./docs.js');
};
module.exports = {

@@ -219,3 +224,4 @@ types: types,

serveClient: serveClient,
stringifyApi: stringifyApi
stringifyApi: stringifyApi,
docs: docs
};
{
"name": "decl-api",
"version": "0.0.2",
"version": "0.0.3",
"description": "declarative api definition for REST and real time apis",
"main": "index.js",
"files": [
"index.js", "clients"
"index.js",
"docs.js",
"clients",
"examples"
],

@@ -20,4 +23,5 @@ "author": "Oliver Schneider <oliverschneider89+sweetpi@gmail.com> (http://sweetpi.de)",

"grunt": "~0.4.5",
"grunt-contrib-coffee": "~0.10.1"
"grunt-contrib-coffee": "~0.10.1",
"mocha": "~1.20.1"
}
}
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