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.6.1 to 1.6.2

10

CHANGELOG.md

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

<a name="1.6.2"></a>
## [1.6.2](https://github.com/knorm/knorm/compare/v1.6.1...v1.6.2) (2018-08-23)
### Bug Fixes
* **Model:** do not duplicate Model.config.fieldNames ([4fe3cbb](https://github.com/knorm/knorm/commit/4fe3cbb))
<a name="1.6.1"></a>

@@ -2,0 +12,0 @@ ## [1.6.1](https://github.com/knorm/knorm/compare/v1.6.0...v1.6.1) (2018-08-22)

4

lib/Model.js

@@ -329,5 +329,7 @@ const { upperFirst, merge } = require('lodash');

if (!this._config.fieldNames.includes(name)) {
this._config.fieldNames.push(name);
}
this._config._fields[name] = field;
this._config.fieldsToColumns[name] = field.column;
this._config.fieldNames.push(name);
}

@@ -334,0 +336,0 @@

{
"name": "@knorm/knorm",
"version": "1.6.1",
"version": "1.6.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