Skip to content

Commit f45c3be

Browse files
author
ionut.stan
committed
Switched back to strict versioning for devDependencies.
1 parent 4a2b873 commit f45c3be

File tree

4 files changed

+27
-19
lines changed

4 files changed

+27
-19
lines changed

builds/browser/es5/jsonrpc.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jsonrpc-bidirectional",
33
"description": "Bidirectional JSONRPC over web sockets or HTTP with extensive plugin support.",
4-
"version": "2.4.2",
4+
"version": "2.4.5",
55
"scripts": {
66
"build": "node build.js",
77
"test": "node tests/main.js",
@@ -41,20 +41,21 @@
4141
"ws": "^2.2.3"
4242
},
4343
"devDependencies": {
44-
"@types/node": "*",
45-
"babel-core": "*",
46-
"babel-eslint": "*",
47-
"babel-loader": "*",
48-
"babel-plugin-async-to-promises": "*",
49-
"babel-plugin-remove-comments": "*",
50-
"babel-polyfill": "*",
51-
"babel-preset-es2015": "*",
52-
"babel-preset-stage-3": "*",
53-
"babel-runtime": "*",
54-
"eslint": "*",
55-
"eslint-plugin-jsdoc": "*",
44+
"@types/node": "^7.0.13",
45+
"babel-core": "^6.24.1",
46+
"babel-eslint": "^7.2.2",
47+
"babel-loader": "^6.4.1",
48+
"babel-plugin-async-to-promises": "^1.0.5",
49+
"babel-plugin-remove-comments": "^2.0.0",
50+
"babel-polyfill": "^6.23.0",
51+
"babel-preset-es2015": "^6.24.1",
52+
"babel-preset-stage-3": "^6.24.1",
53+
"babel-runtime": "^6.23.0",
54+
"eslint": "^3.19.0",
55+
"eslint-plugin-jsdoc": "^3.0.2",
5656
"phantom": "^4.0.2",
57-
"webpack": "*",
58-
"sleep-promise": "*"
57+
"sleep-promise": "^2.0.0",
58+
"uglify-js": "^2.8.22",
59+
"webpack": "^2.4.1"
5960
}
6061
}

tests/AllTests.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,9 @@ class AllTests
183183

184184
this._httpServerSiteA = null;
185185
}
186+
187+
188+
this._bPreventHTTPAPIRequests = false;
186189
}
187190

188191

webpack.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@ module.exports = [
5151
new webpack.optimize.UglifyJsPlugin({
5252
minimize: true,
5353
sourceMap: true,
54-
compress: { screw_ie8: true },
54+
compress: {
55+
screw_ie8: true,
56+
unused: true,
57+
dead_code: true
58+
},
5559
mangle: {
5660
screw_ie8: true,
5761
except: recursiveKeys.dumpKeysRecursively(require("./index_webpack")).map(

0 commit comments

Comments
 (0)