Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support missing/additional spaces in peerDependency constraints #24

Open
tennox opened this issue Oct 17, 2022 · 0 comments
Open

Support missing/additional spaces in peerDependency constraints #24

tennox opened this issue Oct 17, 2022 · 0 comments

Comments

@tennox
Copy link

tennox commented Oct 17, 2022

Some libs have weird missing/additional spacing in their peerDependency constraints, e.g.:
"react": "^15.0.0 || ^16.0.0 || ^17.0.0 ", - https://github.com/gaearon/react-hot-loader/pull/1843/files

and in some cases, pnpm seems to write them into the lockfile with a missing space:
react: ^15.0.0 || ^16.0.0 || ^17.0.0|| ^18.0.0, but the original package.json is normal 😕

In any case, as pnpm works fine, this package should tolerate these syntaxes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant