-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
validateString
behavior change?
#46653
Comments
The git blame on |
That check in If you have reason to believe otherwise, please elaborate, but otherwise I suggest you close this. |
I believe you that it's something with my setup, but it's also reproducible on a brand new github codespace, so it's not just a "works on my machine" issue. Maybe there's some interaction with my particular dependencies. I'll try some different combinations of node and let you know the results. |
Aha, I think I'm experiencing npm/cli#4907. Sounds like as a workaround I can delete and regenerate |
Version
v18.14.0
Platform
Linux [redacted] 6.0.12-76060006-generic #202212290932
167413972522.04~ca93ccf SMP PREEMPT_DYNAMIC Thu J x86_64 x86_64 x86_64 GNU/LinuxSubsystem
No response
What steps will reproduce the bug?
At k0swe/forester@82cb2c9 with npm 9.3.1 and node 18.14.0, attempt to run
npm update
.How often does it reproduce? Is there a required condition?
Constant
What is the expected behavior?
npm update
completes without errorWhat do you see instead?
Additional information
More information in k0swe/forester#1698. I'm speculating from the stack trace that node:internal/validators
validateString
used to acceptundefined
and simply return false instead of throwing an error. Or perhaps node:pathrelative
is now calling that withundefined
when it should not.The text was updated successfully, but these errors were encountered: