Closed
Description
- Version: 10.15.1
- Platform: Windows 10 64-bit
- Subsystem: constants
Using lerna, I defined a local package named constants
. I then tried to consume it in another lerna package via the statement const constants = require('constants');
Unfortunately, this pulls in the node.js internal constants module instead of my own package. This API is marked as a documentation-only deprecation, DEP0008. However, since it's a documentation-only deprecation, the node.js runtime is still reserving this module name for its own use. It would be great if this package were fully deprecated and the module name became available for consumers.