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

@knorm/knorm

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@knorm/knorm - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="1.4.2"></a>
## [1.4.2](https://github.com/knorm/knorm/compare/v1.4.1...v1.4.2) (2018-08-16)
### Bug Fixes
* **Query:** fix handling of string options ([2125f6e](https://github.com/knorm/knorm/commit/2125f6e))
<a name="1.4.1"></a>

@@ -2,0 +12,0 @@

5

lib/Query.js

@@ -134,5 +134,2 @@ const { difference } = require('lodash');

// TODO: make `fields` and `returning` synonymns i.e. such that can use
// `returning` in a fetch query and vice-versa
returning(...fields) {

@@ -422,3 +419,3 @@ return this.addFields(fields);

if (!values.length) {
if (!isArray(values) || !values.length) {
return;

@@ -425,0 +422,0 @@ }

2

package.json
{
"name": "@knorm/knorm",
"version": "1.4.1",
"version": "1.4.2",
"description": "A purely ES6 class-based ORM for Node.js",

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

Sorry, the diff of this file is too big to display

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