add buffer-v6 polyfill

This commit is contained in:
AJ ONeal 2016-08-03 22:23:07 -06:00
parent 0085fcdf0f
commit 17d9f3ecfb
2 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,9 @@
* Apache-2.0 OR MIT (and hence also MPL 2.0)
*/
'use strict';
require('buffer-v6-polyfill');
var RSA = {};
var NOBJ = {};

View File

@ -1,6 +1,6 @@
{
"name": "rsa-compat",
"version": "1.2.0",
"version": "1.2.1",
"description": "RSA utils that work on Windows, Mac, and Linux with or without C compiler",
"main": "node.js",
"scripts": {
@ -36,6 +36,7 @@
},
"homepage": "https://github.com/Daplie/rsa-compat.js#readme",
"dependencies": {
"buffer-v6-polyfill": "^1.0.0",
"node-forge": "^0.6.41"
},
"optionalDependencies": {