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

es-alchemy

Package Overview
Dependencies
Maintainers
1
Versions
318
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es-alchemy - npm Package Compare versions

Comparing version 1.12.1 to 1.12.2

4

lib/util/rest/rest.js

@@ -35,3 +35,3 @@ const get = require("lodash.get");

method,
uri: [`${get(options, "protocol", "http")}:/`, get(options, "endpoint", "elasticsearch:9200"), idx.replace("@", "%40"), endpoint].filter(e => e !== "").join("/"),
uri: [`${get(options, "protocol", "http")}:/`, get(options, "endpoint", "elasticsearch:9200"), idx.replace(/@/g, "%40").replace(/,/g, "%2C"), endpoint].filter(e => e !== "").join("/"),
body,

@@ -70,2 +70,2 @@ headers,

};
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy91dGlsL3Jlc3QvcmVzdC5qcyJdLCJuYW1lcyI6WyJnZXQiLCJyZXF1aXJlIiwicmVxdWVzdCIsIm1hcHBpbmdDcmVhdGUiLCJtYXBwaW5nRGVsZXRlIiwibWFwcGluZ0dldCIsIm1hcHBpbmdMaXN0IiwibWFwcGluZ0hpc3RvcmljIiwibWFwcGluZ1JlY3JlYXRlIiwiZGF0YUNvdW50IiwiZGF0YVF1ZXJ5IiwiZGF0YVJlZnJlc2giLCJkYXRhSGlzdG9yaWMiLCJkYXRhVXBkYXRlIiwibW9kdWxlIiwiZXhwb3J0cyIsImxpc3RJbmRpY2VzIiwiZ2V0TWFwcGluZyIsIm9wdGlvbnMiLCJjYWxsIiwibWV0aG9kIiwiaWR4IiwiZW5kcG9pbnQiLCJib2R5IiwiaGVhZGVycyIsImpzb24iLCJ1cmkiLCJyZXBsYWNlIiwiZmlsdGVyIiwiZSIsImpvaW4iLCJhd3MiLCJrZXkiLCJzZWNyZXQiLCJzaWduX3ZlcnNpb24iLCJzaW1w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CBpZHgsIGdldE1hcHBpbmcoaWR4KSwgZmlsdGVyLCBvcHRzKSxcbiAgICAgIHJlZnJlc2g6IGlkeCA9PiBkYXRhUmVmcmVzaChjYWxsLCBpZHgpLFxuICAgICAgaGlzdG9yaWM6IChsaW1pdCA9IDEwMCkgPT4gZGF0YUhpc3RvcmljKGNhbGwsIGxpbWl0LCAoKSA9PiBsaXN0SW5kaWNlcygpXG4gICAgICAgIC5yZWR1Y2UoKHAsIGlkeCkgPT4gT2JqZWN0LmFzc2lnbihwLCB7IFtpZHhdOiBnZXRNYXBwaW5nKGlkeCkgfSksIHt9KSksXG4gICAgICB1cGRhdGU6IChpZHgsIG9wdHMpID0+IGRhdGFVcGRhdGUoY2FsbCwgaWR4LCBnZXRNYXBwaW5nKGlkeCksIG9wdHMpXG4gICAgfVxuICB9O1xufTtcbiJdfQ==
{
"name": "es-alchemy",
"version": "1.12.1",
"version": "1.12.2",
"description": "Simplification of Elasticsearch interactions",

@@ -5,0 +5,0 @@ "main": "lib/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