fix: Hack to force asn1.js

This commit is contained in:
Tom Hu
2021-07-19 08:44:22 -07:00
parent 5c832aefb8
commit fc5d663f82
40 changed files with 7010 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
try {
var util = require('util');
/* istanbul ignore next */
if (typeof util.inherits !== 'function') throw '';
module.exports = util.inherits;
} catch (e) {
/* istanbul ignore next */
module.exports = require('./inherits_browser.js');
}