Fix trailing whitespace

This commit is contained in:
Ian Coleman
2019-09-13 10:01:32 +10:00
parent ac537983d9
commit 5b689bd6e7
8 changed files with 72 additions and 73 deletions

View File

@@ -18123,7 +18123,7 @@ module.exports = function privateDecrypt(private_key, enc, reverse) {
} else {
padding = 4;
}
var key = parseKeys(private_key);
var k = key.modulus.byteLength();
if (enc.length > k || new bn(enc).cmp(key.modulus) >= 0) {
@@ -22690,13 +22690,13 @@ Script.prototype.runInContext = function (context) {
if (!(context instanceof Context)) {
throw new TypeError("needs a 'context' argument.");
}
var iframe = document.createElement('iframe');
if (!iframe.style) iframe.style = {};
iframe.style.display = 'none';
document.body.appendChild(iframe);
var win = iframe.contentWindow;
var wEval = win.eval, wExecScript = win.execScript;
@@ -22705,7 +22705,7 @@ Script.prototype.runInContext = function (context) {
wExecScript.call(win, 'null');
wEval = win.eval;
}
forEach(Object_keys(context), function (key) {
win[key] = context[key];
});
@@ -22714,11 +22714,11 @@ Script.prototype.runInContext = function (context) {
win[key] = context[key];
}
});
var winKeys = Object_keys(win);
var res = wEval.call(win, this.code);
forEach(Object_keys(win), function (key) {
// Avoid copying circular objects like `top` and `window` by only
// updating existing context properties or new properties in the `win`
@@ -22733,9 +22733,9 @@ Script.prototype.runInContext = function (context) {
defineProp(context, key, win[key]);
}
});
document.body.removeChild(iframe);
return res;
};
@@ -27914,4 +27914,4 @@ Sha512.prototype._hash = function () {
module.exports = Sha512
},{"./hash":195,"inherits":189,"safe-buffer":193}]},{},[150])(150)
});
});