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

catchart

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

catchart - npm Package Compare versions

Comparing version 3.0.0 to 3.0.2

2

client.js

@@ -65,3 +65,3 @@ import Chart from 'chart.js/auto'

borderWidth: 1,
fill: true,
fill: !context.noFill,
tension: 0.2,

@@ -68,0 +68,0 @@ label: `dataset #${i + 1}`,

@@ -29,3 +29,2 @@ const rc = require('rc')

autoAlignYAxis: true,

@@ -35,2 +34,5 @@ // show labels on values in the chart

// by default catchart will try to "guess" which side to align the Y values of a data series if there's more than one
disableAutoAlignYAxis: false,
// do not fill the area under chart lines with color

@@ -37,0 +39,0 @@ noFill: false,

@@ -150,3 +150,3 @@ const hcat = require('hcat')

if (config.autoAlignYAxis) {
if (!config.disableAutoAlignYAxis) {
debug('autoAlignYAxis is enabled')

@@ -153,0 +153,0 @@ const parsed = state.parseFunction(data)

{
"name": "catchart",
"version": "3.0.0",
"version": "3.0.2",
"description": "Pipe something from command line to a browser chart",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -21,3 +21,3 @@ const program = require('commander')

value in each row will be considered the label`, config.labelSource)
.option('--autoAlignYAxis', 'automatically align data sets to the left or right based on their values, this is an experimental feature', config.autoAlignYAxis)
.option('--disableAutoAlignYAxis', 'by default catcahrt will try to automatically align data sets to the left or right based on their values', config.disableAutoAlignYAxis)
.option('--showValueLabels', 'show labels on values in the chart', config.showValueLabels)

@@ -38,4 +38,4 @@ .option('--noFill', 'Do not fill the area under the chart line with color', config.noFill)

if (program.autoAlignYAxis === undefined) {
program.autoAlignYAxis = config.autoAlignYAxis
if (program.disableAutoAlignYAxis === undefined) {
program.disableAutoAlignYAxis = config.disableAutoAlignYAxis
}

@@ -42,0 +42,0 @@

module.exports = {
mode: 'development',
mode: 'production',
entry: './client.js',

@@ -4,0 +4,0 @@ output: {

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

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