@nodefony/elastic-bundle
Advanced tools
Comparing version 5.1.1 to 6.0.0-beta.1
{ | ||
"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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21211
12
452
2