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) * Apache-2.0 OR MIT (and hence also MPL 2.0)
*/ */
'use strict'; 'use strict';
require('buffer-v6-polyfill');
var RSA = {}; var RSA = {};
var NOBJ = {}; var NOBJ = {};

View File

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