Skip to content

Commit

Permalink
Remove Object.assign() shim as it's now included by all supported nod…
Browse files Browse the repository at this point in the history
…e versions
  • Loading branch information
clessg committed Jan 14, 2020
1 parent 9f7b2d2 commit 76a31dd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 37 deletions.
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ var ProgressBar = require('progress');
var chalk = require('chalk');
var webpack = require('webpack');

require('object.assign').shim();

module.exports = function ProgressBarPlugin(options) {
options = options || {};

Expand Down
37 changes: 4 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@
},
"homepage": "https://github.com/clessg/progress-bar-webpack-plugin#readme",
"dependencies": {
"object.assign": "^4.0.1",
"chalk": "^3.0.0",
"progress": "^2.0.3"
},
"peerDependencies": {
"webpack": "^1.3.0 || ^2 || ^3 || ^4"
"webpack": "^1.3.0 || ^2 || ^3 || ^4 || ^5"
}
}

0 comments on commit 76a31dd

Please sign in to comment.