nvh95 / jest-preview

Debug your Jest tests. Effortlessly.🛠🖼
https://www.jest-preview.com
MIT License
2.33k stars 75 forks source link

Having dependabot alerts: Got allows a redirect to a UNIX socket #269

Open KieraDOG opened 1 year ago

KieraDOG commented 1 year ago

Describe the bug

Hi team, we are having this dependabot alert of dependency from jest-preview.

The latest possible version that can be installed is 9.6.0 because of the following conflicting dependency:

jest-preview@0.3.1 requires got@^9.6.0 via a transitive dependency on package-json@6.5.0

The earliest fixed version is 11.8.5.

Screenshots

Reproduce

Please provide a minimal reproduction for the issue. Thanks.

You can use one of the following options to reproduce the issue:

Expected behavior

Upgrade update-notifier to latest version should be able to solve this problem

Environment (please complete the following information)

Additional context

nvh95 commented 1 year ago

Unluckily, update-notifier@6 does not play well with jest-preview's bundling logic. I will workaround by downgrading update-notifier 6 => 5. I hope I can find a better solution in the future

snout-o commented 8 months ago

Any progress on a fix for this?