fast-mutex icon indicating copy to clipboard operation
fast-mutex copied to clipboard

The debug dependency package is too old.

Open nieyuyao opened this issue 3 years ago • 0 comments

The current version of the debug dependency package is 2.2.x.

"dependencies": {
    "debug": "^2.2.0"
 }

It determines which environment code to load like this:

if (typeof process === 'undefined' || process.type === 'renderer') {
	module.exports = require('./browser.js');
} else {
	module.exports = require('./node.js');
}

This may cause node.js to be loaded in the browser environment. It is fixed in the latest debug (such as 4.3.1), so I recommended to upgrade the version.

nieyuyao avatar May 30 '21 10:05 nieyuyao