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.28.0 to 1.28.1

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.28.1](https://github.com/wmfs/pg-model/compare/v1.28.0...v1.28.1) (2021-11-25)
### 🐛 Bug Fixes
* check fields is not empty array ([4d1387e](https://github.com/wmfs/pg-model/commit/4d1387e0fdb2bb177fd20233490cf83ddefbaac3))
# [1.28.0](https://github.com/wmfs/pg-model/compare/v1.27.0...v1.28.0) (2021-11-25)

@@ -2,0 +9,0 @@

2

lib/Model/actions/Finder.js

@@ -92,3 +92,3 @@ 'use strict'

createSqlSelect (options) {
const filter = Array.isArray(options.fields)
const filter = Array.isArray(options.fields) && options.fields.length
? ([col, prop]) => options.fields.includes(prop)

@@ -95,0 +95,0 @@ : () => true

{
"name": "@wmfs/pg-model",
"version": "1.28.0",
"version": "1.28.1",
"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