add buffer-v6 polyfill
This commit is contained in:
parent
0085fcdf0f
commit
17d9f3ecfb
3
node.js
3
node.js
|
@ -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 = {};
|
||||||
|
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
Loading…
Reference in New Issue