New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

elastic-particles

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elastic-particles - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

20

lib/aggregations/scriptedMetricAgg.js

@@ -18,4 +18,4 @@ 'use strict';

if (!scripts.init_script) {
throw new Error('Scripted metric aggregation requires an "init_script"');
if (!scripts.map_script) {
throw new Error('Scripted metric aggregation requires an "map_script"');
}

@@ -25,15 +25,7 @@

this._root.init_script = scripts.init_script;
if (scripts.map_script) {
this._root.map_script = scripts.map_script;
for (var key in scripts) {
if (scripts.hasOwnProperty(key)) {
this._root[key] = scripts[key];
}
}
if (scripts.combine_script) {
this._root.combine_script = scripts.combine_script;
}
if (scripts.reduce_script) {
this._root.reduce_script = scripts.reduce_script;
}
}

@@ -40,0 +32,0 @@

{
"name": "elastic-particles",
"version": "0.0.10",
"version": "0.0.11",
"description": "Building blocks for Elastic queries, filters, and aggregations which can be re-used, combed, and nested.",

@@ -5,0 +5,0 @@ "author": {

# Elastic Particles
##Building blocks for Elastic queries, filters, and aggregations which can be re-used, combined, and nested.
##Building blocks for Elastic queries, filters, and aggregations which can be re-used, combined, and nested. In other words, it's an elasticsearch query builder.
###documentation: http://jharri34.github.io/elastic-particles/

@@ -4,0 +4,0 @@

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