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

testable-utils

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testable-utils - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

3

lib/csv-local.js

@@ -14,3 +14,3 @@ var _ = require('lodash');

var DataTable = function(file) {
this.results = Baby.parseFiles(file, { header: true });
this.results = Baby.parseFiles(file, { header: true, skipEmptyLines: true });
if (this.results.errors && this.results.errors.length > 0) {

@@ -23,2 +23,3 @@ var msg = "Errors occurred parsing " + file + ": " + util.inspect(this.results.errors);

}
this.headers = this.results.meta.fields;
this.data = this.results.data || [];

@@ -25,0 +26,0 @@ this.index = 0;

@@ -16,3 +16,3 @@ var _ = require('lodash');

this.results = Baby.parseFiles(dataStore.name, { header: true });
this.results = Baby.parseFiles(dataStore.name, { header: true, skipEmptyLines: true });
if (this.results.errors && this.results.errors.length > 0) {

@@ -19,0 +19,0 @@ var msg = "Errors occurred parsing " + dataStore.name + ": " + util.inspect(this.results.errors);

{
"name": "testable-utils",
"version": "0.1.0",
"version": "0.1.1",
"description": "Utilities for Testable scripts",

@@ -5,0 +5,0 @@ "author": "Avi Stramer",

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