debug: 2.5.0 incompatible with babel-core
babel-core
directly imports debug/node
. However, this export was removed in 2.5.0.
You can reproduce the issue with this repo. The following error is shown:
ERROR in Cannot find module 'debug/node'
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 9
- Comments: 15 (6 by maintainers)
@ljharb no problem, but I don’t agree that every single source file is part of the “public API”. If that is the case, then there is no private API in any codebase. The point of the index file was to delegate between node and browser
@thebigredgeek Exceptional work on the really fast fix and publish - thank you for dedicating your time and efforts to the project that we all rely on 👍
It seem work fine. Thanks.
Can you confirm https://github.com/visionmedia/debug/blob/master/node.js
That makes sense, but I think in this case the problem was a bit simpler than that. See this. Looks like babel-core had an issue with debug choosing the wrong environment but I don’t think an issue was ever submitted about it 😦
Everything that’s reachable is part of the public API, documented or not. Thanks for the quick fix!
please fix it immediately.