We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 519123e commit caa3281Copy full SHA for caa3281
lib/deps/forge.js
@@ -92,4 +92,11 @@ modeRaw.prototype.decrypt = function(input, output) {
92
forge.cipher.registerAlgorithm(name, factory);
93
})();
94
95
+// Prevent nextTick from being used when possible
96
+if ("function" === typeof setImmediate) {
97
+ forge.util.setImmediate = forge.util.nextTick = function(callback) {
98
+ setImmediate(callback);
99
+ };
100
+}
101
+
102
module.exports = forge;
0 commit comments