Repository navigation
Allow dots in bin names - #7811
Conversation
|
@Just-Zach regex has |
|
Colons are not allowed in file names on Windows, so not sure if this is a good idea. |
|
@Just-Zach @BYK from the docs it seems that it should be able to create a symlink using name provided a bin |
|
Yep colons aren't safe - can you also check against special cases ( |
The |
|
Worth noting for future people coming here that |
* Fixed bin regex * Removed unsupported by Windows colon from bin regex * Updated normalize-manifest tests * Update fix.js * Update actual.json * Update normalize-manifest.js.snap Co-authored-by: Maël Nison <nison.mael@gmail.com>
* Fixed bin regex * Removed unsupported by Windows colon from bin regex * Updated normalize-manifest tests * Update fix.js * Update actual.json * Update normalize-manifest.js.snap Co-authored-by: Maël Nison <nison.mael@gmail.com>
- using 1.19.2 as primary version; 1.22.5 has "invalid 'bin'" issues - ref: yarnpkg/yarn#7755 - ref: yarnpkg/yarn#7811 - but... *still* a problem even after PR#7811
- using 1.19.2 as primary version; 1.22.5 has "invalid 'bin'" issues - ref: yarnpkg/yarn#7755 - ref: yarnpkg/yarn#7811 - but... *still* a problem even after PR#7811
Summary
Bin regex is too restrictive at the moment. See comments here.
Test plan
Use
dangerous bin nametests.