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

hapiest-mysql

Package Overview
Dependencies
Maintainers
4
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapiest-mysql - npm Package Compare versions

Comparing version 0.0.48 to 0.0.49

1

lib/mysqlDaoQueryHelper.js

@@ -24,2 +24,3 @@ 'use strict';

gte: '>=',
like: 'LIKE',
lt: '<',

@@ -26,0 +27,0 @@ lte: '<=',

2

package.json
{
"name": "hapiest-mysql",
"version": "0.0.48",
"version": "0.0.49",
"description": "A wrapper around mysql that provides a very descriptive way of running queries.",

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

@@ -346,2 +346,13 @@ 'use strict';

it('Should generate a SELECT statement with a query object and like: foo%', function() {
const sql = mysqlDaoQueryHelper.getAll({
firstName: {
like: 'foo%'
}
});
Should.exist(sql);
sql.should.eql("SELECT * FROM users WHERE (first_name LIKE 'foo%')");
});
});

@@ -348,0 +359,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