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

@vizabi/core

Package Overview
Dependencies
Maintainers
4
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vizabi/core - npm Package Compare versions

Comparing version 1.26.0 to 1.26.1

2

dist/Dataframe.js

@@ -1,2 +0,2 @@

// http://vizabi.org v1.26.0 Copyright 2022 Jasper Heeffer and others at Gapminder Foundation
// http://vizabi.org v1.26.1 Copyright 2022 Jasper Heeffer and others at Gapminder Foundation
(function (global, factory) {

@@ -3,0 +3,0 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('mobx')) :

{
"name": "@vizabi/core",
"version": "1.26.0",
"version": "1.26.1",
"description": "Vizabi core (data layer)",

@@ -5,0 +5,0 @@ "main": "dist/Vizabi.js",

@@ -52,2 +52,3 @@ import { inlineReader } from "./../inline/inline";

.then(parseTextToTable)
.then(removeEmptyRows)
.then(transformNameColumn)

@@ -87,2 +88,9 @@ .then(transformTimeInColumns)

//removes empty rows like these
//'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '\n', '', '', ''
function removeEmptyRows({rows, columns}){
rows = rows.filter(r => !Object.values(r).every(e => !e || e === "\n") );
return {rows, columns};
}
function transformNameColumn({rows, columns}){

@@ -157,3 +165,3 @@ // move column "name" so it goes after "time"

return jsonReader()
return jsonReader(path)
.catch(error => {

@@ -160,0 +168,0 @@ error.name = ERRORS.FILE_NOT_FOUND;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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