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.1.2 to 0.2.0

10

DirtyAdapter.js

@@ -421,4 +421,12 @@ /*---------------------------------------------------------------

var matchString = criteria[key];
// Handle escaped percent (%) signs
matchString = matchString.replace(/%%%/g, '%');
// Replace SQL % match notation with something the ECMA regex parser can handle
matchString = matchString.replace(/[^%]%[^%]/g, '.*');
// Check that criterion attribute and is at least similar to the model's value for that attr
if(!model[key] || !_.str.include(model[key],criteria[key])) {
if(!model[key] || !model[key].match(matchString)) {
return false;

@@ -425,0 +433,0 @@ }

2

package.json
{
"name": "waterline-dirty",
"version": "0.1.2",
"version": "0.2.0",
"description": "Waterline adapter for felixge's node-dirty",

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

@@ -0,1 +1,3 @@

![image_squidhome@2x.png](http://i.imgur.com/RIvu9.png)
# DirtyAdapter

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