util: fallback for inspect

This commit is contained in:
Matthew Zipkin 2019-03-27 07:36:22 -04:00
parent df4e287817
commit 83639f151c
No known key found for this signature in database
GPG Key ID: E7E2984B6289C93A
3 changed files with 2 additions and 20 deletions

View File

@ -1,17 +0,0 @@
/*!
* utils/index.js - utils for bcoin
* Copyright (c) 2014-2017, Christopher Jeffrey (MIT License).
* https://github.com/bcoin-org/bcoin
*/
'use strict';
/**
* @module utils
*/
exports.binary = require('./binary');
exports.fixed = require('./fixed');
exports.util = require('./util');
exports.inspectSymbol = 'inspect';

View File

@ -15,4 +15,4 @@ exports.fixed = require('./fixed');
exports.util = require('./util');
const {inspect: {custom}} = require('util');
exports.inspectSymbol = custom;
exports.inspectSymbol = custom || 'inspect';

View File

@ -85,7 +85,6 @@
"./lib/hd/wordlist": "./lib/hd/wordlist-browser.js",
"./lib/workers/child": "./lib/workers/child-browser.js",
"./lib/workers/parent": "./lib/workers/parent-browser.js",
"./lib/bcoin": "./lib/bcoin-browser.js",
"./lib/utils/index.js": "./lib/utils/index-browser.js"
"./lib/bcoin": "./lib/bcoin-browser.js"
}
}