node-util
node-util copied to clipboard
node.js util module as a module
b/c inherit is discouraged could you give the ppl a warning for using it so ppl will update? > Usage of util.inherits() is discouraged. Please use the ES6 class and...
Some platforms may not have process.env in the global scope and this shouldn't prevent util from running. Currently it will thrown an exception on import if process.env doesn't exist.
when i build use rollup, i find my project dist have a error about `exports.isBuffer = require('./support/isBuffer');` my dist don't have this files (/support/isBuffer  )
Hi, As per my understanding, when using webpack ^5.0.0 version, we need to install utils manually and include it in fallback. Like this ``` module.exports = { devtool: 'source-map', entry:...
Fixing a callbackify behavior that is different from the NodeJS implementation ( when NodeJS version >= 12.0) In node, the callbackified function has a length that is one more than...
Webpack 5 no longer ships polyfills for nodejs builtin modules, and recommends using this module if a module need `util`, and the module README does say it should work in...
FYI, my understanding is that Webpack 5 does not automatically include this package by default, so this package's documentation may need to be updated 🙂
It seems like this dependency is only used in test files... should it be moved into dev instead? https://github.com/browserify/node-util/blob/4b1c0c79790d9968eabecd2e9c786454713e200f/package.json#L17
Since the Node.js version implemented by this module differs for each API, a table might be helpful to inform users what APIs they can use (and to keep track of...
Copy it from https://github.com/browserify/commonjs-assert/blob/master/internal/util/comparisons.js?