Commit 1bb8b9e
committed
fix: encode scoped package names as a single path segment
pkgPath now URL-encodes the package name so @babel/core becomes a single
%40babel%2Fcore segment in manifest, files and downloads endpoints.
Equivalent on npmmirror today and robust against registries that expect
the scoped name to be encoded.1 parent 2a0af00 commit 1bb8b9e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments