Sha256: 537b6e42a7aa1200af9fb5079f05b12d3e3c00f1f0665d67ef17e80dd0949b65

Contents?: true

Size: 995 Bytes

Versions: 203

Compression:

Stored size: 995 Bytes

Contents

var freeGlobal = require('./_freeGlobal');

/** Detect free variable `exports`. */
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;

/** Detect free variable `module`. */
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;

/** Detect the popular CommonJS extension `module.exports`. */
var moduleExports = freeModule && freeModule.exports === freeExports;

/** Detect free variable `process` from Node.js. */
var freeProcess = moduleExports && freeGlobal.process;

/** Used to access faster Node.js helpers. */
var nodeUtil = (function() {
  try {
    // Use `util.types` for Node.js 10+.
    var types = freeModule && freeModule.require && freeModule.require('util').types;

    if (types) {
      return types;
    }

    // Legacy `process.binding('util')` for Node.js < 10.
    return freeProcess && freeProcess.binding && freeProcess.binding('util');
  } catch (e) {}
}());

module.exports = nodeUtil;

Version data entries

203 entries across 202 versions & 23 rubygems

Version Path
trusty-cms-5.0.7 node_modules/lodash/_nodeUtil.js
appmap-0.72.2 ./node_modules/lodash/_nodeUtil.js
trusty-cms-5.0.6 node_modules/lodash/_nodeUtil.js
appmap-0.72.1 ./node_modules/lodash/_nodeUtil.js
appmap-0.72.0 ./node_modules/lodash/_nodeUtil.js
trusty-cms-5.0.5 node_modules/lodash/_nodeUtil.js
trusty-cms-5.0.4 node_modules/lodash/_nodeUtil.js
appmap-0.71.0 ./node_modules/lodash/_nodeUtil.js
disco_app-0.16.1 test/dummy/node_modules/lodash/_nodeUtil.js
appmap-0.70.2 ./node_modules/lodash/_nodeUtil.js
appmap-0.70.1 ./node_modules/lodash/_nodeUtil.js
appmap-0.70.0 ./node_modules/lodash/_nodeUtil.js
appmap-0.69.0 ./node_modules/lodash/_nodeUtil.js
appmap-0.68.2 ./node_modules/lodash/_nodeUtil.js
appmap-0.68.1 ./node_modules/lodash/_nodeUtil.js
disco_app-0.15.2 test/dummy/node_modules/lodash/_nodeUtil.js
appmap-0.68.0 ./node_modules/lodash/_nodeUtil.js
appmap-0.67.1 ./node_modules/lodash/_nodeUtil.js
trusty-cms-5.0.3 node_modules/lodash/_nodeUtil.js
trusty-cms-5.0.2 node_modules/lodash/_nodeUtil.js