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

elastic-particles

Package Overview
Dependencies
Maintainers
3
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 2.2.4 to 2.2.5

6

lib/elasticQuery.js

@@ -33,2 +33,3 @@ 'use strict';

ElasticQuery.prototype.setFilter = function setFilter(filter) {
if (filter === null || filter === undefined) { return this; }
//structure the filter so that it can be easily merged with the query.

@@ -58,2 +59,4 @@ this._filter = {'bool': {'filter': filter}};

ElasticQuery.prototype.setIncludeFields = function setIncludeFields(includes) {
if (includes === null || includes === undefined) { return this; }
if (!this._source) {

@@ -75,2 +78,4 @@ this._source = {};

ElasticQuery.prototype.setExcludeFields = function setExcludeFields(excludes) {
if (excludes === null || excludes === undefined) { return this; }
if (!this._source) {

@@ -90,2 +95,3 @@ this._source = {};

ElasticQuery.prototype.addAggregation = function addAggregation(aggObject, aggName) {
if (aggObject === null || aggObject === undefined) { return this; }

@@ -92,0 +98,0 @@ aggName = aggName || aggObject.getName();

2

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

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

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