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

massive

Package Overview
Dependencies
Maintainers
2
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

massive - npm Package Compare versions

Comparing version 6.9.0 to 6.9.1

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [6.9.1](https://gitlab.com/dmfay/massive-js/compare/v6.9.0...v6.9.1) (2021-06-21)
### Bug Fixes
* avoid overriding options.single in join queries ([671b785](https://gitlab.com/dmfay/massive-js/commit/671b785cefc0ad4444447f22142602f34b852741)), closes [#735](https://gitlab.com/dmfay/massive-js/issues/735)
## [6.9.0](https://gitlab.com/dmfay/massive-js/compare/v6.8.0...v6.9.0) (2021-05-13)

@@ -7,0 +14,0 @@

8

lib/statement/statement.js

@@ -61,3 +61,9 @@ 'use strict';

this.criteria = _.fromPairs([[this.source.pk[0], criteria]]);
this.single = this.source.loader !== 'join';
if (this.source.loader !== 'join') {
// for single-relation queries the unary pk can only refer to a single
// row, so make sure we return an object no matter what; nothing can be
// assumed for a join query, however
this.single = true;
}
} else {

@@ -64,0 +70,0 @@ this.criteria = criteria;

2

package.json
{
"name": "massive",
"version": "6.9.0",
"version": "6.9.1",
"description": "A small query tool for Postgres that embraces json and makes life simpler",

@@ -5,0 +5,0 @@ "homepage": "https://massivejs.org",

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