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

c3

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

c3 - npm Package Compare versions

Comparing version 0.4.13 to 0.4.14

circle.yml

2

component.json

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

"description": "A D3-based reusable chart library",
"version": "0.4.13",
"version": "0.4.14",
"keywords": [],

@@ -8,0 +8,0 @@ "dependencies": {

@@ -23,3 +23,3 @@ const path = require('path');

autoWatch: true,
browsers: ['PhantomJS'],
browsers: ['Chrome'],
singleRun: true,

@@ -26,0 +26,0 @@ browserNoActivityTimeout: 120000,

{
"name": "c3",
"version": "0.4.13",
"version": "0.4.14",
"description": "D3-based reusable chart library",

@@ -8,3 +8,2 @@ "main": "c3.js",

"serve": "static -p 8080 htdocs/",
"prepublish": "npm run dist",
"lint": "jshint --reporter=node_modules/jshint-stylish src/ spec/",

@@ -54,9 +53,8 @@ "build": "npm run build:js && npm run build:css",

"karma-browserify": "^5.1.1",
"karma-chrome-launcher": "^2.1.1",
"karma-coverage-istanbul-reporter": "^1.3.0",
"karma-jasmine": "^1.1.0",
"karma-phantomjs-launcher": "^1.0.4",
"karma-spec-reporter": "0.0.31",
"node-sass": "^4.5.3",
"node-static": "^0.7.9",
"phantomjs": "^2.1.7",
"rollup": "^0.41.6",

@@ -63,0 +61,0 @@ "uglify-js": "^3.0.15",

@@ -590,3 +590,3 @@ describe('c3 chart axis', function () {

expect(box.height).toBeGreaterThan(50);
expect(height).toBeCloseTo(76, -1); // @TODO make this test better
expect(height).toBeCloseTo(76, -1.3); // @TODO make this test better
});

@@ -593,0 +593,0 @@

@@ -1214,3 +1214,3 @@ describe('c3 chart data', function () {

expect(domain[0]).toBeCloseTo(0, -1);
expect(domain[1]).toBeCloseTo(888, -1);
expect(domain[1]).toBeCloseTo(888, -1.2);
});

@@ -1238,3 +1238,3 @@

expect(domain[0]).toBeCloseTo(-87, -1);
expect(domain[1]).toBeCloseTo(887, -1);
expect(domain[1]).toBeCloseTo(887, -1.2);
});

@@ -1355,3 +1355,3 @@

expect(domain[0]).toBeCloseTo(-899, -1);
expect(domain[1]).toBeCloseTo(101, -1);
expect(domain[1]).toBeCloseTo(101, -1.2);
});

@@ -1358,0 +1358,0 @@

@@ -5,3 +5,3 @@ import Axis from './axis';

export var c3 = { version: "0.4.13" };
export var c3 = { version: "0.4.14" };

@@ -8,0 +8,0 @@ export var c3_chart_fn;

@@ -173,3 +173,3 @@ import { c3_chart_internal_fn } from './core';

// use x as categories if custom x and categorized
if ($$.isCustomX() && $$.isCategorized() && index === 0 && !isUndefined(rawX)) {
if ($$.isCustomX() && $$.isCategorized() && !isUndefined(rawX)) {
if (index === 0 && i === 0) {

@@ -176,0 +176,0 @@ config.axis_x_categories = [];

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

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

Sorry, the diff of this file is not supported yet

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