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 8.3.3 to 8.4.0

9

lib/resources/action-map/filter.js

@@ -168,3 +168,12 @@ "use strict";

}
}),
script: (field, script) => ({
bool: {
filter: {
script: {
script
}
}
}
})
};

3

lib/util/data.js

@@ -15,4 +15,3 @@ "use strict";

assert(specs.sources === undefined || Array.isArray(specs.sources) && specs.sources.length !== 0, 'Invalid sources definition.');
(specs.sources || ['']). // resolve to all objects for path
map(sourcePath => sourcePath === '' ? input : sourcePath.split('.').reduce((origins, segment) => origins.map(origin => origin[segment]).filter(origin => !!origin).reduce((prev, next) => prev.concat(Array.isArray(next) ? next : [next]), []), [input])) // filter invalid origins
(specs.sources || ['']).map(sourcePath => sourcePath === '' ? input : sourcePath.split('.').reduce((origins, segment) => origins.map(origin => origin[segment]).filter(origin => !!origin).reduce((prev, next) => prev.concat(Array.isArray(next) ? next : [next]), []), [input])) // filter invalid origins
.filter(origins => !!origins) // ensure origins are array

@@ -19,0 +18,0 @@ .map(origins => Array.isArray(origins) ? origins : [origins]) // extract recursively

{
"name": "es-alchemy",
"version": "8.3.3",
"version": "8.4.0",
"description": "Simplification of Elasticsearch interactions",

@@ -43,4 +43,4 @@ "main": "lib/index.js",

"devDependencies": {
"@babel/cli": "7.14.5",
"@babel/core": "7.14.6",
"@babel/cli": "7.14.8",
"@babel/core": "7.14.8",
"@babel/register": "7.14.5",

@@ -54,3 +54,3 @@ "@blackflux/eslint-plugin-rules": "2.0.3",

"deep-equal-in-any-order": "1.1.8",
"eslint": "7.30.0",
"eslint": "7.31.0",
"eslint-config-airbnb-base": "14.2.1",

@@ -57,0 +57,0 @@ "eslint-plugin-import": "2.23.4",

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