nw.js
nw.js copied to clipboard
util.types.isModuleNamespaceObject is undefined
NWJS Version : 0.31.4 x64 SDK [Chromium 67 + Node 10.5.0] Operating System : Windows 10 x64
Expected behavior
The method util.types.isModuleNamespaceObject should be a function [Added in: v10.0.0].
Actual behavior
The method util.types.isModuleNamespaceObject is undefined.
How to reproduce
const util = require('util');
console.log(typeof util.types.isModuleNamespaceObject === "undefined")
repro in 0.32. Can't use module 'debug' for example. https://www.npmjs.com/package/debug
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.