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

waterline-dirty

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

waterline-dirty - npm Package Compare versions

Comparing version 0.0.05 to 0.0.0501

20

DirtyAdapter.js

@@ -99,3 +99,3 @@ /*---------------------------------------------------------------

describe: function(collectionName, cb) {
this.log(" DESCRIBING :: " + collectionName);
this.log.verbose(" DESCRIBING :: " + collectionName);
var schema = this.db.get(this.config.schemaPrefix + collectionName);

@@ -108,3 +108,3 @@ var attributes = schema && schema.attributes;

define: function(collectionName, attributes, cb) {
this.log(" DEFINING " + collectionName, {
this.log.verbose(" DEFINING " + collectionName, {
as: schema

@@ -132,3 +132,3 @@ });

var self = this;
self.log(" DROPPING " + collectionName);
self.log.verbose(" DROPPING " + collectionName);
return self.db.rm(self.config.dataPrefix + collectionName, function(err) {

@@ -146,3 +146,3 @@ if(err) return cb("Could not drop collection!");

create: function(collectionName, values, cb) {
this.log(" CREATING :: " + collectionName, values);
this.log.verbose(" CREATING :: " + collectionName, values);
values = values || {};

@@ -201,3 +201,3 @@ var dataKey = this.config.dataPrefix + collectionName;

update: function(collectionName, options, values, cb) {
this.log(" UPDATING :: " + collectionName, {
this.log.verbose(" UPDATING :: " + collectionName, {
options: options,

@@ -222,12 +222,12 @@ values: values

_.each(data, function(row, index) {
my.log('matching row/index', {
my.log.verbose('matching row/index', {
row: row,
index: index
});
my.log("against", criteria);
my.log("with outcome", matchSet(row, criteria));
my.log.verbose("against", criteria);
my.log.verbose("with outcome", matchSet(row, criteria));
if(matchSet(row, criteria)) resultIndices.push(index);
});
this.log("filtered indices::", resultIndices, 'criteria', criteria);
this.log.verbose("filtered indices::", resultIndices, 'criteria', criteria);

@@ -247,3 +247,3 @@ // Update value(s)

destroy: function(collectionName, options, cb) {
this.log(" DESTROYING :: " + collectionName, options);
this.log.verbose(" DESTROYING :: " + collectionName, options);

@@ -250,0 +250,0 @@ var criteria = options.where;

{
"name": "waterline-dirty",
"version": "0.0.05",
"version": "0.0.0501",
"description": "Waterline adapter for felixge's node-dirty",

@@ -5,0 +5,0 @@ "main": "DirtyAdapter.js",

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