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

chaosrouter

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chaosrouter - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

33

chaosrouter.js

@@ -7,22 +7,10 @@

var validationlib = {
"is_digit": function(cb, args, kwargs) {
for (var i in args) {
if (! args[i].isdigit())
return cb(false);
}
cb(true);
"is_digit": function(value, kwargs) {
return value.isdigit();
},
"is_number": function(cb, args, kwargs) {
for (var i in args) {
if (! args[args].is_number())
return cb(false);
}
cb(true);
"is_number": function(value, kwargs) {
return value.is_number();
},
"not_empty": function(cb, args, kwargs) {
for (var i in args) {
if(! args[i].strip() !== "")
return cb(false);
}
cb(true);
"not_empty": function(value, kwargs) {
return value.strip() !== "";
}

@@ -89,3 +77,3 @@ }

data = parents.pop()[1];
continue;
return;
}

@@ -217,6 +205,4 @@

var where = '';
else {
this.where = fill(this.where, this.args);
else
var where = " WHERE {0} ".format(this.where);
}
var query = " SELECT * FROM {table}{join}{where} ".format({

@@ -274,5 +260,2 @@ 'table': this.table,

self.db.all(query, function(err, all) {
if( all === undefined ) {
return r(err)
}
var result = structure === null

@@ -279,0 +262,0 @@ ? all

{
"name": "chaosrouter",
"version": "0.1.4",
"version": "0.1.5",
"description": "ERROR: No README data found!",

@@ -19,5 +19,5 @@ "main": "chaosrouter.js",

"dependencies": {
"restruct-data": "^0.1.1"
"restruct-data": "^0.1.2"
},
"devDependencies": {}
}
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