{"bugs":{"url":"https://github.com/sindresorhus/semver-regex/issues"},"dist":{"shasum":"13053c0d4aa11d070a2f2872b6b1e3ae1e1971b4","tarball":"https://registry.npmjs.org/semver-regex/-/semver-regex-3.1.4.tgz","fileCount":5,"integrity":"sha512-6IiqeZNgq01qGf0TId0t3NvKzSvUsjcpdEO3AQNeIjR6A2+ckTnQlDpl4qu1bjRv0RzN3FP9hzFmws3lKqRWkA==","signatures":[{"sig":"MEQCID7/XuZ9/D3VfHGG/h1I+EVchzhNEppod435DYlfbrSAAiAUAj0AVO7OBuHYt7cwoszY4m2f2eewrs+z+QiPciDYiw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifi1CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqSBA//cy9zjtww3nxVJDK+tBvt6AGzh90PVNZTiNIm2lIfvL9VevR/\r\nYEfnRXN5p05iktkIcVzeAobvweqrB7b4Rnrn9qKgGaEAmaLaxrXzobOp2bx3\r\nsMeqof1YucBef2f+Xrf0CV2hFLU4cusuYd2LnJayohofw8/lL4RUjqZpnjjC\r\nexZa64ksI05oTJ6k6I00zgu76uFLHZ0pA0GOL6y9Y4jMlg2QLZObAhIZQsJQ\r\n0kc/ZxcGXMhhh0z/SNQPZKKFa7wGoLPb9XiyMpKE69vEu7iQZoh4/vO9fSLQ\r\n1+J/PxoB6OouUjVx2xWkV/bAJPlv90wz9U1/J7XFprbZt9xCE4OcjB3OPi4W\r\n/30zWThH/eA6WnG92lIuNu8fz8WyWFEq85WXiCvBCHrQ4VDlE53siO3OYCuX\r\nsTKPX8hGQGyUgooFnEbaKF8a+EvZTALepLA6P9KzACHTMB7QH/funmYCLGPX\r\ngS4Wf8hh7SIOQc1SI0tvrvtnFC9s55Sq0sv69rLQF8sonTJvS7076dlDAO3v\r\nAUPyMf2+3rL5ZEpSr80H1huT/Kk1vj+NsKF8CgVUmV8yPWWeHwGoIkc0ndZJ\r\nMU3zuRdyxescNXtJArZ8RGHYcpu1igaAZhmvWV0GyGKc7N0rxCnGP20NLU9p\r\nzAoDouh7tGk3N0EDof/7X9lBBKaT1JRMuCM=\r\n=nSI1\r\n-----END PGP SIGNATURE-----\r\n"},"name":"semver-regex","types":"./index.d.ts","author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"readme":"# semver-regex [![Build Status](https://travis-ci.com/sindresorhus/semver-regex.svg?branch=master)](https://travis-ci.com/github/sindresorhus/semver-regex)\n\n> Regular expression for matching [semver](https://github.com/npm/node-semver) versions\n\n## Install\n\n```\n$ npm install semver-regex\n```\n\n## Usage\n\n```js\nconst semverRegex = require('semver-regex');\n\nsemverRegex().test('v1.0.0');\n//=> true\n\nsemverRegex().test('1.2.3-alpha.10.beta.0+build.unicorn.rainbow');\n//=> true\n\nsemverRegex().exec('unicorn 1.0.0 rainbow')[0];\n//=> '1.0.0'\n\n'unicorn 1.0.0 and rainbow 2.1.3'.match(semverRegex());\n//=> ['1.0.0', '2.1.3']\n```\n\n**Note:** For versions coming from user-input, it's up to you to truncate the string to a sensible length to prevent abuse. For example, 100 length.\n\n## Related\n\n- [find-versions](https://github.com/sindresorhus/find-versions) - Find semver versions in a string\n- [latest-semver](https://github.com/sindresorhus/latest-semver) - Get the latest stable semver version from an array of versions\n- [to-semver](https://github.com/sindresorhus/to-semver) - Get an array of valid, sorted, and cleaned semver versions from an array of strings\n- [semver-diff](https://github.com/sindresorhus/semver-diff) - Get the diff type of two semver versions: `0.0.1` `0.0.2` → `patch`\n- [semver-truncate](https://github.com/sindresorhus/semver-truncate) - Truncate a semver version: `1.2.3` → `1.2.0`\n","engines":{"node":">=8"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"906cf402ca0509a17343c02527bcf3cc42194973","license":"MIT","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"homepage":"https://github.com/sindresorhus/semver-regex#readme","keywords":["semver","version","versions","regex","regexp","match","matching","semantic"],"repository":{"url":"git+https://github.com/sindresorhus/semver-regex.git","type":"git"},"_npmVersion":"8.3.2","description":"Regular expression for matching semver versions","directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_nodeVersion":"14.19.2","_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"xo":"^0.24.0","ava":"^1.4.1","tsd":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/semver-regex_3.1.4_1652436290286_0.8696322399399774","host":"s3://npm-registry-packages"},"_id":"semver-regex@3.1.4","version":"3.1.4"}