Socket
Socket
Sign inDemoInstall

feathers-sequelize

Package Overview
Dependencies
Maintainers
2
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feathers-sequelize - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

hooks/dehydrate.js

24

CHANGELOG.md
# Change Log
## [v2.0.1](https://github.com/feathersjs/feathers-sequelize/tree/v2.0.1) (2017-06-09)
[Full Changelog](https://github.com/feathersjs/feathers-sequelize/compare/v2.0.0...v2.0.1)
**Closed issues:**
- Allow custom primary keys [\#122](https://github.com/feathersjs/feathers-sequelize/issues/122)
- Investigate issue where getters, setters not being called [\#116](https://github.com/feathersjs/feathers-sequelize/issues/116)
- Model.create ignoring field and virtual setters [\#113](https://github.com/feathersjs/feathers-sequelize/issues/113)
- An in-range update of feathers is breaking the build 🚨 [\#112](https://github.com/feathersjs/feathers-sequelize/issues/112)
- Using `include` breaks the find method query [\#111](https://github.com/feathersjs/feathers-sequelize/issues/111)
- An in-range update of feathers-errors is breaking the build 🚨 [\#110](https://github.com/feathersjs/feathers-sequelize/issues/110)
- Add `lean` attribute to automatically call toJSON? [\#19](https://github.com/feathersjs/feathers-sequelize/issues/19)
- Add a toJSON bundled hook like mongoose [\#18](https://github.com/feathersjs/feathers-sequelize/issues/18)
**Merged pull requests:**
- Fix issue with custom ID when using eager loading [\#124](https://github.com/feathersjs/feathers-sequelize/pull/124) ([DesignByOnyx](https://github.com/DesignByOnyx))
- Update chai to the latest version 🚀 [\#120](https://github.com/feathersjs/feathers-sequelize/pull/120) ([greenkeeper[bot]](https://github.com/apps/greenkeeper))
- Issue \#113: Model.create ignoring field and virtual setters [\#114](https://github.com/feathersjs/feathers-sequelize/pull/114) ([buske](https://github.com/buske))
## [v2.0.0](https://github.com/feathersjs/feathers-sequelize/tree/v2.0.0) (2017-05-03)

@@ -15,4 +35,4 @@ [Full Changelog](https://github.com/feathersjs/feathers-sequelize/compare/v1.4.5...v2.0.0)

- Fixed return value of patch method for postgresql dialect [\#104](https://github.com/feathersjs/feathers-sequelize/pull/104) ([msimulcik](https://github.com/msimulcik))
- Update semistandard to the latest version 🚀 [\#103](https://github.com/feathersjs/feathers-sequelize/pull/103) ([greenkeeper[bot]](https://github.com/integration/greenkeeper))
- Update dependencies to enable Greenkeeper 🌴 [\#102](https://github.com/feathersjs/feathers-sequelize/pull/102) ([greenkeeper[bot]](https://github.com/integration/greenkeeper))
- Update semistandard to the latest version 🚀 [\#103](https://github.com/feathersjs/feathers-sequelize/pull/103) ([greenkeeper[bot]](https://github.com/apps/greenkeeper))
- Update dependencies to enable Greenkeeper 🌴 [\#102](https://github.com/feathersjs/feathers-sequelize/pull/102) ([greenkeeper[bot]](https://github.com/apps/greenkeeper))

@@ -19,0 +39,0 @@ ## [v1.4.5](https://github.com/feathersjs/feathers-sequelize/tree/v1.4.5) (2017-03-26)

@@ -10,5 +10,11 @@ 'use strict';

return function (item) {
if (!(item instanceof Model.Instance)) {
// (Darren): We have to check that the Model.Instance static property exists
// first since it's been deprecated in Sequelize 4.x.
// See: http://docs.sequelizejs.com/manual/tutorial/upgrade-to-v4.html
var shouldBuild = Model.Instance ? !(item instanceof Model.Instance) : !(item instanceof Model);
if (shouldBuild) {
return Model.build(item, { isNewRecord: false, include: include });
}
return item;

@@ -15,0 +21,0 @@ };

4

package.json
{
"name": "feathers-sequelize",
"description": "A service adapter for Sequelize an SQL ORM",
"version": "2.0.1",
"version": "2.1.0",
"homepage": "https://github.com/feathersjs/feathers-sequelize",

@@ -66,2 +66,3 @@ "main": "lib/",

"lodash.omit": "^4.3.0",
"sequelize": "^4.3.1",
"uberproto": "^1.1.2"

@@ -85,5 +86,4 @@ },

"semistandard": "^11.0.0",
"sequelize": "^3.25.0",
"sqlite3": "^3.1.7"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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