Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
./topcode.sh 'util\.inspect\([^,]+\, *([^{ ][^)]*\,|true|false)'
grep -aE "util\.inspect\([^,]+\, *([^{ ][^)]*\,|true|false)"
21627572 tough-cookie-2.3.3.tgz/lib/memstore.js:50: return "{ idx: "+util.inspect(this.idx, false, 2)+' }';
20600021 extsprintf-1.4.0.tgz/lib/extsprintf.js:151: ret += mod_util.inspect(arg, false, width);
6528474 winston-2.4.0.tgz/lib/winston/common.js:251: output += ' ' + '\n' + util.inspect(meta, false, options.depth || null, options.colorize);
3545797 karma-2.0.0.tgz/lib/reporters/base.js:76: log = util.inspect(log, false, undefined, this.USE_COLORS)
1764912 cardinal-1.0.0.tgz/utl.js:8: console.log(util.inspect(obj, false, depth || 5, true));
1449164 mongoose-5.0.5.tgz/lib/schema/array.js:192: throw new CastError('[' + e.kind + ']', util.inspect(value), this.path, e);
1387003 yarn-1.3.2.tgz/lib/cli.js:65439: ret += mod_util.inspect(arg, false, width);
1387003 yarn-1.3.2.tgz/lib/cli.js:136952: return "{ idx: "+util.inspect(this.idx, false, 2)+' }';
847401 pm2-2.9.3.tgz/lib/API.js:1498: process.stdout.write(util.inspect(list, false, null, false));
847401 pm2-2.9.3.tgz/lib/tools/fmt.js:60: console.log(name + ' :', util.inspect(data, false, null, true));
847401 pm2-2.9.3.tgz/lib/tools/fmt.js:63: console.log(util.inspect(data, false, null, true));
757912 blessed-0.1.81.tgz/lib/widgets/log.js:57: args[0] = util.inspect(args[0], true, 20, true);
686222 tap-parser-7.0.0.tgz/bin/cmd.js:138: return util.inspect(events, null, Infinity)
422016 sass-lint-1.12.1.tgz/lib/helpers.js:12: console.log(util.inspect(input, false, null));
406993 nightwatch-0.9.19.tgz/lib/runner/selenium.js:122: console.log(util.inspect(err, false, 1, true));
319071 sqlite3-3.1.13.tgz/lib/trace.js:10: return util.inspect(el, false, 0);
308610 printf-0.2.5.tgz/lib/printf.js:407: token.arg = util.inspect(token.arg, !token.alternative, precision);
293992 build-0.1.4.tgz/builder.js:72: this.logger.info("Starting target" + util.inspect(this.targets[target], false, null));
293992 build-0.1.4.tgz/builder.js:80: this.logger.info("queue order: " + util.inspect(this.queue, false, null));
293992 build-0.1.4.tgz/builder.js:95: this.logger.debug("in ImportTargets for " + util.inspect(depends,false,null));
293992 build-0.1.4.tgz/builder.js:100: this.logger.info("Target config for " + d + ":\n" + util.inspect(this.targets[d],false,null));
293992 build-0.1.4.tgz/tasks/concat.js:32: logger.info("In concat... options passed: " + util.inspect(options,false,null));
293992 build-0.1.4.tgz/tasks/echo.js:10: logger.info(util.inspect(option, false, null));
293992 build-0.1.4.tgz/tasks/loader.js:63: _logger.debug('tags passed in:' + util.inspect(loader.options.tags,false,null));
293446 jxLoader-0.1.1.tgz/jxLoader.js:89: if (me.debug) me.logger.debug('All matches from getting yaml headers: ' + util.inspect(matches,false,null));
293446 jxLoader-0.1.1.tgz/jxLoader.js:104: me.logger.error('YAML object: ' + util.inspect(yaml,false,null));
293446 jxLoader-0.1.1.tgz/jxLoader.js:105: me.logger.error('error: ' + util.inspect(err,false,null));
293446 jxLoader-0.1.1.tgz/jxLoader.js:109: me.logger.debug('object returned from yaml eval = ' + util.inspect(descriptor,false,null));
293446 jxLoader-0.1.1.tgz/jxLoader.js:153: me.logger.error('!!!err : ' + util.inspect(err,false,null));
293446 jxLoader-0.1.1.tgz/jxLoader.js:172: if (this.debug) this.logger.debug('exploded = ' + util.inspect(exploded,false,null));
293446 jxLoader-0.1.1.tgz/jxLoader.js:174: if (this.debug) this.logger.debug("returning from parse_name: " + util.inspect([def, exploded[0]],false,null));
293446 jxLoader-0.1.1.tgz/jxLoader.js:178: if (this.debug) this.logger.debug("returning from parse_name: " + util.inspect([def, exploded[1]],false,null));
293446 jxLoader-0.1.1.tgz/jxLoader.js:183: if (this.debug) this.logger.debug("returning from parse_name: " + util.inspect(exploded,false,null));
293446 jxLoader-0.1.1.tgz/jxLoader.js:186: if (this.debug) this.logger.debug("returning from parse_name: " + util.inspect([exploded2[0],exploded[1]],false,null));
293446 jxLoader-0.1.1.tgz/jxLoader.js:224: sys.puts("repos to get: " + util.inspect(repos, false, null));
293446 jxLoader-0.1.1.tgz/jxLoader.js:249: this.logger.info('list of dependencies: ' + util.inspect(list,false,null));
293446 jxLoader-0.1.1.tgz/jxLoader.js:267: this.logger.info("repos passed in: " + util.inspect(repos,false,null));
293446 jxLoader-0.1.1.tgz/jxLoader.js:293: if (this.debug) this.logger.warn("returning: " + util.inspect(ret,false,null));
293446 jxLoader-0.1.1.tgz/jxLoader.js:390: this.logger.debug('list of dependencies: ' + util.inspect(deps,false,null));
293446 jxLoader-0.1.1.tgz/jxLoader.js:401: this.logger.debug('2nd regex = ' + util.inspect(re,false,null));
253687 switchback-2.0.2.tgz/lib/index.js:132: prettifiedActualErr = util.inspect(args[0], false, null);
245552 rttc-9.8.2.tgz/lib/compile.js:14: * This is a lot like `util.inspect(val, false, null)`, but it also has special
245552 rttc-9.8.2.tgz/lib/compile.js:23: * `util.inspect(val, false, null)`
245552 rttc-9.8.2.tgz/lib/helpers/get-abbreviated-display-val.js:37: return util.inspect(v,false,null);
245552 rttc-9.8.2.tgz/lib/parse-human.js:32: throw new Error('rttc.parseHuman() expects a string value, but a '+typeof humanString+' was provided:'+util.inspect(humanString, false, null));
245552 rttc-9.8.2.tgz/lib/parse.js:27: throw new Error('rttc.decode() expects a string value, but a '+typeof value+' was provided:'+util.inspect(value, false, null));
229839 tedious-2.3.1.tgz/lib/debug.js:78: this.log(util.inspect(_token, false, 5, true));
207049 tap-mocha-reporter-3.0.6.tgz/lib/reporters/dump.js:39: console.log(util.inspect(obj, false, Infinity, useColors))
182883 browserify-shim-3.8.14.tgz/lib/resolve-shims.js:14: return util.inspect(obj, false, depth || 5, true);
171790 grunt-usemin-3.1.1.tgz/tasks/usemin.js:204: .writeln(' ' + util.inspect(grunt.config(name), false, 4, true, true));
132144 nodeunit-0.11.2.tgz/lib/utils.js:237: var actual = util.inspect(e.actual, false, 10).replace(/\n$/, '');
132144 nodeunit-0.11.2.tgz/lib/utils.js:238: var expected = util.inspect(e.expected, false, 10).replace(/\n$/, '');
103599 winston-papertrail-1.0.5.tgz/lib/winston-papertrail.js:330: output = util.inspect(output, false, self.depth, self.colorize);
103599 winston-papertrail-1.0.5.tgz/lib/winston-papertrail.js:339: output += ' ' + util.inspect(meta, false, self.depth, self.colorize).replace(/[\n\t]\s*/gm, " ");
103599 winston-papertrail-1.0.5.tgz/lib/winston-papertrail.js:342: output += '\n' + util.inspect(meta, false, self.depth, self.colorize);
95580 mu2-0.5.21.tgz/lib/mu-cli.js:15: console.log(util.inspect(parsed, false, 20));
82527 feedparser-2.2.9.tgz/bin/feedparser.js:50: console.log(util.inspect(item, null, 10, true));
82527 feedparser-2.2.9.tgz/bin/feedparser.js:61: console.log(util.inspect(items, null, 10, true));
81089 sails-0.12.14.tgz/lib/hooks/http/get-configured-http-middleware-fns.js:106: var errMsg = 'Error occurred in session middleware :: ' + util.inspect((err&&err.stack)?err.stack:err, false, null);
81089 sails-0.12.14.tgz/lib/hooks/http/get-configured-http-middleware-fns.js:197: var bodyParserFailureErrorMsg = 'Unable to parse HTTP body- error occurred :: ' + util.inspect((err&&err.stack)?err.stack:err, false, null);
81089 sails-0.12.14.tgz/lib/router/res.js:115: throw new Error('`headers` must be passed to res.writeHead() as an object. Got: '+util.inspect(newHeaders, false, null));
73645 bunyan-format-0.2.1.tgz/lib/format-record.js:391: return util.inspect(rec, false, Infinity, true) + '\n';
68571 json-9.0.6.tgz/lib/json.js:1105: output = util.inspect(datum, false, Infinity, isTTY);
55687 sails-hook-sockets-0.13.13.tgz/lib/prepare-adapter.js:146: util.inspect(e.stack || e, false, null)
40877 minilog-3.1.0.tgz/lib/node/formatters/minilog.js:14: return (typeof item == 'string' ? item : util.inspect(item, null, 3, true));
40877 minilog-3.1.0.tgz/lib/node/formatters/time.js:26: return (typeof item == 'string' ? item : util.inspect(item, null, 3, true));
32715 sails-mongo-0.12.2.tgz/lib/adapter.js:117: var msg = util.format('Failed to connect to MongoDB. Are you sure your configured Mongo instance is running?\n Error details:\n%s', util.inspect(_err, false, null));
31522 cls-hooked-4.2.2.tgz/context-legacy.js:47: util.inspect(this.active, true));
31522 cls-hooked-4.2.2.tgz/context-legacy.js:57: util.inspect(this.active, true));
31522 cls-hooked-4.2.2.tgz/context-legacy.js:63: util.inspect(this.active, true));
31522 cls-hooked-4.2.2.tgz/context-legacy.js:71: util.inspect(this.active, true, 2, true));
31522 cls-hooked-4.2.2.tgz/context-legacy.js:80: util.inspect(context, true, 2, true));
31522 cls-hooked-4.2.2.tgz/context-legacy.js:306: + ' active:' + util.inspect(namespace.active, true));
31522 cls-hooked-4.2.2.tgz/context-legacy.js:347: + ' active:' + util.inspect(namespace.active, true));
28674 azure-cli-0.10.17.tgz/lib/commands/arm/insights/insights.alerts.rule.js:119: log.silly((!response ? util.inspect(response) : "nothing in response")); _(null, null, true); }, true)); }); })(function ___(__e, __r, __cont) { (function ___(__then) { __tryCatch(_, function __$insightsAlertsRulesCommand__executeDeleteCmd__6() {
28674 azure-cli-0.10.17.tgz/lib/commands/arm/insights/insights.alerts.rule.log.js:148: log.silly((!response ? util.inspect(response) : "nothing in response")); _(null, null, true); }, true)); }); })(function ___(__e, __r, __cont) { (function ___(__then) { __tryCatch(_, function __$insightsLogAlertsRulesCommand__executeSetCmd__3() {
28674 azure-cli-0.10.17.tgz/lib/commands/arm/insights/insights.alerts.rule.metric.js:181: log.silly((!response ? util.inspect(response) : "nothing in response")); _(null, null, true); }, true)); }); })(function ___(__e, __r, __cont) { (function ___(__then) { __tryCatch(_, function __$insightsMetricAlertsRulesCommand__executeSetCmd__3() {
28674 azure-cli-0.10.17.tgz/lib/commands/arm/insights/insights.alerts.rule.webtest.js:150: log.silly((!response ? util.inspect(response) : "nothing in response")); _(null, null, true); }, true)); }); })(function ___(__e, __r, __cont) { (function ___(__then) { __tryCatch(_, function __$insightsWebtestAlertsRulesCommand__executeSetCmd__3() {
28674 azure-cli-0.10.17.tgz/lib/commands/arm/insights/insights.autoscale.setting.js:286: log.silly((!response ? util.inspect(response) : "nothing in response")); _(null, null, true); }, true)); }); })(function ___(__e, __r, __cont) { (function ___(__then) { __tryCatch(_, function __$insightsAutoscaleSettingCommand__executeDeleteCmd__8() {
28674 azure-cli-0.10.17.tgz/lib/commands/asm/iaas/image.js:392: logger.silly(util.inspect(response, null, null, true));
28674 azure-cli-0.10.17.tgz/lib/commands/asm/vm/vmclient.js:2262: logger.silly(util.inspect(response, null, null, true));
27603 jugglingdb-2.0.0-rc8.tgz/lib/model.js:965: return util.inspect(this.__data, false, 4, true);
27204 base-cli-process-0.1.19.tgz/lib/debug.js:8: field('processing ' + key + ': ' + util.inspect(val, null, 10));
27204 base-cli-process-0.1.19.tgz/lib/utils.js:85: return utils.cyan(util.inspect(val, null, 10));
27193 base-cli-schema-0.1.19.tgz/lib/debug.js:11: schema('normalizing > ' + key + ': ' + util.inspect(val, null, 10));
27193 base-cli-schema-0.1.19.tgz/lib/debug.js:16: field('results > ' + key + ': ' + util.inspect(val, null, 10));
27176 base-config-process-0.1.9.tgz/lib/debug.js:13: field('processing ' + key + ', ' + util.inspect(val, null, 10));
27100 base-config-schema-0.1.24.tgz/lib/debug.js:9: field('normalizing ' + key + ', ' + util.inspect(val, null, 10));
25558 js-quantities-1.7.0.tgz/lib/babel-browser-build.js:29164: return util.inspect(v, void 0, void 0, colors);
22434 elasticdump-3.3.4.tgz/lib/transports/file.js:138: self.log(util.inspect(targetElem, false, 10, true))
22372 nightwatch-html-reporter-2.0.5.tgz/lib/logger.js:9: this[method](util.inspect(object, false, null));
21436 nice-simple-logger-1.0.1.tgz/index.js:183: args[i] = err.toString() + '\n' + util.inspect(err, false, 10, this.options.ttyColors);
17839 knox-mpu-alt-0.2.2.tgz/lib/multipartupload.js:140: var err = new Error('Unexpected response from AWS:' + util.inspect(body, false, null));
16372 core-1.0.111.tgz/lib/http/Loader.js:468: console.error('LOADER ERROR NODE REQUEST: ' + util.inspect(e, true, 20) + ' Options: ' + util.inspect(options, true, 20));
12641 ometajs-4.0.0.tgz/lib/ometajs/core/grammar.js:87: var strArray = util.inspect(this._errorSource, false, 4);
11875 yaml-include-1.2.0.tgz/lib/file.js:33: debug('resolve this: %s', util.inspect(this, false, 20, true));
11469 pogo-0.10.0.tgz/lib/terms/terms.js:399: return util.inspect(self, false, depth);
11469 pogo-0.10.0.tgz/pogo.js:6693: return util.inspect(self, false, depth);
11206 mqlight-2.0.2017081002.tgz/mqlight.js:594: console.error(util.inspect(err, true));
10600 steal-tools-1.11.3.tgz/lib/logger.js:42: this.options.prettyPrint ? ('\n' + util.inspect(meta, false, null, this.options.colorize))
10180 mqlight-dev-2.0.2017050801.tgz/mqlight.js:594: console.error(util.inspect(err, true));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment