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

esdump

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esdump - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

23

elasticdump.js

@@ -152,3 +152,3 @@ var util = require("util");

}
} else {

@@ -188,2 +188,23 @@

// date
if (data[i]._source.date) {
if (moment(data[i]._source.date).utc().format() == "Invalid date") delete data[i]._source.date;
}
if (data[i]._source.meta.date) {
if (moment(data[i]._source.meta.date).utc().format() == "Invalid date") delete data[i]._source.meta.date;
}
if (data[i]._source.meta.family) {
var family_arr = data[i]._source.meta.family;
if (Array.isArray(family_arr)) {
for (var j = 0; j < family_arr.length; j++) {
if (family_arr[j].date) {
if (moment(family_arr[j].date).utc().format() == "Invalid date") delete family_arr[j].date;
}
}
}
}
delete data[i]._source.top_words;

@@ -190,0 +211,0 @@ data01.push(data[i]);

2

package.json

@@ -5,3 +5,3 @@ {

"description": "from elasticdump 0.16.1",
"version": "0.0.5",
"version": "0.0.6",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

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