{"_id":"@astii/compare-version","_rev":"4-00fa67c5fbb53c816a4e92f85a408f84","name":"@astii/compare-version","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@astii/compare-version","version":"1.0.0","main":"/lib/index.js","module":"/es/index.js","types":"/es/index.d.ts","scripts":{"build:type":"tsc --emitDeclarationOnly","build":"export NODE_ENV=production && npm run build:type && rollup -c"},"devDependencies":{"@babel/core":"^7.23.3","@babel/plugin-transform-runtime":"^7.23.3","@babel/preset-env":"^7.23.3","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-typescript":"^11.1.5","rollup":"^4.4.1","rollup-plugin-terser":"^7.0.2","tslib":"^2.6.2","typescript":"^5.2.2"},"repository":{"type":"git","url":"git+ssh://git@github.com/PotatoGroup/compare-versions.git"},"homepage":"https://github.com/PotatoGroup/compare-versions#readme","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"authors":[{"name":"tangxiaoxin","email":"1302947749@qq.com","url":"https://github.com/ziluo-tang"}],"license":"MIT","keywords":["compare-version"],"_id":"@astii/compare-version@1.0.0","gitHead":"9d1b3fc2d219ee935d69cbb638eecb6390fbd6a7","description":"with it you can compare versions, get the next version and more","bugs":{"url":"https://github.com/PotatoGroup/compare-versions/issues"},"_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-H9qPm7IQWk34O9KnfLihwiLdxxHPq1SS4PYqSRxtdu3CWySEoq5E4tzq2wuFev1pCnP7vsboTop12VIKD7A/AQ==","shasum":"97838552567b0f2ca3d93cc6aafd007ecfbb2622","tarball":"https://registry.npmjs.org/@astii/compare-version/-/compare-version-1.0.0.tgz","fileCount":7,"unpackedSize":4091,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAHZ+f28ymdvniPjjPiz21oMj5guxcVoaXqcsERXWsqAAiEAq3lHtYEinXibnaKAiADMPvPe+JW7Lb1TmaS7EAksfoo="}]},"_npmUser":{"name":"tangxiaoxin","email":"1302947749@qq.com"},"directories":{},"maintainers":[{"name":"tangxiaoxin","email":"1302947749@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/compare-version_1.0.0_1700398619111_0.01680443521335251"},"_hasShrinkwrap":false},"1.0.1":{"name":"@astii/compare-version","version":"1.0.1","main":"./lib/index.js","module":"./es/index.js","types":"./es/index.d.ts","scripts":{"build:type":"tsc --emitDeclarationOnly","build":"npm run build:type && rollup -c","publish":"npm publish"},"devDependencies":{"@babel/core":"^7.23.3","@babel/plugin-transform-runtime":"^7.23.3","@babel/preset-env":"^7.23.3","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-typescript":"^11.1.5","rollup":"^4.4.1","rollup-plugin-terser":"^7.0.2","tslib":"^2.6.2","typescript":"^5.2.2"},"repository":{"type":"git","url":"git+ssh://git@github.com/PotatoGroup/compare-versions.git"},"homepage":"https://github.com/PotatoGroup/compare-versions#readme","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"authors":[{"name":"tangxiaoxin","email":"1302947749@qq.com","url":"https://github.com/ziluo-tang"}],"license":"MIT","keywords":["compare-version"],"dependencies":{"@babel/runtime":"^7.23.2"},"_id":"@astii/compare-version@1.0.1","gitHead":"0acf45f64610078d4b41ab90e58b6abbaa2dfa4a","description":"with it you can compare versions, get the next version and more","bugs":{"url":"https://github.com/PotatoGroup/compare-versions/issues"},"_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-TnfHWiVScV1M/d9LKWl4FQgm307PJoecsbQPxG4dBXBhHs7l01Q+eKBd/HcdKRBMCNZMxRDCRD2U7TK4QaHdOQ==","shasum":"d0db7400366a45875c2aeac782d4fa7b8d8ccc88","tarball":"https://registry.npmjs.org/@astii/compare-version/-/compare-version-1.0.1.tgz","fileCount":8,"unpackedSize":11056,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGerHxWBst6ABW/XvRbcHG99rXUGaXVTo5sJqKZNAxAPAiAqUw8aNZGeRdpeFejEe2DGbCmJxA/DC08ZUwkPq9NhKA=="}]},"_npmUser":{"name":"tangxiaoxin","email":"1302947749@qq.com"},"directories":{},"maintainers":[{"name":"tangxiaoxin","email":"1302947749@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/compare-version_1.0.1_1700400119511_0.5529796174734929"},"_hasShrinkwrap":false},"1.0.2":{"name":"@astii/compare-version","version":"1.0.2","main":"./lib/index.js","module":"./es/index.js","types":"./es/index.d.ts","scripts":{"build:type":"tsc --emitDeclarationOnly","build":"npm run build:type && rollup -c","publish":"npm publish"},"devDependencies":{"@babel/core":"^7.23.3","@babel/plugin-transform-runtime":"^7.23.3","@babel/preset-env":"^7.23.3","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-typescript":"^11.1.5","rollup":"^4.4.1","rollup-plugin-terser":"^7.0.2","tslib":"^2.6.2","typescript":"^5.2.2"},"repository":{"type":"git","url":"git+git@github.com:PotatoGroup/compare-versions.git"},"homepage":"https://github.com/PotatoGroup/compare-versions#readme","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"authors":[{"name":"tangxiaoxin","email":"1302947749@qq.com","url":"https://github.com/ziluo-tang"}],"license":"MIT","keywords":["compare-version"],"dependencies":{"@babel/runtime":"^7.23.2"},"description":"with it you can compare versions, get the next version and more","_id":"@astii/compare-version@1.0.2","dist":{"shasum":"14ae2cbf262207980519bde0e3c863f3ad39fdf5","integrity":"sha512-DZvIZeiFvctIqzmvl7Cs8KG+vyfZvO8iwj4X3G8u2PsbJE2N2b1QhdMz+nPfXrzY41/9QyKXBnk4h3olwj9afg==","tarball":"https://registry.npmjs.org/@astii/compare-version/-/compare-version-1.0.2.tgz","fileCount":12,"unpackedSize":11056,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwRV5ABb0FdxkwZ5wsI5DOsRYjXwYb6MI58hu5oo6GNQIgD7e/3VW5XPeiZfEYTT7o9yBPyfiSE5yhW++s9vBSEFs="}]},"_npmUser":{"name":"tangxiaoxin","email":"1302947749@qq.com"},"directories":{},"maintainers":[{"name":"tangxiaoxin","email":"1302947749@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/compare-version_1.0.2_1700400190949_0.6760023709716809"},"_hasShrinkwrap":false},"1.0.3":{"name":"@astii/compare-version","version":"1.0.3","main":"./lib/index.js","module":"./es/index.js","types":"./es/index.d.ts","scripts":{"build:type":"tsc --emitDeclarationOnly","build":"npm run build:type && rollup -c","publish":"npm publish"},"devDependencies":{"@babel/core":"^7.23.3","@babel/plugin-transform-runtime":"^7.23.3","@babel/preset-env":"^7.23.3","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-typescript":"^11.1.5","rollup":"^4.4.1","rollup-plugin-terser":"^7.0.2","tslib":"^2.6.2","typescript":"^5.2.2"},"repository":{"type":"git","url":"git+ssh://git@github.com/PotatoGroup/compare-versions.git"},"homepage":"https://github.com/PotatoGroup/compare-versions#readme","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"authors":[{"name":"tangxiaoxin","email":"1302947749@qq.com","url":"https://github.com/ziluo-tang"}],"license":"MIT","keywords":["compare-version"],"dependencies":{"@babel/runtime":"^7.23.2"},"_id":"@astii/compare-version@1.0.3","gitHead":"0d3e79234bddd6e1ddd823df9458870ec76d5511","description":"with it you can compare versions, get the next version and more","bugs":{"url":"https://github.com/PotatoGroup/compare-versions/issues"},"_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-5ntFrLC8FitCwFsQtA0p9OPwmupdGbitHPTaDu4j3oI7wHZ56CCRFdSOTIeWcznVpgCJT03EeyPVzlFYDuWkhQ==","shasum":"dd213f483b1df4e7878401d8586aedf9d3ce895a","tarball":"https://registry.npmjs.org/@astii/compare-version/-/compare-version-1.0.3.tgz","fileCount":8,"unpackedSize":4532,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGyjO/eBbDCiQpRa6e/+JB3xsPuAWbY/jb1UgxWrYgNzAiEAhO+sv2839chy0JeNJeIwM0NkF3i5WZ89YWehqUgQqnw="}]},"_npmUser":{"name":"tangxiaoxin","email":"1302947749@qq.com"},"directories":{},"maintainers":[{"name":"tangxiaoxin","email":"1302947749@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/compare-version_1.0.3_1700401185092_0.06645617340027865"},"_hasShrinkwrap":false},"1.0.4":{"name":"@astii/compare-version","version":"1.0.4","main":"./lib/index.js","module":"./es/index.js","types":"./es/index.d.ts","scripts":{"build:type":"tsc --emitDeclarationOnly","build":"npm run build:type && rollup -c","publish":"npm publish"},"devDependencies":{"@babel/core":"^7.23.3","@babel/plugin-transform-runtime":"^7.23.3","@babel/preset-env":"^7.23.3","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-typescript":"^11.1.5","rollup":"^4.4.1","rollup-plugin-terser":"^7.0.2","tslib":"^2.6.2","typescript":"^5.2.2"},"repository":{"type":"git","url":"git+ssh://git@github.com/PotatoGroup/compare-versions.git"},"homepage":"https://github.com/PotatoGroup/compare-versions#readme","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"authors":[{"name":"tangxiaoxin","email":"1302947749@qq.com","url":"https://github.com/ziluo-tang"}],"license":"MIT","keywords":["compare-version"],"dependencies":{"@babel/runtime":"^7.23.2"},"_id":"@astii/compare-version@1.0.4","gitHead":"959bf11fe894cbf4c715599e0aa93d564ae0e9b2","description":"with it you can compare versions, get the next version and more","bugs":{"url":"https://github.com/PotatoGroup/compare-versions/issues"},"_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-h9YobhRQUvsO23MtB+fErd1STCIiXFnkeQFHUb24GJTXwQnhUpwdMhAuQdSevS5gAparLmJnIDUiOmpYutTUmQ==","shasum":"220c498f19a2701198ef32fd48fb5a34d23ff12a","tarball":"https://registry.npmjs.org/@astii/compare-version/-/compare-version-1.0.4.tgz","fileCount":10,"unpackedSize":13232,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDd98x3GHq0JsSWThB13G/EmqUlEOvp9y1u5ncJpfdhGwIhAI5jLlms8skA+JTHY97hJrqHtkINiornW9Q2dxtbUD88"}]},"_npmUser":{"name":"tangxiaoxin","email":"1302947749@qq.com"},"directories":{},"maintainers":[{"name":"tangxiaoxin","email":"1302947749@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/compare-version_1.0.4_1700401257364_0.2937701486132005"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-19T12:56:59.021Z","1.0.0":"2023-11-19T12:56:59.289Z","modified":"2023-11-19T13:40:57.733Z","1.0.1":"2023-11-19T13:21:59.700Z","1.0.2":"2023-11-19T13:23:11.203Z","1.0.3":"2023-11-19T13:39:45.415Z","1.0.4":"2023-11-19T13:40:57.547Z"},"maintainers":[{"name":"tangxiaoxin","email":"1302947749@qq.com"}],"description":"with it you can compare versions, get the next version and more","homepage":"https://github.com/PotatoGroup/compare-versions#readme","keywords":["compare-version"],"repository":{"type":"git","url":"git+ssh://git@github.com/PotatoGroup/compare-versions.git"},"license":"MIT","readme":"# @astii/compare-version\nwith it you can compare versions, get the next version and more\n\n## Install\n\n```typeScript\nnpm install @astii/compare-version --save\n\n```\n\nor\n\n```typeScript\nyarn add @astii/compare-version\n```\n\n## Usage\n\n```typeScript\nimport { compareVersions, getNextVersion } from '@astii/compare-version'\ncompareVersions(\"1.0.0\", \"1.0.1\") //-1\ncompareVersions(\"1.0.0\", \"1.0.0\") //0\ncompareVersions(\"1.0.1\", \"1.0.0\") //1\nconst nextVersion = getNextVersion(\"1.0.0\") //1.0.1\n```","readmeFilename":"README.md","bugs":{"url":"https://github.com/PotatoGroup/compare-versions/issues"}}