You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package depends on d3 to function, but does not declare it as a dependency or peer dependency. As a result, the function does not run and the package does not warn on installation.
Steps to reproduce
Install the package to a fresh node project
Require it in a file
Write a script that runs the generateContrastColors function
Description
The package depends on d3 to function, but does not declare it as a dependency or peer dependency. As a result, the function does not run and the package does not warn on installation.
Steps to reproduce
generateContrastColors
functionReproduction
Expected behavior
The function should run without error and/or the package manager should warn about an unmet peer dependency.
Environment
Additional context
While the readme mentions the project's use of d3 and several d3-related dependencies appear in package.json, d3 itself is absent.
PR incoming shortly
The text was updated successfully, but these errors were encountered: