Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wmfs/pg-model

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

@wmfs/pg-model - npm Package Compare versions

Comparing version 1.26.2 to 1.26.3

12

CHANGELOG.md

@@ -0,1 +1,13 @@

## [1.26.3](https://github.com/wmfs/pg-model/compare/v1.26.2...v1.26.3) (2021-11-24)
### 🐛 Bug Fixes
* check where is not empty object ([110901f](https://github.com/wmfs/pg-model/commit/110901f5e26fbc70f19ef43df95c24527432cd45))
### ⚙️ Continuous Integrations
* **travis:** remove old travis config ([5f2980a](https://github.com/wmfs/pg-model/commit/5f2980a7a84571e9e025a4f17a00cde901ef5343))
## [1.26.2](https://github.com/wmfs/pg-model/compare/v1.26.1...v1.26.2) (2021-08-04)

@@ -2,0 +14,0 @@

2

lib/utils/option-parser.js

@@ -38,3 +38,3 @@ const expressionTypeFormatters = {

// -----
if (Object.prototype.hasOwnProperty.call(options, 'where')) {
if (Object.prototype.hasOwnProperty.call(options, 'where') && Object.keys(options.where).length) {
sql += buildWhereClause(options.where, propertyIdToColumn, values)

@@ -41,0 +41,0 @@ }

{
"name": "@wmfs/pg-model",
"version": "1.26.2",
"version": "1.26.3",
"description": "Takes a relational database structure and returns model objects for noSQL-like abilities.",

@@ -5,0 +5,0 @@ "author": "West Midlands Fire Service",

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