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.1.0 to 1.2.0

3

lib/util/rest/data/query.js

@@ -26,2 +26,3 @@ const assert = require("assert");

cur: 1 + Math.ceil(filter.from * 1.0 / filter.size),
max: Math.max(1, 1 + Math.floor((esResult.body.hits.total - 0.1) / filter.size)),
size: filter.size

@@ -31,2 +32,2 @@ }

});
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy91dGlsL3Jlc3QvZGF0YS9xdWVyeS5qcyJdLCJuYW1lcyI6WyJhc3NlcnQiLCJyZXF1aXJlIiwiZ2V0IiwibW9kdWxlIiwiZXhwb3J0cyIsImNhbGwiLCJpZHgiLCJmaWx0ZXIiLCJyYXciLCJib2R5IiwiZW5kcG9pbnQiLCJ0aGVuIiwiZXNSZXN1bHQiLCJzdGF0dXNDb2RlIiwiSlNPTiIsInN0cmluZ2lmeSIsInBheWxvYWQiLCJoaXRzIiwibWFwIiwiciIsIl9zb3VyY2UiLCJwYWdlIiwibmV4dCIsImxlbmd0aCIsInNpemUiLCJsaW1pdCIsIm9mZnNldCIsImZyb20iLCJwcmV2IiwiTWF0aCIsIm1heCIsImN1ciIsImNlaWwiXSwibWFwcGluZ3MiOiJBQUFBLE1BQU1BLFNBQVNDLFFBQVEsUUFBUixDQUFmOztBQUNBLE1BQU1DLE1BQU1ELFFBQVEsWUFBUixDQUFaOztBQUVBRSxPQUFPQyxPQUFQLEdBQWlCLENBQUNDLElBQUQsRUFBT0MsR0FBUCxFQUFZQyxNQUFaLEVBQW9CO0FBQUVDLFFBQU07QUFBUixDQUFwQixLQUF3Q0gsS0FBSyxLQUFMLEVBQVlDLEdBQ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ge1xuICAgICAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgbm8tdW5kZXJzY29yZS1kYW5nbGVcbiAgICAgICAgcGF5bG9hZDogZXNSZXN1bHQuYm9keS5oaXRzLmhpdHMubWFwKHIgPT4gci5fc291cmNlKSxcbiAgICAgICAgcGFnZToge1xuICAgICAgICAgIG5leHQ6IGVzUmVzdWx0LmJvZHkuaGl0cy5oaXRzLmxlbmd0aCA9PT0gZmlsdGVyLnNpemUgPyB7XG4gICAgICAgICAgICBsaW1pdDogZmlsdGVyLnNpemUsXG4gICAgICAgICAgICBvZmZzZXQ6IGZpbHRlci5mcm9tICsgZmlsdGVyLnNpemVcbiAgICAgICAgICB9IDogbnVsbCxcbiAgICAgICAgICBwcmV2OiBmaWx0ZXIuZnJvbSA+IDAgPyB7XG4gICAgICAgICAgICBsaW1pdDogZmlsdGVyLnNpemUsXG4gICAgICAgICAgICBvZmZzZXQ6IE1hdGgubWF4KDAsIGZpbHRlci5mcm9tIC0gZmlsdGVyLnNpemUpXG4gICAgICAgICAgfSA6IG51bGwsXG4gICAgICAgICAgY3VyOiAxICsgTWF0aC5jZWlsKGZpbHRlci5mcm9tICogMS4wIC8gZmlsdGVyLnNpemUpLFxuICAgICAgICAgIG1heDogTWF0aC5tYXgoMSwgMSArIE1hdGguZmxvb3IoKGVzUmVzdWx0LmJvZHkuaGl0cy50b3RhbCAtIDAuMSkgLyBmaWx0ZXIuc2l6ZSkpLFxuICAgICAgICAgIHNpemU6IGZpbHRlci5zaXplXG4gICAgICAgIH1cbiAgICAgIH07XG4gIH0pO1xuIl19
{
"name": "es-alchemy",
"version": "1.1.0",
"version": "1.2.0",
"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