diff --git a/.eslintfiles b/.eslintfiles index a78c7e093..d91e3c883 100644 --- a/.eslintfiles +++ b/.eslintfiles @@ -11,3 +11,6 @@ migrate/ scripts/ test/ webpack/ +webpack.browser.js +webpack.compat.js +webpack.node.js diff --git a/package.json b/package.json index 3812a752d..13b113e13 100644 --- a/package.json +++ b/package.json @@ -23,32 +23,33 @@ "node": ">=7.6.0" }, "dependencies": { - "bn.js": "4.11.7", + "bn.js": "4.11.8", "elliptic": "6.4.0", "n64": "0.0.14" }, "optionalDependencies": { "bcoin-native": "0.0.23", "leveldown": "1.7.2", - "secp256k1": "3.2.5", - "socket.io": "2.0.1", - "socket.io-client": "2.0.1" + "secp256k1": "3.3.0", + "socket.io": "2.0.3", + "socket.io-client": "2.0.3" }, "devDependencies": { "babel-core": "^6.25.0", - "babel-loader": "^7.1.0", + "babel-loader": "^7.1.1", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-es2015": "^6.24.1", "babel-preset-es2016": "^6.24.1", "babel-preset-es2017": "^6.24.1", - "eslint": "^4.1.0", - "hash.js": "^1.0.3", - "jsdoc": "^3.4.3", + "babel-preset-env": "^1.6.0", + "eslint": "^4.4.1", + "hash.js": "^1.1.3", + "jsdoc": "^3.5.4", "level-js": "^2.2.4", - "mocha": "^3.4.1", + "mocha": "^3.5.0", "node-loader": "^0.6.0", - "uglifyjs-webpack-plugin": "^1.0.0-beta.1", - "webpack": "^3.0.0" + "uglifyjs-webpack-plugin": "^1.0.0-beta.2", + "webpack": "^3.5.4" }, "main": "./lib/bcoin.js", "bin": { diff --git a/webpack.browser.js b/webpack.browser.js index d5bded287..7579f8704 100644 --- a/webpack.browser.js +++ b/webpack.browser.js @@ -1,6 +1,6 @@ 'use strict'; -const webpack = require('webpack') +const webpack = require('webpack'); const path = require('path'); const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); const str = JSON.stringify; diff --git a/webpack.compat.js b/webpack.compat.js index 207aed8de..26a352675 100644 --- a/webpack.compat.js +++ b/webpack.compat.js @@ -1,7 +1,8 @@ 'use strict'; -const webpack = require('webpack') +const webpack = require('webpack'); const path = require('path'); +const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); const str = JSON.stringify; const env = process.env; @@ -33,7 +34,7 @@ module.exports = { 'process.env.BCOIN_WORKER_FILE': str(env.BCOIN_WORKER_FILE || '/bcoin-worker.js') }), - new webpack.optimize.UglifyJsPlugin({ + new UglifyJsPlugin({ compress: { warnings: false } diff --git a/webpack.node.js b/webpack.node.js index d27705063..110ce7231 100644 --- a/webpack.node.js +++ b/webpack.node.js @@ -1,6 +1,6 @@ 'use strict'; -const webpack = require('webpack') +const webpack = require('webpack'); const path = require('path'); const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); const str = JSON.stringify;