Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.7 to 1.0.8

7

index.js

@@ -34,7 +34,10 @@ const elasticsearch = require('@elastic/elasticsearch');

index: `${this.database}_${options.type}`
}).then(status => {
}).then(res => {
const status = !(res.statusCode === 404);
if (!status) {
this.client.indices.create(this.indexSetting ? {
index: `${this.database}_${options.type}`,
body: this.indexSetting
body: {
settings: this.indexSetting
}
} : {

@@ -41,0 +44,0 @@ index: `${this.database}_${options.type}`

{
"name": "sequelize-es-decorator",
"version": "1.0.7",
"version": "1.0.8",
"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