Socket
Socket
Sign inDemoInstall

feathers-sequelize

Package Overview
Dependencies
5
Maintainers
2
Versions
84
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.2 to 4.0.3

7

CHANGELOG.md
# Change Log
## [v4.0.2](https://github.com/feathersjs-ecosystem/feathers-sequelize/tree/v4.0.2) (2018-12-21)
[Full Changelog](https://github.com/feathersjs-ecosystem/feathers-sequelize/compare/v4.0.1...v4.0.2)
**Merged pull requests:**
- Make sure that Symbols are included in filtered query [\#260](https://github.com/feathersjs-ecosystem/feathers-sequelize/pull/260) ([daffl](https://github.com/daffl))
## [v4.0.1](https://github.com/feathersjs-ecosystem/feathers-sequelize/tree/v4.0.1) (2018-12-21)

@@ -4,0 +11,0 @@ [Full Changelog](https://github.com/feathersjs-ecosystem/feathers-sequelize/compare/v4.0.0...v4.0.1)

6

lib/index.js

@@ -44,3 +44,3 @@ const errors = require('@feathersjs/errors');

get Model () {
return this.getModel();
return this.options.Model;
}

@@ -261,3 +261,2 @@

const where = Object.assign({}, this.filterQuery(params).query);
const options = Object.assign({ raw: this.raw }, params.sequelize);

@@ -276,3 +275,4 @@ // Force the {raw: false} option as the instance is needed to properly

return instance.update(copy, updateOptions).then(() => this._get(id, { sequelize: options }));
return instance.update(copy, updateOptions)
.then(() => this._get(id, { sequelize: params.sequelize }));
})

@@ -279,0 +279,0 @@ .then(select(params, this.id))

{
"name": "feathers-sequelize",
"description": "A service adapter for Sequelize an SQL ORM",
"version": "4.0.2",
"version": "4.0.3",
"homepage": "https://github.com/feathersjs-ecosystem/feathers-sequelize",

@@ -6,0 +6,0 @@ "main": "lib/",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc