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

@elastic/elasticsearch-mock

Package Overview
Dependencies
Maintainers
65
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elastic/elasticsearch-mock - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

4

index.js

@@ -157,4 +157,4 @@ // Licensed to Elasticsearch B.V under one or more agreements.

const compression = params.headers['Content-Encoding'] === 'gzip'
const type = params.headers['Content-Type'] || ''
const compression = (params.headers['Content-Encoding'] || params.headers['content-encoding']) === 'gzip'
const type = params.headers['Content-Type'] || params.headers['content-type'] || ''

@@ -161,0 +161,0 @@ if (isStream(params.body)) {

{
"name": "@elastic/elasticsearch-mock",
"version": "0.2.0",
"version": "0.2.1",
"description": "Mock utility for the Elasticsearch's Node.js client",

@@ -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