[{"data":1,"prerenderedAt":233},["ShallowReactive",2],{"tool-content-en-semver-checker":3},{"id":4,"title":5,"body":6,"description":16,"extension":224,"locale":225,"meta":226,"navigation":227,"path":228,"seo":229,"stem":230,"toolId":231,"__hash__":232},"tools\u002Ftools\u002Fen\u002Fsemver-checker.md","Semver Range Checker",{"type":7,"value":8,"toc":214},"minimark",[9,13,17,21,37,158,161,165,168,172,183,187,207,211],[10,11,5],"h2",{"id":12},"semver-range-checker",[14,15,16],"p",{},"Check which versions satisfy an npm semver range, right in your browser.",[10,18,20],{"id":19},"input","Input",[14,22,23,24,28,29,32,33,36],{},"Paste one version per line into the left pane, then type an npm version range into the range field above. A leading ",[25,26,27],"code",{},"v"," or ",[25,30,31],{},"="," is accepted, and ",[25,34,35],{},"#"," comments plus blank lines are ignored.",[38,39,40,53],"table",{},[41,42,43],"thead",{},[44,45,46,50],"tr",{},[47,48,49],"th",{},"Range",[47,51,52],{},"Matches",[54,55,56,70,83,96,109,128,138,148],"tbody",{},[44,57,58,64],{},[59,60,61],"td",{},[25,62,63],{},"^1.2.3",[59,65,66,69],{},[25,67,68],{},">=1.2.3 \u003C2.0.0"," (allows new minor and patch releases)",[44,71,72,77],{},[59,73,74],{},[25,75,76],{},"^0.2.3",[59,78,79,82],{},[25,80,81],{},">=0.2.3 \u003C0.3.0"," (a zero major pins the minor)",[44,84,85,90],{},[59,86,87],{},[25,88,89],{},"^0.0.3",[59,91,92,95],{},[25,93,94],{},">=0.0.3 \u003C0.0.4"," (a zero minor pins the patch)",[44,97,98,103],{},[59,99,100],{},[25,101,102],{},"~1.2.3",[59,104,105,108],{},[25,106,107],{},">=1.2.3 \u003C1.3.0"," (patch-level changes only)",[44,110,111,120],{},[59,112,113,116,117],{},[25,114,115],{},"1.x",", ",[25,118,119],{},"1.2.*",[59,121,122,124,125],{},[25,123,115],{}," and ",[25,126,127],{},"1.2.x",[44,129,130,135],{},[59,131,132],{},[25,133,134],{},">=1.2.0 \u003C2.0.0",[59,136,137],{},"versions in that window (space means AND)",[44,139,140,145],{},[59,141,142],{},[25,143,144],{},"1.2.3 - 2.3.4",[59,146,147],{},"an inclusive hyphen range",[44,149,150,155],{},[59,151,152],{},[25,153,154],{},"1.0.0 || 2.x",[59,156,157],{},"either side of the or",[14,159,160],{},"An empty range matches every version. Use the preset chips to try the common forms.",[10,162,164],{"id":163},"results","Results",[14,166,167],{},"The table marks each line with a match or no-match badge and the comparator that decided it, so you can see exactly why a version was rejected. The summary line reports how many versions matched, the highest matching version, and the newest version overall.",[10,169,171],{"id":170},"prereleases","Prereleases",[14,173,174,175,178,179,182],{},"By default a prerelease such as ",[25,176,177],{},"1.3.0-beta.1"," only matches a range that names a prerelease with the same ",[25,180,181],{},"major.minor.patch",". Turn on Include prereleases to opt out of that rule and match it like any other version.",[10,184,186],{"id":185},"packagejson","package.json",[14,188,189,190,116,193,116,196,124,199,202,203,206],{},"Use Import package.json to read the exact versions from the ",[25,191,192],{},"dependencies",[25,194,195],{},"devDependencies",[25,197,198],{},"peerDependencies",[25,200,201],{},"optionalDependencies"," blocks of a project manifest. Ranges such as ",[25,204,205],{},"^8.0.0"," are skipped because they are ranges, not versions.",[10,208,210],{"id":209},"privacy-and-limits","Privacy and limits",[14,212,213],{},"Parsing, comparison and sorting run entirely in your browser. Nothing is uploaded or sent to a server.",{"title":215,"searchDepth":216,"depth":216,"links":217},"",2,[218,219,220,221,222,223],{"id":12,"depth":216,"text":5},{"id":19,"depth":216,"text":20},{"id":163,"depth":216,"text":164},{"id":170,"depth":216,"text":171},{"id":185,"depth":216,"text":186},{"id":209,"depth":216,"text":210},"md","en",{},true,"\u002Ftools\u002Fen\u002Fsemver-checker",{"title":5,"description":16},"tools\u002Fen\u002Fsemver-checker","semver-checker","MTXnJetpcog4afEGNl2paNxZGwmW7SYsp0-bU8lt_7o",1792391420455]