From 99c967e5a4603a3c0f3393c59a00d633368b583b Mon Sep 17 00:00:00 2001 From: Simon Woolf Date: Thu, 23 Aug 2018 21:53:29 +0200 Subject: [PATCH] Update ws to v5 --- CHANGELOG.md | 4 ++++ README.md | 2 +- package.json | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fff1df7f05..abad5002b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ This contains only the most important and/or user-facing changes; for a full changelog, see the commit history. +## [1.0.17](https://github.com/ably/ably-js/tree/1.0.17) (in progress) + +Note: this release drops support for node 4 version below 4.5. Customers using node v4 are highly encouraged to update to the latest 4.x branch, for security reasons. + ## [1.0.16](https://github.com/ably/ably-js/tree/1.0.16) (2018-06-25) - Ensure a message id is included when serialized (https://github.com/ably/ably-js/pull/518) diff --git a/README.md b/README.md index e1ce8bc7cd..07cc9d39bc 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This SDK supports the following platforms: **Browsers:** All major desktop and mobile browsers, including (but not limited to) Chrome, Firefox, IE (only version 8 or newer), Safari on iOS and macOS, Opera, and Android browsers. -**Node.js:** version 4 or newer +**Node.js:** version 4.5 or newer **React Native:** see [ably-js-react-native](https://github.com/ably/ably-js-react-native) diff --git a/package.json b/package.json index 3d8af6bd9f..3afebf653e 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "dependencies": { "msgpack-js": "https://github.com/ably-forks/msgpack-js.git", "request": "^2.87.0", - "ws": "~4.0" + "ws": "^5.1" }, "devDependencies": { "async": "git://github.com/ably-forks/async.git#requirejs", @@ -46,7 +46,7 @@ "shelljs": "~0.3" }, "engines": { - "node": ">=4.2.x" + "node": ">=4.5.x" }, "repository": { "type": "git",