d3-funnel
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -1,3 +0,9 @@ | ||
## v1.2.0 (June 25, 2018) | ||
## [v1.2.1](https://github.com/jakezatecky/d3-funnel/compare/v1.2.0...v1.2.1) (2018-10-13) | ||
### Build Process | ||
* [#93]: Fix issue where `dist/d3-funnel.js` was being minified alongside `dist/d3-funnel.min.js` | ||
## [v1.2.0](https://github.com/jakezatecky/d3-funnel/compare/v1.1.1...v1.2.0) (2018-06-25) | ||
### Dependencies | ||
@@ -11,7 +17,7 @@ | ||
## v1.1.1 (July 31, 2017) | ||
## [v1.1.1](https://github.com/jakezatecky/d3-funnel/compare/v1.1.0...v1.1.1) (2017-07-31) | ||
This is a patch for the npm release, which was shipped without the updated `/dist` directory. | ||
## v1.1.0 (July 31, 2017) | ||
## [v1.1.0](https://github.com/jakezatecky/d3-funnel/compare/v1.0.1...v1.1.0) (2017-07-31) | ||
@@ -45,3 +51,3 @@ Release **v1.1.0** adds a variety of new functionality to the funnel, and introduces a new data structure that allows for more flexibility on a row level than previously capable: | ||
## v1.0.1 (January 30, 2017) | ||
## [v1.0.1](https://github.com/jakezatecky/d3-funnel/compare/v1.0.0...v1.0.1) (2017-01-30) | ||
@@ -53,3 +59,3 @@ ### Bug Fixes | ||
## v1.0.0 (August 2, 2016) | ||
## [v1.0.0](https://github.com/jakezatecky/d3-funnel/compare/v0.8.0...v1.0.0) (2016-08-02) | ||
@@ -65,3 +71,3 @@ This release breaks major backwards compatibility by upgrading D3 3.x to | ||
## v0.8.0 (July 21, 2016) | ||
## [v0.8.0](https://github.com/jakezatecky/d3-funnel/compare/v0.7.7...v0.8.0) (2016-07-21) | ||
@@ -77,3 +83,3 @@ ### New Features | ||
## v0.7.7 (July 15, 2016) | ||
## [v0.7.7](https://github.com/jakezatecky/d3-funnel/compare/v0.7.6...v0.7.7) (2016-07-15) | ||
@@ -89,3 +95,3 @@ ### New Features | ||
## v0.7.6 (July 12, 2016) | ||
## [v0.7.6](https://github.com/jakezatecky/d3-funnel/compare/v0.7.5...v0.7.6) (2016-07-12) | ||
@@ -101,3 +107,3 @@ ### New Features | ||
## v0.7.5 (December 19, 2015) | ||
## [v0.7.5](https://github.com/jakezatecky/d3-funnel/compare/v0.7.4...v0.7.5) (2015-12-19) | ||
@@ -108,3 +114,3 @@ ### New Features | ||
## v0.7.4 (December 11, 2015) | ||
## [v0.7.4](https://github.com/jakezatecky/d3-funnel/compare/v0.7.3...v0.7.4) (2015-12-11) | ||
@@ -116,7 +122,7 @@ ### Build Changes | ||
## v0.7.3 (skipped) | ||
## [v0.7.3](https://github.com/jakezatecky/d3-funnel/compare/v0.7.2...v0.7.3) (skipped) | ||
D3Funnel v0.7.3 is an NPM-only hotfix that adds in missing compiled files. | ||
## v0.7.2 (November 18, 2015) | ||
## [v0.7.2](https://github.com/jakezatecky/d3-funnel/compare/v0.7.1...v0.7.2) (2015-11-18) | ||
@@ -127,3 +133,3 @@ ### Bug Fixes | ||
## v0.7.1 (October 28, 2015) | ||
## [v0.7.1](https://github.com/jakezatecky/d3-funnel/compare/v0.7.0...v0.7.1) (2015-10-28) | ||
@@ -139,3 +145,3 @@ ### Behavior Changes | ||
## v0.7.0 (October 4, 2015) | ||
## [v0.7.0](https://github.com/jakezatecky/d3-funnel/compare/v0.6.13...v0.7.0) (2015-10-04) | ||
@@ -188,3 +194,3 @@ D3Funnel v0.7 is a **backwards-incompatible** release that resolves some | ||
## v0.6.13 (October 2, 2015) | ||
## [v0.6.13](https://github.com/jakezatecky/d3-funnel/compare/v0.6.12...v0.6.13) (2015-10-02) | ||
@@ -195,3 +201,3 @@ ### Bug Fixes | ||
## v0.6.12 (September 25, 2015) | ||
## [v0.6.12](https://github.com/jakezatecky/d3-funnel/compare/0.6.11...v0.6.12) (2015-09-25) | ||
@@ -198,0 +204,0 @@ ### New Features |
@@ -5,3 +5,2 @@ const gulp = require('gulp'); | ||
const rename = require('gulp-rename'); | ||
const uglify = require('gulp-uglify'); | ||
const header = require('gulp-header'); | ||
@@ -22,3 +21,3 @@ const scsslint = require('gulp-scss-lint'); | ||
gulp.src([ | ||
'./examples/src/**.js', | ||
'./examples/src/**/*.js', | ||
'./src/**/*.js', | ||
@@ -46,15 +45,15 @@ './test/d3-funnel/**/*.js', | ||
gulp.task('compile-build', () => ( | ||
gulp.task('build', ['test'], () => ( | ||
gulp.src(['./src/index.js']) | ||
.pipe(webpackStream(webpackConfig, webpack)) | ||
.pipe(gulp.dest('./compiled/')) | ||
.pipe(gulp.dest('./dist/')) | ||
)); | ||
gulp.task('build', ['test', 'compile-build'], () => ( | ||
gulp.src(['./compiled/d3-funnel.js']) | ||
.pipe(gulp.dest('./dist/')) | ||
.pipe(rename({ | ||
extname: '.min.js', | ||
})) | ||
.pipe(uglify()) | ||
gulp.task('build-min', ['build'], () => ( | ||
gulp.src(['./src/index.js']) | ||
.pipe(webpackStream({ | ||
...webpackConfig, | ||
mode: 'production', | ||
}, webpack)) | ||
.pipe(rename({ extname: '.min.js' })) | ||
.pipe(header(banner, { pkg })) | ||
@@ -99,2 +98,2 @@ .pipe(gulp.dest('./dist/')) | ||
gulp.task('default', ['build']); | ||
gulp.task('default', ['build-min']); |
{ | ||
"name": "d3-funnel", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "A library for rendering SVG funnel charts using D3.js", | ||
@@ -25,7 +25,9 @@ "author": "Jake Zatecky", | ||
"devDependencies": { | ||
"babel-core": "^6.3.17", | ||
"babel-eslint": "^8.0.0", | ||
"babel-loader": "^7.0.0", | ||
"babel-preset-es2015": "^6.1.2", | ||
"babel-preset-stage-0": "^6.1.2", | ||
"@babel/core": "^7.0.0", | ||
"@babel/plugin-proposal-class-properties": "^7.0.0", | ||
"@babel/preset-env": "^7.0.0", | ||
"@babel/preset-react": "^7.0.0", | ||
"@babel/register": "^7.0.0", | ||
"babel-eslint": "^10.0.1", | ||
"babel-loader": "^8.0.0", | ||
"browser-sync": "^2.18.6", | ||
@@ -35,8 +37,8 @@ "chai": "^4.0.1", | ||
"eslint": "^5.0.0", | ||
"eslint-config-takiyon": "^0.2.0", | ||
"eslint-config-takiyon": "^0.3.1", | ||
"eslint-import-resolver-webpack": "^0.10.1", | ||
"eslint-plugin-import": "^2.7.0", | ||
"gulp": "^3.9.0", | ||
"gulp-autoprefixer": "^5.0.0", | ||
"gulp-eslint": "^4.0.0", | ||
"gulp-autoprefixer": "^6.0.0", | ||
"gulp-eslint": "^5.0.0", | ||
"gulp-header": "^2.0.1", | ||
@@ -46,8 +48,7 @@ "gulp-mocha-phantomjs": "^0.12.0", | ||
"gulp-sass": "^4.0.1", | ||
"gulp-scss-lint": "^0.6.0", | ||
"gulp-uglify": "^3.0.0", | ||
"gulp-scss-lint": "^0.7.0", | ||
"lodash": "^4.17.10", | ||
"mocha": "^5.0.0", | ||
"webpack": "^4.12.1", | ||
"webpack-stream": "^4.0.0" | ||
"webpack-stream": "^5.1.1" | ||
}, | ||
@@ -54,0 +55,0 @@ "dependencies": { |
import shortid from 'shortid'; | ||
import { easeLinear, range, scaleOrdinal, schemeCategory10 } from 'd3'; | ||
import { | ||
easeLinear, | ||
range, | ||
scaleOrdinal, | ||
schemeCategory10, | ||
} from 'd3'; | ||
import { select } from 'd3-selection'; | ||
@@ -4,0 +9,0 @@ import 'd3-selection-multi'; |
module.exports = { | ||
mode: 'production', | ||
mode: 'none', | ||
output: { | ||
@@ -18,3 +18,3 @@ filename: 'd3-funnel.js', | ||
test: /\.js?$/, | ||
exclude: /(node_modules|bower_components|vender_modules)/, | ||
exclude: /(node_modules)/, | ||
loader: 'babel-loader', | ||
@@ -21,0 +21,0 @@ }, |
const path = require('path'); | ||
module.exports = { | ||
mode: 'production', | ||
mode: 'none', | ||
output: { | ||
@@ -19,3 +19,3 @@ filename: 'index.js', | ||
test: /\.js?$/, | ||
exclude: /(node_modules|bower_components|vender_modules)/, | ||
exclude: /(node_modules)/, | ||
loader: 'babel-loader', | ||
@@ -22,0 +22,0 @@ }, |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
865788
54
9965
2
4
26