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.7.1 to 1.7.2

10

CHANGELOG.md

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

<a name="1.7.2"></a>
## [1.7.2](https://github.com/knorm/knorm/compare/v1.7.1...v1.7.2) (2018-09-25)
### Bug Fixes
* **Query:** ignore non-insert options for inserts ([1b0b4bd](https://github.com/knorm/knorm/commit/1b0b4bd))
<a name="1.7.1"></a>

@@ -2,0 +12,0 @@ ## [1.7.1](https://github.com/knorm/knorm/compare/v1.7.0...v1.7.1) (2018-09-25)

@@ -428,3 +428,9 @@ const { difference } = require('lodash');

// TODO: strict mode: warn if invalid options are used depending on the method
// e.g. using `where` for inserts
async prepareSql(sql, options) {
if (options.forInsert) {
return sql;
}
if (options.forFetch && this.options.fields) {

@@ -431,0 +437,0 @@ const columns = this.getColumns(this.options.fields);

2

package.json
{
"name": "@knorm/knorm",
"version": "1.7.1",
"version": "1.7.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