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

@trenskow/pged

Package Overview
Dependencies
Maintainers
0
Versions
190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trenskow/pged - npm Package Compare versions

Comparing version 5.1.20 to 5.1.21

2

package.json
{
"name": "@trenskow/pged",
"version": "5.1.20",
"version": "5.1.21",
"description": "Just a silly little db management and query builder for PostgreSQL.",

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

@@ -401,2 +401,11 @@ import caseit from '@trenskow/caseit';

} else {
if (value == null || typeof value === 'undefined') {
if (comparer === '$eq') {
return `${this._dbCase(key.substring(1), true)} is null`;
} else if (comparer === '$neq' || comparer === '$ne') {
return `${this._dbCase(key.substring(1), true)} is not null`;
} else {
throw new TypeError(`Comparer ${comparer} is not usable with \`null\` values.`);
}
}
this._queryParameters.push(this._formatParameter(key, condition[key]));

@@ -403,0 +412,0 @@ value = `$${this._queryParameters.length}`;

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