We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bb9e7d commit d033990Copy full SHA for d033990
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "patch-package",
3
- "version": "6.4.12",
+ "version": "6.4.13",
4
"description": "Fix broken node modules with no fuss",
5
"main": "dist/index.js",
6
"repository": "github:ds300/patch-package",
src/PackageDetails.ts
@@ -28,7 +28,7 @@ function parseNameAndVersion(
28
}
29
case 2: {
30
const [nameOrScope, versionOrName] = parts
31
- if (versionOrName.match(/^\d+/)) {
+ if (versionOrName.match(/^[^~]\d+/)) {
32
return {
33
name: nameOrScope,
34
version: versionOrName,
0 commit comments