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
How do you use react-diff-view? I tried to figure out why normalize-url is introduced:
yarn why v1.22.10
[1/4] 🤔 Why do we have the module "normalize-url"...?
[2/4] 🚚 Initialising dependency graph...
[3/4] 🔍 Finding dependency...
[4/4] 🚡 Calculating file sizes...
=> Found "[email protected]"
info Reasons this module exists
- "cssnano#cssnano-preset-default#postcss-normalize-url" depends on it
- Hoisted from "cssnano#cssnano-preset-default#postcss-normalize-url#normalize-url"
info Disk size without dependencies: "20KB"
info Disk size with unique dependencies: "20KB"
info Disk size with transitive dependencies: "20KB"
info Number of shared dependencies: 0
✨ Done in 0.34s.
Seems this is only a dev dependency and will not go into the npm bundle. I also tried to search "normalize" and "url" from es/index.js and didn't find any normalize-url related code
For react-diff-view itself, it doen't specify any dependencies, all deps are dev deps and should be installed when you introduce this library
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
After upgrading
react-diff-view
fromv2.1.4
tov2.4.7
, our application crashes in Safariv14.1.1
with error:This is due to a bug in
normalize-url
: sindresorhus/normalize-url#105The text was updated successfully, but these errors were encountered: