-
Notifications
You must be signed in to change notification settings - Fork 40
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
[BUG] v12.0.2 breaks npm test "hash character in working directory path" #203
Comments
This commit updates npm-package-arg from v12.0.1 to v12.0.2. It also removes all usage of `.replace(/#/g, '%23')` for compatibility with the new version. See: npm/npm-package-arg#203
I see two options here:
Since the changes in #200 went out in a patch release, I think finding a way to follow it up with another patch for backward compatibility would be ideal. Though either way, removing the escaping code in npm/cli feels like a nice bit of code cleanup. cc @wraithgar @reggi |
As of right now we're considering this a test regression. The path forward is for us to make a PR updating just that dep and fix the test, and determine if it's something npm needs to handle or if the test was just working around buggy behavior. |
Removes all usage of `.replace(/#/g, '%23')` for compatibility with the new version This is the code changes from #8112 isloated from the dependency update itself. Closes: npm/npm-package-arg#203 Credit: @TrevorBurnham
Removes all usage of `.replace(/#/g, '%23')` for compatibility with the new version This is the code changes from #8112 isloated from the dependency update itself. Closes: npm/npm-package-arg#203 Credit: @TrevorBurnham
Is there an existing issue for this?
Current Behavior
I noticed something surprising while submitted a patch to npm/cli (npm/cli#8108): On the current
latest
branch (3a80a7b7), if I runnode ./scripts/resetdeps.js
in accordance with the Contributing docs, npm-package-arg gets updated from 12.0.1 to 12.0.2. After that change, the test "hash character in working directory path" fails:Expected Behavior
As a contributor to npm/cli, I would expect all tests to pass after I pull
latest
and runnode ./scripts/resetdeps.js
.Steps To Reproduce
Environment
As the failing CI tests for npm/cli#8108 show, this issue is happening across all environments.
The text was updated successfully, but these errors were encountered: