diff options
author | Valentin Popov <info@valentineus.link> | 2017-10-09 16:59:52 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2017-10-09 16:59:52 +0300 |
commit | 73bdca9b218eabf36f70f8206c19ebe7ef1d66cd (patch) | |
tree | 856c9cf44dd938d90beaf5598f253dfd01692b75 | |
parent | a00f5aa64fb91031cfc75960df3e20eeaf48e8bc (diff) | |
download | iii-client-73bdca9b218eabf36f70f8206c19ebe7ef1d66cd.tar.xz iii-client-73bdca9b218eabf36f70f8206c19ebe7ef1d66cd.zip |
Add support for all versions of NodeJS
-rw-r--r-- | package.json | 3 | ||||
-rw-r--r-- | src/index.js | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/package.json b/package.json index 1ca0009..b8437b3 100644 --- a/package.json +++ b/package.json @@ -42,5 +42,8 @@ "build": "npm run build-browser && npm run build-standalone", "test": "mocha src/test.js --compilers js:babel-core/register", "check": "eslint ./src/index.js" + }, + "dependencies": { + "safe-buffer": "^5.1.1" } } diff --git a/src/index.js b/src/index.js index 7cbf47a..a0a9acb 100644 --- a/src/index.js +++ b/src/index.js @@ -1,3 +1,4 @@ +import { Buffer } from 'safe-buffer'; import http from 'http'; /** |