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

@nodefony/elastic-bundle

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodefony/elastic-bundle - npm Package Compare versions

Comparing version 5.1.1 to 6.0.0-beta.1

controller/documentationController.js

4

package.json
{
"name": "@nodefony/elastic-bundle",
"version": "5.1.1",
"version": "6.0.0-beta.1",
"description": "Nodefony Framework Bundle elasticsearch ",

@@ -15,3 +15,3 @@ "author": "admin admin@nodefony.com",

"dependencies": {
"@elastic/elasticsearch": "^7.4.0",
"@elastic/elasticsearch": "^7.6.0",
"shortid": "^2.2.15"

@@ -18,0 +18,0 @@ },

const elasticsearch = require('@elastic/elasticsearch');
const { Client } = require('@elastic/elasticsearch');
const {
Client
} = require('@elastic/elasticsearch');
/*const {

@@ -26,3 +28,2 @@ ConnectionPool,

class elesticConnection extends nodefony.Service {

@@ -102,3 +103,3 @@ constructor(name, options = {}, service = null) {

module.exports = class Elastic extends nodefony.services.connections {
class Elastic extends nodefony.services.Connections {

@@ -113,7 +114,7 @@ constructor(container) {

switch (nodefony.typeOf(connection.nodes)) {
case "array":
nodefony.extend(myOpt, this.globalOptions, connection);
break;
default:
nodefony.extend(myOpt, this.globalOptions, connection);
case "array":
nodefony.extend(myOpt, this.globalOptions, connection);
break;
default:
nodefony.extend(myOpt, this.globalOptions, connection);
}

@@ -226,2 +227,5 @@ try {

}
};
}
nodefony.services.Elastic = Elastic;
module.exports = Elastic;
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