Socket
Socket
Sign inDemoInstall

sequelize-es-decorator

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sequelize-es-decorator - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

index.js

@@ -43,3 +43,3 @@ const elasticsearch = require('elasticsearch');

this.client.indices.close({index: `${this.database}_${options.type}`})
.then(() => this.client.indices.putSettings(this.indexSetting))
.then(() => this.client.indices.putSettings({index: `${this.database}_${options.type}`, body: this.indexSetting}))
.then(() => this.client.indices.open({index: `${this.database}_${options.type}`}));

@@ -46,0 +46,0 @@ }

{
"name": "sequelize-es-decorator",
"version": "1.0.4",
"version": "1.0.5",
"description": "Decorator for Sequelize models that enables auto-indexing of data that goes through the model.",

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

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