{"_id":"@bartekbp/regex-checkstyle","_rev":"5-fa0cbf467dd21cfb815f10ec63f6669a","name":"@bartekbp/regex-checkstyle","dist-tags":{"latest":"5.0.0"},"versions":{"1.0.0":{"name":"@bartekbp/regex-checkstyle","version":"1.0.0","description":"Library reporting regex output in checkstyle format","main":"dist/index.js","bin":{"regex-checkstyle":"dist/cli.js"},"scripts":{"clean":"rimraf dist","build":"tsc --project tsconfig.prod.json","watch":"tsc --watch --project tsconfig.prod.json","test":"jest","check:eslint":"eslint \"src/**/*.ts\"","fix:eslint":"eslint \"src/**/*.ts\" --fix","check:types":"tsc --noEmit","check:filenames":"ls-lint","check:all":"npm-run-all -p check:types check:eslint check:filenames","fix:all":"npm-run-all -p fix:eslint"},"types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/bartekbp/regex-checkstyle.git"},"keywords":["regex","checkstyle","formatter"],"author":{"name":"Bartosz Polnik"},"license":"MIT","bugs":{"url":"https://github.com/bartekbp/regex-checkstyle/issues"},"homepage":"https://github.com/bartekbp/regex-checkstyle#readme","devDependencies":{"@ls-lint/ls-lint":"^1.9.2","@types/jest":"^26.0.20","@types/lodash":"^4.14.168","@types/node":"^14.14.22","@types/yargs":"^15.0.12","@typescript-eslint/eslint-plugin":"^4.14.0","@typescript-eslint/parser":"^4.14.0","eslint":"^7.18.0","fast-glob":"^3.2.5","jest":"^26.6.3","jest-xml-matcher":"^1.2.0","npm-run-all":"^4.1.5","rimraf":"^3.0.2","string.prototype.matchall":"^4.0.4","ts-jest":"^26.4.4","tsconfig-paths":"^3.9.0","typescript":"^4.1.3"},"dependencies":{"checkstyle-formatter":"^1.1.0","yargs":"^16.2.0","lodash":"^4.17.20"},"gitHead":"b670d58a7169ef338454b37d9d0e938d35e288f0","_id":"@bartekbp/regex-checkstyle@1.0.0","_nodeVersion":"14.16.0","_npmVersion":"7.9.0","dist":{"integrity":"sha512-b28abGIOWxB3LqVPivUo6IjRa6u6HJx0vRpVEI4+xzTDJ7Kl9FcY85lLUQ2v6f5TjC3DbFUoOO+674JVTQNe/Q==","shasum":"9fa42187dc487207e6389765da2d1e0968f28fca","tarball":"https://registry.npmjs.org/@bartekbp/regex-checkstyle/-/regex-checkstyle-1.0.0.tgz","fileCount":12,"unpackedSize":18156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcertCRA9TVsSAnZWagAAmL4P/jMTEfVcEiO1lg6oYA0H\nTnYDKoC+GfwFDNzc5PzkPGL5DWY9Z7Np7iKiELeZykGNQLxN6s+UNckWdFDn\nBP2tGvZsZ3bjjrHSe5hCavLTJ20aXhw+lKVh3JuZLMikLesf1pxTNcuGAXoa\noXo0SafbCMUoj2SYRKe2+1oYNw6Fq/4z4P4RYIlHXlLmad62vtow5AIlnPX5\na6131vuCx8VK0BrAkxtQrzoAvhDn56dH0JtSbsXzbd7hgd1vEd23lr9a+5dL\nI1JaCiypvzWzWp5JUOs2cdhkGe/5pU19DqoCQSikcxXwt1kx6kwVuaUKs7ML\n/53t9Gwb2NnJ1I0PQpSzcnDDap7cxiEONijJySrpuqzG3XHFrXLlk4OXRlam\na9H8fkyEbbbeZqOAQW8A23iZzvf/LWSfpRSKO5ttJmS8GSeEk9SlXwlDoIYx\nVZNYcDPzfU6JtOhxwhl78Mm9L2hyadGPal4/NZNy8SUMx2WPuKpQ+z3dDCj/\ns3NmT+HjHh/ZTlrI/rDM5Gdsi2FIe/VO4cqCgA6yZQF5S/68xzvxRftKpR8w\n28THy8HU8+MR9iHkj9q2ABTNj3pyf52ivy4XDOJcrS+snnNV+M5/ZqSUYt/j\n6OZBQ0DT4GVH240ylmsmDMQTyFBp8OU2+FgwwCvQY5eEzI8LK/mk9TeXJur/\n4Z3x\r\n=64B0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaJln8prj6NYxxWLmSZa1jqhZXPu30jxefzm+ViOYhPwIhAJMtFxapNGoF9qu/Mr1PJOniVkYpG6Tees6wIixp8V4d"}]},"_npmUser":{"name":"bartoszpolnik","email":"bartoszpolnik@gmail.com"},"directories":{},"maintainers":[{"name":"bartoszpolnik","email":"bartoszpolnik@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regex-checkstyle_1.0.0_1618078445487_0.9998975029956327"},"_hasShrinkwrap":false},"2.0.0":{"name":"@bartekbp/regex-checkstyle","version":"2.0.0","description":"Library reporting regex output in checkstyle format","main":"dist/index.js","bin":{"regex-checkstyle":"dist/cli.js"},"scripts":{"clean":"rimraf dist","build":"tsc --project tsconfig.prod.json","watch":"tsc --watch --project tsconfig.prod.json","test":"jest","check:eslint":"eslint \"src/**/*.ts\"","fix:eslint":"eslint \"src/**/*.ts\" --fix","check:types":"tsc --noEmit","check:filenames":"ls-lint","check:all":"npm-run-all -p check:types check:eslint check:filenames","fix:all":"npm-run-all -p fix:eslint"},"types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/bartekbp/regex-checkstyle.git"},"keywords":["regex","checkstyle","formatter"],"author":{"name":"Bartosz Polnik"},"license":"MIT","bugs":{"url":"https://github.com/bartekbp/regex-checkstyle/issues"},"homepage":"https://github.com/bartekbp/regex-checkstyle#readme","devDependencies":{"@ls-lint/ls-lint":"^1.9.2","@types/jest":"^26.0.20","@types/lodash":"^4.14.168","@types/node":"^14.14.22","@types/yargs":"^15.0.12","@typescript-eslint/eslint-plugin":"^4.14.0","@typescript-eslint/parser":"^4.14.0","eslint":"^7.18.0","jest":"^26.6.3","jest-xml-matcher":"^1.2.0","npm-run-all":"^4.1.5","rimraf":"^3.0.2","string.prototype.matchall":"^4.0.4","ts-jest":"^26.4.4","tsconfig-paths":"^3.9.0","typescript":"^4.1.3"},"dependencies":{"checkstyle-formatter":"^1.1.0","fast-glob":"^3.2.5","lodash":"^4.17.20","yargs":"^16.2.0"},"gitHead":"0d17c358a92001f12681e6cda12fc87c4a07c29d","_id":"@bartekbp/regex-checkstyle@2.0.0","_nodeVersion":"14.16.0","_npmVersion":"7.9.0","dist":{"integrity":"sha512-Qpxz+eoGBtNf+urzNu4q4BOxrz9N8DwnQDtAPmIVu3u4pdlMk/8Y7Vho0Yhv1CHebJeTIRo5gRQ0Kvh7h0f2vQ==","shasum":"39854f8ef641d4a6f10a2c1f9d27eedc493e6725","tarball":"https://registry.npmjs.org/@bartekbp/regex-checkstyle/-/regex-checkstyle-2.0.0.tgz","fileCount":12,"unpackedSize":18156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcfH4CRA9TVsSAnZWagAAoDEQAJjospg4RqsnuMSbm7jH\nY1G20SwVBTxx4fBhDDRo3RUEpWu+S5XVYnZkVh4IKsfHsVJjgXZCk11ogKe+\nEdVBrUv/Jz/TxS79bdv5yyWlGkhj89YebZkdFAOsmSZIJ+0SYHIN3xNEoGtq\nls5XFN3nidbBZh7i/Us7KkXrj8QfCb9t3TMJyl5+clYqIXZQEn7JLv3lOiaM\nbJ2JYBvav1sD/ToGogAqM5bwZEwsWC9RnQuDT5x0VXbFiiPtob+MHeoXlAa7\nQ2++o4FbBaQEEzj1vErJS5So4Jxvf6xAxSBZ9MFrxXObWz3IVL2PUcvMyc7Y\nL0ThS9nJ6lpjXWefO59OPkA6Al383pLYELgTMJrc0KLDUm/UnZ1F/I7kDxbi\nbi93uQFax5ScNZCZYeTFyn8jmkANPJhTFcHF7iVRAyWuJAMG7Pt9YoJy3lr/\nQMhnWBhIm99eJkLakOncccMr9n5HiEfqlRZeZdlSN3nhee/uCzX/t5d/qH9e\ntD0mkoRIu048GFKf3KAwHZDTCWBZ8mQ9miqfeFkeRlGrV8GbWySObvjxZTQT\nGpjxEb1fCY+8+kkm2y9JcRcNs/ocLu5qSOA1rX1ZAgd93uhW1ySbTA5CKdKA\nhsjGsWPrmxM9msnfuvhW/qkf9FuPV0VvYyc2XnQszDQqC1o8a3SIQcwVat3m\nB2yX\r\n=I3U+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiz7yMkt5IrhAIBt0N9b1dnXG61WWG0WE1P7Bn7KvMpgIhAJgWkT0DHluxFXg+8ide5tTQI5utBAw+HbvLfzpWG/rn"}]},"_npmUser":{"name":"bartoszpolnik","email":"bartoszpolnik@gmail.com"},"directories":{},"maintainers":[{"name":"bartoszpolnik","email":"bartoszpolnik@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regex-checkstyle_2.0.0_1618080247667_0.534373369312169"},"_hasShrinkwrap":false},"3.0.0":{"name":"@bartekbp/regex-checkstyle","version":"3.0.0","description":"Library reporting regex output in checkstyle format","main":"dist/index.js","bin":{"regex-checkstyle":"dist/cli.js"},"scripts":{"clean":"rimraf dist","build":"tsc --project tsconfig.prod.json","watch":"tsc --watch --project tsconfig.prod.json","test":"jest","check:eslint":"eslint \"src/**/*.ts\"","fix:eslint":"eslint \"src/**/*.ts\" --fix","check:types":"tsc --noEmit","check:filenames":"ls-lint","check:all":"npm-run-all -p check:types check:eslint check:filenames","fix:all":"npm-run-all -p fix:eslint"},"types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/bartekbp/regex-checkstyle.git"},"keywords":["regex","checkstyle","formatter"],"author":{"name":"Bartosz Polnik"},"license":"MIT","bugs":{"url":"https://github.com/bartekbp/regex-checkstyle/issues"},"homepage":"https://github.com/bartekbp/regex-checkstyle#readme","devDependencies":{"@ls-lint/ls-lint":"^1.9.2","@types/jest":"^26.0.20","@types/lodash":"^4.14.168","@types/node":"^14.14.22","@types/yargs":"^15.0.12","@typescript-eslint/eslint-plugin":"^4.14.0","@typescript-eslint/parser":"^4.14.0","eslint":"^7.18.0","jest":"^26.6.3","jest-xml-matcher":"^1.2.0","npm-run-all":"^4.1.5","rimraf":"^3.0.2","ts-jest":"^26.4.4","tsconfig-paths":"^3.9.0","typescript":"^4.1.3"},"dependencies":{"checkstyle-formatter":"^1.1.0","fast-glob":"^3.2.5","lodash":"^4.17.20","string.prototype.matchall":"^4.0.4","yargs":"^16.2.0"},"gitHead":"ee00f2ede3d826e40ac0baa4bd61aa76a3e07340","_id":"@bartekbp/regex-checkstyle@3.0.0","_nodeVersion":"14.16.0","_npmVersion":"7.9.0","dist":{"integrity":"sha512-YB5cT0wU93iNCiwELDT0tKLc4i2LsnfEHgeUohuXjpLFLvopRdEC6g+yT83ZYNtExrocDj8Y1VQomK3Yba4Evw==","shasum":"97e5282b917d741a89a3f548ef6711d34d86fc87","tarball":"https://registry.npmjs.org/@bartekbp/regex-checkstyle/-/regex-checkstyle-3.0.0.tgz","fileCount":12,"unpackedSize":18156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcfKxCRA9TVsSAnZWagAAc20QAIWICUsOnZgker+YWjq1\nC6aKBi1im+LT9eWv33+/hdeYMgkYmmTJmK15lBqesCNwALfDInB/QvotGSLG\nRP5Ug93Do4//CSRQb7QUnU7UR4Ry7rbd6S43q/6n8q6AZPeibNK1M0Gpbo2/\nFC1jyK0X5qAC/0EkaoDSYmNdajyIGiZzY7061YCaz+SU3rMcp8aGU5IEoEWK\nGGyyG/FmqC2in94B0OaP5tO62aaxuzZFEp+RNXDCuIiQxytbOS6GameF8jOC\nSdrKAumBLoJsVRZ6q/LTLTJSUAsy5ehQ3g0/PHlksfpTeR6DkXtIqyBwsk2Y\ngOXfUrZFLNpjm1VcJUlsu0vE0aFc4yx61QVX8Q4qtCModnvzFOwwg5OQtyf4\n/pihrrUdYrv9qubEsfdzPYdlrPVNICGTg4k9Kh5WafdhsJCM2YJARojnj5Gr\nLG1NaX9LiBLIaCkD899TeFD35pPRGA0OhtlTctMR2hbuhOOHieFZkpJLYUBs\niUBbA6R3wWgKVD3wwJQPUn2g2fvbmr9ZkOHJ5CTco8GnchRgQR470qT0Wacx\nmjhr2gVWzdEzaOcd7UPRaky6s5ZYanvTUb3PhwqRbVymBmLVuCp8dMDU+QR4\nvKXEnqukiDC4afqpFf0jjHKd0Bjk/lPi6LTe4N8diS6i0GvQfaUH00AeGoAl\n566w\r\n=hYhP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDTXnl9I0Zp8LRUQsSZJeqxwukWhUiwWUkwus0smcrphAiEAqt2922ZVKNkJ2sCi0uY2PzOWO5TPhpCx8r66m2scQV0="}]},"_npmUser":{"name":"bartoszpolnik","email":"bartoszpolnik@gmail.com"},"directories":{},"maintainers":[{"name":"bartoszpolnik","email":"bartoszpolnik@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regex-checkstyle_3.0.0_1618080433472_0.3880021389378763"},"_hasShrinkwrap":false},"4.0.0":{"name":"@bartekbp/regex-checkstyle","version":"4.0.0","description":"Library reporting regex output in checkstyle format","main":"dist/index.js","bin":{"regex-checkstyle":"dist/cli.js"},"scripts":{"clean":"rimraf dist","build":"tsc --project tsconfig.prod.json","watch":"tsc --watch --project tsconfig.prod.json","test":"jest","check:eslint":"eslint \"src/**/*.ts\"","fix:eslint":"eslint \"src/**/*.ts\" --fix","check:types":"tsc --noEmit","check:filenames":"ls-lint","check:all":"npm-run-all -p check:types check:eslint check:filenames","fix:all":"npm-run-all -p fix:eslint"},"types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/bartekbp/regex-checkstyle.git"},"keywords":["regex","checkstyle","formatter"],"author":{"name":"Bartosz Polnik"},"license":"MIT","bugs":{"url":"https://github.com/bartekbp/regex-checkstyle/issues"},"homepage":"https://github.com/bartekbp/regex-checkstyle#readme","devDependencies":{"@ls-lint/ls-lint":"^1.9.2","@types/jest":"^26.0.20","@types/lodash":"^4.14.168","@types/node":"^14.14.22","@types/yargs":"^15.0.12","@typescript-eslint/eslint-plugin":"^4.14.0","@typescript-eslint/parser":"^4.14.0","eslint":"^7.18.0","jest":"^26.6.3","jest-xml-matcher":"^1.2.0","npm-run-all":"^4.1.5","rimraf":"^3.0.2","ts-jest":"^26.4.4","tsconfig-paths":"^3.9.0","typescript":"^4.1.3"},"dependencies":{"checkstyle-formatter":"^1.1.0","fast-glob":"^3.2.5","lodash":"^4.17.20","string.prototype.matchall":"^4.0.4","yargs":"^16.2.0"},"gitHead":"5eae17579fb1b244657f49e2831c4e5555c4e8cd","_id":"@bartekbp/regex-checkstyle@4.0.0","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-VY6iBGI+blBiETjnKOmoq8jUr4XPp0tLwsmh0AOaUdBuOTv3UCmTOF+nQDIItzdez2ZpkNnWq6lNje0YX9ur/w==","shasum":"4c9b157f3540dbcfd5b2ccc6f928c5085ceb1ab2","tarball":"https://registry.npmjs.org/@bartekbp/regex-checkstyle/-/regex-checkstyle-4.0.0.tgz","fileCount":12,"unpackedSize":18156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8eRPCRA9TVsSAnZWagAArDQP/jtnc+XWODcyRp8GTWL/\nx9LwlL15QY+s2aXCeZ/U4Wkj9xYCLvCeion7JtTEigi3NrEqQlF/vQmuAKIW\nGTTzhewmEECrLZwrqNgeitEUIFyuorXTiMLGiMASjmB96xQydvHq2hxKJDQq\nS0XbOn7Wu2JcL/bmNmu9iVgZhwwvtoHbbGLn22YobjjJBlKeXx9XMhHSs1+D\n13ikl+uMDvw1WUv0r3APxxVCN7ssH6ttW4iDd1utcS7ymSbGsSqiG7gmqeDY\n3juHEdPXy4E7xVr00aea2t3YBj91OlVZ3txmgMcVNsaOBGVumgvRT0BO5Tmp\n4zbEnyOisW+cIrmZMKEGIi7JZjy24HcPpwbab5ehX9iC9GRr/PYUEE/mh+QG\npej11DFjRIVyn6ay3N8dv4qA8ghRE+wEaFuXn2nE0r2OrbJjWO13Xd6uKUhs\n5syUbI9RHNgV66BgJJ2anNDumXvd+Z09/mJvWkBqx996DyN62/jWimduEyZe\n7IVXlt/dtiCM3YrkAIBY83xdnWgqpGK9EdceP9FGiz+FOk+WuZqf00q8Lr9T\nMEQN5PhvqjbmJvOE5QQ48m3JTY3n/3kRTQrNOt78Cpb0bn4aNQQl/99u5aIq\nqj/XssXjomAjLnRX581xiB7tqHa2/G6rmoIpHe9ePAuc2xBE5wTpmuxcc4PZ\nLZJl\r\n=1Tqq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6mogCApG+RZVwaI+Fo8q260Sax/zf2u6zH4sVtzokswIgWykPqdHvY9wuTzLloZbIDBPPps1Ap0+0Q6FoX5DsLME="}]},"_npmUser":{"name":"bartoszpolnik","email":"bartoszpolnik@gmail.com"},"directories":{},"maintainers":[{"name":"bartoszpolnik","email":"bartoszpolnik@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regex-checkstyle_4.0.0_1626465359235_0.6854209056950815"},"_hasShrinkwrap":false},"5.0.0":{"name":"@bartekbp/regex-checkstyle","version":"5.0.0","description":"Library reporting regex output in checkstyle format","main":"dist/index.js","bin":{"regex-checkstyle":"dist/cli.js"},"scripts":{"clean":"rimraf dist","build":"tsc --project tsconfig.prod.json","watch":"tsc --watch --project tsconfig.prod.json","test":"jest","check:eslint":"eslint \"src/**/*.ts\"","fix:eslint":"eslint \"src/**/*.ts\" --fix","check:types":"tsc --noEmit","check:filenames":"ls-lint","check:all":"npm-run-all -p check:types check:eslint check:filenames","fix:all":"npm-run-all -p fix:eslint"},"types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/bartekbp/regex-checkstyle.git"},"keywords":["regex","checkstyle","formatter"],"author":{"name":"Bartosz Polnik"},"license":"MIT","bugs":{"url":"https://github.com/bartekbp/regex-checkstyle/issues"},"homepage":"https://github.com/bartekbp/regex-checkstyle#readme","devDependencies":{"@ls-lint/ls-lint":"^1.9.2","@types/jest":"^26.0.20","@types/lodash":"^4.14.168","@types/node":"^14.14.22","@types/yargs":"^15.0.12","@typescript-eslint/eslint-plugin":"^4.14.0","@typescript-eslint/parser":"^4.14.0","eslint":"^7.18.0","jest":"^26.6.3","jest-xml-matcher":"^1.2.0","npm-run-all":"^4.1.5","rimraf":"^3.0.2","ts-jest":"^26.4.4","tsconfig-paths":"^3.9.0","typescript":"^4.1.3"},"dependencies":{"checkstyle-formatter":"^1.1.0","fast-glob":"^3.2.5","lodash":"^4.17.20","string.prototype.matchall":"^4.0.4","yargs":"^16.2.0"},"gitHead":"bac2a78f0c02ca4974cc364139c113bc7de666de","_id":"@bartekbp/regex-checkstyle@5.0.0","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-lj6PakPx9JeYZZwYrjBozzx90lWpX78R/BCTfpqycbzgfaONDXBx0EHpUatXYUAamYEMb+vm+j1K+It7I0XnRg==","shasum":"1f2a0a34c6a78c3575566bdf45c4fee4e5fba8ee","tarball":"https://registry.npmjs.org/@bartekbp/regex-checkstyle/-/regex-checkstyle-5.0.0.tgz","fileCount":12,"unpackedSize":17983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8eeICRA9TVsSAnZWagAAg4EP/jBoxnM8ZerTe/56XZIh\n/pGDidjxyxcuExcNkHeIs2uBt8j7UtBLNGjzXgSEPHX6cJpeRS1GKDeY5gwL\n8eogTsrkoERj7rGm4yPvKsTnfXFxMgZeiFvm2usGLy63qAduKlrPqNutLzFN\n6zO3ZVSRyfNhntOcyNbyZDpsYvJVmNMeKHnV+lsxmGzp0FKK39jXWZN6Xc8i\n9Au5Hi9qaXSbB+K4tP5H+rW9IHZLxxWFDXERagg1SSEqTM/vIMDMvWcoiw+c\nrjvo3J7h8vag2EWqlTYR1StBcujUN6xYMLvgiNXP/XIetK4usw+1MJEBYDcc\n5ejRn4iZF/b9zGaDAfuzfCNQCLmigWmXhBJGyiX8P2U31hms/C+hlgnaTXBT\nNnSOe18HApLpKq2sD69PH7qcy5BmsgzUkumkrU/PW7AXKPEx4VPw00CECTKT\n2DV4j8dJXzOOEllHpuVDDH8wL+TH2GZ3bgBxIWPgC0XIlIRwpGHls6JWLQOO\np59Z0zh0xN7jzk/xcC8azJ2cauviyMzP2EQpV20rTC6oHgbRueMN1XOE77yY\nUPyInEVyYQyJRrW4oBN5r+2Sva2ln9d/USFxxnbd/JrJQcXFwQQ3sklRcbhC\nhrQqkcCQGTCbNZtLEaxcHk2c+fpKTNSIWLWbErCp/hjhP4pDVa3HkwSru/Uo\ntbpR\r\n=vWv9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDGyT/te/M94tiJ+LXlqzgvylEvWzNyc7BV2Ijb4120cAiEA+5TLogVrSRIO0aNxFLQaEfKgeFCx+zrxnJZcIDG9B2Y="}]},"_npmUser":{"name":"bartoszpolnik","email":"bartoszpolnik@gmail.com"},"directories":{},"maintainers":[{"name":"bartoszpolnik","email":"bartoszpolnik@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regex-checkstyle_5.0.0_1626466183864_0.6926380979510156"},"_hasShrinkwrap":false}},"time":{"created":"2021-04-10T18:14:05.235Z","1.0.0":"2021-04-10T18:14:05.637Z","modified":"2022-04-04T17:44:50.515Z","2.0.0":"2021-04-10T18:44:07.835Z","3.0.0":"2021-04-10T18:47:13.627Z","4.0.0":"2021-07-16T19:55:59.360Z","5.0.0":"2021-07-16T20:09:44.014Z"},"maintainers":[{"name":"bartoszpolnik","email":"bartoszpolnik@gmail.com"}],"description":"Library reporting regex output in checkstyle format","homepage":"https://github.com/bartekbp/regex-checkstyle#readme","keywords":["regex","checkstyle","formatter"],"repository":{"type":"git","url":"git+https://github.com/bartekbp/regex-checkstyle.git"},"author":{"name":"Bartosz Polnik"},"bugs":{"url":"https://github.com/bartekbp/regex-checkstyle/issues"},"license":"MIT","readme":"# Regex-checkstyle\r\nRegex-checkstyle is a tool for finding mistakes in code using regexes and reporting them in checkstyle format. It was created to improve pull request decoration with typical sql errors.\r\n\r\n## Prerequisites\r\nProject requires:\r\n- nodejs 10\r\n- npm\r\n\r\n## Installation\r\nAll arifacts are published to npm. To use the latest version, you can install it using:\r\n```\r\nnpm i --save-dev @bartekbp/regex-checkstyle\r\n```\r\n\r\n## Usage\r\n\r\nLibrary executes a regular expression over files with optional text substitution and reports results in `checkstyle` format.\r\nYou can use it to find variables in code that begin with underscore and recommend to strip it:\r\n```\r\n> npx @bartekbp/regex-checkstyle -p '(const|let)\\s+(_.*)' -s 'Variable $2 has a name starting with underscore. Please remove it.' 'src/**/*.js'\r\n```\r\n\r\nSupported parameters:\r\n- `-p` specifies regex to use for finding  text\r\n- `-s` specifies substitution\r\n\r\nThe last positional argument is a glob that specifies searched files. For example glob values please refer to\r\nhttps://github.com/mrmlnc/fast-glob.\r\n\r\n### Pull request decoration with regex output\r\nIf you want to automate adding comments to your pull request based on regexes this tool will help you achieve it.\r\nTo configure it, I will use `jenkins`, but the solution applies to other continuous integration systems as well.\r\n\r\n#### Jenkins pipleline\r\n\r\nYou need to setup a `jenkins pipeline` that will be triggered with [bitbucket branch source plugin](https://plugins.jenkins.io/cloudbees-bitbucket-branch-source/) or [github branch source plugin](https://github.com/jenkinsci/github-branch-source-plugin).\r\nIn the pipeline you need to run regex-checkstyle redirect output to a file:\r\n```\r\nstage('regex') {\r\n  steps {\r\n    sh  'npx @bartekbp/regex-checkstyle ... > regex-checkstyle.xml'\r\n  }\r\n}\r\n```\r\nDepending on your code review system, **tomasbjerre** created different plugins for pull request decoration. You can find the full list of them at the bottom of [violations-lib readme](https://github.com/tomasbjerre/violations-lib). I'll focus on the configuration for `bitbucket cloud`.\r\n\r\nYou need to update pipeline with additional stage for pr decoration:\r\n<pre>\r\nstage('Decorate pr') {\r\n  steps {\r\n    withCredentials([usernamePassword(credentialsId: <strong>'jenkins-pr-writes'</strong>, passwordVariable: 'JENKINS_VIOLATION_PASSWORD', usernameVariable: 'JENKINS_VIOLATION_USER')]) {\r\n      sh 'npx violation-comments-to-bitbucket-cloud-command-line -u \"$JENKINS_VIOLATION_USER\" -p \"$JENKINS_VIOLATION_PASSWORD\" -ws <strong>workspace</strong> -rs <strong>repoName</strong> -prid \"$CHANGE_ID\" -v \"CHECKSTYLE\" \".\" \".*regex-checkstyle.xml$\" \"regex\" || true'\r\n    }\r\n  }\r\n}\r\n</pre>\r\nThe bold parts in the stage needs to updated to reflect your project:\r\n- **jenkins-pr-writes** with credentials to bitbucket user\r\n- **workspace** with bitbucket workspace\r\n- **repoName** with repository that has an opened pull request\r\n\r\n## License\r\n\r\nDistributed under the MIT License. See LICENSE for more information.\r\n\r\n## Acknowledgements\r\nGreat thanks to:\r\n- [tomasbjerre](https://github.com/tomasbjerre) for his tools enabling pull request decoration\r\n- [jimf](https://github.com/jimf) for tool to convert json to xml checkstyle format\r\n","readmeFilename":"README.md"}