pkgx icon indicating copy to clipboard operation
pkgx copied to clipboard

semver providing unreasonable ranges

Open jhheider opened this issue 3 years ago • 4 comments

https://github.com/teaxyz/pantry.core/actions/runs/3499494977/jobs/5861124248:

Uncaught (in promise) Error: invalid semver range: >=5<Infinity.Infinity.Infinity
        if (!match) throw new Error(`invalid semver range: ${input}`)

jhheider avatar Nov 18 '22 19:11 jhheider

lol

mxcl avatar Nov 18 '22 20:11 mxcl

this is what happens when you let copilot write ur code

mxcl avatar Nov 18 '22 20:11 mxcl

I managed to repro once then when I tried again it wouldn't happen anymore :/

mxcl avatar Nov 20 '22 18:11 mxcl

https://github.com/teaxyz/pantry.core/actions/runs/3499494977/jobs/5916979362#step:7:1

jhheider avatar Nov 23 '22 05:11 jhheider

Do we need a release or is this bug not impacting any pantry ops?

mxcl avatar Nov 27 '22 19:11 mxcl

I only saw it impacting the PR that updated all the missing provides; technically that doesn't need to be built anyway.

jhheider avatar Nov 27 '22 19:11 jhheider

cool, I'll release a point release at the next bug fix then

mxcl avatar Nov 27 '22 19:11 mxcl