3.6.61 incorrectly moved debug from dependency to dev dependency
ebroder opened this issue · comments
Evan Broder commented
Bug Report
Your environment
- Operating system: Linux
- Browser version: N/A
- npm version:
- mediasoup version:
- mediasoup-client version: 3.6.61
Issue description
It looks like 769e1d8 moved the debug
package from being a dependency to being a dev dependency. However, (non-test file) src/index.ts
still imports debug
:
Line 1 in 5a4f792
This is a build failure in my project:
node_modules/mediasoup-client/lib/index.d.ts(1,19): error TS7016: Could not find a declaration file for module 'debug'. '/home/runner/work/jolly-roger/jolly-roger/node_modules/mediasoup-client/node_modules/debug/src/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/debug` if it exists or add a new declaration (.d.ts) file containing `declare module 'debug';`
Iñaki Baz Castillo commented
Thanks. Fixed in 3.6.62.