-
Notifications
You must be signed in to change notification settings - Fork 5
Description
If you find a security vulnerability, do NOT open an issue. Email [email protected] instead.
Describe the bug
A clear and concise description of what the bug is.
If you have "browserslist": "extends @sanity/browserslist-config", in the package.json without actually using the dependency.
To Reproduce
Steps to reproduce the behavior:
- Add the above mentioned line to package.json without having the actual package in the dependencies
- Install
eslint-plugin-react-compiler - Add a failing case to a component
- Error is not shown in IDE but is shown in the CLI
Expected behavior
pkg-utils should error on missing dependency issue
Screenshots
If applicable, add screenshots to help explain your problem.
Which versions of Sanity are you using?
Run sanity versions in the terminal and copy-paste the result here.
What operating system are you using?
Which versions of Node.js / npm are you running?
Run npm -v && node -v in the terminal and copy-paste the result here.
Additional context
Add any other context about the problem here.
Security issue?
Any security issues should be submitted directly to [email protected]. In order to determine whether you are dealing with a security issue, ask yourself these two questions:
- Can I access something that's not mine, or something I shouldn't have access to?
- Can I disable something for other people? If the answer to either of those two questions are "yes", then you're probably dealing with a security issue. Note that even if you answer "no" to both questions, you may still be dealing with a security issue, so if you're unsure, just email us at [[email protected]](mailto:[email protected].