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

@elastic/elasticsearch

Package Overview
Dependencies
Maintainers
62
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elastic/elasticsearch - npm Package Compare versions

Comparing version 5.6.21 to 5.6.22

codecov.yml

3

lib/Serializer.js

@@ -9,2 +9,3 @@ // Licensed to Elasticsearch B.V under one or more agreements.

const debug = require('debug')('elasticsearch')
const sjson = require('secure-json-parse')
const { SerializationError, DeserializationError } = require('./errors')

@@ -26,3 +27,3 @@

try {
var object = JSON.parse(json)
var object = sjson.parse(json)
} catch (err) {

@@ -29,0 +30,0 @@ throw new DeserializationError(err.message)

@@ -7,3 +7,3 @@ {

"homepage": "http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html",
"version": "5.6.21",
"version": "5.6.22",
"keywords": [

@@ -25,3 +25,3 @@ "elasticsearch",

"test:types": "tsc --project ./test/types/tsconfig.json",
"test:coverage": "nyc npm run test:unit && nyc report --reporter=text-lcov > coverage.lcov && codecov",
"test:coverage": "nyc tap test/unit/*.test.js test/behavior/*.test.js -t 300 && nyc report --reporter=text-lcov > coverage.lcov",
"lint": "standard",

@@ -44,3 +44,2 @@ "lint:fix": "standard --fix",

"@types/node": "^12.6.2",
"codecov": "^3.3.0",
"convert-hrtime": "^3.0.0",

@@ -64,3 +63,2 @@ "dedent": "^0.7.0",

"tap": "^14.4.1",
"tap-mocha-reporter": "^4.0.1",
"typescript": "^3.4.5",

@@ -75,3 +73,4 @@ "workq": "^2.1.0"

"once": "^1.4.0",
"pump": "^3.0.0"
"pump": "^3.0.0",
"secure-json-parse": "^2.1.0"
},

@@ -78,0 +77,0 @@ "license": "Apache-2.0",

Sorry, the diff of this file is not supported yet

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