{"_id":"semantic-release-npm-deprecate-old-versions","_rev":"167-24455fa19c24982a199f481ee145174b","name":"semantic-release-npm-deprecate-old-versions","dist-tags":{"alpha":"1.3.2-alpha.1","latest":"1.3.4","beta":"1.3.2-beta.3"},"versions":{"1.0.0-alpha.1":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.0.0-alpha.1","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"@types/semantic-release":"^17.1.0","typescript":"^4.0.3"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.5.3","prettier":"^2.1.2","semantic-release":"^17.2.1"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"199708bcfccb7b9850d44da6e4f6fc7608f339e5","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.0.0-alpha.1","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-afgvWpgy4aDnGJqXIXg4eZ5JUgfHRGanG+9KMuhpUFOI7mnOLokLBtTdkQEOJ06zGgxcTw0PMKaDuQcVMaYtPg==","shasum":"5a6aad21127369c4ff7d80c552c40a61af13a010","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.0.0-alpha.1.tgz","fileCount":16,"unpackedSize":13368,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfibBdCRA9TVsSAnZWagAAaLgP/AuUIAYFWP0Zib5xGqTn\nO79lONJfLPdnS0BjeBGMU12JJQh/bpoSzKuoeudk1w4DhBO2TsbZ7HFHVc8p\nHGTYwFefueT3QHRwQJC33LRMjTstSKNk/JsjmeDhuoeo19m+LTXurlmM19lP\nNFIdcG81ezfW+Nq8Sz6ABzMqx0ReQCwey8kNY++wVOT5r1YdBWK6LrJYyCSD\nkY653PDZdHgJ9/nQH51w9+AockeBKRTEuw1AqTO9IR+MJe2rsIQiQU/sYYB6\nCavTxr6zMRmNhPAn/geMoeMnDWB+QHeR02V2O/klhQpPD4I8jKEPAAFr9HQy\nCC9nRzIBwJWJ6egqOJAzrSTd/G7G9HLJPYPV/o95jfGYNHc9U/MMkYlMCxOR\nrrkjse/shxJCmY46GJ3JUPM+zlJpgJddRafdCwHQrZhMxMqenW4Ish8di0iw\nVqB9UfayYtCPXxlZTX3M9jNbCbdYeTAiswlXOKkG3h0y5J0roQIic4x5mZMb\n57cqDMZ7yO08bfBME6SEz6+hFPu7R4BitzkrxX3JNkKzk4zg/C2VoRd8zQQ7\nnNyw9Qehxi3XInLK5TCOz0CnY81+D5WBXMfj5xJmTz74vB2Q7tHHKPUi0xX3\nXeMXq5HfIkT+EJPnCbzJdq4CEYrBwR6gKRpgrDBTlTiClKKlqJi++xW/BdOg\nayCv\r\n=OSSC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHHb8UOJpq1VhzDRXmxDF1ZaTNof6EDjDmaigT8ZawB6AiEAhL/25ZIB72yAbfamdOG0gSFjwwuQSvCzbnbqxv+33Ps="}]},"maintainers":[{"name":"ghusse","email":"guillaume@ghusse.com"}],"_npmUser":{"name":"ghusse","email":"guillaume@ghusse.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.0.0-alpha.1_1602859101424_0.3393010449169449"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.1.7"},"1.0.0-alpha.2":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.0.0-alpha.2","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"@types/execa":"^2.0.0","@types/semantic-release":"^17.1.0","execa":"^4.0.3","typescript":"^4.0.3"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.5.3","prettier":"^2.1.2","semantic-release":"^17.2.1"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"readme":"Under development, not available yet\n","readmeFilename":"README.md","gitHead":"f27e8fea3272b3cccbba58288aa266574b39432c","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.0.0-alpha.2","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-Xbj0nSJIc3FsTNZTEKeIMNl8EmlHICK6WK0CLTC2f9TVP8pMeR/9Jplojlv/cLFT37qINnDYiK5kksO0lEQb5A==","shasum":"696c8b7f2b49b8bbc0c6c12b920c5a62423f9058","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.0.0-alpha.2.tgz","fileCount":22,"unpackedSize":24305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfigEQCRA9TVsSAnZWagAAOKYP/0pxZFSqPdpkLJKQ4fAT\n5Vrjx6ZNEG218oy2BnjAgVGYgUSFBZ3XK1Rr2aszrrFyHUaeahY4Mv3SkpFn\nDoxv2gVHzR3dO/lGMSz7iFWtpfo9JKdIBTxLmbNRMlL2TY3+GdZVaoSogj6n\njBoEpSCjkju79ghhcF0Hjd1tQfWQ0V+WtuDK+j87oQPe+eWhl0RO+qvkXAPR\niA1wN7skPyiJQtMz5fjhvXPVSfNZgoRn/IcsrcdC8LUXiDLK/Djjs/JMPhAI\nas2KF/4N6c9G/ls0cJBV6s7W0TFPMEmcRCkt47w19Wvwv10cxRIVMO6CTtHG\nDc+pd2a30nG/Dhq9ZZnQD4bRtJNQiNySCQU7CBkdKi2SejBNBRVARMOYE8ea\nKqn0KXjD0aDUox8EuQ+JchxMNACfpO7tg5fa1st+N0lAlB2F00EQShDjuYJ6\nj+AN90uQdFgBLG9lwDC1JDRdH69GsdUDsPKAgDKy+RunR7wUTowo6MuwwKLl\nH2OGjf/lk9Cy5MnOE4KI/YLV+JNDL+IFHQ9TQUWOTEPNm/I6sxFcrUF0TgT7\nDiiyhJzt1453u6C9OKabVTldtC91G0oN/ObMqLlmgpIqzS/RZXSZw4ePCOh7\n1P+2464eIAx5ZPMTsJRSxRvqyRY7tis9Vdbpo6jRldjRuoOHMF7SeQaCMAQh\nZhRy\r\n=rHRE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPxhlDC2fowCflbrp90w0QMwoQpokvQ15IWNd9a6akOQIgKWeZdLz6WVSHB9A2lIV5NmScjwtXV1qVEVuat9pp0n8="}]},"maintainers":[{"name":"ghusse","email":"guillaume@ghusse.com"}],"_npmUser":{"name":"ghusse","email":"guillaume@ghusse.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.0.0-alpha.2_1602879759720_0.49520531942245105"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.1.7"},"1.0.0-alpha.3":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.0.0-alpha.3","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"@types/execa":"^2.0.0","@types/semantic-release":"^17.1.0","@types/semver":"^7.3.4","execa":"^4.0.3","semver":"^7.3.2","typescript":"^4.0.3"},"devDependencies":{"@types/jest":"^26.0.14","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.5.3","prettier":"^2.1.2","semantic-release":"^17.2.1","ts-jest":"^26.4.1"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"readme":"Under development, not available yet\n","readmeFilename":"README.md","gitHead":"54ae121af99754ae8cf6b2573f323391b53c9b4b","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.0.0-alpha.3","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-BXdkZea01vXj1kHnxlrO1IFJxDDB2qYz9e+ixEwRjNHtiBuq0eUlIFE+qawuOnwIDZiFhB7VLFwX13LY9jU4Kg==","shasum":"382d32cb74d7b92277e2e77ecd395cc56fa1fc60","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.0.0-alpha.3.tgz","fileCount":47,"unpackedSize":39352,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfig2rCRA9TVsSAnZWagAANnwP/RmCYyanKV+DoeUlBOgH\n/3B7+wal2AM9UaLE++ukMzDJ+/cCUdwoK8xK7FaqVoW7JuS/Y9rx7Em7wwo0\nU+SxNSYy+/VkgZTtna5APyLxLmRAlP9Wr/fchygujPiXmyZiAlJ/LOtPMVag\nBZrJCNjKX1EpAsOkXR6/FpbbRphq7SbN25BpTsC0eZrMBZ5+rpbiDL636Qi8\n0kozCcjKSTYJ92dGAaXl/zipgknHnb800k0r8oKdAclVO7w6lWV7gFg88JVp\nz+JYrOSPouhhDV0fmJtxVa0B4VVDlL1AGsej4gOmfafPhfQQ5YyDu8yvGA5t\n3n9Z24EqJRB9OIE4PgJx78JTzYGH1eR51R5M8DY3VJ3Ks/EGxGzN5zmrMmc2\nH8atp29JaKlIEu1Nl6LakftVCDHhg5LfMdoULKGY6EYQKEznU8C9AregRTvo\nB+V9Mta9wqewVFRZZ20kc+Pp53rOe+OOKcKGLRS+YBjoPgouUqwvew/saJRs\n3S/Ep8GrFXPqQ0+oGlBfs2lW4P0huvR4sgVj+AwtY8zp7M5dVXL4k9kMgG9h\nsb5bR4PsaHH0AOBa3hoOwl+3cB5bnLFjvTRQyRWMJGx/HJTweKL7FixwbYqo\nqqdyiUIb1Nh9n0hWNnu6iBT7/4wrhXIA1G3Q4hNHwKX+y1EPROu9UHCQHRPn\nYoNM\r\n=TFBi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHx3sxqwVB3zQsht410GDfdBTPlrhv27WnWsaz08csUsAiEAgoE7gWaiv39QRCNt8odF+lQhP++bkm4Xw1OosPhnhAw="}]},"maintainers":[{"name":"ghusse","email":"guillaume@ghusse.com"}],"_npmUser":{"name":"ghusse","email":"guillaume@ghusse.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.0.0-alpha.3_1602882986945_0.00877003492793249"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.1.7"},"1.0.0-alpha.4":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.0.0-alpha.4","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"@types/execa":"^2.0.0","@types/semantic-release":"^17.1.0","@types/semver":"^7.3.4","execa":"^4.0.3","semver":"^7.3.2","typescript":"^4.0.3"},"devDependencies":{"@types/jest":"^26.0.14","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.5.3","prettier":"^2.1.2","semantic-release":"^17.2.1","ts-jest":"^26.4.1"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"readme":"Under development, not available yet\n","readmeFilename":"README.md","gitHead":"8b1196745cac94884b85bf898dd1878c5b8ad882","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.0.0-alpha.4","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-nlbZ22BkeSJSUKP5Z2CZ1ZN+0LyJa845BBZWvQD/4Bos3ErhJS1aPx8llWEqrzCC2FbNNheslZdln4OdES8Lzw==","shasum":"f49d7c03381c7d2cbb4fa3b3e49051b715690e7d","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.0.0-alpha.4.tgz","fileCount":53,"unpackedSize":52874,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfihl3CRA9TVsSAnZWagAA7tUP+wbD93nglvwNhBVlFKTL\nrQ/etXcA+7JZnOZ6/KcMOr6idBLeuU4a3nRS/Ue37F3o1nP5av8IUNnFtfmo\nWm47enkUilO1lG/nWigeWA1Ht5EHDLKo+fwWDo66bbFx/k/Y7s3i1t006Ahm\nrBWCDvVRGk5EFkZzwf27AebkToS/KBrYliyPHVBiDOYHpBXo83tcQ3lxNGMI\nR80cRzv0G9Xsi9qf5eB/QEDdUe9zOcobKKgOiyJr0L5T9UYzQPxgZXDoT3qJ\ntJdGZ9atrSqb8JQAX+j91wD1H8KcfvapOetdaPK6g5YvYsX7dMnek3gkElII\nXH1BUHPDQSlF0bk23oA3AshRZq6yWxpGNixQsf0NepvREp2c5GAKqh+2+Pqk\nzYnAHcCTew1jpwbTRxsfnDs9/Sm1FcIiU5WVmH1AGvbuK7OPcPyGeo/2ZEg6\nVtA7ql/MPtaSqCkcyVAyQpOjRWvo6qc2NWyG0cY71PDVPyYvZoDkqCVsZ1Lv\nyoJA8htVagBwg1vCSvQP/PByS1EUiXoqkcSWICB/Ai2oaDOk0jlcgY3c1Wgs\njknUmpdOS8QScrZUl0ZxlyY1CA75rf5HEQztltWvMZNps1VzeAXr96bECesR\nuCsWuB6ccSVFs7su4OW43GTAdKNKgcknHiismGbb0BwAn/msJgtGruGSIGHd\nFcHN\r\n=GwNQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEy9VDXY4F/4I8Pp2ObQf4B6b8DI6SITlDDFOJ2mf0v4AiEA+KVIj9fyJLMmdEMSJcpXecy2nLGQHFIzcYn2qTz8yI0="}]},"maintainers":[{"name":"ghusse","email":"guillaume@ghusse.com"}],"_npmUser":{"name":"ghusse","email":"guillaume@ghusse.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.0.0-alpha.4_1602886007187_0.29737543090196805"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.1.7"},"1.0.0-alpha.5":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.0.0-alpha.5","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"@types/execa":"^2.0.0","@types/semantic-release":"^17.1.0","@types/semver":"^7.3.4","@types/tempy":"^0.3.0","execa":"^4.0.3","semver":"^7.3.2","tempy":"^1.0.0","typescript":"^4.0.3"},"devDependencies":{"@types/jest":"^26.0.14","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.5.3","prettier":"^2.1.2","semantic-release":"^17.2.1","ts-jest":"^26.4.1"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"readme":"Under development, not available yet\n","readmeFilename":"README.md","gitHead":"5c52851c9750b2559e55e11f62b50c5048c3efb9","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.0.0-alpha.5","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-UXNs0V128Wx4ADAvxKdkwM0x1/59RE9duaTL5HphFIJdujHOwL8iM+hVxut4E9sG51CdoLpGwaLEyIV3Aa9p2A==","shasum":"8bcf14635636e9efb755c3444e7195a9d2b0baa2","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.0.0-alpha.5.tgz","fileCount":53,"unpackedSize":53693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiiKwCRA9TVsSAnZWagAAzNQP/jEBKdej4GhO5nykQXkc\nkWvOwofTyv0Da5Dl/mjDE4FQ+nSYVQDGyfaBNWO9/hNvZx/SKWSheoqn/X6w\nPUJBacdQ4fNq0NVY0yUI95yV5wJ6SF2zDNW9+FKwPDHue6FnMEbh20SMkFB6\nW/GOo8hAgQW+xd0mtlj7ybJ4WzTJt+9imy2JruL4ZU2+VfXzE0P+DoTGm8dR\nejMSyA0WrTpLNMaEWNS8RXQMlrjQxYMjkgjt2Pk9fhmVGCTCDBlKQJBJHcQG\nMtxomXrc0J8PUOZ1B/F4scFOR8McPiDdeCO6PBvl2WMoZ2e7FPUXynPVAtBP\nIC5W2o886U2kTJysfcWPWZIcrA4UIgyNsbl1oK2vnE6jacajI9dQaavowLYe\nxdmRgxGL+Xx+S6SJsKD1Cg2qvi9BRSPdmngmLWsBYVZTOG13dSPm/ebV4iIb\nvSo9xcIC5szb4AiTnIywiAQFjInPFYPOam/FrVJk9ebU8gyAtYf+yfBs8gnc\nOlGeb/zJt6yUzbZGgeqoErojfE48QsgeaM2vlp4r+OXoCni023EVmmabXZJy\nprOSmA71UgoDjk4pefK2gqs+zXwQZN761ZJaxTMk7UyWXoibbr7LvxqpKrQD\n9FxUCRPAZ+1X8YIYDQNn0aTZDENpzOl6XINwsmfOIB7eR1PanRep3Dh1TtJe\nbDys\r\n=FWtA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDEBQJAtFOfj6up0FhPS4OA8/Bhqw3ypl1Z6pP7LNSGzAiAeh/uGPOSgs1P2MWq058qfUvGfOtfEBCmwT8+wvDbZsw=="}]},"maintainers":[{"name":"ghusse","email":"guillaume@ghusse.com"}],"_npmUser":{"name":"ghusse","email":"guillaume@ghusse.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.0.0-alpha.5_1602888367790_0.11565205672197654"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.1.7"},"1.0.0-alpha.6":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.0.0-alpha.6","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"@types/execa":"^2.0.0","@types/semantic-release":"^17.1.0","@types/semver":"^7.3.4","@types/tempy":"^0.3.0","execa":"^4.0.3","semver":"^7.3.2","typescript":"^4.0.3"},"devDependencies":{"@semantic-release/git":"^9.0.0","@types/jest":"^26.0.14","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.5.3","prettier":"^2.1.2","semantic-release":"^17.2.1","ts-jest":"^26.4.1"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"readme":"Under development, not available yet\n","readmeFilename":"README.md","gitHead":"8136368b56f6e05375ec1dbac76b63991d1c5bec","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.0.0-alpha.6","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-v8aTlvtfK73CAecKEOWT9jEgk6VLoU5bbnCMnwMw+z8afaNtr6PsfT47M7XgRLrmJQQfD4r4tTjOHN81MpYRGA==","shasum":"6b09c918327174f4098711a890cbdb28c7c5e217","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.0.0-alpha.6.tgz","fileCount":56,"unpackedSize":58519,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfi0YUCRA9TVsSAnZWagAA3E8P/AnmvJq6x/UWbOG20i3Q\n5w459wYPkVhdYE/Q9b1ZsI/5ejmli8gBWDoawM7ghI5HNxmrCtWhe8m/Sj8P\neGFy3rbPe7oBlnCbCmiifvhk9HtS7WVjtwB9kpv8q8q+txHn+OmTGOfNmHt6\nNAauvpO6iIIjhw/VW/4+oYUDNWCKzQjKkngnSwJK+9OJ5gYhDYfziEu6J/1H\nVGo6p9n0vjkok3L1MTs99AcV1iHDyf1QLXU0iBitUSYMCbfTjRt7PEkzkNaD\nYhFOZ3+DZC/g8BePQ3pKdw6WuMH6a53vV7Sb7yQkhw0YBA5oJ4S2GXMo1aii\nSkYgt2D9jTmQmZUW6q0Jx9yo845uSpKRdxGzDb6W0HGYkE4J08AMCZRP7G2v\nPsC1+B2zwkBr/jnnwUnc7gJ5pXTYX7k5pPRVOgLEJZejkxXUu5tqfglbWBc9\n336SBH7ik2tOoEoOtMQPBAI1mJCVg87g1W9iPixY2sYu5BBePiUh6uP4BqOI\nyPTzOfAEho3DfozWTqMKmOf6elDRuiD95EiMYQzURUHI7Bu4XwEOYNiThd3c\nrIa65HCeyxEwGYj6XQKi6NTPc4oVmOUcx5VfLUPyUv3wgg2AsMnuwDzURg26\n0u18TBKWzw/9hfJ6hhXEdWNTZ0L1BDoDRbTxkOjxHkGgTLeTWE94wBwHGquk\nxrlQ\r\n=aoQ7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwWAlV4dRQYt4jwVAb9e42mnv3dpzi1aIKbQ+jsnFIDQIhAJ8W2Ggb1M3JI6ZL0T1iTo0T0EdaQvT7m2mHPMKhthmt"}]},"maintainers":[{"name":"ghusse","email":"guillaume@ghusse.com"}],"_npmUser":{"name":"ghusse","email":"guillaume@ghusse.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.0.0-alpha.6_1602962963943_0.5862769662877989"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.1.7"},"1.0.0-alpha.7":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.0.0-alpha.7","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"@types/execa":"^2.0.0","@types/semantic-release":"^17.1.0","@types/semver":"^7.3.4","@types/tempy":"^0.3.0","execa":"^4.0.3","semver":"^7.3.2","typescript":"^4.0.3"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@types/jest":"^26.0.14","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.5.3","prettier":"^2.1.2","semantic-release":"^17.2.1","ts-jest":"^26.4.1"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"readme":"[![Maintainability](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/maintainability)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/maintainability)[![Test Coverage](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/test_coverage)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/test_coverage)\nUnder development, not available yet\n\n# Development in progress, not functional yet\n\n**DON'T USE IT** until it's released for real.\n\n## Supported vs deprecated versions\n\nThis plugin considers that either a version is supported, or it is deprecated.\n\nEvery rule computes a status on each version. Rules are applied in order, they have 3 possible outputs:\n\n- `continue`: the rule does not enforce the status of the given version, it is left to the next rules to decide the status\n- `deprecate`: the rule declares that the given version is deprecated, no further rule will be able to change this status\n- `support`: the rule declares that the given version is supported, as a consequence, no further rule will be able to change its status\n\n## Available rules and options\n\n### support-latest\n\nThis rule allows to declare a certain number of releases as supported. This rule **does not apply to pre-releases**.\n\n#### Options\n\nAll these options are optional. If a value is not set, the default value will apply\n```json\n{\n  \"numberOfMajorReleases\": 1,\n  \"numberOfMinorReleases\": 1,\n  \"numberOfPatchReleases\": 1,\n}\n```\n\n#### Examples\n\noptions: `numberOfMajorReleases=2`\n\n| `2.0.1`       |`2.0.0`     | `1.0.2`    | `1.0.1`    | `1.0.0`    |\n| :------------ | :--------: | :--------: | :--------: | ---------: |\n| **support**   | continue   | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n### support-prerelease-if-not-released\n\nThis rule allows to declare a certain number of pre-releases as supported. This rule **only applies to pre-releases**.\n\n#### Options\n\n```json\n{\n  \"numberOfPreReleases\": 1,\n}\n```\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `3.0.0-alpha.2` | `3.0.0-alpha.1` | `3.0.0-alpha.0` | `2.0.0`  | `2.0.0-alpha.0`    |\n| :------------   | :-------------: | :-------------: | :------: | -----------------: |\n| **support**     | **support**     | continue        | continue | continue           |\n\n----------------------------------------------------------------------------------------\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`  | `2.0.0-alpha.0`    |\n| :-----   | -----------------: |\n| continue | continue           |\n\n`continue` means that the status of a version is not fixed by this rule\n\nIn this example the version `2.0.0-alpha.0` is not marked as supported because the version `2.0.0` has been released. \n\n### deprecate-all\n\nThis rule deprecate all remaining versions (not previously marked as supported).\n\nIt is meant to be used at the end of rules declaration.\n\n#### Options\n\nThis rule does not have any option\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`        | `1.0.0`           |\n| :------------  | ----------------: |\n| **deprecate**  | **deprecate**     | \n","readmeFilename":"README.md","gitHead":"5241cf49d5874943493dae733a308704396b7a64","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.0.0-alpha.7","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-BgSy+TD7FGZpx96pWrZevutufs8sHUUk89Od4JA8q5A82+um8Q24fp7y4aW4wm8X/zxDvvLQYnNp9KwTjlTwNQ==","shasum":"8287c858b133c593c20f7b05db18553e200ef026","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.0.0-alpha.7.tgz","fileCount":67,"unpackedSize":12874964,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkuOlCRA9TVsSAnZWagAAYesP/2Zq5JIHDN4PaiHbZyvr\nNc1UCJ3ky553siJLJYQE7wZ1JHqEc11AhqKnh+8L2rC76j/dOFwOUmrK4b8y\nllR10Arxgk17uwGEb4LSX8Tvk3sC8jT82+E4Rrr6lQmsckoBwl0NmAolXczw\nUuALmdZDTNE3q1oA1+iDiKbUNUjML7R+y61QlktS21bUyU2ai5aL7wP7OtCb\nDF9EScOvx/K/QdI4evotjh7qg71MvkbxkBOOX9mtCUu0LkWHdIVJkF89Tiiu\nS0toMa+xZrhnHLyDy8ct3FeJuDsZELG/k2eVm9JxP+w8qfwNmyp+9ko/kS8f\nYzrfeYYHgiWaPqQrCRL44jalZlKSTF0JWRCicfqg4H7JnkFO/W9SIloGpoI0\n/glmp1nOoLfDHbxhF9e03ICG1780qYosabCDG6BNYEax8HB/CrpKK/hOIvm+\nVykfyMOguQjA/iT0c9JvoJbFKfgdQRDPr60ra48NAPzhFcAAjW1YHo6oMgZ/\nqPPPHpH33Vr1v1b2sULBKKmSRZjSeLWR+n6aei0CbMJM+bQTF1Dub7qVs6+x\n7LM3lWW1tZmvXHFsB3PI0SS8eTK3HQ+Itukr8MkPlp2g9K9YmQ+FUkaUYeo6\noyUNJZUBtrxluHlibqkIKzk6LctZg0G4UlDeygNG7xT7uDkUWH+i9XvBmoOZ\n/rZY\r\n=0sB9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBmdCU8jG54TiFgwEOXqD4ft4qT8j1r/DQaarW/W2850AiAeLLz/kuSYyt/4YT3cdqPU0Lw1v/N/wosli8IDOMAQ8g=="}]},"maintainers":[{"name":"ghusse","email":"guillaume@ghusse.com"}],"_npmUser":{"name":"ghusse","email":"guillaume@ghusse.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.0.0-alpha.7_1603462052275_0.9141917395207368"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.1.7"},"1.0.0-alpha.8":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.0.0-alpha.8","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.0.3","semver":"^7.3.2"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@types/execa":"^2.0.0","@types/jest":"^26.0.14","@types/semantic-release":"^17.2.0","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.5.3","prettier":"^2.1.2","semantic-release":"^17.2.1","ts-jest":"^26.4.1","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"readme":"[![Maintainability](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/maintainability)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/maintainability)[![Test Coverage](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/test_coverage)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/test_coverage)\nUnder development, not available yet\n\n# Development in progress, not functional yet\n\n**DON'T USE IT** until it's released for real.\n\n## Installation and usage\n\n- Install with: `npm install semantic-release-npm-deprecate-old-versions --save-dev`\n- Set the environment variable `NPM_TOKEN` (same config than `@semantic-release/npm`)\n- Update your `releaserc` configuration file\n\n### Configuration\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    \"semantic-release-npm-deprecate-old-versions\"\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        \"supportLatest\",\n        \"supportPreReleaseIfNotReleased\",\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        { \n          \"rule\": \"supportLatest\", \n          \"options\": {\n            \"numberOfMajorReleases\": 1,\n            \"numberOfMinorReleases\": 1,\n            \"numberOfPatchReleases\": 1\n          }\n        },\n        { \n          \"rule\": \"supportPreReleaseIfNotReleased\", \n          \"options\": {\n            \"numberOfPreReleases\": 1,\n          }\n        },\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\n## Extend rules\n\nIf you have a javascript configuration file for releases, you can pass a function in the array:\n\n```js\nmodule.exports = {\n    \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        customSupportFunction,\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n};\n\n/**\n * @param {import('semver').SemVer} version\n * @param {Array<import('semver').SemVer>} allVersionsSortedLatestFirst\n * @returns {import('semantic-release-npm-deprecate-old-versions/rule').RuleResult}\n */\nfunction customSupportFunction(version, allVersionsSortedLatestFirst){\n  if (version.major === 4){\n    // This version cannot be deprecated by other rules\n    return { action: 'support' }\n  }\n\n  if (version.major === 3){\n    // This version will be deprecated, and other rules\n    // will not be applied\n    return {\n      action: 'deprecate',\n      reason: 'Because the new version is awesome'\n    }\n  }\n\n  // Let other rules decide\n  return { action: 'continue' }\n}\n```\n\n## Supported vs deprecated versions\n\nThis plugin considers that either a version is supported, or it is deprecated.\n\nEvery rule computes a status on each version. Rules are applied in order, they have 3 possible outputs:\n\n- `continue`: the rule does not enforce the status of the given version, it is left to the next rules to decide the status\n- `deprecate`: the rule declares that the given version is deprecated, no further rule will be able to change this status\n- `support`: the rule declares that the given version is supported, as a consequence, no further rule will be able to change its status\n\n## Available rules and options\n\n### support-latest\n\nThis rule allows to declare a certain number of releases as supported. This rule **does not apply to pre-releases**.\n\n#### Options\n\nAll these options are optional. If a value is not set, the default value will apply\n```json\n{\n  \"numberOfMajorReleases\": 1,\n  \"numberOfMinorReleases\": 1,\n  \"numberOfPatchReleases\": 1\n}\n```\n\n#### Examples\n\noptions: `numberOfMajorReleases=2`\n\n| `2.0.1`       |`2.0.0`     | `1.0.2`    | `1.0.1`    | `1.0.0`    |\n| :------------ | :--------: | :--------: | :--------: | ---------: |\n| **support**   | continue   | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n### support-prerelease-if-not-released\n\nThis rule allows to declare a certain number of pre-releases as supported. This rule **only applies to pre-releases**.\n\n#### Options\n\n```json\n{\n  \"numberOfPreReleases\": 1,\n}\n```\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `3.0.0-alpha.2` | `3.0.0-alpha.1` | `3.0.0-alpha.0` | `2.0.0`  | `2.0.0-alpha.0`    |\n| :------------   | :-------------: | :-------------: | :------: | -----------------: |\n| **support**     | **support**     | continue        | continue | continue           |\n\n----------------------------------------------------------------------------------------\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`  | `2.0.0-alpha.0`    |\n| :-----   | -----------------: |\n| continue | continue           |\n\n`continue` means that the status of a version is not fixed by this rule\n\nIn this example the version `2.0.0-alpha.0` is not marked as supported because the version `2.0.0` has been released. \n\n### deprecate-all\n\nThis rule deprecate all remaining versions (not previously marked as supported).\n\nIt is meant to be used at the end of rules declaration.\n\n#### Options\n\nThis rule does not have any option\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`        | `1.0.0`           |\n| :------------  | ----------------: |\n| **deprecate**  | **deprecate**     | \n","readmeFilename":"README.md","gitHead":"f0c5da2c467021eb4e7e3c5f8c69b4f3b2095894","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.0.0-alpha.8","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-SagcSiPoC+L7nnUQysH3DlGATLgpYVBm4P+H6fDLd9IyX7uM6/C5Lw/FxQK8/n7zzch6X6G87lUHg4OEy/c0Cw==","shasum":"5c5532685d53c725b9d32c57383a3671409f503c","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.0.0-alpha.8.tgz","fileCount":73,"unpackedSize":12894129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkvMPCRA9TVsSAnZWagAAevQQAJ2UdIsSXwWzCdb3Roc/\nhWoVq7NA31nvdvM9w4+HQDlTNYGK+d+lM4VPAlvnQL72lUu0PliiUFJ8rgf6\n9rWbjIRI1WGn/nKCCkWiU3Tnns7ViY/Sx9tyTtGyvyNmdNJqU4tf7qyXnpCG\nFWS+tVc1ssvv4sf3vtwxFx+Vj26jTvpcIBPZFOpLXLXPSWY75YzTPTEVHuN/\nDtq6dsgp6eQf04akeC3vULGp/0BfPHFda1J1j2Gp3rKqO3+AUCWBLqzYPrHD\nzYix1IFC0gG4Gx0XkF+uBt0OKuy1E+UABz3NMc0+z10KuD7xVmrpTyWnTOr9\nzLmGnXgw5bips12ks5Ls0sNezQ8U1HX2YU4UtXA4PxMIBR0rtovQgUCZYzj3\nn1N/DhCXNz4gc3qmhr+OdQLdWgPCMogKRh8GRRmTiT24a2v+LIRcYhO4YUEp\n6A6/PyVZ7/WqXds+qH6ulWPKzITb1+Tp8ng2kQAqAZ+HoQ4JoeRbn+VXba8L\nBqMjdv0MQrMI0iMlR9tHysbGmqFHzgDp3Hl3j+kn9gnMYc+jAEGjsoUZTMa3\naRvNdPgsAzLEZInpzXN/dn2LF4sUgkjoyL4oqgXhGkcNBBdbqiEJieAg0uEk\nixzZrkdDJu/RoMchgjjVxfC/SHfGcrg5Ld/GKQVQZD055FdjEV/7zaA+xIBT\nSIsk\r\n=BhCv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLS4Z5wv2oFMtwUdIOXnMCJBQU4HeXbEn785htfGgdFgIhALj7a2iLSBQrsmM1Mhz0x60pFGL77HU+DAxo+rE+0VyR"}]},"maintainers":[{"name":"ghusse","email":"guillaume@ghusse.com"}],"_npmUser":{"name":"ghusse","email":"guillaume@ghusse.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.0.0-alpha.8_1603465998459_0.7451934450508804"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.1.7"},"1.0.0":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.0.0","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.0.3","semver":"^7.3.2"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@types/execa":"^2.0.0","@types/jest":"^26.0.14","@types/semantic-release":"^17.2.0","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.5.3","prettier":"^2.1.2","semantic-release":"^17.2.1","ts-jest":"^26.4.1","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"64b2861de689a17fd3b3fa23f1df0de4b653d4c9","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.0.0","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-+f9UvutqV5xlCyWjrmEVqV2Xr8W2VUvTJQVDfCl1VyH1Can+kLlF0igPLSb5hfYvj6QEjmgicUwlWiBzjTRdoA==","shasum":"2e82a0b531cf66dc7993679d7f7c1bf34d7b330f","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.0.0.tgz","fileCount":73,"unpackedSize":12898093,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkv0MCRA9TVsSAnZWagAAxF8P/jNmJKi/yFxNt1XWmm75\nbYmpNAsV0mOtBtK/kmrBrDPf0J6FkfoGpBZjfMP43xDmzyeb/ulb66fcOq+7\nakwG6w5n1ptGVeMb/aHLFpkSW7lFn8Bwc9i3jm5fT4We+mD22jedtJoOK7Rq\nj1qdk/Q6wSvufSm7rgWGgjuBpsIZVbapHMTtoJsn7zZyIcuOC5lZNy9DGDsY\nRzse+8/TrTuS2NsoIWE4ekMU5q608QwWzjbNorXVpL6zJIq7egMZZGJUAK5R\n+e3TKQFKdvwSN8sN3YDF2aOlOq5hpt6fx9oHhMF9mJE9qoUyAmmV0PRgpDZm\nZimm1qrMvxFR5QJ82AYZu7G+93vFk5bk8gBdi+EYCJrzVtEhNORFeTJsPrab\nlR8VUqR3UEr4EO4UMyMsB7tQBQ8XGhL7pWWsjkTKjEWYvY7LBDV+i4RvKk7q\nCRMjrFj6uk5o/TzC8Pm8Tib2sddT1fDeZc8kva/73M0nJDvBZ6gd6m9dt9KQ\ncnSEIt3nogMa78qy5SO82LaO8KrSIDWyS+LM854GaxrZbDSLigFytx6m5MNS\n3+ALsPtzCnYn1Pi0hhFCsMCniBXIDXjYLeudnTcgP/tNTA0uTQmB9SJEyWTI\n5afVE27wg0Xd6zY6NjmqFCnh50N3SXfRaQn+jwdh2OVSLgRdBc9yu6KgESPZ\n4HQT\r\n=9KcW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXOO8t6RzLhS4+8kOqs0nx1CPTHxccGOGabgSN3P0mhgIgHawEew28+pUjx9FMTpj0ykYBsyuMnCb2cmhyQzhQNYQ="}]},"maintainers":[{"name":"ghusse","email":"guillaume@ghusse.com"}],"_npmUser":{"name":"ghusse","email":"guillaume@ghusse.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.0.0_1603468555452_0.5725801069429541"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.1.7"},"1.0.1":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.0.1","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.0.3","semver":"^7.3.2"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@types/execa":"^2.0.0","@types/jest":"^26.0.14","@types/semantic-release":"^17.2.0","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.5.3","prettier":"^2.1.2","semantic-release":"^17.2.1","ts-jest":"^26.4.1","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"7c33ccb77c4ec8f2af5eef4d01659ffb36ffacc9","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.0.1","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-melRhWwNRn2wn9H6RXeoFTonzqZmteFnKg8JKvfAYXPBYiKiItrFiLWUDDg7WqzV4qVgXRlsVPZiCil2OtDGaw==","shasum":"4baec4963102e49594a37e667ec9a17c8db1a3fb","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.0.1.tgz","fileCount":73,"unpackedSize":12898290,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkv7dCRA9TVsSAnZWagAA9GAQAJ5Z7Cha++aBCJ7rNDSD\nIbX9tP0Jjrrn6JDVlG79In2nOD1MGaZQKxlBVhRlz2nzr8cHSVWO+rFzi2EE\n9y/vS1lK2bVZfht8v7x3z2n8TUBnEoFJVNEloKc59SXeQpigPglzzZrVxa81\nGCAveGFe7ldsrEMqHZUeOqHDVuVdNYcQTwt3I0pxDrLGeDmcuwsvuk8XgzOb\n0iwa7fw44aGrjY7Z+uQCHk4kjzObYd4O5E0335fcI0+IN3eUN04OSZC7+5+y\n7EMrZlVyAzfAoJOiPNtafRCxq0jUbQ1AtsDxAYTEoYpfiiQQeVqQi6nP0Ew5\nYKbSruKiuHTAdLIaiMJOrMl1ZcmQ5LfVvkZA0KThxPXDwJHVeylw/6cWdgFr\nJI4PXfObJWmY5IeyUcN9tTjWPU3+bu53DjcSCCXHGhgsNKWlKV0WEKngSz5F\nRjbBqi0BlUYQuIDQypIiqYmPftEL8wV1bLYBoBS78nepAOF256a7b244eEs6\nEm2UEjYHPM9Ey3rQDKCX71Y1txtC7YgOr12i/kO+HJypxFQGYwg93HzIeiEl\n26szQMxN3KRonEg8r9FQpehF7mV7Jyv8TL2Ii0snt1f9B6NUuiuKcnWb6bEl\njpLW3EPOpblTmpN32Vb4DrHryybLJElA11U4wrRZdnyoOmtocFx2IprJxa01\n3P71\r\n=YEvo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDV8lSSmMep8yQhHSxPmsIjI+py/+YrvrrG7gof9nK9iAiB5PEibI30/1O6g6KYmKqkpumD/1R9m4yDyB+86zxwbVw=="}]},"maintainers":[{"name":"ghusse","email":"guillaume@ghusse.com"}],"_npmUser":{"name":"ghusse","email":"guillaume@ghusse.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.0.1_1603469020644_0.36059846871233536"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.1.7"},"1.1.0":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.1.0","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.0.3","semver":"^7.3.2"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@types/execa":"^2.0.0","@types/jest":"^26.0.14","@types/semantic-release":"^17.2.0","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.5.3","prettier":"^2.1.2","semantic-release":"^17.2.1","ts-jest":"^26.4.1","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"dffc2867f3bca46fb3239c8dffa1ee0579f740b7","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.1.0","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-gQKzKuIhPm4yjr1RCrB7iQmKkQCjbxfEut2dyTyBL15sGq9m5AD0GABD3705ivhtSBtrgsSvRf1B1pi1o47hTw==","shasum":"b6b252b7e7c9eb6dde66784c579fdd86c9cadb74","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.1.0.tgz","fileCount":73,"unpackedSize":13326579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf+FqoCRA9TVsSAnZWagAAxYcQAJ99XrIHojLNoQwn5/KC\n6KNrFO3T+0QUpWUgAqKr/iaSVkjtIlQVjZO66fQePId6mULmA6y8TNKNs1Ez\nuvwcF3QkksePGPjm15zvwMaFTiaTZv1C3NADQBV9cB31Of9ZlBuqZMHYHWtx\n1jfhrjIgzzTWZ3BQnmINsMazqi97lCPKFgZpXQcVSTef9HQc0uiPn8VgiHW4\nMd+rnLiPiNCFm477eA4wI49q7uUhncM8tK2Ppd4RFIE1v6qu3Lv/J5jUkl7l\nR1/l1iYxhltjfzx0pquHRFVDGRzNUfzogKMX3RYKYhy/mleiH5QRsNumJUEL\nmgxehAZxh6/RSm0c7bsEsMqilHmH+ByM2aMNOUbBiZkOYPQb0y26eYlYYqX7\nJ8j3/Ei8z/yP6Dg5kyQriW7DkU4Lkf+sg7yhU9+IsX/EL5njJ7c9L8jfCPrr\nAYn5fN27K+ndKOnSusZ8Jlwa9REFsfiKQtT2SyYf488PGXqT+DSRt7ZVNzSy\nN1DWExPPRKj9IKjgZMJw+IHU8JekgJRoC7XkIazHLeiYoXzUYCd3gF5c7gJV\n9LEwLotrpMhnv4uOQPDNj8hciEWI0sz4k6oHRU28y4ZBrH6JIowu4Xe2rbDs\nq75c3MSiTpwHXuiO6aVS3bRZAKIFvH5PTRbBpEHdkeDH6GQMZq9dC8WgJyZg\nEFS2\r\n=sm64\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGYFHxYDiNcIeirntX8tWpirbauBwsQ6Cg8ZO6lvqDpBAiBLaVxzbz5EnLg9sfKr9emUrV77lMOXXG/Hu68SgOWOkw=="}]},"_npmUser":{"name":"ghusse","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"ghusse","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.1.0_1610111655409_0.3014908319725349"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.1.7"},"1.1.1":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.1.1","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.0.3","semver":"^7.3.2"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@types/execa":"^2.0.0","@types/jest":"^26.0.14","@types/semantic-release":"^17.2.0","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.5.3","prettier":"^2.1.2","semantic-release":"^17.2.1","ts-jest":"^26.4.1","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"b8150b996eae42cbdac658c6d9f9aeda85a6e49c","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.1.1","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-MXyugrFaUhGAkxO1x4rdNUH1ypyrsqPhk7lxBhDDRM7LLRDZQTvR/hkHOgC5N4xTASBXBnDsdIs8F+OHP2XQVg==","shasum":"a21357af691bf1aac6889c28c50f2094a13bb3db","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.1.1.tgz","fileCount":73,"unpackedSize":13326912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCwCnCRA9TVsSAnZWagAAaV4P/iZqO3/ijMwWK/d1tIpb\nB2Knqa8qGHAF/f0RxJ2Ce/piY+cmlD2/Db3BMST/yA688uP8DKW4ppndQYsz\nZndeTu3eH+nE2YxnpRF0aMxKCTnrgX1OQR+xNU7JUggw0++4O3mKnbD6Tgp7\nzge6+NlePKEoP6Bd8lIh0EUqTou1VCI9qmqZHSncHhJsCX5cJV5OvgSMdCeE\nJXZQ+iaqzW3tXC7yYpj5HAF3D16t4h4o5B0n7sL3VY8rCeyjve1nKOQrXU+b\n4UjnNMOQ33MDy1DFm6SkuMyntSS38pHMW/4nGo+Ul5lqybXb/2GTIU2E7M1I\ncJ+CwjdbGKqf/+au1x/hB0VG0CeTNeIRf6CXZAH1wb3hd9mQJnN1n4TDJ18e\n/qOB5k2YWRmPffh4mcQravo6sJTN5c3Hl4OecilYTwMDQg7BlOTWXliKwSp1\nSraRK9XkjnpVqfsq+8GGz3QbiR5UdOAK5Tg1XQ234ciWEqDaKQbQcnSkkvIc\nI9a/aCPC77GdsIAF98VDYazWey0xyOkA5JS1kckvrndB3QapmwVTFWy7UAwX\n0r7IYyc6DYJyzl52e6FSDdw3a+PiB6ksCMP3eWTXPrFdTt0ZZ+qM6+aI5I8I\n6sCzOmx2gh3os/XkDRlsxHpT60RvPeJrT+abkBXglp36nDGJ8CEqmtG6nfY+\nHyeO\r\n=upFZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEmNYSAVpDDotaLc9ceAKIG12teg3mMXZ6tLacYJm+Y1AiEAllorWcQMiVC79MYIefmgzspWOqAiYWYdJUnSVwUXIj0="}]},"_npmUser":{"name":"ghusse","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"ghusse","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.1.1_1611333798970_0.7315341359609053"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.1.7"},"1.1.2":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.1.2","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.0.3","semver":"^7.3.2"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@types/execa":"^2.0.0","@types/jest":"^26.0.14","@types/semantic-release":"^17.2.0","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.5.3","prettier":"^2.1.2","semantic-release":"^17.2.1","ts-jest":"^26.4.1","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"03b8ffafe455617dda863142c511cdad5e416b13","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.1.2","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-4P5wqVV7j5DGrrdsSu/iS2yOXELUIOX4dh/xlMsmHOEDptDe43PLlUDGAajijrbJKOCBvPxvIP7tn/7knfbW+g==","shasum":"1dd33a92dcb70f525672bf682a897f7806f45f9c","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.1.2.tgz","fileCount":73,"unpackedSize":13327912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCxupCRA9TVsSAnZWagAAaQoP/i8t4Ghfy6Fazyu3BTN8\neWI6W8HrZ6gNtWjH3Ep8+NDBSe6m0o619XbrZMRzaR1TcwGAn2I3EIfmmuI5\negqyK6QQae4x2jvyPeV/R3aHV2sCPB/UWSQ5pePMPvHw53VimflayOGQK+G/\nToEUsT+awzdAbJFSVquXdR3tc0u9CHyyGtMFiJk2uVS890bxtu7n1hdVEjBK\nz3FMh3dpKd7F3ZBPQMOuyW+O6afpTDyGUKWQ3rE1ltHvtt0sQ7mlgrq6k8Lx\nZUpowW2Db8NfRI+NGrqijZWbvtMGTa3GMpTUoYMSUOJwCjMNkWVOmTzVjx9k\n/CQdlYGRaLCEnyUbIEUrOPIfksQHWhhhFV6IZMmyjjxsav3sKbAjtdcmm3ej\ntfMf0iMWFzAraIQy0qQuwBr9hHU/X7OxfJPpD4/zpXmODvb8fACX4+FLyK/i\nBIDGr1vNrRUGcZso3SlEwQ0w8+njYvQKOaeAZnXhtRB+q1iyyg/CjwmQzdsI\nMXZxMLwY28O/5zrGMpNBGykbuMN6FVrU8U7TYVoLZrxrHS/1Nx+2wlRfQisG\nj1vXM01pz7iPZVyLNoDwL0MDh8Q4YHf1EHdlISk4fCbXgW5EVSiLVkOxsoYZ\nkC3c4ngwiff3SjuKfYtOjZq2uvB6w/SNL6wC82jGSAKQJurcagZXApvI22TR\nfP/a\r\n=e9pz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGNjtYZkehyIBwSybL2f0mvGDd7LTWG/KdMef0Kv3iSdAiEAgX76T7Kq6vKMk3c0CYgXmXHeo7zm212ekvHl/yNfgpA="}]},"_npmUser":{"name":"ghusse","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"ghusse","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.1.2_1611340712489_0.6418523763079129"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.1.7"},"1.1.3":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.1.3","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.0.3","semver":"^7.3.2"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@types/execa":"^2.0.0","@types/jest":"^26.0.14","@types/semantic-release":"^17.2.0","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.5.3","prettier":"^2.1.2","semantic-release":"^17.2.1","ts-jest":"^26.4.1","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"23e06fdd406841dfce05bb9ef83bb9e1cf97e903","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.1.3","_nodeVersion":"12.21.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-AL3bXurvUW/ZZetrxhHMLQnMEbGvESZ4yPlJ8ik29dAMMcuImNuHPxF1O5amVJf6HNIlOsKmuQn5Su6Ongnb/A==","shasum":"98eca93b57191da9aec1a1328d08bd9680d6bb4f","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.1.3.tgz","fileCount":73,"unpackedSize":13350131,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgVMcqCRA9TVsSAnZWagAAzOwQAJJ2ZE5UPU+hJY1aC99D\n3T0qKNWxst0Pe1Q9dw4CjFN3QAmh4gCBHsYOylht1hmOu0qlH84NPYrNodPQ\nfmUiDno7bRiHHfGKbgHqcW+ZahD6Wr3mUM/zuZT0eEBDHMhm2P1KPnuzl+gy\nCXxpto1Ykq3wKI7M+C3kSWRVxexP3fjYa7V4un3+9NJ/olIjiK9ldISaJFqx\nwM/UNidWJsb6wex9NUaZAf9IH3uKDNKlslnFivcYdib9UAytiNBJBVdw6EqW\n0Vz9HVUlVYojIdgKIsGcncOqUaLF43ID6DXcVSx1wqzVEuko7HNbNitAdWvH\nVIYj5JGi2oSAYKlLTUNtpiITCIuO0XRZg2DKeGGOcdI29I8PRaTLCHk8c/JF\nJSdUxXE1T0Do8m2+vS5KwsSTXvSwVmoPXftJ/VHNxKmqVhKEvOGMWLXoydCh\nue5AwjCLxb0a0Vzt5i7GBisvODhNkgC04QAveEiK4fhBEkj322NxERA4eQwL\n1iYMUhpiP7DsTjMuCX17o2H99Yp1K15A6Yj+LLB6o9g0IViFrBtnm9BTI11J\nArORPQt0ZIItkZsberp26X4oAAVYgOZVT45fY78w3AXADUBcyZZfMuQXGloB\ndlVd9teba+MOK5OYv6iMxy9KyqlbHnlSdWZmCfh8oUgWWSFAjsdpZ+MBLQcg\ny+DH\r\n=9Zaj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG1edvYNp05uBzZNDzBIGU5T8w2ni3FqBFC0sDVpOmM2AiEAhAYqbIy7T80IRlgguEkX0DPZqi99pVWgk2kyuVY5Fhw="}]},"_npmUser":{"name":"ghusse","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"ghusse","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.1.3_1616168746026_0.7357555974763204"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.1.7"},"1.1.4":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.1.4","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.0.3","semver":"^7.3.2"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@types/execa":"^2.0.0","@types/jest":"^26.0.14","@types/semantic-release":"^17.2.0","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.5.3","prettier":"^2.1.2","semantic-release":"^17.2.1","ts-jest":"^26.4.1","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"118be3fbcf701013864e76a1934e2baa3697e022","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.1.4","_nodeVersion":"12.21.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-bkz4Pwwnx4hwklKRvsfqP45duiPnnMxvY7NbENkfpvoC31BXOu+q1MhfoZMnEY2r3uS+3Ztm9dEhrCpSNEsAXA==","shasum":"e5b56e72e384661d9f1844314a16b80d8a67b26a","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.1.4.tgz","fileCount":73,"unpackedSize":13350530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgVMgqCRA9TVsSAnZWagAAt98P/iBzB6hTXkhFls6zEtKD\nk8ywVZLK2BSBIXw56PSwEdI00o+xer8/vDcfJh7tF8zES5nUdbhrF3/1ZIDZ\nVFMK4EtHMQKR4yBNV+71cHw3IMms+7i3SuAwLvf71U2Wcyh2J9CKVKEvEu6c\nDNnn7QR1Wq0RWBptIBk8yFP5bpFfzp00Jh4sagnKNyHI3PAQCSja6OtWFOHU\nmvHNAf0+1yiyvVDpMvXOI7qGR1Slua7BTXpYSZ8UMM7G8m6dWLl5p93TVVvJ\nMaOH7hVwhsu9foxnxDMYR2Azc9kVicdVTPww6D771ettjQsL5VxvceKWHfdU\nDnTmhP4GxeMzqjQ8Qfb8VFXtbuTOMZLmWcUI69CSxx6s6dj5RFqIJrR19p8o\nKpcay++svLZu/gzLuU+/q4L6waavoDAjNBRFFEqEVEecxL0HfP1e/HeuehjB\nqrhSydHS2InREIq7v5Mnwu9FdGwc/O8bVgkupvlQZSAPRfoayDQ6BVRgx/3X\nhZ1gzCoWY4qckcI1rhPZ+ffNw0QtjS3EeALq/3WqVn7FNXP19e+awYYPMY6g\nibfN3IDhNAh7EykP5kBKvjAgedXN9qHC4EGZf0SUJaACrzomt7V+j8umg0FA\nTagftcz7yjM1NS0iISQKhM9+tlbADS15ed2O9AqLBFiMVL+iUfZfjGgQfx75\n8v4P\r\n=ktBj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHBMBhPGjdpX4ZykiR8ez1X2KzXCmquUPT9lWNWW1csdAiEAkhQ3/hyD6qF5lCzxtjBpkfJv55u7YGQAgdzodcTyF0s="}]},"_npmUser":{"name":"ghusse","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"ghusse","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.1.4_1616169001216_0.9437708644313696"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.1.7"},"1.1.5":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.1.5","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.0.3","semver":"^7.3.2"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@types/execa":"^2.0.0","@types/jest":"^26.0.14","@types/semantic-release":"^17.2.0","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.5.3","prettier":"^2.1.2","semantic-release":"^17.2.1","ts-jest":"^26.4.1","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"5afc52c044b8f864b537c22420faf4650ce795a7","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.1.5","_nodeVersion":"12.21.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-PaRKEhfMGKtsv7nUrk2fZRItEnjoyIt0IBvT6WoG/96ICGCkLnH35VxPz5jjmvcxhOXQe7GvzraRSWOnIlnpTg==","shasum":"e00992e08b5357413705377f5db77b96d7b6a695","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.1.5.tgz","fileCount":73,"unpackedSize":13351061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgVMmLCRA9TVsSAnZWagAAv0sP/j34PbijJnQfTK/kK3VA\nw9gqUT7802uOBk1+z39gKPf7uFcP62cF7yhmQPuiucX0gcfnj7vF2xoie7vP\npVnL+WuzaywGX4O3s2Ta2Hx/BIqY1wchIGlUeDkPofRwz+A6oOIkjL1cADN9\nrkDDP4taySILQmBNPPA4ymgkZM5osIu6iLQI3O4OWxuwwh6S9EYYj2VKrXUV\nX9SNqr8TZA8Kv22NVM2TNNkFEQ1ZWS6ZdH80eeghXmDmyvUJ14EgHyjyP8dm\nHwOVVLn4IKYX8KRsZD9JSEnm5n7uhRs8zmUGncY+pTcGvTAdmgKu4rWHoVtb\naOFTBCMzMO3Hl6WKCSHFDlbYMH0kwBzFwa5ADFhz//3IoxOtYzZzWwo/5buV\nBgKwh/GrFIr3YamD41EEn7k7XrcsUsFzX08u907pI1N4mYKe8JeoV3D0RFAB\nyQmVATS6eU3ugEF5BS3X0AC79J3Fgxw0FeekzOo6/8MUO6jQG+xW4rjuHUNh\n4B3xcKEYjpdpeRrxxRgDm8FfhPSdED70gYWCO7LcmiR2yCwL2Ddz+4MFbZyw\nW/Up96ow4hpAiEFV2FFRHtsJvRJLQNLmo6pwyDrKMpTn1lBA4enc5PR1zlAG\nhdBVVeUnl2czzABSCmVWZLW56ovNve6I+kgRLS7yrI5pak/vF1hLaAnOSZx3\nAeFd\r\n=1oZZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdXDfciUAUK0o+FU9m5xBMZ6SEtpCwFeDgiDS8uvx8owIhANFgUkMxbedmh2NrW58IacjU9PexS+qLn9y6NFOaW5RK"}]},"_npmUser":{"name":"ghusse","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"ghusse","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.1.5_1616169354801_0.06672155106221478"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.1.7"},"1.1.6":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.1.6","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.0.3","semver":"^7.3.2"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@types/execa":"^2.0.0","@types/jest":"^26.0.14","@types/semantic-release":"^17.2.0","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.5.3","prettier":"^2.1.2","semantic-release":"^17.2.1","ts-jest":"^26.4.1","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"36cefb2836c528353ffe52887d4f09896c79f544","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.1.6","_nodeVersion":"12.21.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-hZnTqIVx/jCHvwBYQZfpSInW7/n3QJphSsyuFESHDNKBS226f5pA03qJZns2oQhRR2ES8+EGwRhoQZPZxoMGeQ==","shasum":"44638ca297905ba34404587f1f7f9f7f15f8b32a","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.1.6.tgz","fileCount":73,"unpackedSize":13351315,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgVMp5CRA9TVsSAnZWagAA6qkQAJOtF/k+G8P4lDQ4F16r\nLpj81+/hr0DmQWSiwI0zeFKoT26eQknyUZ4uvajkdaLvCD2RgWMBRW7kObhY\nDYReZYmJtRb5JBnHhAkMR2JvwSSP+xK+JEDqBIaZ/FxUuQvpgraxuCcv5NLd\n9yKMlpHsadjuZC/+BpRxAZIJAk5xY0ijqZ0Pcnbq6NhI5356VFnVmIc/RO/T\n/3cg+9sYXnqhi5YGDc8OuCLgQmQQoLrN3Nof/QqoF5C7L502Ke8sAzFeuZjh\n4JC3db24JRT8w55nJPMzkQ5rDa00J9EXbbnwYuGSS9ouVHkF+R6DxE/ReJZ1\nzWb5znZ5BWIWvZ0y6/BsRnn2rlAY3VCuzCZHt9F4DAF1KXSBuY9erVesNPGK\nNpu3YWzWZIEdccuBM6BI7UoDqvhKEPIPCdIhnLVFzLa6C3TUyHjzQ6OXWpwE\nu5/RWEaPPgzWzoOfzI9x4RHSwhvpDNYEb04T0b/jUV2fBHQWpbuB729lca0h\nW+41N2ibrUR8EU5Vm2HmlXMo0CsVFb+F/cDOs6TqzD+lsg5HSFdK2Mqwa2zH\nmWCPFkperuxKCM8ip6nvhoikXdnNxxUEuLShM84AiPTY6fooIwU9ekcY5ueZ\nUB9oSeVvR2zT9GqkQiCIO9aNPLnzTVDyXzx5plPaBIH0Uh9iG2QGZahloNaq\nlyWA\r\n=JC0w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDjtWyvNHVnpGXaue6oeNcljPoDk0q1a6OvEY5PQKBjCAiEA7h60fhiM9M1InjT3XhkfszmfjAzI5HTxHMeBnlXpT6c="}]},"_npmUser":{"name":"ghusse","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"ghusse","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.1.6_1616169587739_0.5241993554049216"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.1.7"},"1.1.7":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.1.7","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/execa":"^2.0.0","@types/jest":"^26.0.24","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"5a4a5a29b6d972b1a5d7d409e19850c93b44eade","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.1.7","_nodeVersion":"12.22.8","_npmVersion":"7.24.2","dist":{"integrity":"sha512-UmLdIYUphnbnnMH4cgW1U0TBRhjFEXLdzamwPObE9GH0wc3lAVXqE3WmMbrMiZl1IEvKbAVnO+1HOokSit431A==","shasum":"9b981cede3bcae4854c7d75fa44480d8b82c8801","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.1.7.tgz","fileCount":73,"unpackedSize":13055601,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhw1yOCRA9TVsSAnZWagAARroP/ipFpEriF5cgsB979tpi\nqKe9eTfrJ7RmfIMU8nh+lQT8mB+RXgkRBpKrYEoLkhH00UyY9lNPE8MYMTog\nKE1fABCRbavKl983fTQULK6ovB5lxtNxBS0LVvpW/2ehbo0hUtHAHlR9rBpA\nrPRC0J6HGvj1PORjgfwlzkfTMHRfrb/tdjVlozEtXtGuJd3zSL45g1IhLir6\nAd7Kls6hn2GWPvqKwy9iaqqMAwhGcgDhyIWDhp6MgiYF7+0CIVs0uH5tuhUb\nOpYSozeS/lrwypDeFZx1LHL4Kg0fA1Bg7H6Xbf/+WY0Je8L7MmkAsCWpIJ/f\nMaU4eh7hzpx8mAGR26K+wILU6cnahmzts9ir335djkSPharHkUCQSasFdcLe\nh6XetMBRQtm0so06lUJ3wJIgCDYqiixN8F0T8C8qyIW+TgVq+ik5pXxc9O+q\n+YURjhc/02JM/CG/5tEQgzh3OdmqTh46pa7zrOusbwp/iJ/q5KMvfN9m79p5\neho2PEUXrL7RG0n07Rs4CyIr8BeKmg18ud4PbM3Y/k/Fe8gArSi7XDIaG+zW\nY10yG+EAfqqJA5Z493QKgmlvjHJ6jSYlY5511C4ReHLyjSMMbTgQNXgLAZaS\nyWeeO1R4QT6aAIdC/KsYME/Alkc5tSVgkGkYuHvQQ3kkBCYJgdu1qYGodl1N\nGThP\r\n=QupE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBzF/zYIaRL02YS/UL95xDUv0fCxINGw4RBJtiMd4OyrAiEAhPGC/xzNN9Ao4N4VrZAdB9lY5OZltBm74XGBhjg570Y="}]},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.1.7_1640193166589_0.3801218186770152"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.2.2"},"1.2.0-alpha.1":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.2.0-alpha.1","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"readme":"[![Maintainability](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/maintainability)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/test_coverage)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/test_coverage)\n\n## Installation and usage\n\n- Install with: `npm install semantic-release-npm-deprecate-old-versions --save-dev`\n- Set the environment variable `NPM_TOKEN` (same config than `@semantic-release/npm`)\n- Update your `releaserc` configuration file\n\n### Configuration\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    \"semantic-release-npm-deprecate-old-versions\"\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        \"supportLatest\",\n        \"supportPreReleaseIfNotReleased\",\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        { \n          \"rule\": \"supportLatest\", \n          \"options\": {\n            \"numberOfMajorReleases\": 1,\n            \"numberOfMinorReleases\": 1,\n            \"numberOfPatchReleases\": 1\n          }\n        },\n        { \n          \"rule\": \"supportPreReleaseIfNotReleased\", \n          \"options\": {\n            \"numberOfPreReleases\": 1,\n          }\n        },\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\n## Extend rules\n\nIf you have a javascript configuration file for releases, you can pass a function in the array:\n\n```js\nmodule.exports = {\n    \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        customSupportFunction,\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n};\n\n/**\n * @param {import('semver').SemVer} version\n * @param {Array<import('semver').SemVer>} allVersionsSortedLatestFirst\n * @returns {import('semantic-release-npm-deprecate-old-versions/rule').RuleResult}\n */\nfunction customSupportFunction(version, allVersionsSortedLatestFirst){\n  if (version.major === 4){\n    // This version cannot be deprecated by other rules\n    return { action: 'support' }\n  }\n\n  if (version.major === 3){\n    // This version will be deprecated, and other rules\n    // will not be applied\n    return {\n      action: 'deprecate',\n      reason: 'Because the new version is awesome'\n    }\n  }\n\n  // Let other rules decide\n  return { action: 'continue' }\n}\n```\n\n## Supported vs deprecated versions\n\nThis plugin considers that either a version is supported, or it is deprecated.\n\nEvery rule computes a status on each version. Rules are applied in order, they have 3 possible outputs:\n\n- `continue`: the rule does not enforce the status of the given version, it is left to the next rules to decide the status\n- `deprecate`: the rule declares that the given version is deprecated, no further rule will be able to change this status\n- `support`: the rule declares that the given version is supported, as a consequence, no further rule will be able to change its status\n\n## Available rules and options\n\n### support-latest\n\nThis rule allows to declare a certain number of releases as supported. This rule **does not apply to pre-releases**.\n\n#### Options\n\nConfiguration format\n\n```ts\n{\n  numberOfMajorReleases?: number | \"all\",\n  numberOfMinorReleases?: number | \"all\",\n  numberOfPatchReleases?: number | \"all\"\n}\n```\n\nAll these options are optional. If a value is not set, the default value will apply\n\n```json\n{\n  \"numberOfMajorReleases\": 1,\n  \"numberOfMinorReleases\": 1,\n  \"numberOfPatchReleases\": 1\n}\n```\n\n#### Examples\n\n##### Use a number to configure the number of supported values\n\noptions: `numberOfMajorReleases=2`\n\n| `2.0.1`       |`2.0.0`     | `1.0.2`    | `1.0.1`    | `1.0.0`    |\n| :------------ | :--------: | :--------: | :--------: | ---------: |\n| **support**   | continue   | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n##### Specify that all versions will be supported\n\noptions: \n- `numberOfMajorReleases=1`\n- `numberOfMinorReleases=\"all\"`\n\n| `2.2.0`       |`2.1.0`      | `2.0.1`    | `2.0.0`    | `1.0.0`    |\n| :------------ | :--------:  | :--------: | :--------: | ---------: |\n| **support**   | **support** | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n### support-prerelease-if-not-released\n\nThis rule allows to declare a certain number of pre-releases as supported. This rule **only applies to pre-releases**.\n\n#### Options\n\nConfiguration format\n```ts\n{\n  numberOfPreReleases: number | \"all\",\n}\n```\n\nDefault configuration option\n```json\n{\n  \"numberOfPreReleases\": 1,\n}\n```\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `3.0.0-alpha.2` | `3.0.0-alpha.1` | `3.0.0-alpha.0` | `2.0.0`  | `2.0.0-alpha.0`    |\n| :------------   | :-------------: | :-------------: | :------: | -----------------: |\n| **support**     | **support**     | continue        | continue | continue           |\n\n----------------------------------------------------------------------------------------\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`  | `2.0.0-alpha.0`    |\n| :-----   | -----------------: |\n| continue | continue           |\n\n`continue` means that the status of a version is not fixed by this rule\n\nIn this example the version `2.0.0-alpha.0` is not marked as supported because the version `2.0.0` has been released. \n\n### deprecate-all\n\nThis rule deprecate all remaining versions (not previously marked as supported).\n\nIt is meant to be used at the end of rules declaration.\n\n#### Options\n\nThis rule does not have any option\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`        | `1.0.0`           |\n| :------------  | ----------------: |\n| **deprecate**  | **deprecate**     | \n","readmeFilename":"README.md","gitHead":"b009e6cd7a702b7903a08cc5909f1a13ea3aabdb","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.2.0-alpha.1","_nodeVersion":"16.13.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-w3bLYtrunf9MrLfJoyb6CHwbUFWr/aAQp8Se4e6jgC6IqZ1PJ0rIe8hGdXg+kjNKi+DWv26o++VQSEDJs3VAJw==","shasum":"37427f19a271a880cae1ca213fcbea36b4d04ccc","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.2.0-alpha.1.tgz","fileCount":94,"unpackedSize":13115170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhxvh4CRA9TVsSAnZWagAANCcP/jN4zWoGRX8NuJyZMw4v\n6hHS7hhFn7Ky9yolv/KBh/gSkxVIENJmtir2KDRBiOJyDQitMvuqzGUphY74\n5/PEZt9fLWVmB918VC+KVfg3E9dzrwERdBYzFWYAQhE5in6aXy+WDY9cN9lu\nAme+E5edVYiHvaVC6LyQIE5eHd/BJ0nMGvpEtcOoC3f9kcZHmKcG5yLz3DL1\nfDp/zxyJdsJNOyL1z+iKn/pEfvwc8g8U2mAqr9SGjJ4haD2smPeagPSrhfuk\nU4a3nS7Nx2Axsftol3/tVir4iK9WJchgyDxKM3IgFhwTQnIzlDT0Di437jzC\nf6ENFApsJJGV3kVL/04/wfrAStfl13Qb/lkVZApNraIhL0cZpv9nQ4UOKMBK\nEMPfS+iv1ZnYho6HNfyXUTzPlLvhikZBAsD/G/dFCt4NZ4Fw0Rb5J0Img6jj\nCvq3mw38UfwGJyR53zFiSlAF+xvN1+sOMZVDKYLKMOHL2wYIpv2qN/M4jl5X\nfOlm689jGXBoNRVHTQcRx6eVm5rdgGYJvW+9u4eBMXHBqwXpkdMaJo659Bbg\n+uKKcGW9CLX0cWFm3sUYKIro4NWdrlysb7K6MV0S4j1awsbrc3hdBljfgFAm\nAzEMi7waBVlFddzzBC193NMWMGtRXqXQeZS131mJfG+slnPdWIX1hTRhFGrE\n1DqG\r\n=06kL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEbVNA2NgKGWp5PjC+Ssec7npkvKzh+ef/g416UO7KdGAiBhTe1W9Y1e+RiC7p1amEeb9Qf5dqZVSbGyk6PtjwXzHg=="}]},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.2.0-alpha.1_1640429687942_0.22140753113209"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.2.3"},"1.2.0-beta.1":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.2.0-beta.1","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"readme":"[![npm version](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions.svg)](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions)[![Maintainability](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/maintainability)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/test_coverage)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/test_coverage)\n\n## Installation and usage\n\n- Install with: `npm install semantic-release-npm-deprecate-old-versions --save-dev`\n- Set the environment variable `NPM_TOKEN` (same config than `@semantic-release/npm`)\n- Update your `releaserc` configuration file\n\n### Configuration\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    \"semantic-release-npm-deprecate-old-versions\"\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        \"supportLatest\",\n        \"supportPreReleaseIfNotReleased\",\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        { \n          \"rule\": \"supportLatest\", \n          \"options\": {\n            \"numberOfMajorReleases\": 1,\n            \"numberOfMinorReleases\": 1,\n            \"numberOfPatchReleases\": 1\n          }\n        },\n        { \n          \"rule\": \"supportPreReleaseIfNotReleased\", \n          \"options\": {\n            \"numberOfPreReleases\": 1,\n          }\n        },\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\n## Extend rules\n\nIf you have a javascript configuration file for releases, you can pass a function in the array:\n\n```js\nmodule.exports = {\n    \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        customSupportFunction,\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n};\n\n/**\n * @param {import('semver').SemVer} version\n * @param {Array<import('semver').SemVer>} allVersionsSortedLatestFirst\n * @returns {import('semantic-release-npm-deprecate-old-versions/rule').RuleResult}\n */\nfunction customSupportFunction(version, allVersionsSortedLatestFirst){\n  if (version.major === 4){\n    // This version cannot be deprecated by other rules\n    return { action: 'support' }\n  }\n\n  if (version.major === 3){\n    // This version will be deprecated, and other rules\n    // will not be applied\n    return {\n      action: 'deprecate',\n      reason: 'Because the new version is awesome'\n    }\n  }\n\n  // Let other rules decide\n  return { action: 'continue' }\n}\n```\n\n## Supported vs deprecated versions\n\nThis plugin considers that either a version is supported, or it is deprecated.\n\nEvery rule computes a status on each version. Rules are applied in order, they have 3 possible outputs:\n\n- `continue`: the rule does not enforce the status of the given version, it is left to the next rules to decide the status\n- `deprecate`: the rule declares that the given version is deprecated, no further rule will be able to change this status\n- `support`: the rule declares that the given version is supported, as a consequence, no further rule will be able to change its status\n\n## Available rules and options\n\n### support-latest\n\nThis rule allows to declare a certain number of releases as supported. This rule **does not apply to pre-releases**.\n\n#### Options\n\nConfiguration format\n\n```ts\n{\n  numberOfMajorReleases?: number | \"all\",\n  numberOfMinorReleases?: number | \"all\",\n  numberOfPatchReleases?: number | \"all\"\n}\n```\n\nAll these options are optional. If a value is not set, the default value will apply\n\n```json\n{\n  \"numberOfMajorReleases\": 1,\n  \"numberOfMinorReleases\": 1,\n  \"numberOfPatchReleases\": 1\n}\n```\n\n#### Examples\n\n##### Use a number to configure the number of supported values\n\noptions: `numberOfMajorReleases=2`\n\n| `2.0.1`       |`2.0.0`     | `1.0.2`    | `1.0.1`    | `1.0.0`    |\n| :------------ | :--------: | :--------: | :--------: | ---------: |\n| **support**   | continue   | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n##### Specify that all versions will be supported\n\noptions: \n- `numberOfMajorReleases=1`\n- `numberOfMinorReleases=\"all\"`\n\n| `2.2.0`       |`2.1.0`      | `2.0.1`    | `2.0.0`    | `1.0.0`    |\n| :------------ | :--------:  | :--------: | :--------: | ---------: |\n| **support**   | **support** | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n### support-prerelease-if-not-released\n\nThis rule allows to declare a certain number of pre-releases as supported. This rule **only applies to pre-releases**.\n\n#### Options\n\nConfiguration format\n```ts\n{\n  numberOfPreReleases: number | \"all\",\n}\n```\n\nDefault configuration option\n```json\n{\n  \"numberOfPreReleases\": 1,\n}\n```\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `3.0.0-alpha.2` | `3.0.0-alpha.1` | `3.0.0-alpha.0` | `2.0.0`  | `2.0.0-alpha.0`    |\n| :------------   | :-------------: | :-------------: | :------: | -----------------: |\n| **support**     | **support**     | continue        | continue | continue           |\n\n----------------------------------------------------------------------------------------\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`  | `2.0.0-alpha.0`    |\n| :-----   | -----------------: |\n| continue | continue           |\n\n`continue` means that the status of a version is not fixed by this rule\n\nIn this example the version `2.0.0-alpha.0` is not marked as supported because the version `2.0.0` has been released. \n\n### deprecate-all\n\nThis rule deprecate all remaining versions (not previously marked as supported).\n\nIt is meant to be used at the end of rules declaration.\n\n#### Options\n\nThis rule does not have any option\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`        | `1.0.0`           |\n| :------------  | ----------------: |\n| **deprecate**  | **deprecate**     | \n","readmeFilename":"README.md","gitHead":"dfd82ef16debe1e190eea2fd3d6066a740c4b297","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.2.0-beta.1","_nodeVersion":"16.13.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-GdkhbW1QoaPt/5yQAlxWFO9QioJBBa5OKYijPql052SNAwqFAkOtnx0PUJIMgLIv02AJZwaxD6hVtQXqkqd21w==","shasum":"96da597ba27799b56cad34cf2b80c0d2fcf13bbe","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.2.0-beta.1.tgz","fileCount":118,"unpackedSize":13169392,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyDdtCRA9TVsSAnZWagAAMdMP/RYbUBgcGujuMh/BuzGL\ni8qe951KL1tp2yNtgzrwiX88y18bPRNzcs5/gMyoSlUqKUfkjh8oF8dYbD7y\nTAqSDizeS9YgJrd3brhNJ7cb3PCNDDBaemu8xgzmLAi8DkYM3/Jmj/w5X8/d\nSHPVwQMKxrbkvBGdHN03j0QrKHo0rgWlGnoEnjRqXtXYmUNsIKLni5T3Vj+j\nxC7tKji7GTXyZXL+fAE0ZNOHOI1cL2O8WBlWKzdQd5E3YTOEcVlEquPZDb4g\nCltrwsRUvdTGOAFZCp30aNlmxoAM6/fFq6n0XjqZVCyh3YuiGrsgVa/r8M54\nG6Cu6VtGD5FkxNRiHhkGGK1AmdBv4BbMKj37GEPFnV5qS15qoJGXdoOdEoB1\nJB2Um/JFw54Nmqpc/v0C9a530fvrVnENpjCrTN7GlgFfMeHrdxXMn5u87TD3\nFkU2VIlO4bTHk1lG4Bfyp5uMnahDQjY4/T0NeU+tO09V8/2Set8kVSoiLa4D\nNdMpYP1LeDhtXbWDOG7bawfpKr6TN5tAGQ/oqqYX6x7vP7+LeSr5GDdPPrvV\n001f2mHDEsHqUqqIoVKg97V7I7FEEyKL8DX5NJX9gmhZng30LBYh3hLJX2cY\n4b5dauhp7dMshQx1zJ5M522qjM1StB+MkhLgyBlx51rKhfv/RolqoZStUeSu\niiQz\r\n=VF8o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAthNgYyYS815sl/9MCYNN5S2verI+mk7aKB8bXPP+dzAiEAkysvWT4cUXa3mxbVkRM5nkk3WAycG33frXFLxclgZlw="}]},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.2.0-beta.1_1640511341166_0.3747222932023502"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.2.3"},"1.2.0":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.2.0","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"48cd34044d87f10fe49265a9a33c50f3f9ef3b98","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.2.0","_nodeVersion":"16.13.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-upVwEbgbbfsh/j5iY4KWCSbGs3kF4w6WcEldrxx2hunr7zBLxbfZ3zXj9xC8fo/8csxHpE5Dn3rdCEpxAssyaQ==","shasum":"a7066178fd58a3060230452a48e41ad32f759671","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.2.0.tgz","fileCount":118,"unpackedSize":13169777,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyEkCCRA9TVsSAnZWagAAWn8QAIqmKNrWJ2rzjryLbPgk\n4Q4xFkrewmtAe6u8G7ogAE+x8d7CxLFa8Q7EiM0mPrvE+5lpexEhG6VWrwBV\nWjpR51lQGJQ3q1yOjzo+Bj9rNGNzK5y+NyxEj4+gugcy2K5vlyj5+/pWK1Bt\nCSRFXf8S7DaeDUAgR7btfDp42XFwsgBAWohOX9dO0YcdzPGYnW1OZJFVk8K1\n/wu8IQQEjHbGzAZk8aPzhgKSKmNSsAW632PNNWlykvcezFXPLUKvW5eLDtnn\nfqelWRtV9BXUSEGiaKBy7ubLNpLF5r4b497tqP8kKeeVWaUGAfgOOPMelevj\nW8/5xCbsY+ibERlIBzBUcQ0cMIcV//TUkAQWPd9TgHSJdJFCSfyUH2yfhFOA\neFc3T4NDLtxeZYgtqoojT2vqndw6WsG4noQEXLK3clVkVTeZfaGxz1CD15GP\ng3DC7xPpgLnCqmLnfYqwsrcencWvnrt0Op63KQOQdj9fz8ltBtBwkLbbUZHS\nyY+1rPjQfdK84y0T0lS77+t6zLFH8BiDxDb1be476XHEcMN6j+BcgwTLlWtZ\nUdcTdvfBDEBI5pwlaPjUjxMKJmNh3QqxYkeKzXoXKHJf2QsuuzCVYEBk/sDx\noVXU4zIfIOx6cjwxVtlJKOGLCJzLvzv2wT2EDgNhr/qrLkDPiHn7qz+qeNbP\nlFWM\r\n=GE8g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/hfm09ZmJPE+G9Ov14E3MnHvilQG+S4cS76a5F6GmsQIgUrAQY3D8uKH89Ykx+Gbj5a8psMpusuNHJhxh4Iea4hw="}]},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.2.0_1640515842282_0.6469386721280892"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.2.3"},"1.2.1":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.2.1","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"4fed2017de87726feafcad1791cbdaed442230b5","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.2.1","_nodeVersion":"16.13.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-i6OqPVl83Wt86kw7jdMFKLMwr8vKxuMzRHJrdBttFX+SxhM1cZ9kKb5roQhu6FzWWlmn3V3J/F7jM3cKTEnVhg==","shasum":"6e9d1e0f83a357a176f3b5f3577f0a60146ba385","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.2.1.tgz","fileCount":118,"unpackedSize":13173479,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyGAVCRA9TVsSAnZWagAA2rsP/07hUAZ4I1Z309zevvgz\n/tyt8UgF8r5ynZIF8JTsIfi+U+4pdU6OZnVaASJRBO6LkinTyySGvTNSBrxL\nFtT2PiJEDWBsGmH8pe0YYIHwqJCqfTDzYXjpIZPPHF8a3S1IB5ai0b1uhwZr\n1Y1VGCleUq20DOpX/b3GhJmMfTgftlbb52ubZfM1177e90E4iKF4IHO9zpYe\nYKqyANmYqqvAZuf91cMpGcpeu5WoGPz2zuZNd4IN/EeJT3FjVB3WB59DkvJn\n+iVOrkJfc/f1Ywc+L1ZTr6RFwbi90SawyoNko8XIElSX6WcmdDfIDsKg4eQf\nb4uTX2/zUNrpwznlGyC/m7iKyS6rBH2+4i5MQTzEZPpOC5NWb3cuIn++UQeS\nEe1kYivL9XYb2ilVZ1PLc+glnR5vE/UgTT4oPIzZ5nDwd9Vden+JOc2g5Ra/\nQcY0zUJMUIlIL5wjOQX9vw6cM9lCCjkcOGVzkb6LcoevTq/Em+p/6UOqr+/Z\nwb+rmCuOl6RryCExhIbNnobirFSsk2F+Pfe28nnF+F/8YiELML5ohHh9BItD\n02DuoEo2/kWrjK/ayVSiB7YGGxGCVwmRmQ7MBH7inJ8zDEe9fqwqvyoIy64h\nLE/jniY0L02sHJu69BTJcQviiy83vHPrdo6RJryelAke6on3iTa97nZHWV56\nyTwN\r\n=ocZZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7nWTGAD+ylPV9amsWe9esg0cdt3BwBmlCNkoVeRi+JgIgbUEU57qs3Hy/4g39cxmtkGk87hEeuMR6Po80UQmYNmM="}]},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.2.1_1640521749017_0.4273375598328082"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.2.3"},"1.2.2":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.2.2","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"5751667245a6582ab280bd2ad5093fff406c01c9","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.2.2","_nodeVersion":"16.13.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-I6xhwyZN/U2vnv+2vpf3vDRo81M+wxjlCFJ9vVTdUDUrHSCI9ic5KmmKjT3m2ueey6SnmRz4zJN0z1ngEB97Dg==","shasum":"8dbd070a30bb7fe927ccd53a0a9eb8bcada97304","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.2.2.tgz","fileCount":118,"unpackedSize":13180016,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzwugCRA9TVsSAnZWagAAa3sP/3Lm5dvcIBr1VNiuobiO\n1Dloc6MWvOlgIglccpZROy3h2OoWjQFpOXR9qcNHpcnUEmWh26p7tTQSyYtm\nTTwsVNLwEwXQ+qcalFlfWjciE5YDOUGEMJn8Tsr5L38YFQq/+WZGjoonBRY9\n/vBdAfVW0wUyA+bd2s9na3t+8BDOVD4sFpy3VqMGNpOKTgkttdYvYUdJCFLd\nNV4RnAGSjCXeQOhJPPFww5FMq8p5b8uyo992NnosIg1KT7aHVrIg1Y87nSS8\n+gj4KKmwySREWMky/9Pg7QvyMS+svvwX+BWRmPFJk8FyKC7fqI9scB8vvFjd\n7WEHFQPPvN3yt2MhBj/c0l04oXX5MoPVWTov4i+sgX1QGES/KTKpfTVJt8YB\n1P5TmkIrllQmpRdnK6OdoCjftFl5BXW/BxFaPeUXtiFrXqgW714+UBuo+xWT\n5k3r+eWPhEnlvOGaswFu/GI6ZXU2R9eLfK4EqMkLhY9rjxfuO1hT/EVV2+mj\no8vNFdTt+HHRmtjdYPFJ0/z0nM397dhmRu/ZoMaFCWofvKc/VLZm3Ut1ekjB\ndRdwOpy3posod/gjctM/psTXaBwvEAvXex7twzsoAfYGW3tnbw7zy2rgL3mb\nbYg3gC4Xs1ha80VxD47PAa8bHwnRMymXva+dOjgK6zKIbyO4egAVMwm4tSfg\n4qTf\r\n=XJ/N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQYrNCvoOdp7MOWQCN5qtrjNaSpAlYpw4EMQQNeWk1qgIgbQ4F1DJdsSK0R555t9afx92BLk7i7tv2V+ii5arfAZM="}]},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.2.2_1640958880054_0.2752327897414548"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.2.3"},"1.3.0-alpha.1":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.3.0-alpha.1","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"readme":"[![npm version](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions.svg)](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions)[![Maintainability](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/maintainability)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/test_coverage)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/test_coverage)\n\n## Installation and usage\n\n- Install with: `npm install semantic-release-npm-deprecate-old-versions --save-dev`\n- Set the environment variable `NPM_TOKEN` (same config than `@semantic-release/npm`)\n- Update your `releaserc` configuration file\n\n### Configuration\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    \"semantic-release-npm-deprecate-old-versions\"\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        \"supportLatest\",\n        \"supportPreReleaseIfNotReleased\",\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        { \n          \"rule\": \"supportLatest\", \n          \"options\": {\n            \"numberOfMajorReleases\": 1,\n            \"numberOfMinorReleases\": 1,\n            \"numberOfPatchReleases\": 1\n          }\n        },\n        { \n          \"rule\": \"supportPreReleaseIfNotReleased\", \n          \"options\": {\n            \"numberOfPreReleases\": 1,\n          }\n        },\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\n## Extend rules\n\nIf you have a javascript configuration file for releases, you can pass a function in the array:\n\n```js\nmodule.exports = {\n    \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        customSupportFunction,\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n};\n\n/**\n * @param {import('semver').SemVer} version\n * @param {Array<import('semver').SemVer>} allVersionsSortedLatestFirst\n * @returns {import('semantic-release-npm-deprecate-old-versions/rule').RuleResult}\n */\nfunction customSupportFunction(version, allVersionsSortedLatestFirst){\n  if (version.major === 4){\n    // This version cannot be deprecated by other rules\n    return { action: 'support' }\n  }\n\n  if (version.major === 3){\n    // This version will be deprecated, and other rules\n    // will not be applied\n    return {\n      action: 'deprecate',\n      reason: 'Because the new version is awesome'\n    }\n  }\n\n  // Let other rules decide\n  return { action: 'continue' }\n}\n```\n\n## Supported vs deprecated versions\n\nThis plugin considers that either a version is supported, or it is deprecated.\n\nEvery rule computes a status on each version. Rules are applied in order, they have 3 possible outputs:\n\n- `continue`: the rule does not enforce the status of the given version, it is left to the next rules to decide the status\n- `deprecate`: the rule declares that the given version is deprecated, no further rule will be able to change this status\n- `support`: the rule declares that the given version is supported, as a consequence, no further rule will be able to change its status\n\n## Available rules and options\n\n### support-latest\n\nThis rule allows to declare a certain number of releases as supported. This rule **does not apply to pre-releases**.\n\n#### Options\n\nConfiguration format\n\n```ts\n{\n  numberOfMajorReleases?: number | \"all\",\n  numberOfMinorReleases?: number | \"all\",\n  numberOfPatchReleases?: number | \"all\"\n}\n```\n\nAll these options are optional. If a value is not set, the default value will apply\n\n```json\n{\n  \"numberOfMajorReleases\": 1,\n  \"numberOfMinorReleases\": 1,\n  \"numberOfPatchReleases\": 1\n}\n```\n\n#### Examples\n\n##### Use a number to configure the number of supported values\n\noptions: `numberOfMajorReleases=2`\n\n| `2.0.1`       |`2.0.0`     | `1.0.2`    | `1.0.1`    | `1.0.0`    |\n| :------------ | :--------: | :--------: | :--------: | ---------: |\n| **support**   | continue   | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n##### Specify that all versions will be supported\n\noptions: \n- `numberOfMajorReleases=1`\n- `numberOfMinorReleases=\"all\"`\n\n| `2.2.0`       |`2.1.0`      | `2.0.1`    | `2.0.0`    | `1.0.0`    |\n| :------------ | :--------:  | :--------: | :--------: | ---------: |\n| **support**   | **support** | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n### support-prerelease-if-not-released\n\nThis rule allows to declare a certain number of pre-releases as supported. This rule **only applies to pre-releases**.\n\n#### Options\n\nConfiguration format\n```ts\n{\n  numberOfPreReleases: number | \"all\",\n}\n```\n\nDefault configuration option\n```json\n{\n  \"numberOfPreReleases\": 1,\n}\n```\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `3.0.0-alpha.2` | `3.0.0-alpha.1` | `3.0.0-alpha.0` | `2.0.0`  | `2.0.0-alpha.0`    |\n| :------------   | :-------------: | :-------------: | :------: | -----------------: |\n| **support**     | **support**     | continue        | continue | continue           |\n\n----------------------------------------------------------------------------------------\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`  | `2.0.0-alpha.0`    |\n| :-----   | -----------------: |\n| continue | continue           |\n\n`continue` means that the status of a version is not fixed by this rule\n\nIn this example the version `2.0.0-alpha.0` is not marked as supported because the version `2.0.0` has been released. \n\n### deprecate-all\n\nThis rule deprecate all remaining versions (not previously marked as supported).\n\nIt is meant to be used at the end of rules declaration.\n\n#### Options\n\nThis rule does not have any option\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`        | `1.0.0`           |\n| :------------  | ----------------: |\n| **deprecate**  | **deprecate**     | \n","readmeFilename":"README.md","gitHead":"1da5ea74cf74c8406c885d2a54bd0eeea4914e59","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.3.0-alpha.1","_nodeVersion":"16.13.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-8XI5DO92pbFxUJN7vSIh4UQAit5wVYIQDiT+/G0BCtSGDatxEDFUBMPhM3nBZufWUWPVlHKGG4roDz61bFOkYg==","shasum":"9fb5a19a3f3183d56129e3d35670bb3650785efb","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.3.0-alpha.1.tgz","fileCount":118,"unpackedSize":13188516,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzxadCRA9TVsSAnZWagAA5+8P/iiHyjf22Is8Kyp8kg9H\nmfWBjIoLbDE1eaTS++SsMWly9ybsE1GLTXIml2GCwMnHZbc2q0dPNrIPFIJ3\nr6N/6au/prH9P/HETxO1GgGssXruVm9wMgdfqM9HQTFUx8s+9+Q6d00lkXa0\n7gGJspOcxYgmLNk3NJDmbWqH3OKaMtcS0aDzjoukBZSDFOxXekyxSi+cStGb\n7VC6/pt1ilmka4E6KqztLW0S5pVBL+FWaJVaH4rBBOXvYpvQlrKuaL5OPCkh\n7/5dL6HFitcY3+tZ8U8TWIxgGM/Xx+6vdyPrj1tO4Cz+UdPnWQAjEqoczRTc\nJoSQyFjSGEEHq5cynJJvoi8C2EXhr2ThQwMAwLsZW735qqiDFyBwW5uIREe7\nnNIZ69Mqj6JCu/V8DSmiRjFube7dCotIAeifqRgYz+YcwHskp3biv2+fSzzW\neLIOdvEs/owuzTUSPAhFQ9a7gTMYkijd49++wC+paIu8k3UzmJ7IQ//oOIxI\nksG0auVU7kGRhgvRAYGJcRLBseLAQps6ehxareMYW7yWELaWcF8l+bM9E750\nqDyupJMu34OilDpR0+EiolojxExoh6BiILdq+eS3AvzoW3haeKvO1p0dvrvN\n+booFpAkHcgYXlWhTivu7ezTIfxRyWRrxLNTT7e4vvfmqWN1F8dYXRpJ4C6O\nOwvc\r\n=HVUr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYpC34Cflls+7ZCK9x8eEmwZUuBUfHgbIpG1MiFiIJCwIhAIow0FbHo6X5FdCT4zVBKadxDVwXsVpf9h8T5GR3YCbV"}]},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.3.0-alpha.1_1640961693734_0.502019937886605"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.3.0-alpha.2"},"1.2.3":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.2.3","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"5aa31cc7a6011056dc5b545bd31ad20e6a40d356","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.2.3","_nodeVersion":"16.13.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-qyiTl+ci0z3eN1tSEB8BQMhuzlI7E5cavlaE9KRUzCWhr7VJSbBEa0KVHY8MZJnoO0ia4kl7DQriiEROIbbuFQ==","shasum":"b469f86a11bc8dc3dd6bb849bfbe8221e45006fb","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.2.3.tgz","fileCount":118,"unpackedSize":13179107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzxkuCRA9TVsSAnZWagAArr8P/jsOU7ZLJsxhMaigls9I\nXgmW0MPq1cgr6jQrG2DY9t2vQd1uIbu6krMarvVU8QQDiqxKFmOMxW0nLSUJ\nkbSGIwjF+lrBLSiKyPBFOZFRiXFQlaUTlkAQIfhAem7AgYITXUwLifbr9HKc\n4/DZjGZxcx8KBo9VLL9kwHWmdUKIuC+XvtecA9VNQf12cX+PVan0XTQaB2ZK\nGDSRucY1D6qcE4Misg+rN3WMq/8ZSeGXJwc6Ofo8JID49I37mbd2oVuT0CZB\n8OoCa5iX13Szw4gIV97i3dHvhONcz4ADWvCM1plDf2GmPAQZjUzUhQYiphDR\n1Hc5AdAcvsU1tR5Zug3IzR67dhp8j7oOd/nJ5UPW7TZZtVPQjautHKupgz2T\ny/msF5HZyh4OqLWndjGxQYzeVFjtswc4LDbB3XtPLHnNeFc2+jwZ4BW7TNoC\nbmelAb53EjF+GFIY1Vn73ghk3agPj3ZHI4XEM6htDWCc+PUcRA9gsstjPpf3\nLxcDsvrOxJFwam/17uwLuqZSUjh9NdtkP3kvMO8sEaq+29twUaFofSp/pcZU\n1t/sXZn9PJ4zv8ghU3QsALK7HI4pUG8BTViPk89kfso6xVcsP+UDaZKJvFIS\n5q648Nl689scx5jNZ6IgJxauvQhwXI39xYe9dQwQ7KO3l0EXDkyNjkTRwvfh\nA1O3\r\n=VWAj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJBOQXxicje0fa8kk9eLoXY+OeR9s9D1EHFDfW1A0SUAIhAIb8gskXXqNYq0tHaVf/syC5PvXuNI1KBf4DnS4x/d4h"}]},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.2.3_1640962350149_0.38906142631108187"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.3.1-alpha.1"},"1.3.0-alpha.2":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.3.0-alpha.2","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"readme":"[![npm version](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions.svg)](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions)[![Maintainability](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/maintainability)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/test_coverage)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/test_coverage)\n\n## Installation and usage\n\n- Install with: `npm install semantic-release-npm-deprecate-old-versions --save-dev`\n- Set the environment variable `NPM_TOKEN` (same config than `@semantic-release/npm`)\n- Update your `releaserc` configuration file\n\n### Configuration\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    \"semantic-release-npm-deprecate-old-versions\"\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        \"supportLatest\",\n        \"supportPreReleaseIfNotReleased\",\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        { \n          \"rule\": \"supportLatest\", \n          \"options\": {\n            \"numberOfMajorReleases\": 1,\n            \"numberOfMinorReleases\": 1,\n            \"numberOfPatchReleases\": 1\n          }\n        },\n        { \n          \"rule\": \"supportPreReleaseIfNotReleased\", \n          \"options\": {\n            \"numberOfPreReleases\": 1,\n          }\n        },\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\n## Extend rules\n\nIf you have a javascript configuration file for releases, you can pass a function in the array:\n\n```js\nmodule.exports = {\n    \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        customSupportFunction,\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n};\n\n/**\n * @param {import('semver').SemVer} version\n * @param {Array<import('semver').SemVer>} allVersionsSortedLatestFirst\n * @returns {import('semantic-release-npm-deprecate-old-versions/rule').RuleResult}\n */\nfunction customSupportFunction(version, allVersionsSortedLatestFirst){\n  if (version.major === 4){\n    // This version cannot be deprecated by other rules\n    return { action: 'support' }\n  }\n\n  if (version.major === 3){\n    // This version will be deprecated, and other rules\n    // will not be applied\n    return {\n      action: 'deprecate',\n      reason: 'Because the new version is awesome'\n    }\n  }\n\n  // Let other rules decide\n  return { action: 'continue' }\n}\n```\n\n## Supported vs deprecated versions\n\nThis plugin considers that either a version is supported, or it is deprecated.\n\nEvery rule computes a status on each version. Rules are applied in order, they have 3 possible outputs:\n\n- `continue`: the rule does not enforce the status of the given version, it is left to the next rules to decide the status\n- `deprecate`: the rule declares that the given version is deprecated, no further rule will be able to change this status\n- `support`: the rule declares that the given version is supported, as a consequence, no further rule will be able to change its status\n\n## Available rules and options\n\n### support-latest\n\nThis rule allows to declare a certain number of releases as supported. This rule **does not apply to pre-releases**.\n\n#### Options\n\nConfiguration format\n\n```ts\n{\n  numberOfMajorReleases?: number | \"all\",\n  numberOfMinorReleases?: number | \"all\",\n  numberOfPatchReleases?: number | \"all\"\n}\n```\n\nAll these options are optional. If a value is not set, the default value will apply\n\n```json\n{\n  \"numberOfMajorReleases\": 1,\n  \"numberOfMinorReleases\": 1,\n  \"numberOfPatchReleases\": 1\n}\n```\n\n#### Examples\n\n##### Use a number to configure the number of supported values\n\noptions: `numberOfMajorReleases=2`\n\n| `2.0.1`       |`2.0.0`     | `1.0.2`    | `1.0.1`    | `1.0.0`    |\n| :------------ | :--------: | :--------: | :--------: | ---------: |\n| **support**   | continue   | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n##### Specify that all versions will be supported\n\noptions: \n- `numberOfMajorReleases=1`\n- `numberOfMinorReleases=\"all\"`\n\n| `2.2.0`       |`2.1.0`      | `2.0.1`    | `2.0.0`    | `1.0.0`    |\n| :------------ | :--------:  | :--------: | :--------: | ---------: |\n| **support**   | **support** | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n### support-prerelease-if-not-released\n\nThis rule allows to declare a certain number of pre-releases as supported. This rule **only applies to pre-releases**.\n\n#### Options\n\nConfiguration format\n```ts\n{\n  numberOfPreReleases: number | \"all\",\n}\n```\n\nDefault configuration option\n```json\n{\n  \"numberOfPreReleases\": 1,\n}\n```\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `3.0.0-alpha.2` | `3.0.0-alpha.1` | `3.0.0-alpha.0` | `2.0.0`  | `2.0.0-alpha.0`    |\n| :------------   | :-------------: | :-------------: | :------: | -----------------: |\n| **support**     | **support**     | continue        | continue | continue           |\n\n----------------------------------------------------------------------------------------\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`  | `2.0.0-alpha.0`    |\n| :-----   | -----------------: |\n| continue | continue           |\n\n`continue` means that the status of a version is not fixed by this rule\n\nIn this example the version `2.0.0-alpha.0` is not marked as supported because the version `2.0.0` has been released. \n\n### deprecate-all\n\nThis rule deprecate all remaining versions (not previously marked as supported).\n\nIt is meant to be used at the end of rules declaration.\n\n#### Options\n\nThis rule does not have any option\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`        | `1.0.0`           |\n| :------------  | ----------------: |\n| **deprecate**  | **deprecate**     | \n","readmeFilename":"README.md","gitHead":"51f10e6384f5672a0c2393fbee3375fb138e0c0d","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.3.0-alpha.2","_nodeVersion":"16.13.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-v7thZPkjAP97lcAJVIwWXx06PSnobUAWGsNxKhmLS+i5PdT8r0ekUcOx0aXN8wUwbjuKqI0XBqS0T526Ipc9pA==","shasum":"277c089adece17bc7c9f6cdc412bbb48454363a4","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.3.0-alpha.2.tgz","fileCount":118,"unpackedSize":13188777,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzxnGCRA9TVsSAnZWagAAY04P/2hcE6MJbp7SPN0INvat\nnUH6uDtO+6hwxYT+fn5rlziGTmNgLnHeL4NNw55/xp4rkDWqlqrn7d6mjhTg\naFe35OeX7hGGHdGpyDeAPX4QkvDDrPxF+xR26P4phpfmIOf+1UYYMjGIf1d9\nWe51jzenMtSke6UCrbuCgAdI9RM3Ran8nKPvMWhw3kKp3c16SBQI3BYxkSxC\nx8T7HE0LvA1+zq/c6oC1j/6EJnLuSr57TOVcj+WSSNXm4wlvwHy/eX7QhwFM\nk+KDJsP7ERPIFHEkqOT3U+w9952NGETYyF1vRJQsW1LWWbr3bWo//e8ajy9r\nyEZBV6eLvgedEF0LMSYC43Vyjnf3M3Yt+54zZJ2ojWGFOi3KV2PJ/uohcx3h\nFoqLCIpmuSHSZa9vPyAGM3fzl1XfLDT0GUn5sIrr+CkTXhLqwHkaKXbcWS9q\nlG5/RQjRiS2TqlDJthsZ3z1OjHMfwg7vdbYKaFbR24IPfVd8bJe31FSN0G0M\nr4GxHHam+vvjtKs8T3T5mDz5T1QRduFimq7obwGRlRf9k1nxQjCSZj5l5dbN\nZ5eGw2WI8sdSvDL8Zgi2UPiqypPFGRpM9WauA9sOTFwVtRfzMLTU+aW8+0ZW\nfcTzokkA7tNCNC24oMezEV2sKicshrQSXplG0Fy/a5LwIl+iIfc6rTLzQJsP\nolc7\r\n=Z1tj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG+RKkOzWAJy5Ve+eIcOoXs6M/TI/r6c1m/MUvA1GxkDAiAzWUmNkncmDxASlLtRouw+jgrV6+7EZsTT3wWQ3kzcow=="}]},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.3.0-alpha.2_1640962501776_0.5600903505970052"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.3.0-alpha.3"},"1.3.0-alpha.3":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.3.0-alpha.3","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"readme":"[![npm version](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions.svg)](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions)[![Maintainability](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/maintainability)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/test_coverage)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/test_coverage)\n\n## Installation and usage\n\n- Install with: `npm install semantic-release-npm-deprecate-old-versions --save-dev`\n- Set the environment variable `NPM_TOKEN` (same config than `@semantic-release/npm`)\n- Update your `releaserc` configuration file\n\n### Configuration\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    \"semantic-release-npm-deprecate-old-versions\"\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        \"supportLatest\",\n        \"supportPreReleaseIfNotReleased\",\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        { \n          \"rule\": \"supportLatest\", \n          \"options\": {\n            \"numberOfMajorReleases\": 1,\n            \"numberOfMinorReleases\": 1,\n            \"numberOfPatchReleases\": 1\n          }\n        },\n        { \n          \"rule\": \"supportPreReleaseIfNotReleased\", \n          \"options\": {\n            \"numberOfPreReleases\": 1,\n          }\n        },\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\n## Extend rules\n\nIf you have a javascript configuration file for releases, you can pass a function in the array:\n\n```js\nmodule.exports = {\n    \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        customSupportFunction,\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n};\n\n/**\n * @param {import('semver').SemVer} version\n * @param {Array<import('semver').SemVer>} allVersionsSortedLatestFirst\n * @returns {import('semantic-release-npm-deprecate-old-versions/rule').RuleResult}\n */\nfunction customSupportFunction(version, allVersionsSortedLatestFirst){\n  if (version.major === 4){\n    // This version cannot be deprecated by other rules\n    return { action: 'support' }\n  }\n\n  if (version.major === 3){\n    // This version will be deprecated, and other rules\n    // will not be applied\n    return {\n      action: 'deprecate',\n      reason: 'Because the new version is awesome'\n    }\n  }\n\n  // Let other rules decide\n  return { action: 'continue' }\n}\n```\n\n## Supported vs deprecated versions\n\nThis plugin considers that either a version is supported, or it is deprecated.\n\nEvery rule computes a status on each version. Rules are applied in order, they have 3 possible outputs:\n\n- `continue`: the rule does not enforce the status of the given version, it is left to the next rules to decide the status\n- `deprecate`: the rule declares that the given version is deprecated, no further rule will be able to change this status\n- `support`: the rule declares that the given version is supported, as a consequence, no further rule will be able to change its status\n\n## Available rules and options\n\n### support-latest\n\nThis rule allows to declare a certain number of releases as supported. This rule **does not apply to pre-releases**.\n\n#### Options\n\nConfiguration format\n\n```ts\n{\n  numberOfMajorReleases?: number | \"all\",\n  numberOfMinorReleases?: number | \"all\",\n  numberOfPatchReleases?: number | \"all\"\n}\n```\n\nAll these options are optional. If a value is not set, the default value will apply\n\n```json\n{\n  \"numberOfMajorReleases\": 1,\n  \"numberOfMinorReleases\": 1,\n  \"numberOfPatchReleases\": 1\n}\n```\n\n#### Examples\n\n##### Use a number to configure the number of supported values\n\noptions: `numberOfMajorReleases=2`\n\n| `2.0.1`       |`2.0.0`     | `1.0.2`    | `1.0.1`    | `1.0.0`    |\n| :------------ | :--------: | :--------: | :--------: | ---------: |\n| **support**   | continue   | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n##### Specify that all versions will be supported\n\noptions: \n- `numberOfMajorReleases=1`\n- `numberOfMinorReleases=\"all\"`\n\n| `2.2.0`       |`2.1.0`      | `2.0.1`    | `2.0.0`    | `1.0.0`    |\n| :------------ | :--------:  | :--------: | :--------: | ---------: |\n| **support**   | **support** | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n### support-prerelease-if-not-released\n\nThis rule allows to declare a certain number of pre-releases as supported. This rule **only applies to pre-releases**.\n\n#### Options\n\nConfiguration format\n```ts\n{\n  numberOfPreReleases: number | \"all\",\n}\n```\n\nDefault configuration option\n```json\n{\n  \"numberOfPreReleases\": 1,\n}\n```\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `3.0.0-alpha.2` | `3.0.0-alpha.1` | `3.0.0-alpha.0` | `2.0.0`  | `2.0.0-alpha.0`    |\n| :------------   | :-------------: | :-------------: | :------: | -----------------: |\n| **support**     | **support**     | continue        | continue | continue           |\n\n----------------------------------------------------------------------------------------\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`  | `2.0.0-alpha.0`    |\n| :-----   | -----------------: |\n| continue | continue           |\n\n`continue` means that the status of a version is not fixed by this rule\n\nIn this example the version `2.0.0-alpha.0` is not marked as supported because the version `2.0.0` has been released. \n\n### deprecate-all\n\nThis rule deprecate all remaining versions (not previously marked as supported).\n\nIt is meant to be used at the end of rules declaration.\n\n#### Options\n\nThis rule does not have any option\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`        | `1.0.0`           |\n| :------------  | ----------------: |\n| **deprecate**  | **deprecate**     | \n","readmeFilename":"README.md","gitHead":"a4ba73f3ec2bb47cf1355b678aa19878db7cbb65","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.3.0-alpha.3","_nodeVersion":"16.13.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-zXgqyUPTkgmqO5whv2XBo1WaysYXFyN8PUG0YTvz1MQjfPHNgTFDFei+hV71+msFqJQGyXVObIGlGrIZJ8nBiw==","shasum":"235cdabc2b6e31dfaa69e014af8e1207409e4f94","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.3.0-alpha.3.tgz","fileCount":118,"unpackedSize":13188310,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzxraCRA9TVsSAnZWagAA/FAP/0KXYDkWBk6aIrzPnU0P\niuFEYKgOQ60Qtj5IvAeCOkh2r5oL49QX+AOC1pBJbPHU1uULfDPZeaV0XsIH\nyQLW7S13yQy3dW8jURIkzkixhJ8PUSiba7ouKM5vzg7tA1pLBPOFN9l05nEI\ni2Fho/aTEhVJOBxPi19Wib+m+1msRX0ajEFEQAGf5vi7SFwYv48epvlM2iWP\nHcQdExEl5w1Q9RF0S/NBxI0bK6h+eBQuLdUek4daFdMiWR6r0WdjVyIIPSSg\nO6Jc7iE0l6iLI0Jv2GJMJxdBTpDyPipQQMobRzBuBLZGT9/JkS6+DK6zFAdy\nJ4+5BvvCuEkj8BUENuCdBsH8vQfOuLqkABagO8SeoNeESCIOiUAAuKdlx4Rx\ncBCqz03WdJBtUJKQ3DE2lHH0+CLpwhxhehPgsswK1NwUEt/snKRONfRRoYLQ\nwlj84q/RsF4frW1TC9FiZYHimw6sKkQCbf+cFbUfQQXuW6PIT7Reu+DTceJg\no+2Se230vX1HcUyEzcNUILWjINzK9/qpgMY8AkgDVOmIYIu+jcsdTbSzFc+e\nRizKw1PnyzFCYqIfpjBd6l7NBc8ZxU0WrBltA8aA4rQCDFnFUgqwqWi+ThJC\njLB5hS+H2cC8NVc8a1+9RRV/MnO+G4sD+AJ43CEsZXnWbgfqkMxYJ6OaieFh\nfI+f\r\n=MQ0T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDxN5Ke7pzeAV3G+pHtdrUZRpOaj1TFDr67NF4Q1/kglAiEA0J5dXCkxQjXFeTYbY4oATkq9i9GzcZb6UTIxVkG1Ehw="}]},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.3.0-alpha.3_1640962778315_0.11438438401259621"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.3.0"},"1.3.0":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.3.0","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"557f06917bb2fac2d396deceb4b6b67de0e4cc6d","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.3.0","_nodeVersion":"16.13.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-cFCpPO3G3JFgY1N3pYMwPNz/L5oSJTa5cj77ctEsoD400oM3VTAzrvjlUHhjoSbap7E+hZTFOehSs0yfr+rzgw==","shasum":"ea0ac84e668963d1f933488c7aae636670036153","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.3.0.tgz","fileCount":118,"unpackedSize":13189216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzxtZCRA9TVsSAnZWagAATr4P/00SyG++kn4XPqYshsZT\niHn4H7Yp5PV6aNo7avy6ZyIIUIf8wDVqAqsCwlzys5y28lAbl+ybD3mWStId\nOjDCMA3/kbCmpQptKnPiebF1bGearwZnN9oGSdRj7uK8CFgHBGfT7rqIYosJ\nsT0t/4kjF2X4NaU49Dh2xBea6gAamGAR8LgRtxdmuT/1HBf6N095ON8LzbXc\n4JJDBRBRIUtafGaPVe7URyO3qlUIcHN+JbIkZcn+/I6AlF/gb2j6RdRhT55g\nT/KsvXaQipKk3KJerEk01AXzSerItgCzTXyaE7I0fY9QTgnzrYi+R4W6vFSn\nJ/njWMB7f3ZNFiYiXBqxFndqpteLHLjKUJwHj7e27bmp6KcTHrHKkBZHbmtv\nyCiTL5TntT8B3U7vpuuG4zGORbnNznrw7NvaHgfUCzTAL2qhutnXpLB21EW1\nlcXzsVoPx8mqV/4M0ZdMGoTWFO/UnDheqlwdmd81Kk/ZmE2tzsEgQn+FOXuB\nlAbytsIjM855qfV9zetrsykGIaesX8IXYdN/2Whv1Nifh5IVi4HK1I0FTZTu\n6FR/jLKFmDrRVoSW+pSAUYWmVR5R3bnnTvpPXrJxfbxHHYOeFG1ZDUMTXMO/\nTJ8hKmtDdFQbiZFpCw2wh/NMcyXs7HcMKn3v1BaoKJHDD0ltbejFK60ciKYU\nI8vF\r\n=r2pe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyBTnJYsCuC3n20bjHiS/auWVZLlz9tkZ3LuPLf76FpgIhAIvr3l/xsAcoWoO4T+eDwfDMD3pKCoiDUv8Ggy2dNjo5"}]},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.3.0_1640962905455_0.9987025186018281"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.3.1"},"1.3.1-alpha.1":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.3.1-alpha.1","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"readme":"[![npm version](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions.svg)](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions)[![Maintainability](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/maintainability)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/test_coverage)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/test_coverage)\n\n## Installation and usage\n\n- Install with: `npm install semantic-release-npm-deprecate-old-versions --save-dev`\n- Set the environment variable `NPM_TOKEN` (same config than `@semantic-release/npm`)\n- Update your `releaserc` configuration file\n\n### Configuration\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    \"semantic-release-npm-deprecate-old-versions\"\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        \"supportLatest\",\n        \"supportPreReleaseIfNotReleased\",\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        { \n          \"rule\": \"supportLatest\", \n          \"options\": {\n            \"numberOfMajorReleases\": 1,\n            \"numberOfMinorReleases\": 1,\n            \"numberOfPatchReleases\": 1\n          }\n        },\n        { \n          \"rule\": \"supportPreReleaseIfNotReleased\", \n          \"options\": {\n            \"numberOfPreReleases\": 1,\n          }\n        },\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\n## Extend rules\n\nIf you have a javascript configuration file for releases, you can pass a function in the array:\n\n```js\nmodule.exports = {\n    \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        customSupportFunction,\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n};\n\n/**\n * @param {import('semver').SemVer} version\n * @param {Array<import('semver').SemVer>} allVersionsSortedLatestFirst\n * @returns {import('semantic-release-npm-deprecate-old-versions/rule').RuleResult}\n */\nfunction customSupportFunction(version, allVersionsSortedLatestFirst){\n  if (version.major === 4){\n    // This version cannot be deprecated by other rules\n    return { action: 'support' }\n  }\n\n  if (version.major === 3){\n    // This version will be deprecated, and other rules\n    // will not be applied\n    return {\n      action: 'deprecate',\n      reason: 'Because the new version is awesome'\n    }\n  }\n\n  // Let other rules decide\n  return { action: 'continue' }\n}\n```\n\n## Supported vs deprecated versions\n\nThis plugin considers that either a version is supported, or it is deprecated.\n\nEvery rule computes a status on each version. Rules are applied in order, they have 3 possible outputs:\n\n- `continue`: the rule does not enforce the status of the given version, it is left to the next rules to decide the status\n- `deprecate`: the rule declares that the given version is deprecated, no further rule will be able to change this status\n- `support`: the rule declares that the given version is supported, as a consequence, no further rule will be able to change its status\n\n## Available rules and options\n\n### support-latest\n\nThis rule allows to declare a certain number of releases as supported. This rule **does not apply to pre-releases**.\n\n#### Options\n\nConfiguration format\n\n```ts\n{\n  numberOfMajorReleases?: number | \"all\",\n  numberOfMinorReleases?: number | \"all\",\n  numberOfPatchReleases?: number | \"all\"\n}\n```\n\nAll these options are optional. If a value is not set, the default value will apply\n\n```json\n{\n  \"numberOfMajorReleases\": 1,\n  \"numberOfMinorReleases\": 1,\n  \"numberOfPatchReleases\": 1\n}\n```\n\n#### Examples\n\n##### Use a number to configure the number of supported values\n\noptions: `numberOfMajorReleases=2`\n\n| `2.0.1`       |`2.0.0`     | `1.0.2`    | `1.0.1`    | `1.0.0`    |\n| :------------ | :--------: | :--------: | :--------: | ---------: |\n| **support**   | continue   | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n##### Specify that all versions will be supported\n\noptions: \n- `numberOfMajorReleases=1`\n- `numberOfMinorReleases=\"all\"`\n\n| `2.2.0`       |`2.1.0`      | `2.0.1`    | `2.0.0`    | `1.0.0`    |\n| :------------ | :--------:  | :--------: | :--------: | ---------: |\n| **support**   | **support** | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n### support-prerelease-if-not-released\n\nThis rule allows to declare a certain number of pre-releases as supported. This rule **only applies to pre-releases**.\n\n#### Options\n\nConfiguration format\n```ts\n{\n  numberOfPreReleases: number | \"all\",\n}\n```\n\nDefault configuration option\n```json\n{\n  \"numberOfPreReleases\": 1,\n}\n```\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `3.0.0-alpha.2` | `3.0.0-alpha.1` | `3.0.0-alpha.0` | `2.0.0`  | `2.0.0-alpha.0`    |\n| :------------   | :-------------: | :-------------: | :------: | -----------------: |\n| **support**     | **support**     | continue        | continue | continue           |\n\n----------------------------------------------------------------------------------------\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`  | `2.0.0-alpha.0`    |\n| :-----   | -----------------: |\n| continue | continue           |\n\n`continue` means that the status of a version is not fixed by this rule\n\nIn this example the version `2.0.0-alpha.0` is not marked as supported because the version `2.0.0` has been released. \n\n### deprecate-all\n\nThis rule deprecate all remaining versions (not previously marked as supported).\n\nIt is meant to be used at the end of rules declaration.\n\n#### Options\n\nThis rule does not have any option\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`        | `1.0.0`           |\n| :------------  | ----------------: |\n| **deprecate**  | **deprecate**     | \n","readmeFilename":"README.md","gitHead":"096ce4a20ad8c1cb61bd8bf4485fd1170dffc5dc","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.3.1-alpha.1","_nodeVersion":"16.13.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-Ki8K0dPsT72dypHLnWaTU5NbDYekll2MakRJ4k0XW0ij5giAL7e1vaSAwrC898s1t+LdIA5FwDMfrOlYGE20pA==","shasum":"7c688927a4f3c41e2b78cda02e6fc2350fcf3958","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.3.1-alpha.1.tgz","fileCount":118,"unpackedSize":13195013,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0qYPCRA9TVsSAnZWagAATscP/2FG2f2BmtJHc+P1tsaY\nLiscMsAl+ewGyJw55EfT5775ZJUpg+0+78BTbGo2vap8au5dg9vKDaOtq4Uy\nu+6GXldOntH/OXm36pD9IiAxNHhCN2cVWXistSGLMrCaCR8h12pvgLK2pZxh\n/11RLHjgikgtTgHxiENwOk3m3X38S4T12o8DnzajZKIgPZgAy+qByE4R8nZh\nDbnMfpB8U1vY18oUneP8p51MbZab6QzKl5kfvrcReGpTolpCScNeYXkNYPTH\nXl1UxUWIXNeAcCmqPq7glBdEJ473XaBOsCRe6aScdJHmTzuzUDfHoUqqiBA2\nJNP6SAIKaSgujr/U2h2gcd++NyU648wlZRHCITl/JjcrwqhGTApOogOGHEV4\nHil0Ru3aK3/np/SYTVLw1Iw+SZDN7ifrigqdsLoSH/yP0tBjan4IuVRNIuz0\nG2UQffQW8BbzYLAwuI+TUtJKpRUuzTzo1Ckjr2tHiRl2OF5yNI0XoMbJ+4a3\n4v9tkDqY5GTFXN9zDicpsG7nsU+h5quj6yDQsnx7sVfDli6dfZFBQEJZxScG\nekcGjkMifxkR29c4EQArConULPCDXg6rjviKKE2+viP1BnMCXH5Dk/tm9tqn\nqtYlmaAyOv4FMs0iR7N6OWFYHdyzWfT7xNxjPptGtW+vaszsHwTDNjCavLvV\nXRBm\r\n=7TfX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDDq3lySd01uZ08QDWxkIGPSnpwgXCBikVgxcfYTNXxoAiEAgE3BfAOqCamNdFL/BaQ4emoVql8+EjGfVXMwOnWvpsc="}]},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.3.1-alpha.1_1641195023326_0.04969475770631737"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.3.1"},"1.3.1":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.3.1","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"02bcbcb9e0751145465d76bc640e8592cf60c562","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.3.1","_nodeVersion":"16.13.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-fLLE6y5fpqnlV7bHBdLkedbYkobgQ06OkbkjRLxQnQRZsWp64XB9mPcWTuFJQkytnw45HV7yNMTD0S1lNw8f1A==","shasum":"6bed2d831b7476451c397343d67250e840fe5c18","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.3.1.tgz","fileCount":118,"unpackedSize":13195670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0qbECRA9TVsSAnZWagAAZHQP/jAdVaURAlR7bKjTOiEp\nrSO3pnG66K7vTsooKC45b6qtYJFpbJFFWh5BX6W9cKRX+uPIUdOoTwL4bGzA\n0zVFkLeS8xgn7HS5GTmk1tzFYLM2IFe2B1HKpyakDA/EVPleShvoLZbAnY+g\nOQADZzxABAhTVO9P3Rw+C6dPF9GcNu/hb0oDGRGcBZbtgcVs03NjRbKZee1Q\nGmjHnnwwHaSvWQHFZWSTV8rpueaNxinobXooJq24pZt4CX3Zt2CykJjzcy1F\nHE0AFed5srsEPKx1mRMwRdtrOhApLRqBJAaYkDplItWu6WZoLhDWO8r/9vl5\nvB9Cd3fheOkLNcXKgec7QdZI1XXMOk5Atu6LtbpYzF+bqzUsxfdYawThfdxu\nZf1xtSQm5IWLZoKNfW9yQketrMK0M7JavAf+/UZHiOrcaot/NXGqBZg2foTz\nSpC4hZgLC/C0NZLAvTan0g+rR7twH4aq1T41Or9dbdeChA4T2RHmuW8tzF5h\nGrQ5e+JU3hxQCP5/6CMyci18GMQ9bA5enaqm3k2GbwER1lvYqL3OPiVG5aPz\nGQRd/1zvHIqm2+32qqS3ixFamxfxbZDWZX2hsjTEz+Z9oxDw8CPf5EUJ7RE7\noAC7dmttiwbIatSaKOQy2POgWuTFBk7lY+zIsXZenfnS0QZ8rtdae7fkO6Oe\nyBS/\r\n=thr6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyYlvACI4E5WHT3IN40ib/fS3nsBPsghtFJh3mVh99jwIhAOBGPPym914Y/TNcVpYyU4A54qfOify0FRLM20DZLTd5"}]},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.3.1_1641195204504_0.22765574560870117"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.3.2"},"1.3.2-alpha.1":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.3.2-alpha.1","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"readme":"[![npm version](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions.svg)](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions)[![Maintainability](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/maintainability)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/test_coverage)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/test_coverage)\n\n## Installation and usage\n\n- Install with: `npm install semantic-release-npm-deprecate-old-versions --save-dev`\n- Set the environment variable `NPM_TOKEN` (same config than `@semantic-release/npm`)\n- Update your `releaserc` configuration file\n\n### Configuration\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    \"semantic-release-npm-deprecate-old-versions\"\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        \"supportLatest\",\n        \"supportPreReleaseIfNotReleased\",\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        { \n          \"rule\": \"supportLatest\", \n          \"options\": {\n            \"numberOfMajorReleases\": 1,\n            \"numberOfMinorReleases\": 1,\n            \"numberOfPatchReleases\": 1\n          }\n        },\n        { \n          \"rule\": \"supportPreReleaseIfNotReleased\", \n          \"options\": {\n            \"numberOfPreReleases\": 1,\n          }\n        },\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\n## Extend rules\n\nIf you have a javascript configuration file for releases, you can pass a function in the array:\n\n```js\nmodule.exports = {\n    \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        customSupportFunction,\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n};\n\n/**\n * @param {import('semver').SemVer} version\n * @param {Array<import('semver').SemVer>} allVersionsSortedLatestFirst\n * @returns {import('semantic-release-npm-deprecate-old-versions/rule').RuleResult}\n */\nfunction customSupportFunction(version, allVersionsSortedLatestFirst){\n  if (version.major === 4){\n    // This version cannot be deprecated by other rules\n    return { action: 'support' }\n  }\n\n  if (version.major === 3){\n    // This version will be deprecated, and other rules\n    // will not be applied\n    return {\n      action: 'deprecate',\n      reason: 'Because the new version is awesome'\n    }\n  }\n\n  // Let other rules decide\n  return { action: 'continue' }\n}\n```\n\n## Supported vs deprecated versions\n\nThis plugin considers that either a version is supported, or it is deprecated.\n\nEvery rule computes a status on each version. Rules are applied in order, they have 3 possible outputs:\n\n- `continue`: the rule does not enforce the status of the given version, it is left to the next rules to decide the status\n- `deprecate`: the rule declares that the given version is deprecated, no further rule will be able to change this status\n- `support`: the rule declares that the given version is supported, as a consequence, no further rule will be able to change its status\n\n## Available rules and options\n\n### support-latest\n\nThis rule allows to declare a certain number of releases as supported. This rule **does not apply to pre-releases**.\n\n#### Options\n\nConfiguration format\n\n```ts\n{\n  numberOfMajorReleases?: number | \"all\",\n  numberOfMinorReleases?: number | \"all\",\n  numberOfPatchReleases?: number | \"all\"\n}\n```\n\nAll these options are optional. If a value is not set, the default value will apply\n\n```json\n{\n  \"numberOfMajorReleases\": 1,\n  \"numberOfMinorReleases\": 1,\n  \"numberOfPatchReleases\": 1\n}\n```\n\n#### Examples\n\n##### Use a number to configure the number of supported values\n\noptions: `numberOfMajorReleases=2`\n\n| `2.0.1`       |`2.0.0`     | `1.0.2`    | `1.0.1`    | `1.0.0`    |\n| :------------ | :--------: | :--------: | :--------: | ---------: |\n| **support**   | continue   | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n##### Specify that all versions will be supported\n\noptions: \n- `numberOfMajorReleases=1`\n- `numberOfMinorReleases=\"all\"`\n\n| `2.2.0`       |`2.1.0`      | `2.0.1`    | `2.0.0`    | `1.0.0`    |\n| :------------ | :--------:  | :--------: | :--------: | ---------: |\n| **support**   | **support** | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n### support-prerelease-if-not-released\n\nThis rule allows to declare a certain number of pre-releases as supported. This rule **only applies to pre-releases**.\n\n#### Options\n\nConfiguration format\n```ts\n{\n  numberOfPreReleases: number | \"all\",\n}\n```\n\nDefault configuration option\n```json\n{\n  \"numberOfPreReleases\": 1,\n}\n```\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `3.0.0-alpha.2` | `3.0.0-alpha.1` | `3.0.0-alpha.0` | `2.0.0`  | `2.0.0-alpha.0`    |\n| :------------   | :-------------: | :-------------: | :------: | -----------------: |\n| **support**     | **support**     | continue        | continue | continue           |\n\n----------------------------------------------------------------------------------------\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`  | `2.0.0-alpha.0`    |\n| :-----   | -----------------: |\n| continue | continue           |\n\n`continue` means that the status of a version is not fixed by this rule\n\nIn this example the version `2.0.0-alpha.0` is not marked as supported because the version `2.0.0` has been released. \n\n### deprecate-all\n\nThis rule deprecate all remaining versions (not previously marked as supported).\n\nIt is meant to be used at the end of rules declaration.\n\n#### Options\n\nThis rule does not have any option\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`        | `1.0.0`           |\n| :------------  | ----------------: |\n| **deprecate**  | **deprecate**     | \n","readmeFilename":"README.md","gitHead":"961c7baa0eca639dc1290e0eea1295494e293b85","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.3.2-alpha.1","_nodeVersion":"16.13.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-7Qw6DruX3W8WA2j2DrujKl1Ew6JtFtn49cgxXL4NBvH2S8qSHALauJTQ2eUu37i1wPr8BOvKM+FpEgJ4vjRiww==","shasum":"c4797f23c23654210f7ece3738cc60160cd518cf","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.3.2-alpha.1.tgz","fileCount":118,"unpackedSize":13198985,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2BLECRA9TVsSAnZWagAAeMIP/RrWLNCWaJ3zbaKdrvHD\ngo501Ih02KspNrdp2W1c9+Mo675pHzsaRgOjH2TY841RqiwrzgOz7JCa/pjG\nnzcZHHCZKIyUzh18vAUjR+umNnwOeXm/4RNDR0UXPHG+GEQ86hW5ooDnNYhe\nM4keWxPlRsNUwGwVNgjoQhAjbxy7DxmVWEWBxoMhcbubE8143wNujwl5rdOW\n77L+gZnRd9oCIzYOPknwr+NB4n+HUCpUrjyOn+W4WgtDqpjNViqD7aa1fvZx\ni02THZPdedG8VebR3YXXVCk7SOf/+ynZP40RTFWoqSArCPVGfr46dVNK05Ap\nhnDLnN0/Z2vru4UdYlfeufPWgvNDDandgFwkRSF+4R2YxafzKSoPn2XXbq3T\nwm468GbA0zDBW7MQaYjvHBfhVFaFtFGO5aHPMH5AwBSBOgtbxPK9wTPkX+uY\nSZWsqvoT33bMOeickQHE0wAOfVnSvh/rNrSM3tqfUT5yHDed/RuR6ARnsQBR\n00Uz5tPK0WOFr+xiSHSccQ0trNXE4a2Jk25l8recdriAc57cWojNcICOPtVY\nMU1hS/hxgHCQvJ/gQgqZv7jaw4U3ov/R7vrkFIkApLfov9EFWp4ldUyt/FBI\nlZ18eZJziwAZNHSU7EvuSnBv4lzOLjAJwlRFtPV3pk5mtx9Pb3c2+p6KNWZD\nnHvM\r\n=j+Xu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnwEbv7vqgOnwlh1H69CoUsd7U4YsTCJ858ucc7T8dWgIhAMbZbPagiv29Rn80MuH8dcSFETiGWC8jPbmzpSZ5L87k"}]},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.3.2-alpha.1_1641550532229_0.0383613725510612"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.3.1"},"1.3.2-beta.1":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.3.2-beta.1","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"readme":"[![npm version](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions.svg)](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions)[![Maintainability](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/maintainability)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/test_coverage)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/test_coverage)\n\n## Installation and usage\n\n- Install with: `npm install semantic-release-npm-deprecate-old-versions --save-dev`\n- Set the environment variable `NPM_TOKEN` (same config than `@semantic-release/npm`)\n- Update your `releaserc` configuration file\n\n### Configuration\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    \"semantic-release-npm-deprecate-old-versions\"\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        \"supportLatest\",\n        \"supportPreReleaseIfNotReleased\",\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        { \n          \"rule\": \"supportLatest\", \n          \"options\": {\n            \"numberOfMajorReleases\": 1,\n            \"numberOfMinorReleases\": 1,\n            \"numberOfPatchReleases\": 1\n          }\n        },\n        { \n          \"rule\": \"supportPreReleaseIfNotReleased\", \n          \"options\": {\n            \"numberOfPreReleases\": 1,\n          }\n        },\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\n## Extend rules\n\nIf you have a javascript configuration file for releases, you can pass a function in the array:\n\n```js\nmodule.exports = {\n    \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        customSupportFunction,\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n};\n\n/**\n * @param {import('semver').SemVer} version\n * @param {Array<import('semver').SemVer>} allVersionsSortedLatestFirst\n * @returns {import('semantic-release-npm-deprecate-old-versions/rule').RuleResult}\n */\nfunction customSupportFunction(version, allVersionsSortedLatestFirst){\n  if (version.major === 4){\n    // This version cannot be deprecated by other rules\n    return { action: 'support' }\n  }\n\n  if (version.major === 3){\n    // This version will be deprecated, and other rules\n    // will not be applied\n    return {\n      action: 'deprecate',\n      reason: 'Because the new version is awesome'\n    }\n  }\n\n  // Let other rules decide\n  return { action: 'continue' }\n}\n```\n\n## Supported vs deprecated versions\n\nThis plugin considers that either a version is supported, or it is deprecated.\n\nEvery rule computes a status on each version. Rules are applied in order, they have 3 possible outputs:\n\n- `continue`: the rule does not enforce the status of the given version, it is left to the next rules to decide the status\n- `deprecate`: the rule declares that the given version is deprecated, no further rule will be able to change this status\n- `support`: the rule declares that the given version is supported, as a consequence, no further rule will be able to change its status\n\n## Available rules and options\n\n### support-latest\n\nThis rule allows to declare a certain number of releases as supported. This rule **does not apply to pre-releases**.\n\n#### Options\n\nConfiguration format\n\n```ts\n{\n  numberOfMajorReleases?: number | \"all\",\n  numberOfMinorReleases?: number | \"all\",\n  numberOfPatchReleases?: number | \"all\"\n}\n```\n\nAll these options are optional. If a value is not set, the default value will apply\n\n```json\n{\n  \"numberOfMajorReleases\": 1,\n  \"numberOfMinorReleases\": 1,\n  \"numberOfPatchReleases\": 1\n}\n```\n\n#### Examples\n\n##### Use a number to configure the number of supported values\n\noptions: `numberOfMajorReleases=2`\n\n| `2.0.1`       |`2.0.0`     | `1.0.2`    | `1.0.1`    | `1.0.0`    |\n| :------------ | :--------: | :--------: | :--------: | ---------: |\n| **support**   | continue   | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n##### Specify that all versions will be supported\n\noptions: \n- `numberOfMajorReleases=1`\n- `numberOfMinorReleases=\"all\"`\n\n| `2.2.0`       |`2.1.0`      | `2.0.1`    | `2.0.0`    | `1.0.0`    |\n| :------------ | :--------:  | :--------: | :--------: | ---------: |\n| **support**   | **support** | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n### support-prerelease-if-not-released\n\nThis rule allows to declare a certain number of pre-releases as supported. This rule **only applies to pre-releases**.\n\n#### Options\n\nConfiguration format\n```ts\n{\n  numberOfPreReleases: number | \"all\",\n}\n```\n\nDefault configuration option\n```json\n{\n  \"numberOfPreReleases\": 1,\n}\n```\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `3.0.0-alpha.2` | `3.0.0-alpha.1` | `3.0.0-alpha.0` | `2.0.0`  | `2.0.0-alpha.0`    |\n| :------------   | :-------------: | :-------------: | :------: | -----------------: |\n| **support**     | **support**     | continue        | continue | continue           |\n\n----------------------------------------------------------------------------------------\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`  | `2.0.0-alpha.0`    |\n| :-----   | -----------------: |\n| continue | continue           |\n\n`continue` means that the status of a version is not fixed by this rule\n\nIn this example the version `2.0.0-alpha.0` is not marked as supported because the version `2.0.0` has been released. \n\n### deprecate-all\n\nThis rule deprecate all remaining versions (not previously marked as supported).\n\nIt is meant to be used at the end of rules declaration.\n\n#### Options\n\nThis rule does not have any option\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`        | `1.0.0`           |\n| :------------  | ----------------: |\n| **deprecate**  | **deprecate**     | \n","readmeFilename":"README.md","gitHead":"c36fd554a1450cdf25df5a0c6e80bd5d7871d734","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.3.2-beta.1","_nodeVersion":"16.13.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-7s/AHi1ehLzM7K788HOHXSVnr2qTsZXBZkLayYqoIQG5vOdAptnWWVQhAkjpFRuf1bze1n5Ts/kOU4VLmcDY1Q==","shasum":"c7262eabdd57eec981fd38a17428bd8a4fe119eb","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.3.2-beta.1.tgz","fileCount":118,"unpackedSize":13199437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2BP1CRA9TVsSAnZWagAAmhoP/i9f/4oJSgsSF8gtA3de\nHgCdtbaS1x1XLyDs3CknQ3z9SdfIy1JZNoiUpO2jFHma7coGiPiMT7Pi4PhJ\nLXkYJEkf/bl6ZmA6M7cCnjHSNAG/MLSA3KsMuZwuAcPLMtfsvLhwEKEbUZ60\nm75kLHo6JrhbXo9eRz3tQ3nkGiK5ApUsAJU+hYi1fQGKFiTZyQxf0ycCBGxN\niv90evxJvxbC12x0rrKiTO9aWGhGs/MVUkl4ApgJM6kS4FPb5VHnVBPa8iPY\nh0lH/v/87Sw5Ql6kzNwoEWwTw3pMc26AundAaLaSvvhPCOSHxD9cHO0hwA6t\nHhGImA6/H9HUv/T+/BWmdjM2fNWXeikEcgkYdwlVC5GdCfMp6K7pD2PxJM1L\nzF9fBedZ9+Fo6vrUoZdSZ+cNMP+rH3P/4C1Jg4HmrFYiqWpeSZ5naocZuxuE\nf73CL3mbTH+IIpNeR/ILTKiVOQBj12AWI3Cp6OjeARZ3viIdl9DFnLzuaS6e\nW4u+H4WmYpAt8nqQbz1VMCkvZsabgPofHtIcoIR+dM6xr/rJjcCrp9iPIMHq\n0JiN6HyF0kmA1o3PXJv/90EkoRzzwBviSs0y3TK+hvVFXV0bNQlh99slXz6L\n2qIVznNw1b/PSvBNiX8x1bTEfD5eSPa47HLbVS1eA0XqLaUhfhzQvU+yrKJ+\nUjbn\r\n=BlVQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAKXubgh6tbqDYXq2nwwNSwgMj8pzOEtAWQ0GvHZE8OSAiAn/nDyllPI6E35ihwL4iiHu/9mgXIT7RdPgw5WTHi3DQ=="}]},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.3.2-beta.1_1641550836906_0.9975215862899587"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.3.1"},"1.3.2-beta.2":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.3.2-beta.2","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"readme":"[![npm version](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions.svg)](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions)[![Maintainability](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/maintainability)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/test_coverage)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/test_coverage)\n\n## Installation and usage\n\n- Install with: `npm install semantic-release-npm-deprecate-old-versions --save-dev`\n- Set the environment variable `NPM_TOKEN` (same config than `@semantic-release/npm`)\n- Update your `releaserc` configuration file\n\n### Configuration\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    \"semantic-release-npm-deprecate-old-versions\"\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        \"supportLatest\",\n        \"supportPreReleaseIfNotReleased\",\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        { \n          \"rule\": \"supportLatest\", \n          \"options\": {\n            \"numberOfMajorReleases\": 1,\n            \"numberOfMinorReleases\": 1,\n            \"numberOfPatchReleases\": 1\n          }\n        },\n        { \n          \"rule\": \"supportPreReleaseIfNotReleased\", \n          \"options\": {\n            \"numberOfPreReleases\": 1,\n          }\n        },\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\n## Extend rules\n\nIf you have a javascript configuration file for releases, you can pass a function in the array:\n\n```js\nmodule.exports = {\n    \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        customSupportFunction,\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n};\n\n/**\n * @param {import('semver').SemVer} version\n * @param {Array<import('semver').SemVer>} allVersionsSortedLatestFirst\n * @returns {import('semantic-release-npm-deprecate-old-versions/rule').RuleResult}\n */\nfunction customSupportFunction(version, allVersionsSortedLatestFirst){\n  if (version.major === 4){\n    // This version cannot be deprecated by other rules\n    return { action: 'support' }\n  }\n\n  if (version.major === 3){\n    // This version will be deprecated, and other rules\n    // will not be applied\n    return {\n      action: 'deprecate',\n      reason: 'Because the new version is awesome'\n    }\n  }\n\n  // Let other rules decide\n  return { action: 'continue' }\n}\n```\n\n## Supported vs deprecated versions\n\nThis plugin considers that either a version is supported, or it is deprecated.\n\nEvery rule computes a status on each version. Rules are applied in order, they have 3 possible outputs:\n\n- `continue`: the rule does not enforce the status of the given version, it is left to the next rules to decide the status\n- `deprecate`: the rule declares that the given version is deprecated, no further rule will be able to change this status\n- `support`: the rule declares that the given version is supported, as a consequence, no further rule will be able to change its status\n\n## Available rules and options\n\n### support-latest\n\nThis rule allows to declare a certain number of releases as supported. This rule **does not apply to pre-releases**.\n\n#### Options\n\nConfiguration format\n\n```ts\n{\n  numberOfMajorReleases?: number | \"all\",\n  numberOfMinorReleases?: number | \"all\",\n  numberOfPatchReleases?: number | \"all\"\n}\n```\n\nAll these options are optional. If a value is not set, the default value will apply\n\n```json\n{\n  \"numberOfMajorReleases\": 1,\n  \"numberOfMinorReleases\": 1,\n  \"numberOfPatchReleases\": 1\n}\n```\n\n#### Examples\n\n##### Use a number to configure the number of supported values\n\noptions: `numberOfMajorReleases=2`\n\n| `2.0.1`       |`2.0.0`     | `1.0.2`    | `1.0.1`    | `1.0.0`    |\n| :------------ | :--------: | :--------: | :--------: | ---------: |\n| **support**   | continue   | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n##### Specify that all versions will be supported\n\noptions: \n- `numberOfMajorReleases=1`\n- `numberOfMinorReleases=\"all\"`\n\n| `2.2.0`       |`2.1.0`      | `2.0.1`    | `2.0.0`    | `1.0.0`    |\n| :------------ | :--------:  | :--------: | :--------: | ---------: |\n| **support**   | **support** | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n### support-prerelease-if-not-released\n\nThis rule allows to declare a certain number of pre-releases as supported. This rule **only applies to pre-releases**.\n\n#### Options\n\nConfiguration format\n```ts\n{\n  numberOfPreReleases: number | \"all\",\n}\n```\n\nDefault configuration option\n```json\n{\n  \"numberOfPreReleases\": 1,\n}\n```\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `3.0.0-alpha.2` | `3.0.0-alpha.1` | `3.0.0-alpha.0` | `2.0.0`  | `2.0.0-alpha.0`    |\n| :------------   | :-------------: | :-------------: | :------: | -----------------: |\n| **support**     | **support**     | continue        | continue | continue           |\n\n----------------------------------------------------------------------------------------\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`  | `2.0.0-alpha.0`    |\n| :-----   | -----------------: |\n| continue | continue           |\n\n`continue` means that the status of a version is not fixed by this rule\n\nIn this example the version `2.0.0-alpha.0` is not marked as supported because the version `2.0.0` has been released. \n\n### deprecate-all\n\nThis rule deprecate all remaining versions (not previously marked as supported).\n\nIt is meant to be used at the end of rules declaration.\n\n#### Options\n\nThis rule does not have any option\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`        | `1.0.0`           |\n| :------------  | ----------------: |\n| **deprecate**  | **deprecate**     | \n","readmeFilename":"README.md","gitHead":"9c40b5c5c6b75da488b151272b0116f6eb974840","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.3.2-beta.2","_nodeVersion":"16.13.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-PI/J+RLxwUJH7Jb8TGo72c09V/Df85nDdtXnqptNBRqgywULMlC15k+yH3t4tXMpC0vn7O/KCcYEuc/YvLJs3w==","shasum":"9f54d3cd7773123ab6e11064ec4ca7d00b370ec3","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.3.2-beta.2.tgz","fileCount":118,"unpackedSize":13199846,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2BWVCRA9TVsSAnZWagAAr/4QAIutofo3F1W80DQILQJN\nQaZOa0/PF53ngxQDraC7RzNne7oe5oqng5sbmxESRLDRzr0JCHDkSc1YXdEY\nliMFdueFoFxQ3+jJ/OXlhKJKGFWLuKRsTP+0T/jfnFy2qnJL59U+dU2jBiNJ\nttURGPkK+PO9pzNQdWi6uUiH+oKCgIqHp7NwmQjs1EGq71jqrmO0sj3oBmwv\nuICTCC39XFmvNjk5KMR+MExiZ+8Ah583Yx8tomQRQLcd78647XcHmG/Zb/ON\n56fSNcEwpshnJcDHTZzXQP4mVFJQObjz0529qy5A+GEMEviOj2M7wXVO9L1c\n7W1GOvd0UUfK/u4qiJ6wDdDfjqItBDz0DVmXp5HN21rvUoBmzU3cqGdSGBz4\n7gOQUqSBkSfZcMhNpCYvrHcd3KzFLDb2ygyh5o3jJ8/PjCKB0wHHGZahFj5K\n44UwkMQUVXNQkzfv9p547Wn6VS/cjUHcCOYmrcdMFWgZQ9Kghi8xwOOfp3tW\nzYjnux0nr/VX1ynEDeFbGm2ATLjDiOusVASWVp7URF3tdZqerGOlKqSNeCW2\njJOpMfhJIMsDcqvDTGiqR7fG32QyZhcYsKZv/eoqh5fue5CwSblAD1E+yIoc\nBz6g5YF0nITzV7naQx8EKW5dFYnrIjlqz1MvZ0yVIhmwZU9MQh2Vwh5IKQSg\n5XBW\r\n=KvHA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFtL8hUbPUfJjMP/+P4NmRq9t7oP3yXPBiDihcTrZ0Y6AiAxth7ICf4drYuaeKOGuQzbGuFN5bS2d2bCMwVpExzXiQ=="}]},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.3.2-beta.2_1641551253150_0.013749276611068284"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.3.1"},"1.3.2-beta.3":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.3.2-beta.3","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"readme":"[![npm version](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions.svg)](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions)[![Maintainability](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/maintainability)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/test_coverage)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/test_coverage)\n\n## Installation and usage\n\n- Install with: `npm install semantic-release-npm-deprecate-old-versions --save-dev`\n- Set the environment variable `NPM_TOKEN` (same config than `@semantic-release/npm`)\n- Update your `releaserc` configuration file\n\n### Configuration\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    \"semantic-release-npm-deprecate-old-versions\"\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        \"supportLatest\",\n        \"supportPreReleaseIfNotReleased\",\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        { \n          \"rule\": \"supportLatest\", \n          \"options\": {\n            \"numberOfMajorReleases\": 1,\n            \"numberOfMinorReleases\": 1,\n            \"numberOfPatchReleases\": 1\n          }\n        },\n        { \n          \"rule\": \"supportPreReleaseIfNotReleased\", \n          \"options\": {\n            \"numberOfPreReleases\": 1,\n          }\n        },\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\n## Extend rules\n\nIf you have a javascript configuration file for releases, you can pass a function in the array:\n\n```js\nmodule.exports = {\n    \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        customSupportFunction,\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n};\n\n/**\n * @param {import('semver').SemVer} version\n * @param {Array<import('semver').SemVer>} allVersionsSortedLatestFirst\n * @returns {import('semantic-release-npm-deprecate-old-versions/rule').RuleResult}\n */\nfunction customSupportFunction(version, allVersionsSortedLatestFirst){\n  if (version.major === 4){\n    // This version cannot be deprecated by other rules\n    return { action: 'support' }\n  }\n\n  if (version.major === 3){\n    // This version will be deprecated, and other rules\n    // will not be applied\n    return {\n      action: 'deprecate',\n      reason: 'Because the new version is awesome'\n    }\n  }\n\n  // Let other rules decide\n  return { action: 'continue' }\n}\n```\n\n## Supported vs deprecated versions\n\nThis plugin considers that either a version is supported, or it is deprecated.\n\nEvery rule computes a status on each version. Rules are applied in order, they have 3 possible outputs:\n\n- `continue`: the rule does not enforce the status of the given version, it is left to the next rules to decide the status\n- `deprecate`: the rule declares that the given version is deprecated, no further rule will be able to change this status\n- `support`: the rule declares that the given version is supported, as a consequence, no further rule will be able to change its status\n\n## Available rules and options\n\n### support-latest\n\nThis rule allows to declare a certain number of releases as supported. This rule **does not apply to pre-releases**.\n\n#### Options\n\nConfiguration format\n\n```ts\n{\n  numberOfMajorReleases?: number | \"all\",\n  numberOfMinorReleases?: number | \"all\",\n  numberOfPatchReleases?: number | \"all\"\n}\n```\n\nAll these options are optional. If a value is not set, the default value will apply\n\n```json\n{\n  \"numberOfMajorReleases\": 1,\n  \"numberOfMinorReleases\": 1,\n  \"numberOfPatchReleases\": 1\n}\n```\n\n#### Examples\n\n##### Use a number to configure the number of supported values\n\noptions: `numberOfMajorReleases=2`\n\n| `2.0.1`       |`2.0.0`     | `1.0.2`    | `1.0.1`    | `1.0.0`    |\n| :------------ | :--------: | :--------: | :--------: | ---------: |\n| **support**   | continue   | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n##### Specify that all versions will be supported\n\noptions: \n- `numberOfMajorReleases=1`\n- `numberOfMinorReleases=\"all\"`\n\n| `2.2.0`       |`2.1.0`      | `2.0.1`    | `2.0.0`    | `1.0.0`    |\n| :------------ | :--------:  | :--------: | :--------: | ---------: |\n| **support**   | **support** | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n### support-prerelease-if-not-released\n\nThis rule allows to declare a certain number of pre-releases as supported. This rule **only applies to pre-releases**.\n\n#### Options\n\nConfiguration format\n```ts\n{\n  numberOfPreReleases: number | \"all\",\n}\n```\n\nDefault configuration option\n```json\n{\n  \"numberOfPreReleases\": 1,\n}\n```\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `3.0.0-alpha.2` | `3.0.0-alpha.1` | `3.0.0-alpha.0` | `2.0.0`  | `2.0.0-alpha.0`    |\n| :------------   | :-------------: | :-------------: | :------: | -----------------: |\n| **support**     | **support**     | continue        | continue | continue           |\n\n----------------------------------------------------------------------------------------\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`  | `2.0.0-alpha.0`    |\n| :-----   | -----------------: |\n| continue | continue           |\n\n`continue` means that the status of a version is not fixed by this rule\n\nIn this example the version `2.0.0-alpha.0` is not marked as supported because the version `2.0.0` has been released. \n\n### deprecate-all\n\nThis rule deprecate all remaining versions (not previously marked as supported).\n\nIt is meant to be used at the end of rules declaration.\n\n#### Options\n\nThis rule does not have any option\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`        | `1.0.0`           |\n| :------------  | ----------------: |\n| **deprecate**  | **deprecate**     | \n","readmeFilename":"README.md","gitHead":"a2992f347a5a031381d853b0ece1d68d71f0de8b","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.3.2-beta.3","_nodeVersion":"16.13.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-zuCbZmq+7Urxb0BOR43+qAXcUacoxHF9OD4wmVIyeMmDthpFOgqt90n92GCJ2KqHeQo7oBmR0T8mRXq8INOSJw==","shasum":"bf47dc663d9d2ccdf118e6d4d7d7b0009d773510","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.3.2-beta.3.tgz","fileCount":118,"unpackedSize":13200278,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2B1hCRA9TVsSAnZWagAAvSUP/0Tu0h3TxgmfMkLMk8o1\nPjDKOuosWrhOTahJK4kd/rYA6vmwWVIboQzcP7TbSDZY2N6QzR0LqdAj4XTx\n+yFvGkqtzQ4D95z+eGui/mL/z5YcgAKZ2mEbujL3weHpVC4qeFkCSkMBIo5k\nz8Dm19F2+Nz4LES+35Suw54Eu97p8p+cb7L7k4JtZCp8MUazzmjlg8iphmNy\nevpEXDtqlIZYy6H2S8ERD1RX6SCpwFxiFyZ/nDVhoWXMagcoUuVR4j5ksOAT\nrSpBfLfNwrL9/bRXWMtxWYx+uZVB2Jl5vsgmV5Jru7CR/FL/lUdPcUkozVIA\n222acnG2sTmoY/k/qpkbtC9biCNHb0NnRye5ndVrpNIhfL73P2xLGQq+b5YB\nxxdubORfLpgCk0fbqiLCUpkQN5cehBbMPaJq9JrVJf8OISBJwYhrWbsqZ8zT\nfWwVT36Pq29lxBQspBW5iRG/vNdwdMP1Qw6zIHx0Fa4i60Afnk3KEq02nKH8\nROZAcRv2npl9o0+NHsEyEy3l9jSt40C/eFHPFc7hksrgeeYLwuDqSHC3G5VN\niqdDo43lVeT9d6RDxsntTH5N+WBvymQYzvU5kwarFyg1jEk29Q682uxBNgPL\nzmkqck+oflWPOnG5I9/s/4l41g4vjZegs8PmtcxJRlqRtz6KGuru/dyzpcJ/\n9AKr\r\n=iUS2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFpw5vjDiW2KR/jM7ZpODMGnHMpRxwyzQ3oulg8G5/6kAiA2pPKkRSFrFJuE0PoB3k3pyU5u5X6NMA3HKNXKI8fi3w=="}]},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.3.2-beta.3_1641553248716_0.6779880181191806"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.3.2"},"1.3.2":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.3.2","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"e5f642d219d015c0c9b4e69471b240e702053cec","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.3.2","_nodeVersion":"16.13.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-N9gKDq4/Spv2W7bBwZX8KdcnP4yKeBIjJtd/OefbFGnrWgzJ/6+XDk3Tg6ctr6xlNP8sHRnCEQQea/sMNA8PuA==","shasum":"42b5bf336074c6fd8ef6ba3354441f9eeb9ac0c9","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.3.2.tgz","fileCount":118,"unpackedSize":13201182,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2B4OCRA9TVsSAnZWagAAKuwP/29kmeAeV5rNi6GKO1hb\n67Ekogu6/kOE5xO8muwsiS0jUV8hW/zhQ7S+5xAG+mqEmy+PJRZTK711tRVh\nMuktZxSKe9TJZ+taSYH38IGmVB29oJ31gaAt39B5zZyW4BkV2r0FbICuK4Vg\nVr/ssu6Nioy24FvfBDNauUX0IqbDJ8i2aZS3nMZMwb8E7rP4mtSTSHwbjLjI\nx4NSrI235oPFzmOE0u+K/gw1WbLNgtuh3Fj6X4f9s9Ok7wDxFNs5A3h8Ul6E\nZcwLeSjq/U+DCo4Nu5x+KAjbJa0tbxVSCGLYDJ7BH7BVG22imkGZk5M6PMbY\nhlF4Kl/AR0nmytCA8wzOcmDtt9sle1pyd9uuvhmLcxXy5p7+Ojha2FY3NNGQ\nGQV3hufO4gxEvz6Dqi6vDwStZdMZOK0rJ9iswfDcCZY6BlExdn8VMBSIRZFk\no3P/rfuVjBolj4ZKK3xHPeEHelOgOLQFvcdIxgLyLI5BJ/tj4tO0b2nbhvDO\n5CyAw8q1usnp/cwMUgLIpXf1xMnqmoQrT1zi56HzDNA1zEA3tIxJ+kJLGcV/\nkBdRim8WjVsEoO1J4jNB0ojqua7LAQNb60WWX1MTgvEc2Ywr7meLqNCE/Il4\n1Hkr1RkrlmeUSV1S4zIaLpzH5Y6DFMqn3kfuDA7PuPWOJkgj5lF+2DjplNf8\nIulN\r\n=koET\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAk8OVix1ExSntyWoADXqmaX5NZ/PNMj8qJ/FS3pZ0/AIgDxcA1B6BVwCpT8U0zEGZvKMGCvS0vJfM1t71LuVMucc="}]},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.3.2_1641553422625_0.32445472304270795"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.3.3"},"1.3.3":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.3.3","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^17.4.7","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"5a4100d78267fd3461063c39c9577daa094c1311","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.3.3","_nodeVersion":"16.15.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-9Ksviy9IK3WixqNZqn/nK5HP+WhcWwYby6Yk1Wk4By0Y8tyNyrE8kdsOkVtBv3osc8dA2XJrBTsdolioZJ7GYw==","shasum":"d00f1fbd50f7e3626947b9ef014a67f331290d7a","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.3.3.tgz","fileCount":118,"unpackedSize":13201639,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDY6EWdCiXnr3vuRpPqF1ka5hw57JA1AOaWu0HAvc+FaAIhAO/MH1v/mjiJzM/Rnhj2xQ9ggZhktbmmVILTvPjy2L3W"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJig0p3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoYChAApGXS/M6Dd5Q5vFoKoBDOH58Pwpf4OgPU8eTMTpZQayW+GG9D\r\ns1bn8btM882vhgy8y4StBBa54MFP8sXAzpg6blnJSH0Ql7kLWFwk+QOnWzex\r\ntNzKUAQhZin4o6tMQHx+LF/QEhu7rqMPhx87MtdKk9J0LUrmgM03YRzkzp+d\r\nv5QTd0CXKPpJywevQMiGXCR5YCkpsoiu9eyNr8kFgk8RrMWYXCblSP0pZpO8\r\n6/FPrvK/bXer3XNeMJK/X06bdDZqbpS8reJt7yc463085Pz1ZIi2jtxSSk1A\r\neDnDFnVZ3MZ0rTfsOJ1tQuAY1v2sbmOKMS/1VMvzaBa3Gnhv8sm2D6axTnXe\r\nlZSjyFlIH2G5AYjQ7R9/2kaAr/TjvxZStYDjrVaLZqtGVOD1oAUCS3363PBr\r\n+nJfC6KfhDZWf1AzqxhaQ+HBt9R6AKUYEfTBNZeW7on8ZulOGyO58JmDSLAa\r\nw0rX6VTR2yxw+jQffm8PHYCAfoPIesSLiFjsOmW5kwXrK4RZTjJAQPaYWHJZ\r\nDzvJmuyis42bDkaqCh/PvHQOgVY9WrcM7e085FdpGXQ6EiYYpz8aQkYdvoWy\r\nZZaQ/3HSO9180Ej4HLbe1Ajp0zJLxs/EXSbCgFTKnyCRnio+dIgS0QgZbrzB\r\nMLBGvpYfTc5hsQLdtiR8gEziki2+dMRi9zk=\r\n=ueKh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.3.3_1652771446726_0.31831341773922617"},"_hasShrinkwrap":false,"deprecated":"Deprecated in favor of 1.3.4"},"1.3.4":{"name":"semantic-release-npm-deprecate-old-versions","version":"1.3.4","description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","lint":"eslint src --ext .js,.ts","semantic-release":"semantic-release","test":"jest","test:coverage":"jest --coverage"},"keywords":["semantic-release","deprecate","npm","version"],"author":{"name":"Guillaume Gautreau"},"license":"ISC","dependencies":{"execa":"^4.1.0","node-fetch":"^2.6.6","semver":"^7.3.5"},"devDependencies":{"@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@types/jest":"^26.0.24","@types/node-fetch":"^2.5.12","@types/semantic-release":"^17.2.3","@types/semver":"^7.3.4","@typescript-eslint/eslint-plugin":"^4.4.1","@typescript-eslint/parser":"^4.4.1","eslint":"^7.11.0","eslint-config-prettier":"^6.12.0","eslint-plugin-jest":"^24.1.0","eslint-plugin-prettier":"^3.1.4","jest":"^26.6.3","prettier":"^2.1.2","semantic-release":"^19.0.2","strong-mock":"^7.3.0","ts-jest":"^26.5.6","typescript":"^4.0.3"},"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"gitHead":"e3c6906f0fd695324cac0ea314bdf0448c68ecd7","bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","_id":"semantic-release-npm-deprecate-old-versions@1.3.4","_nodeVersion":"16.15.0","_npmVersion":"8.10.0","dist":{"integrity":"sha512-/BXN4r6PTjXQ6wkwnbliep0S4XTAoqIyPZZV91LikKQkQkUO/Ize5zCePd9gs5CdEMhUQlQpoM5xGinavcbWtA==","shasum":"55872dc5b11e81004bfcf6c785af657df905a4d3","tarball":"https://registry.npmjs.org/semantic-release-npm-deprecate-old-versions/-/semantic-release-npm-deprecate-old-versions-1.3.4.tgz","fileCount":118,"unpackedSize":13201760,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB6nNn780YeSWOExgWbjv63+wF9tYuIFPA4vQEWbpmlKAiEAhcz7pM1rnhyWRthhJB0mxFjdhft8q7BYdk8wYQivFXA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJig0yYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpNQA//Xs0UGtwxp0Mk00zKPvdsN9BpS9mC4hQClFZJRFRBN7+AktOb\r\n8Q2FdbfF2NngvQy7l9qfLXSZLaQLteAKSkE71wnheG63YYuX/VKYWCVnMVb0\r\no0CLzB4ol3M8oSc1AoOLUE7oY6hYhc9ItqqwguPapbhcCeClKRDDXsDnTd76\r\nHT5SOQ3WVD17lRck1jtxnM7D36jBrA2AZ7sYSBnQgOmvsbWLv4nqavVvux4a\r\nKeL+P0RKEnBM7P1+iyiYZ3rltEILZxMGdgNNhNKwaMxPp95yL5RoJIM+RK7V\r\n5zfFv1PEs8TtFnRpROxnlzhCSfzhLygZJD3EdQXlDgZ7aYZgvb1WbDP0YvD5\r\ndT+O3A99HjumnqipWRYSlUgW9I+lanMqagU03JLGwOI4pN9g3QYH5Dklv3lr\r\nNkvyOPImLYMlSlBb7KADvs22rnwBE3RZU5m3f8bfTuZlnPYdfK9XTRzRjnxz\r\nydwqlL2tIePDrF3bPFXPEdHmiXm8BwlsDDXpYvSWnyFiaeTgB84ojsj8h9yp\r\nYhuI3q21WGyYX6kkMcl/ZRnkQeHIhzdcwcOyDcTai2T5b3XDynyfAKtDQE8T\r\n/trLl220Mzm82xUwuDSbD7mmu0+Om/1O7rWq/jJwBnevK3wMEk8XWivmRj6f\r\nTCreM6twNazvOhs31/p680RYV8PGF9sxWAk=\r\n=4t0p\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"},"directories":{},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-npm-deprecate-old-versions_1.3.4_1652771992359_0.007297439018345342"},"_hasShrinkwrap":false}},"time":{"created":"2020-10-16T14:38:21.424Z","1.0.0-alpha.1":"2020-10-16T14:38:21.564Z","modified":"2022-05-17T10:35:21.542Z","1.0.0-alpha.2":"2020-10-16T20:22:39.917Z","1.0.0-alpha.3":"2020-10-16T21:16:27.091Z","1.0.0-alpha.4":"2020-10-16T22:06:47.336Z","1.0.0-alpha.5":"2020-10-16T22:46:07.938Z","1.0.0-alpha.6":"2020-10-17T19:29:24.082Z","1.0.0-alpha.7":"2020-10-23T14:07:32.567Z","1.0.0-alpha.8":"2020-10-23T15:13:18.744Z","1.0.0":"2020-10-23T15:55:55.744Z","1.0.1":"2020-10-23T16:03:40.873Z","1.1.0":"2021-01-08T13:14:15.665Z","1.1.1":"2021-01-22T16:43:19.371Z","1.1.2":"2021-01-22T18:38:32.856Z","1.1.3":"2021-03-19T15:45:46.324Z","1.1.4":"2021-03-19T15:50:01.851Z","1.1.5":"2021-03-19T15:55:55.157Z","1.1.6":"2021-03-19T15:59:52.980Z","1.1.7":"2021-12-22T17:12:46.933Z","1.2.0-alpha.1":"2021-12-25T10:54:48.212Z","1.2.0-beta.1":"2021-12-26T09:35:41.457Z","1.2.0":"2021-12-26T10:50:42.582Z","1.2.1":"2021-12-26T12:29:09.297Z","1.2.2":"2021-12-31T13:54:40.305Z","1.3.0-alpha.1":"2021-12-31T14:41:33.995Z","1.2.3":"2021-12-31T14:52:30.492Z","1.3.0-alpha.2":"2021-12-31T14:55:02.100Z","1.3.0-alpha.3":"2021-12-31T14:59:38.833Z","1.3.0":"2021-12-31T15:01:45.888Z","1.3.1-alpha.1":"2022-01-03T07:30:23.676Z","1.3.1":"2022-01-03T07:33:24.787Z","1.3.2-alpha.1":"2022-01-07T10:15:32.561Z","1.3.2-beta.1":"2022-01-07T10:20:37.284Z","1.3.2-beta.2":"2022-01-07T10:27:33.419Z","1.3.2-beta.3":"2022-01-07T11:00:49.037Z","1.3.2":"2022-01-07T11:03:42.950Z","1.3.3":"2022-05-17T07:10:47.008Z","1.3.4":"2022-05-17T07:19:52.670Z"},"maintainers":[{"name":"guillaume.gautreau","email":"guillaume@ghusse.com"}],"description":"A plugin for semantic-release, to automatically deprecate old versions on npm, based on a custom configuration","homepage":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions#readme","keywords":["semantic-release","deprecate","npm","version"],"repository":{"url":"git+https://github.com/ghusse/semantic-release-npm-deprecate-old-versions.git","type":"git"},"author":{"name":"Guillaume Gautreau"},"bugs":{"url":"https://github.com/ghusse/semantic-release-npm-deprecate-old-versions/issues"},"license":"ISC","readme":"[![npm version](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions.svg)](https://badge.fury.io/js/semantic-release-npm-deprecate-old-versions)[![Maintainability](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/maintainability)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/29751e470914f5b5dd20/test_coverage)](https://codeclimate.com/github/ghusse/semantic-release-npm-deprecate-old-versions/test_coverage)\n\n## Installation and usage\n\n- Install with: `npm install semantic-release-npm-deprecate-old-versions --save-dev`\n- Set the environment variable `NPM_TOKEN` (same config than `@semantic-release/npm`)\n- Update your `releaserc` configuration file\n\n### Configuration\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    \"semantic-release-npm-deprecate-old-versions\"\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        \"supportLatest\",\n        \"supportPreReleaseIfNotReleased\",\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\nEquivalent to:\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        { \n          \"rule\": \"supportLatest\", \n          \"options\": {\n            \"numberOfMajorReleases\": 1,\n            \"numberOfMinorReleases\": 1,\n            \"numberOfPatchReleases\": 1\n          }\n        },\n        { \n          \"rule\": \"supportPreReleaseIfNotReleased\", \n          \"options\": {\n            \"numberOfPreReleases\": 1,\n          }\n        },\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n}\n```\n\n## Extend rules\n\nIf you have a javascript configuration file for releases, you can pass a function in the array:\n\n```js\nmodule.exports = {\n    \"plugins\": [\n    \"@semantic-release/npm\", \n    [\"semantic-release-npm-deprecate-old-versions\", {\n      \"rules\": [\n        customSupportFunction,\n        \"deprecateAll\"\n      ]\n    }]\n  ]\n};\n\n/**\n * @param {import('semver').SemVer} version\n * @param {Array<import('semver').SemVer>} allVersionsSortedLatestFirst\n * @returns {import('semantic-release-npm-deprecate-old-versions/rule').RuleResult}\n */\nfunction customSupportFunction(version, allVersionsSortedLatestFirst){\n  if (version.major === 4){\n    // This version cannot be deprecated by other rules\n    return { action: 'support' }\n  }\n\n  if (version.major === 3){\n    // This version will be deprecated, and other rules\n    // will not be applied\n    return {\n      action: 'deprecate',\n      reason: 'Because the new version is awesome'\n    }\n  }\n\n  // Let other rules decide\n  return { action: 'continue' }\n}\n```\n\n## Supported vs deprecated versions\n\nThis plugin considers that either a version is supported, or it is deprecated.\n\nEvery rule computes a status on each version. Rules are applied in order, they have 3 possible outputs:\n\n- `continue`: the rule does not enforce the status of the given version, it is left to the next rules to decide the status\n- `deprecate`: the rule declares that the given version is deprecated, no further rule will be able to change this status\n- `support`: the rule declares that the given version is supported, as a consequence, no further rule will be able to change its status\n\n## Available rules and options\n\n### support-latest\n\nThis rule allows to declare a certain number of releases as supported. This rule **does not apply to pre-releases**.\n\n#### Options\n\nConfiguration format\n\n```ts\n{\n  numberOfMajorReleases?: number | \"all\",\n  numberOfMinorReleases?: number | \"all\",\n  numberOfPatchReleases?: number | \"all\"\n}\n```\n\nAll these options are optional. If a value is not set, the default value will apply\n\n```json\n{\n  \"numberOfMajorReleases\": 1,\n  \"numberOfMinorReleases\": 1,\n  \"numberOfPatchReleases\": 1\n}\n```\n\n#### Examples\n\n##### Use a number to configure the number of supported values\n\noptions: `numberOfMajorReleases=2`\n\n| `2.0.1`       |`2.0.0`     | `1.0.2`    | `1.0.1`    | `1.0.0`    |\n| :------------ | :--------: | :--------: | :--------: | ---------: |\n| **support**   | continue   | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n##### Specify that all versions will be supported\n\noptions: \n- `numberOfMajorReleases=1`\n- `numberOfMinorReleases=\"all\"`\n\n| `2.2.0`       |`2.1.0`      | `2.0.1`    | `2.0.0`    | `1.0.0`    |\n| :------------ | :--------:  | :--------: | :--------: | ---------: |\n| **support**   | **support** | **support**| continue   | continue   |\n\n`continue` means that the status of a version is not fixed by this rule\n\n### support-prerelease-if-not-released\n\nThis rule allows to declare a certain number of pre-releases as supported. This rule **only applies to pre-releases**.\n\n#### Options\n\nConfiguration format\n```ts\n{\n  numberOfPreReleases: number | \"all\",\n}\n```\n\nDefault configuration option\n```json\n{\n  \"numberOfPreReleases\": 1,\n}\n```\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `3.0.0-alpha.2` | `3.0.0-alpha.1` | `3.0.0-alpha.0` | `2.0.0`  | `2.0.0-alpha.0`    |\n| :------------   | :-------------: | :-------------: | :------: | -----------------: |\n| **support**     | **support**     | continue        | continue | continue           |\n\n----------------------------------------------------------------------------------------\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`  | `2.0.0-alpha.0`    |\n| :-----   | -----------------: |\n| continue | continue           |\n\n`continue` means that the status of a version is not fixed by this rule\n\nIn this example the version `2.0.0-alpha.0` is not marked as supported because the version `2.0.0` has been released. \n\n### deprecate-all\n\nThis rule deprecate all remaining versions (not previously marked as supported).\n\nIt is meant to be used at the end of rules declaration.\n\n#### Options\n\nThis rule does not have any option\n\n#### Examples\n\noptions: `numberOfPreReleases=2`\n\n| `2.0.0`        | `1.0.0`           |\n| :------------  | ----------------: |\n| **deprecate**  | **deprecate**     | \n","readmeFilename":"README.md"}