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

webcharts

Package Overview
Dependencies
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webcharts - npm Package Compare versions

Comparing version 1.9.0 to 1.9.1

package-lock.json

34

package.json
{
"name": "webcharts",
"description": "A library for creating flexible, interactive charts",
"version": "1.9.0",
"version": "1.9.1",
"keywords": [

@@ -12,4 +12,4 @@ "charts",

"homepage": "https://github.com/RhoInc/Webcharts",
"main": "lib/webcharts.common.js",
"jsnext:main": "src/index.js",
"main": "./build/webcharts.js",
"module": "./src/index.js",
"dependencies": {

@@ -23,23 +23,17 @@ "d3": "^3"

"build": "npm run bundle && npm run format && npm run minify && npm run test",
"bundle": "rollup -c",
"bunfor": "npm run bundle && npm run format",
"format": "npm run format-src && npm run format-build",
"format-src": "prettier --print-width=100 --tab-width=4 --single-quote --write src/**/*.js",
"format-build": "prettier --print-width=100 --tab-width=4 --single-quote --write build/webcharts.js",
"format-test": "prettier --print-width=100 --tab-width=4 --single-quote --write test/**/*.js",
"format-src": "prettier --print-width=100 --tab-width=4 --single-quote --write src/**/*.js",
"format-build": "prettier --print-width=100 --tab-width=4 --single-quote --write build/webcharts.js",
"format-test": "prettier --print-width=100 --tab-width=4 --single-quote --write test/**/*.js",
"minify": "npm run minify-css && npm run minify-js",
"minify-css": "cleancss -o css/webcharts.min.css css/webcharts.css",
"minify-js": "uglifyjs build/webcharts.js > build/webcharts.min.js",
"minify-css": "cleancss -o css/webcharts.min.css css/webcharts.css",
"minify-js": "uglifyjs build/webcharts.js > build/webcharts.min.js",
"test": "npm run test-chart && npm run test-controls && npm run test-miscellaneous && npm run test-multiply && npm run test-table",
"test-chart":"mocha --timeout 5000 --require babel-register --recursive ./test/chart/*.js",
"test-controls":"mocha --timeout 5000 --require babel-register --recursive ./test/controls/*.js",
"test-miscellaneous":"mocha --timeout 5000 --require babel-register --recursive ./test/miscellaneous/*.js",
"test-multiply":"mocha --timeout 5000 --require babel-register --recursive ./test/multiply/*.js",
"test-table":"mocha --timeout 5000 --require babel-register --recursive ./test/table/*.js",
"test-chart": "mocha --timeout 5000 --require babel-register --recursive ./test/chart/*.js",
"test-controls": "mocha --timeout 5000 --require babel-register --recursive ./test/controls/*.js",
"test-miscellaneous": "mocha --timeout 5000 --require babel-register --recursive ./test/miscellaneous/*.js",
"test-multiply": "mocha --timeout 5000 --require babel-register --recursive ./test/multiply/*.js",
"test-table": "mocha --timeout 5000 --require babel-register --recursive ./test/table/*.js",
"watch": "rollup -c -w"

@@ -65,3 +59,3 @@ },

"prettier": "1.4.4",
"rollup": "^0.41.6",
"rollup": "^0.53.3",
"rollup-plugin-babel": "^2.7.1",

@@ -68,0 +62,0 @@ "rollup-watch": "^3.2.2",

import babel from 'rollup-plugin-babel';
export default {
moduleName: 'webCharts',
entry: 'src/index.js',
dest: 'build/webcharts.js',
format: 'umd',
globals: {d3: 'd3'},
input: './src/index.js',
output: {
name: 'webCharts',
file: './build/webcharts.js',
format: 'umd',
globals: {
d3: 'd3'
}
},
external: ['d3'],

@@ -14,5 +18,3 @@ plugins: [

presets: [
['es2015',
{'modules': false}
]
[ 'es2015' , {modules: false} ]
],

@@ -19,0 +21,0 @@ plugins: [

@@ -176,4 +176,4 @@ import applyFilters from './draw/applyFilters';

float: function() {
return d3.select(this).classed('searchable-container') ||
d3.select(this).classed('pagination-container')
return select(this).classed('searchable-container') ||
select(this).classed('pagination-container')
? 'right'

@@ -180,0 +180,0 @@ : null;

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

export default '1.9.0';
export default '1.9.1';

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