Socket
Socket
Sign inDemoInstall

@elastic/elasticsearch-canary

Package Overview
Dependencies
7
Maintainers
76
Versions
91
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.0.0-canary.10 to 8.0.0-canary.11

11

index.js

@@ -22,4 +22,2 @@ /*

const nodeMajor = Number(process.versions.node.split('.')[0])
const { EventEmitter } = require('events')

@@ -51,11 +49,2 @@ const { URL } = require('url')

/* istanbul ignore next */
if (nodeMajor >= 10 && nodeMajor < 12) {
process.emitWarning('You are using a version of Node.js that will reach EOL in April 2021. ' +
'The support for this version will be dropped in 7.13. ' +
'Please refer to https://ela.st/nodejs-support for additional information.',
'DeprecationWarning'
)
}
class Client extends ESAPI {

@@ -62,0 +51,0 @@ constructor (opts = {}) {

4

lib/Connection.js

@@ -28,3 +28,3 @@ /*

const debug = require('debug')('elasticsearch')
const pump = require('pump')
const { pipeline } = require('stream')
const INVALID_PATH_REGEX = /[^\u0021-\u00ff]/

@@ -137,3 +137,3 @@ const {

if (isStream(params.body) === true) {
pump(params.body, request, err => {
pipeline(params.body, request, err => {
/* istanbul ignore if */

@@ -140,0 +140,0 @@ if (err != null && cleanedListeners === false) {

@@ -93,3 +93,3 @@ /*

this.name = 'ResponseError'
if (meta.body && meta.body.error && meta.body.status) {
if (meta.body && meta.body.error && meta.body.error.type) {
if (Array.isArray(meta.body.error.root_cause)) {

@@ -96,0 +96,0 @@ this.message = meta.body.error.type + ': '

@@ -14,4 +14,4 @@ {

"homepage": "http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html",
"version": "8.0.0-canary.10",
"versionCanary": "8.0.0-canary.10",
"version": "8.0.0-canary.11",
"versionCanary": "8.0.0-canary.11",
"keywords": [

@@ -52,4 +52,4 @@ "elasticsearch",

"@sinonjs/fake-timers": "github:sinonjs/fake-timers#0bfffc1",
"@types/node": "^14.14.28",
"convert-hrtime": "^3.0.0",
"@types/node": "^15.3.1",
"convert-hrtime": "^5.0.0",
"cross-zip": "^4.0.0",

@@ -61,20 +61,20 @@ "dedent": "^0.7.0",

"into-stream": "^6.0.0",
"js-yaml": "^4.0.0",
"js-yaml": "^4.1.0",
"license-checker": "^25.0.1",
"minimist": "^1.2.5",
"node-fetch": "^2.6.1",
"ora": "^5.3.0",
"ora": "^5.4.0",
"pretty-hrtime": "^1.0.3",
"proxy": "^1.0.2",
"rimraf": "^3.0.2",
"semver": "^7.3.4",
"simple-git": "^2.35.0",
"simple-statistics": "^7.4.1",
"semver": "^7.3.5",
"simple-git": "^2.39.0",
"simple-statistics": "^7.7.0",
"split2": "^3.2.2",
"standard": "^16.0.3",
"stoppable": "^1.1.0",
"tap": "^14.11.0",
"tsd": "^0.14.0",
"tap": "^15.0.9",
"tsd": "^0.15.1",
"workq": "^3.0.0",
"xmlbuilder2": "^2.4.0"
"xmlbuilder2": "^2.4.1"
},

@@ -85,4 +85,3 @@ "dependencies": {

"ms": "^2.1.3",
"pump": "^3.0.0",
"secure-json-parse": "^2.3.1"
"secure-json-parse": "^2.4.0"
},

@@ -98,3 +97,3 @@ "license": "Apache-2.0",

"engines": {
"node": ">=10"
"node": ">=12"
},

@@ -105,3 +104,2 @@ "tsd": {

"tap": {
"esm": false,
"ts": false,

@@ -113,3 +111,3 @@ "jsx": false,

},
"commitHash": "728215f3"
"commitHash": "c64152b9"
}
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc