Skip to content

Commit ae9709e

Browse files
Merge pull request #195 from kuzzleio/bufferutil-utf8validate-as-peerdeps
Moved bufferutil and utf-8-validate to peerDependencies
2 parents caebd3e + 87a3921 commit ae9709e

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ You can access the Kuzzle repository on [Github](https://github.com/kuzzleio/kuz
2121
* [Basic usage](#basic-usage-js)
2222
* [Building manually](#building-manually)
2323
* [Migrating from SDK v1.x](#migrating-from-sdk-v1.x)
24+
* [Note](#note)
2425
* [License](#license)
2526

2627
## SDK Documentation
@@ -139,6 +140,10 @@ kuzzle
139140

140141
* Kuzzle constructor has been changed. Instead of an URL, you have to provide a resolvable server name, or an IP address. If you need to specify a port different than the provided default value, you can do so using the `port` option.
141142

143+
## Note
144+
145+
* bufferutil and utf-8-validate have been moved to peerDependencies
146+
142147
## License
143148

144149
[Apache 2](LICENSE.md)

dist/kuzzle.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.

dist/kuzzle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@
2828
"license": "Apache-2.0",
2929
"dependencies": {
3030
"bluebird": "3.4.7",
31-
"bufferutil": "^2.0.1",
3231
"eslint-loader": "^1.6.1",
33-
"utf-8-validate": "^3.0.1",
3432
"uuid": "3.0.1",
3533
"ws": "^2.0.3"
3634
},
35+
"peerDependencies": {
36+
"bufferutil": "^2.0.1",
37+
"utf-8-validate": "^3.0.1"
38+
},
3739
"devDependencies": {
3840
"codecov": "^1.0.1",
3941
"eslint": "^3.15.0",

0 commit comments

Comments
 (0)