Skip to content

Commit

Permalink
Drop support for Node.js 8 - Node.js 10.13.0 is now the minimum requi…
Browse files Browse the repository at this point in the history
…red version

Update dependencies which have dropped Node 8

Closes #547
  • Loading branch information
insin committed May 4, 2020
1 parent ba7d58f commit aa75767
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ sudo: false

language: node_js
node_js:
- 8
- 10
- 12
- 14

cache:
directories:
Expand Down
12 changes: 12 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,19 @@

## Breaking Changes

- Node.js 8 is no longer supported; Node.js 10.13.0 is now the minimum required version, as per many of nwb's dependencies.
- Removed support for deprecated `babel.stage` and `webpack.uglify` config.
- file-loader v6.0.0 [changed its default hashing algorithm](https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md#600-2020-03-17).

## Dependencies

- chalk: v3.0.0 → [v4.0.0](https://github.com/chalk/chalk/releases/tag/v4.0.0)
- file-loader: v4.3.0 → [v6.0.0](https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md#600-2020-03-17)
- fs-extra: v8.1.0 → [v9.0.0](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#900--2020-03-19)
- karma: v4.4.1 → [v5.0.4](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md#504-2020-04-30)
- karma-mocha: v1.3.0 → [v2.0.1](https://github.com/karma-runner/karma-mocha/blob/master/CHANGELOG.md#201-2020-04-29)
- terser-webpack-plugin v2.3.6 → [v3.0.0](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md#300-2020-05-01)
- url-loader: v2.3.0→ [v4.1.0](https://github.com/webpack-contrib/url-loader/blob/master/CHANGELOG.md)

# Unreleased (in `master`)

Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ branches:

environment:
matrix:
- nodejs_version: "8"
- nodejs_version: "12"

install:
- ps: Install-Product node $env:nodejs_version x64
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@
"polyfills.js"
],
"engines": {
"node": ">=8.9.0"
"node": ">=10.13.0"
},
"dependencies": {
"chalk": "3.0.0",
"chalk": "4.0.0",
"copy-template-dir": "1.4.0",
"cross-spawn": "7.0.2",
"debug": "4.1.1",
"detect-port": "1.3.0",
"figures": "3.2.0",
"filesize": "6.1.0",
"fs-extra": "8.1.0",
"fs-extra": "9.0.0",
"gzip-size": "5.1.1",
"inquirer": "7.1.0",
"minimist": "1.2.5",
Expand Down Expand Up @@ -67,10 +67,10 @@
"babel-preset-proposals": "0.3.0",
"react-refresh": "0.8.2",

"karma": "4.4.1",
"karma": "5.0.4",
"karma-chrome-launcher": "3.1.0",
"karma-coverage": "2.0.2",
"karma-mocha": "1.3.0",
"karma-mocha": "2.0.1",
"karma-mocha-reporter": "2.2.5",
"karma-phantomjs-launcher": "1.0.4",
"karma-sourcemap-loader": "0.3.7",
Expand All @@ -91,16 +91,16 @@
"copy-webpack-plugin": "5.1.1",
"css-loader": "3.5.3",
"eventsource-polyfill": "0.9.6",
"file-loader": "4.3.0",
"file-loader": "6.0.0",
"html-webpack-plugin": "4.3.0",
"mini-css-extract-plugin": "0.9.0",
"@insin/npm-install-webpack-plugin": "5.0.0",
"optimize-css-assets-webpack-plugin": "5.0.3",
"open": "7.0.3",
"postcss-loader": "3.0.0",
"style-loader": "1.2.1",
"terser-webpack-plugin": "2.3.6",
"url-loader": "2.3.0",
"terser-webpack-plugin": "3.0.0",
"url-loader": "4.1.0",
"webpack-dev-middleware": "3.7.2",
"webpack-dev-server": "3.10.3",
"webpack-hot-middleware": "2.25.0"
Expand Down

0 comments on commit aa75767

Please sign in to comment.