[{"data":1,"prerenderedAt":374},["ShallowReactive",2],{"navigation_docs":3,"-guide-semver-ranges":68,"-guide-semver-ranges-surround":369},[4,21,52],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":20},"Getting Started","i-lucide:rocket","/getting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","/getting-started/introduction","1.getting-started/1.introduction","i-lucide:house",{"title":16,"path":17,"stem":18,"icon":19},"Quick Start","/getting-started/quick-start","1.getting-started/2.quick-start","i-lucide:zap",false,{"title":22,"icon":23,"path":24,"stem":25,"children":26,"page":20},"Guide","i-lucide:book-open","/guide","2.guide",[27,32,37,42,47],{"title":28,"path":29,"stem":30,"icon":31},"Features","/guide/features","2.guide/1.features","i-lucide:sparkles",{"title":33,"path":34,"stem":35,"icon":36},"Keyboard Shortcuts","/guide/keyboard-shortcuts","2.guide/2.keyboard-shortcuts","i-lucide:keyboard",{"title":38,"path":39,"stem":40,"icon":41},"URL Structure","/guide/url-structure","2.guide/3.url-structure","i-lucide:link",{"title":43,"path":44,"stem":45,"icon":46},"VS Code Extension","/guide/vscode-extension","2.guide/4.vscode-extension","i-simple-icons-visualstudiocode",{"title":48,"path":49,"stem":50,"icon":51},"Semver Ranges","/guide/semver-ranges","2.guide/5.semver-ranges","i-lucide-filter",{"title":53,"icon":54,"path":55,"stem":56,"children":57,"page":20},"FAQ","i-lucide:circle-help","/faq","3.faq",[58,63],{"title":59,"path":60,"stem":61,"icon":62},"Troubleshooting","/faq/troubleshooting","3.faq/1.troubleshooting","i-lucide:wrench",{"title":64,"path":65,"stem":66,"icon":67},"Comparison","/faq/comparison","3.faq/2.comparison","i-lucide:git-compare",{"id":69,"title":48,"body":70,"description":362,"extension":363,"links":364,"meta":365,"navigation":366,"path":49,"seo":367,"stem":50,"__hash__":368},"docs/2.guide/5.semver-ranges.md",{"type":71,"value":72,"toc":347},"minimark",[73,90,95,107,129,140,144,279,283,288,294,298,304,308,314,318,325,329,335,339],[74,75,76,77,84,85,89],"p",{},"npm uses ",[78,79,83],"a",{"href":80,"rel":81},"https://semver.org/",[82],"nofollow","semantic versioning"," (semver) to manage package versions. A ",[86,87,88],"strong",{},"semver range"," is a string that describes a set of version numbers. On npmx, you can type a semver range into the version filter input on any package page to quickly find matching versions.",[91,92,94],"h2",{"id":93},"version-format","Version format",[74,96,97,98,101,102,106],{},"Every npm version follows the format ",[86,99,100],{},"MAJOR.MINOR.PATCH",", for example ",[103,104,105],"code",{},"3.2.1",":",[108,109,110,117,123],"ul",{},[111,112,113,116],"li",{},[86,114,115],{},"MAJOR"," - incremented for breaking changes",[111,118,119,122],{},[86,120,121],{},"MINOR"," - incremented for new features (backwards-compatible)",[111,124,125,128],{},[86,126,127],{},"PATCH"," - incremented for bug fixes (backwards-compatible)",[74,130,131,132,135,136,139],{},"Some versions also include a ",[86,133,134],{},"prerelease"," tag, such as ",[103,137,138],{},"4.0.0-beta.1",".",[91,141,143],{"id":142},"common-range-syntax","Common range syntax",[145,146,147,163],"table",{},[148,149,150],"thead",{},[151,152,153,157,160],"tr",{},[154,155,156],"th",{},"Range",[154,158,159],{},"Meaning",[154,161,162],{},"Example matches",[164,165,166,180,193,206,217,230,242,253,266],"tbody",{},[151,167,168,174,177],{},[169,170,171],"td",{},[103,172,173],{},"*",[169,175,176],{},"Any version",[169,178,179],{},"0.0.2, 3.1.0, 3.2.6",[151,181,182,187,190],{},[169,183,184],{},[103,185,186],{},"^3.0.0",[169,188,189],{},"Compatible with 3.x (same major)",[169,191,192],{},"3.0.0, 3.1.0, 3.9.5",[151,194,195,200,203],{},[169,196,197],{},[103,198,199],{},"~3.2.0",[169,201,202],{},"At least 3.2.0, same major.minor",[169,204,205],{},"3.2.0, 3.2.1, 3.2.99",[151,207,208,213,215],{},[169,209,210],{},[103,211,212],{},"3.2.x",[169,214,202],{},[169,216,205],{},[151,218,219,224,227],{},[169,220,221],{},[103,222,223],{},">=2.0.0 \u003C3.0.0",[169,225,226],{},"At least 2.0.0 but below 3.0.0",[169,228,229],{},"2.0.0, 2.5.3, 2.99.0",[151,231,232,237,240],{},[169,233,234],{},[103,235,236],{},"1.2.3",[169,238,239],{},"Exactly this version",[169,241,236],{},[151,243,244,249,251],{},[169,245,246],{},[103,247,248],{},"=1.2.3",[169,250,239],{},[169,252,236],{},[151,254,255,260,263],{},[169,256,257],{},[103,258,259],{},"^0.3.1",[169,261,262],{},"At least 0.3.1, same major.minor (0.x is special)",[169,264,265],{},"0.3.1, 0.3.2",[151,267,268,273,276],{},[169,269,270],{},[103,271,272],{},"^0.0.4",[169,274,275],{},"Exactly 0.0.4 (0.0.x is special)",[169,277,278],{},"0.0.4 (only)",[91,280,282],{"id":281},"examples","Examples",[284,285,287],"h3",{"id":286},"find-all-3x-versions","Find all 3.x versions",[74,289,290,291,293],{},"Type ",[103,292,186],{}," to see every version compatible with major version 3.",[284,295,297],{"id":296},"find-patch-releases-for-a-specific-minor","Find patch releases for a specific minor",[74,299,290,300,303],{},[103,301,302],{},"~2.4.0"," to see only 2.4.x patch releases (2.4.0, 2.4.1, 2.4.2, etc.).",[284,305,307],{"id":306},"find-versions-in-a-specific-range","Find versions in a specific range",[74,309,290,310,313],{},[103,311,312],{},">=1.0.0 \u003C2.0.0"," to see all 1.x stable releases.",[284,315,317],{"id":316},"find-a-specific-version","Find a specific version",[74,319,320,321,324],{},"Type the exact version number, like ",[103,322,323],{},"5.3.1",", to check if it exists.",[284,326,328],{"id":327},"find-prerelease-versions","Find prerelease versions",[74,330,290,331,334],{},[103,332,333],{},">=3.0.0-alpha.0"," to find alpha, beta, and release candidate versions for a major release.",[91,336,338],{"id":337},"learn-more","Learn more",[74,340,341,342,139],{},"The full semver range specification is documented at ",[78,343,346],{"href":344,"rel":345},"https://github.com/npm/node-semver#ranges",[82],"node-semver",{"title":348,"searchDepth":349,"depth":349,"links":350},"",2,[351,352,353,361],{"id":93,"depth":349,"text":94},{"id":142,"depth":349,"text":143},{"id":281,"depth":349,"text":282,"children":354},[355,357,358,359,360],{"id":286,"depth":356,"text":287},3,{"id":296,"depth":356,"text":297},{"id":306,"depth":356,"text":307},{"id":316,"depth":356,"text":317},{"id":327,"depth":356,"text":328},{"id":337,"depth":349,"text":338},"Learn how to use semver ranges to filter package versions on npmx.dev","md",null,{},{"icon":51},{"title":48,"description":362},"Ej8nz04Rt17lynPWRQcroitCq4KJJT1fRT8kYgmqWWY",[370,372],{"title":43,"path":44,"stem":45,"description":371,"icon":46,"children":-1},"The npmx VS Code extension brings npmx.dev insights into your editor.",{"title":59,"path":60,"stem":61,"description":373,"icon":62,"children":-1},"Common issues and how to resolve them",1772054522381]