{"_id":"@primer/stylelint-diff-reporter","_rev":"30-7c07bda0afa37b931d212f9977ab5a56","name":"@primer/stylelint-diff-reporter","dist-tags":{"latest":"0.0.0","canary":"0.0.0-e5eeab9"},"versions":{"0.0.0-b5802a7":{"name":"@primer/stylelint-diff-reporter","version":"0.0.0-b5802a7","keywords":["stylelint","git","diff"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/stylelint-diff-reporter@0.0.0-b5802a7","maintainers":[{"name":"colebemis","email":"cole@colebemis.com"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"}],"dist":{"shasum":"5fb9630a0fc1270f21c88325789cf3756cb8fca8","tarball":"https://registry.npmjs.org/@primer/stylelint-diff-reporter/-/stylelint-diff-reporter-0.0.0-b5802a7.tgz","fileCount":11,"integrity":"sha512-9oCsMtXlTPqX5gqdtEskaqh9o9kUuM6b+NA+qfXxUfy9aOQV8K8eAYV4cm8ge3hZ3XPX21tnTRcIgGl60yRsHw==","signatures":[{"sig":"MEUCIEVNw0TaYBnlFnxbv8+gTfRIh9BGvAWcvPTAFyhfGCH3AiEA78/OdHWvalXuQA6hav5mM1G2zRtHeXo6wfN3T3KdFOU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3992,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJde/rDCRA9TVsSAnZWagAAEMsP/jkNUHtplBn+2BbI20s7\n63KT1N9gejUHPfJ5w0jLe/LAh1MhkYKfv9mrPrMHeh8WRLEUjkonCcQvaUX+\nQn+qUXWF+wwSQD+KhxBYUZ/TsRI1prH0NFJaVvWWEvPTmj/YqMLdaUTyDkhP\nLC9vFRu6RJMMdSxFzJimFvxxbMdlbBRZG12Ti8gdue6wZb8QJIKiCWm6CpDI\npKfCMoD3wLzRUU3tiQaLkLNOQtB9xdx4gHt0dFYHHkk3W+SWzVQnWhEPFeCg\nmz1j0EZKuZl7P9IgbTmnsKVf9MmG/Fqu4L/xp535jP6/WhQSu1P9R/WMi6tL\ncu3N9JnCjjEj1Cipd7pFeWyz8G2N+/G5rsLStnMUUMDy/Zqs0teUkOjzUh6/\n0KM4MxVcByxcIoneL6COkkmzrrQHTNCMplw/w+aMlSCivZ+TfyfHXfN3QiQZ\nXvFJwfAMNhMlJgWgxvA2rsorbKSAqy5FAXslIPoLN5bLV7Sa+2Tt350FpISf\nqc3FUdN628b0NaYUgAfBfDuwrrT15vzfwi+KxWeO5JYlCjYRwhv3sFm8KybA\nTf6v9xKN6dG8fJ0Y6C/Putb2o48GSNg/OXzYg++d/seqUg2T7CbXyYWFbPIj\ns63veF+HUrxR8MHqb2h9c++dRI+6UDX1AnL7uSweFm4Af8rDFwi+mnopKfHX\nnPe9\r\n=17Ku\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"bad68a1a14eee681688548f14a1d910389cd130f","scripts":{"lint":"github-lint","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.9.0","description":"Filter stylelint reports by files changed in git","directories":{},"_nodeVersion":"10.16.3","dependencies":{"what-the-diff":"^0.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","eslint":"^6.3.0","stylelint":"^10.1.0","eslint-plugin-jest":"^22.17.0","eslint-plugin-github":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-diff-reporter_0.0.0-b5802a7_1568406211102_0.27185255022301624","host":"s3://npm-registry-packages"}},"0.0.0":{"name":"@primer/stylelint-diff-reporter","version":"0.0.0","keywords":["stylelint","git","diff"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/stylelint-diff-reporter@0.0.0","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"dist":{"shasum":"b0ecb1bfd40420e129af68489dd50f0147a895e7","tarball":"https://registry.npmjs.org/@primer/stylelint-diff-reporter/-/stylelint-diff-reporter-0.0.0.tgz","fileCount":11,"integrity":"sha512-l4SFM55NER+fP3onBkWkYMSge6FkKP/4a3UZGfobMEIWZQVmr8oIcMc7UkEZtMgb2a7z8lJ5VmoxxJJn+S2APQ==","signatures":[{"sig":"MEUCIQCF5Z75eKmmS+oC9nNtAdbel/yruxB+jKkeayOtV+yRxQIgDIwsG5KT5cz9ndjQHfbD/2wWQOxevEnUPxx1Go4k6gQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3984,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJde/vUCRA9TVsSAnZWagAAbLoP/2LdqwVvvjmH14sS1uam\nKie+yjFhYdX+E+GQrKj2Nrus2p+1bn+/DcNYd+SC5qFhEhwineCFJbVNv542\ntXtoJdbli+aFyFkH8JCLCCBZ7VaQO0yQOjO/7EvFF9sEpIhG76xkDXxb1fD6\nXX0BUh8o65pzE7TEjFyyRU9etzXU3V4YtWscGScFn0x0t+ECWJI3xQ6ba0xX\n/6HIPEHVAVTWcimq2yqIQF7OFC8qxuiREGUDKE3UreZFnFxaxZLvZks/VHdr\nd1sLgfrjckaYqjNIgQkV8MT/uKwARkzKr08L1ypeLJP/qs0v89rPOwdznfqf\nuBM3ARnQYKV1A58rCTzgVTXZx6zBN9XArVNmZK9YrAM6txHGiEjwCDMcELfK\nCExA2HCZrvkNWNkB3taqZx8bTvP4ionWJ0pzJygS19/dppQSYr4+dxUrf/Zw\nSyGU5Pfy75XWXMOajDaZVx7elIKy6WAy8/BVpOM4/thxH6Ubt0pvdo3k2dFS\ncIQhtWk3cRKHNIRc1T7P8uqSamPyOh6LySbTT1AOTARvKK5w5p2LoJEHR81k\nrkD6/gJQ7S5x/JNzJnj/HzmiQfkK344yDR73xI5bEtLk6MEYJee9GMJ+UJ92\nKq3+Fq9qdeCjCXVc48VZ9aPtFDAyraxFZp5qtKYJ3FNondnyJvCb/C4tP1/H\nLz1W\r\n=HMvH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"16a461769b380611b8282cb6513aae5aa3f87978","scripts":{"lint":"github-lint","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.9.0","description":"Filter stylelint reports by files changed in git","directories":{},"_nodeVersion":"10.16.3","dependencies":{"what-the-diff":"^0.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","eslint":"^6.3.0","stylelint":"^10.1.0","eslint-plugin-jest":"^22.17.0","eslint-plugin-github":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-diff-reporter_0.0.0_1568406484008_0.3240184163101323","host":"s3://npm-registry-packages"}},"0.0.0-0de68d9":{"name":"@primer/stylelint-diff-reporter","version":"0.0.0-0de68d9","keywords":["stylelint","git","diff"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/stylelint-diff-reporter@0.0.0-0de68d9","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"dist":{"shasum":"8c74bda45a5a479d6f9837b174e91ae770ed2553","tarball":"https://registry.npmjs.org/@primer/stylelint-diff-reporter/-/stylelint-diff-reporter-0.0.0-0de68d9.tgz","fileCount":16,"integrity":"sha512-GrSidynRrzfXdpiwDJCWX1yL1cIyvwX1THyR0pxGFe8JTbqYOsmgu+TfZE27hAIEmJQLq/wM6brjPzOOJC4Nlw==","signatures":[{"sig":"MEYCIQD7UcEmcivpODu1CDz21gLnAfP+p+NnCDVukKL0QuS63AIhAOFghcZWLqV8op28qaMYWRVlWdqvrCIxjb3I2O+Az5N9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7286,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdfAdWCRA9TVsSAnZWagAAor0P/jqbvGEiGL2saLsg7jz0\nNNZv5manb/Cb5Ituv8LMGO2ebZVkbi+mmAXuQwIShnizsBHiwddH92EoiR9h\nmkrM8H3XgAyf9+zT0vAFeLjPBt5YscMxYUMReWEuHE4Dw5VVufjmbCA6JhR2\nh9CAU6KKj/ftlSQPXB6z3VM/GMQ3jesgnEEfyYCkaItqSlh1al4WmwR4vOnq\neVpPM0tQEC/Rl43mVbkI2mx20a59htmEAlN133dWNqoE3joQ4iq30YpHgdmU\nZQZwhoZjjUuWJIxtsPsHobwMFpsNwxuhW0z1kN9lCZk0epXt/xjdLYg4sR1X\nbaNcpcgxwrcu3CTuw0B+RsXXGyX7JU4vU/JsYPTR+n/h8tL0eJ4PpZGP3Nyo\nDsdbhq9mlkdKgnK4uDTJJsZ79K/u2Rh/nvbjRVYYSMTWLKK0JEC1ZOVN0mEJ\nDvS4t5BTduh0GaigZQ27e3fRGVqMFCFFoMkjingL8Tn/OtUAz4XJfcOScU1Q\n22t0NMuaeqx3ct8dINJPjqOzqp62Zbav5aa0y8y1jhiGPVI1PIKcoW96mC0w\nqK/5FgR8pY80O/Rkagi8MfL9MZ4sHtTBF0mz9n6mRazvW9jMzi0RlyzLSczW\nVImgkAVvD0QocHsm1yntVxuRFOB0Scwt7fbFqOxSRkxqODMTpERjutuszdLj\nJeJn\r\n=moDD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"ERROR: No README data found!","gitHead":"ac159e24c8d94f80ad9e6002cbef1ef1a938e6af","scripts":{"lint":"github-lint","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.9.0","description":"Filter stylelint reports by files changed in git","directories":{},"_nodeVersion":"10.16.3","dependencies":{"what-the-diff":"^0.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","eslint":"^6.3.0","stylelint":"^10.1.0","@primer/css":"^12.7.0","eslint-plugin-jest":"^22.17.0","eslint-plugin-github":"^3.1.2","stylelint-config-primer":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-diff-reporter_0.0.0-0de68d9_1568409430176_0.6607504484044056","host":"s3://npm-registry-packages"}},"0.0.0-f035ab6":{"name":"@primer/stylelint-diff-reporter","version":"0.0.0-f035ab6","keywords":["stylelint","git","diff"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/stylelint-diff-reporter@0.0.0-f035ab6","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"dist":{"shasum":"2c3984d472d68714158d00fc985b39d85e05d3d6","tarball":"https://registry.npmjs.org/@primer/stylelint-diff-reporter/-/stylelint-diff-reporter-0.0.0-f035ab6.tgz","fileCount":16,"integrity":"sha512-Sx281ewfcNKYqYvxE+oVbLVxEaoHoTJNk6btnJw4ZugRAbrM6DhYcQF3qbhXM+Lxd3bR2045sT6B3nJ5rPOy6g==","signatures":[{"sig":"MEUCIEsM7WGP01seXP1/utFoqe1xQqNBkea1j4DpodVHWUQSAiEA6EkGQYUWm+k/cfeA0KbmPERwjuYHigcLBn2fC3nN9Lc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdfAfDCRA9TVsSAnZWagAAD1EP/iuwzW1ps4nbdq+1jTSx\nmKnwzT4S1YxKBq0e8lnqqXjVVnP1sty3m2UssU81q7KeIfCFNTnREhfSJLSL\nd02ZUpNkUllLMDge30GeRGA+tNW3BeKhB9b1gG+Dku+QnEtPR/KkW1xyg5C0\nZ5GPQg0W2XJLhfgJdoKRbdpxDO8MXsR2v7FnEj2ZciSUkZvA51XJ2Pt3mV1f\nV+1tTU7J8WpIOjqSMQr0JHvXOgWhPkxQMPhVSmmUeRrBDtt8fNWODzKeU/Yi\nGkqPTTCwXvajOjmeOG5JOu50BIoZxfnwBSqmcRKTsPQwcl3J7Ad+dReiePDP\n9OgIeGgdIbjwVzRgvZ+TKt9+Po+Il1kRggpOR45HA4zHofkpnBnYTocTca/k\npYOSBj4MXKhsdOpsKzk0ThnW2yDtL4IDfiqxBprGeFO7T6w4JuBeP7UJEGsS\niZitxsH4yt/jS4TycmNryy4aGNvLgHS5gbhBMoUXAnUHRoh+UnL/V3vw9f6n\nXg30s0oJTXU6+iZ+N+xcOt9zu9DdXUDY58jLSApHFsaCRKlLtvQ8TNoFkaiP\nL6f6bCkrKoMMgFeACBVO5ieO8EL7RFB46I3o/HNfM2NjmhP7PJHbWtRkvw+1\nw15QQn1kCpst58o31+ocPsBXu+cX92pgLxAGCEGbI+ljPvM5iayFiAL2+Rie\ngOJJ\r\n=6RBh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"ERROR: No README data found!","gitHead":"4edebf6fc7aec26b73fe0320ff67b58e75e0be7e","scripts":{"lint":"github-lint","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.9.0","description":"Filter stylelint reports by files changed in git","directories":{},"_nodeVersion":"10.16.3","dependencies":{"what-the-diff":"^0.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","eslint":"^6.3.0","stylelint":"^10.1.0","@primer/css":"^12.7.0","eslint-plugin-jest":"^22.17.0","eslint-plugin-github":"^3.1.2","stylelint-config-primer":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-diff-reporter_0.0.0-f035ab6_1568409538831_0.7019990242098417","host":"s3://npm-registry-packages"}},"0.0.0-50b83bf":{"name":"@primer/stylelint-diff-reporter","version":"0.0.0-50b83bf","keywords":["stylelint","git","diff"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/stylelint-diff-reporter@0.0.0-50b83bf","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"dist":{"shasum":"84097ebc7d9a0e7d6755ab2acd506a2a34f76d6c","tarball":"https://registry.npmjs.org/@primer/stylelint-diff-reporter/-/stylelint-diff-reporter-0.0.0-50b83bf.tgz","fileCount":16,"integrity":"sha512-NpFktfVOT2S4ThtHNWH9lPD6zIdNjBFEorB6a0qkkmJRE05rpC2bQM6823opej68PD/3K8zVbKtqfrS4XUIlpg==","signatures":[{"sig":"MEUCIFfIPw5htLAMbJqnQGR9uzno/YK2a0gIVxVV0s/jd5WlAiEA4RkWAU8iyp4p88KgOaIdtJ+k9DySI6AnkPJrzFjrlDU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7593,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdfBX5CRA9TVsSAnZWagAAlhYP/135LaQ715b+Y6MDbU2H\nXviKxNsCiCxg4zi/THrtEeVOAg7rNt/twqzQID+1ai5FNl3Ke2Ju9/PJX8eK\ndiqtWNe4IIoXaNmuuQkoV4uKAYHXBxn7WtSAYMfl/n4nvvpYFzq0elw4b5ib\nZxGIQiBedmjHoab6BUeHy5stqMRl90PwFJrjCEEpyWXJ5B4hq2kxySnOw9Ha\nciGEV7t9N9zTMlSKUOAcXjROkDHy5YnQDtp1x8LNNK8/RqK3MyjGCI0sfk03\nPF54g7a2SihaAdmSEZWK9Vc05vSHh7+AvpqQfXfT8gXWHnDOEXZaF7T2Luh3\nK6Nd4AezkCvb1opko4U1Msvh4cDpI09GF76ptvg2HOZQ5ADNa7RVda1A+Wzw\nlXLJwQFNr0aoR02iIy1UoF7zd9AaH6bwLB6m/cbFwFL8aUyr+DJ7dtasEATu\n1csCcj9TrgHWqa4etnX9cf9VXKockVfQAxtK1BmQ7x90wWSwY3Gy9yQWLyCH\nC0cJv8i714+4wTwBqZ8cC1898T7DQh1UsJ1D43PkBXrqOrW6CVdRPocGIeGo\nyZLjNN8K0NOJOUcme22+JWTBkwtcUFqx8E/uZwS4RmmkmpZx99peVKro6kX+\nY/WpbdJlxNdO+wlYjz77Vi9oqe8xY5NfbsznwaCOYHkY0Kt+O4YGidAedno4\nQt7Y\r\n=dnPU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"ERROR: No README data found!","gitHead":"97558ae3cc2ffd0b763ae1713be0e60e9d415b07","scripts":{"lint":"github-lint","test":"jest","test-cli":"./test.sh || echo '^ if this errored, we are probably good!'"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.9.0","description":"Filter stylelint reports by files changed in git","directories":{},"_nodeVersion":"10.16.3","dependencies":{"what-the-diff":"^0.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","eslint":"^6.3.0","stylelint":"^10.1.0","@primer/css":"^12.7.0","eslint-plugin-jest":"^22.17.0","eslint-plugin-github":"^3.1.2","stylelint-config-primer":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-diff-reporter_0.0.0-50b83bf_1568413176279_0.6220858405025971","host":"s3://npm-registry-packages"}},"0.0.0-05bb47b":{"name":"@primer/stylelint-diff-reporter","version":"0.0.0-05bb47b","keywords":["stylelint","git","diff"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/stylelint-diff-reporter@0.0.0-05bb47b","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"dist":{"shasum":"4130c2a96a7af06e53668241850918c1e65029d7","tarball":"https://registry.npmjs.org/@primer/stylelint-diff-reporter/-/stylelint-diff-reporter-0.0.0-05bb47b.tgz","fileCount":18,"integrity":"sha512-V6xzAHLzHwFKbAvgOZbHxRRsJr8ZtAQZNDsrg+FWS8/8z3+ZoF+L9D6Q3IldmptgfBWFE9Yb+gdPPY4/fRgN2w==","signatures":[{"sig":"MEYCIQCunkXtjZ5ongRK8UtRPwiBTFSXqacMcZu161d1ekfaZAIhAPmy3+iBzWAQ57mrtwYyPiNw7P8Kwfp4euLGmI8NJh3h","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgRNQCRA9TVsSAnZWagAAaSIP/A3ujuBpIHD537iM5Yfd\n9YQxkqeJgN/fPG28wdnPskLuwAE5/O+Bt/Yg/MD4LpGK0fnfeSbXVpMTnAtr\nPyMDlGgagxqyM9yuaX2TBqqVHZSYwolE6HXDb7GQTPptjB4X/l7RMfemC1mF\nq039wdqfLvtMsRU2IBu41x7ETgpSyqA//2lb+WFkvgDs1nUAB6YJTavIG4rC\nD+VfR6knAxhQbCpA/OgsnoxNV6LLfdWD4uHBq4iF2xuMrXpw2hPT5uJlpCae\nHj0jikvq7F0GYt+oTJe1v36V7JYwms1YkF4Do+ZhCfA470T1UfjjiuW+Ae/O\nuCNY8x0t5trn1+nS9uJwxyZSfOL4NzoLiqx/pghCTWSqm99+u5hgqwsScIvQ\n7pfdYtIZtfQGQmpNbithMbtPnfkTHiZ/jm/qpHqmZNO769Ckw7VlTp2mMQ/m\nEdjFqDTYioTIa5TDr/IyhjlM+6nOpTZvwPTDZRgh6PwyZM+dqmIOd+NwwY6O\nwirDRW0/KrlFfOeiyantBcF0ynKRrMVRmJfKZ/wwAdMdLypEX+op143UMlz3\n/uLNsr9EM7+FUdnIGx8r5oj56jMGb+uMT9y/hxAkGdi41TbIonxRcm9OrdpE\n5vsJIv5nMnGbx7jAjy/6vYkKTEMwTNXOYFkhMV5vFAo1yyzCdPicKB/MSX5t\n/jPo\r\n=CSL3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"ERROR: No README data found!","gitHead":"51e32c7d630d1ac2b42e4ad47e41501ee2a7318e","scripts":{"lint":"github-lint","test":"jest","test-cli":"./test.sh || echo '^ if this errored, we are probably good!'"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.9.0","description":"Filter stylelint reports by files changed in git","directories":{},"_nodeVersion":"10.16.3","dependencies":{"what-the-diff":"^0.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","eslint":"^6.3.0","stylelint":"^10.1.0","@primer/css":"^12.7.0","eslint-plugin-jest":"^22.17.0","eslint-plugin-github":"^3.1.2","stylelint-config-primer":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-diff-reporter_0.0.0-05bb47b_1568740175273_0.0694521207877552","host":"s3://npm-registry-packages"}},"0.0.0-c314d5e":{"name":"@primer/stylelint-diff-reporter","version":"0.0.0-c314d5e","keywords":["stylelint","git","diff"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/stylelint-diff-reporter@0.0.0-c314d5e","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"dist":{"shasum":"ec01881e06928df9ce44b99ef9d7fddc0abc3c2e","tarball":"https://registry.npmjs.org/@primer/stylelint-diff-reporter/-/stylelint-diff-reporter-0.0.0-c314d5e.tgz","fileCount":18,"integrity":"sha512-gTAtOvlRW6yamtI2c2zPQvHFoPf8YCFl8yIjiwAapqEj66vtrcCobrLlzYQFzyPU67JH3d4/9mZMn4P1Iecohg==","signatures":[{"sig":"MEYCIQCnJYKeCDM/9NYPeUK00oFFTtuMmCcuj/2xR1vsWj3feAIhAM/wsS4A7lF9qqhfdT2Da/7xJkC9SnhRw6p2WU4lkNbd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8688,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgSfnCRA9TVsSAnZWagAAY40QAINMMtxheWwg7/jFe7JR\n/URmyDyu9XyoeMqUm5EUku6wdGTC48+ATYwZvvVTPg88Dyrx40075BBftlz5\nuQzkBsnKnct7/d3AitKx1B5twXHBil5ZFce5A2cTc+N40AOvWkBuZWnfhF6B\ngaNMtFfjmi9ttp3nhLkdHY9AHWvbsYlN8vIYOoGYU2RNhjm+FIyFmtmE/HQi\nnS7shzOP/iuq39AXRuaDIFUJLHuM98RcJPfuPvCv7Xkhnv6P7HlUSIA2woQd\n5j0H3Nnz9eKgK6uUa8G+e5lwSE/NFpvYVLVeYRIUvPW6g1aYRH4zh7kejGdU\nB9NOX75yvz96GzVXoI50wH0nlRntQ27BmG/m7tyndpthul94GIk7Y/Xdg44D\nu0sbedWsndliy6dgwLzNVIrhH5bHSD7QejsWcnwoLxgOEzeT3ig6hEU8kZSF\nlucluyCvEabwTc7UtRFwPEF6QoLkv0N+OM2gr9W5FjokW3fewo7KoweKcxP6\n6Kt5UjunmY7elffkHLM57jQcUUgRQNJ3m0Lznwm8UOw4roW227M/r/xvzeqr\n6NQfRHtiADLu3J6tNCAn0BcaA0SUXDgb9LIvf1cab/Ls7wVcFSaa1tyjsg4d\nwA9ZLPg7h2afTK+PE/XiKaiIZ8Ny2rMfxZD+eX6R4ND0vatAviOhtitmwAZh\nfmd4\r\n=/KDS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"ERROR: No README data found!","gitHead":"1c55d90b7b178349c7d7d1f029419d0ebc994a51","scripts":{"lint":"github-lint","test":"jest","test-cli":"./test.sh || echo '^ if this errored, we are probably good!'"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.9.0","description":"Filter stylelint reports by files changed in git","directories":{},"_nodeVersion":"10.16.3","dependencies":{"what-the-diff":"^0.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","eslint":"^6.3.0","stylelint":"^10.1.0","@primer/css":"^12.7.0","eslint-plugin-jest":"^22.17.0","eslint-plugin-github":"^3.1.2","stylelint-config-primer":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-diff-reporter_0.0.0-c314d5e_1568745446945_0.01306556306500739","host":"s3://npm-registry-packages"}},"0.0.0-e02ba7f":{"name":"@primer/stylelint-diff-reporter","version":"0.0.0-e02ba7f","keywords":["stylelint","git","diff"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/stylelint-diff-reporter@0.0.0-e02ba7f","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"dist":{"shasum":"f00fe4ee4954592eded08f692f42a754b504694e","tarball":"https://registry.npmjs.org/@primer/stylelint-diff-reporter/-/stylelint-diff-reporter-0.0.0-e02ba7f.tgz","fileCount":20,"integrity":"sha512-iGcsNBNnZutd4kYtKqH0R8zW9SL9pknSuENCTO17RjvzM20VI1olR3qDRroKK7Nk4R7v+SuNSli3rU2SDr9rTg==","signatures":[{"sig":"MEYCIQD/pq49Yuw83nIxP3QL0uMKllkkb+46mkF9wtX3P0FkvQIhAOTCwS83F7SYT+sH1210gLjTs31dGnLBGU2QuqIw1c+j","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgU5yCRA9TVsSAnZWagAAOZ0P/RMHinaIki1M5WmsObN8\nqw1B/rCQpV+GgO9hkzW5GWeca1J5mFhal/XuoNJ/BYvf2dFql5hkzPgt/0vY\nKBVitjYX4S4SmOAcUBFVPaqY0AWS9c7SgPYAwc9jB7VveGSaYpzUETi63Jo2\nPZiDVz4dOIGO4U0q3YRctl69P7T9d/+BZXkUA4LUuH49wibVDcdHuChc0krL\nQFYCxvfbE6xs4Bx9Cr8EdM3t0Oa4y6DlmHa4AS4/V4/GbiwQ+nlMbPKi/sSh\n1jesVEe1ZfxBXiJu25ahgLPxZxsXc1jITyjepdLDMO2rhtBNBkZIIS7PWdKB\ni0/ql+uWKWKbpYYFYCY2JldzKLnToMcmCT74i+x1pomHBKAN4IraoMy5DZEV\nTnjnx4lEmMhBXOVA0PFQDu+DNeRy/wUsgqf6JrD/mA84sxzI8K6dXuFQAKOM\nOY9+wVO3BynXR+aeiRqlM2mfxG6dTpY09xWQhidwdxbn8aGTNSMsInHIjeJQ\nJp/2e59h14WSaETDWGmP3aZqma4XI3SK37GQR6R//77M9ghw+Q2ww5D+hr3d\ny6YxLsQv3pheacAqVEdSFPUVzGCoJNF6/O7Is7XqQKn7m+zP1A4qhMnu2HWl\nfvbYJ06/WJJV+5V0PIpXzr9Jj72wndmSYiBi/yExR+y4+Ha2nFMa+Co9ZBGJ\nP4ql\r\n=19xm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# stylelint-diff-reporter\n\nThis is a [stylelint formatter] that filters reports so that they only include\nerrors occurring on files and lines in a [related git diff](#diffs).\nSpecifically, only the results that satisfy the following tests will be passed\nthrough to the configured [formatter](#stylelint_diff_formatter):\n\n1. Files whose path is included in the diff\n1. Warnings on lines included in the diff\n1. Warnings with the `error` severity\n\n## Install\n```\nnpm install -D @primer/stylelint-diff-reporter\n```\n\n## Usage\nYou can use this reporter via the `stylelint` CLI with:\n\n```sh\nstylelint --custom-formatter=@primer/stylelint-diff-reporter\n```\n\nIf you use it this way, you'll likely want to [configure it](#configuration).\n\n### Diffs\nWithout any [configuration](#configuration), `stylelint-diff-reporter` obtains\na diff by shelling out to `git diff -U1 <ref>`, where the `<ref>` default is\n`master`. The `-U1` flag tells git to only output one line of \"context\" rather\nthan the default three, which should be slightly faster to process.\n\nDiff output is parsed with [what-the-diff] into an array of objects that\nrepresent diffs for individual files that may or may not have been renamed,\neach of which has one or more \"hunks\" that reference a start line number, line\ncount, and one or more lines of diff text output.\n\n### Configuration\n\n[Stylelint formatters] can't be configured via stylelint configuration files.\nRather than implementing its own customization system,\n`stylelint-diff-reporter` offers configuration via the following environment\nvariables:\n\n#### `STYLELINT_DIFF`\nIf provided, specifies the `git diff` output to parse instead of calling\n`git diff -U1 <base>` internally. This can be helpful in large codebases where\nyou only want to parse the diff of the directory containing CSS files:\n\n```sh\nlint_path=app/assets/stylesheets\nexport STYLELINT_DIFF=$(git diff -U1 master -- $lint_path)\nnpx stylelint --custom-formatter=@primer/stylelint-diff-reporter $lint_path\n```\n\n#### `STYLELINT_DIFF_BASE`\nThis allows you to specify a git ref against which to diff in the `git diff -U1\n<ref>` call (assuming `STYLELINT_DIFF` is unset). The default is `master`. For\nexample:\n\n```bash\nexport STYLELINT_DIFF_BASE=release-1.0.0\nnpx stylelint --custom-formatter=@primer/stylelint-diff-reporter\n```\n\n####`STYLELINT_DIFF_FORMATTER`\nSpecifies which [stylelint formatter] to call with the filtered results. This\ncan take a couple of different forms:\n\n1. The name of one of stylelint's [built-in formatters]: `string` (the\n   default), `compact`, `json`, or `verbose`\n2. The path or name of a node module to `require()`.\n\nFor example, to use the JSON formatter:\n\n```sh\nexport STYLELINT_DIFF_FORMATTER=json\nstylelint --custom-formatter=@primer/stylelint-diff-reporter > errors.json\n```\n\n### API\nThe main export of `@primer/stylelint-diff-reporter` is a function that takes a\nresult and an optional object of options:\n\n* `cwd` is the current working directory, which is used to strip prefixes from\n  filenames in the diff to match what stylelint reports.\n* `base` is the ref against which to `git diff`, which defaults to\n  [`STYLELINT_DIFF_BASE`](#stylelint_diff_base) or `master`.\n* `diff` is the `git diff` output to parse, which defaults to\n  [`STYLELINT_DIFF`](#stylelint_diff) or the output of `git diff -U1 <base>`.\n* `formatter` is the path or name of the stylelint formatter with which to\n  format the filtered results, and defaults to\n  [`STYLELINT_DIFF_FORMATTER`](#stylelint_diff_formatter) or `string`\n  (stylelint's own default).\n\n#### Example\nYou may find it simpler to provide your own custom formatter that calls\n`@primer/stylelint-diff-reporter` itself:\n\n```js\n// reporter.js\nconst diff = require('@primer/stylelint-diff-reporter')\nconst myAwesomeFormatter = require('./path/to/awesome-formatter')\nmodule.exports = results => diff(results, {\n  formatter: myAwesomeFormatter\n})\n```\n\n...which you would then use with:\n\n```sh\nnpx stylelint --custom-formatter=path/to/reporter.js\n```\n\n[stylelint formatter]: https://stylelint.io/developer-guide/formatters\n[built-in formatters]: https://stylelint.io/developer-guide/formatters#stylelintformatters\n[what-the-diff]: https://github.com/kuychaco/what-the-diff\n","gitHead":"259160c5485ba382f721d37d0c9eeaf0c507b469","scripts":{"lint":"github-lint","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.9.0","description":"Filter stylelint reports by files changed in git","directories":{},"_nodeVersion":"10.16.3","dependencies":{"what-the-diff":"^0.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.9.0","eslint":"^6.3.0","stylelint":"^10.1.0","@primer/css":"^12.7.0","eslint-plugin-jest":"^22.17.0","eslint-plugin-github":"^3.1.2","stylelint-config-primer":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-diff-reporter_0.0.0-e02ba7f_1568755314243_0.46190860882236473","host":"s3://npm-registry-packages"}},"0.0.0-74a7109":{"name":"@primer/stylelint-diff-reporter","version":"0.0.0-74a7109","keywords":["stylelint","git","diff"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/stylelint-diff-reporter@0.0.0-74a7109","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"dist":{"shasum":"8c15604986c61dd0efcfe7624f0db86eeeddd1bd","tarball":"https://registry.npmjs.org/@primer/stylelint-diff-reporter/-/stylelint-diff-reporter-0.0.0-74a7109.tgz","fileCount":20,"integrity":"sha512-UioDbPj71cg97vcw4Ru3qn2qMmqJ6jRRuvtKyjOI6SDoknnsOIXrehPQjhuDpzTOGXKE3k8CjWrvVtMdD4J19A==","signatures":[{"sig":"MEUCIQCI19GBJUroQh8BqXMUdKD96QBju4GEQH076enwUlmY2QIgR20pT2hciF/KJVF44u4HwBTJZ75uLi9MdDtEyVBfQi4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgVGMCRA9TVsSAnZWagAAxusQAIoNgUs60mJF8Tb1fyr7\n3lBEncX313x+9vowvpIW6zJmKih51+D9p9v2V/oJtfJlwYVBjcmuFbgKIUtL\nygK6x/yIMBXM9zs4j7+/XP5pEjQ/CbeIKFyBcBd1UgqYPDklHmGhi7VUbxY7\nMATu5/aam/qXVqEX/4vY/6aLvNRFnVnrhiJdgBJHAqrpFi9CbRht0hyxRhx3\no0E3WtFWcQbX+hFX7+lneWP2t2ke5I0SYwu8XOJBFQhwROyGnNq4uuGFkdRc\nkFJ7pOxKjkbLt7V+doNixO8dO+bafnObUfJXcvCJ+O6VXXQKLyRox6OGX5tb\nT+aRowqyhiDT2OuBWy5NpFr8vSZpMxkMCkUtVI+d6vyP7hTNjxGwKL0hf4fV\n1LfdwJ41ABoAgIls5EEuEasxhSgFtuoLLjjvosWXs5XNKSTaouhAl2HAFtKd\nXCO3IuiHJUwBU+bnTeiF53UizF4UQEi22hJZv+98T0wr6MRsl04ZA+gWpVGm\nNhvvchPc31g2TO9cBk/Mz0KOwvQZuRhz9o8itV0tF9yyCOE9rGcfGZoKP4xW\nzQEcNEY/gu0Kx/zBITOjP55lgOhMs/Ymsl9cXQJtJ5D5InwQKPhoGZjwnCkV\nF1WB67+bk49lPpCwN8wYv6KCIhv/xyLEA1u9B0nCjBlSpX7ujH15jISP9l3e\nWllc\r\n=crhY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# stylelint-diff-reporter\n\nThis is a [stylelint formatter] that filters reports so that they only include\nerrors occurring on files and lines in a [related git diff](#diffs).\nSpecifically, only the results that satisfy the following tests will be passed\nthrough to the configured [formatter](#stylelint_diff_formatter):\n\n1. Files whose path is included in the diff\n1. Warnings on lines included in the diff\n1. Warnings with the `error` severity\n\n## Install\n```\nnpm install -D @primer/stylelint-diff-reporter\n```\n\n## Usage\nYou can use this reporter via the `stylelint` CLI with:\n\n```sh\nstylelint --custom-formatter=@primer/stylelint-diff-reporter\n```\n\nIf you use it this way, you'll likely want to [configure it](#configuration).\n\n### Diffs\nWithout any [configuration](#configuration), `stylelint-diff-reporter` obtains\na diff by shelling out to `git diff -U1 <ref>`, where the `<ref>` default is\n`master`. The `-U1` flag tells git to only output one line of \"context\" rather\nthan the default three, which should be slightly faster to process.\n\nDiff output is parsed with [what-the-diff] into an array of objects that\nrepresent diffs for individual files that may or may not have been renamed,\neach of which has one or more \"hunks\" that reference a start line number, line\ncount, and one or more lines of diff text output.\n\n### Configuration\n\n[Stylelint formatters] can't be configured via stylelint configuration files.\nRather than implementing its own customization system,\n`stylelint-diff-reporter` offers configuration via the following environment\nvariables:\n\n#### `STYLELINT_DIFF`\nIf provided, specifies the `git diff` output to parse instead of calling\n`git diff -U1 <base>` internally. This can be helpful in large codebases where\nyou only want to parse the diff of the directory containing CSS files:\n\n```sh\nlint_path=app/assets/stylesheets\nexport STYLELINT_DIFF=$(git diff -U1 master -- $lint_path)\nnpx stylelint --custom-formatter=@primer/stylelint-diff-reporter $lint_path\n```\n\n#### `STYLELINT_DIFF_BASE`\nThis allows you to specify a git ref against which to diff in the `git diff -U1\n<ref>` call (assuming `STYLELINT_DIFF` is unset). The default is `master`. For\nexample:\n\n```bash\nexport STYLELINT_DIFF_BASE=release-1.0.0\nnpx stylelint --custom-formatter=@primer/stylelint-diff-reporter\n```\n\n####`STYLELINT_DIFF_FORMATTER`\nSpecifies which [stylelint formatter] to call with the filtered results. This\ncan take a couple of different forms:\n\n1. The name of one of stylelint's [built-in formatters]: `string` (the\n   default), `compact`, `json`, or `verbose`\n2. The path or name of a node module to `require()`.\n\nFor example, to use the JSON formatter:\n\n```sh\nexport STYLELINT_DIFF_FORMATTER=json\nstylelint --custom-formatter=@primer/stylelint-diff-reporter > errors.json\n```\n\n### API\nThe main export of `@primer/stylelint-diff-reporter` is a function that takes a\nresult and an optional object of options:\n\n* `cwd` is the current working directory, which is used to strip prefixes from\n  filenames in the diff to match what stylelint reports.\n* `base` is the ref against which to `git diff`, which defaults to\n  [`STYLELINT_DIFF_BASE`](#stylelint_diff_base) or `master`.\n* `diff` is the `git diff` output to parse, which defaults to\n  [`STYLELINT_DIFF`](#stylelint_diff) or the output of `git diff -U1 <base>`.\n* `formatter` is the path or name of the stylelint formatter with which to\n  format the filtered results, and defaults to\n  [`STYLELINT_DIFF_FORMATTER`](#stylelint_diff_formatter) or `string`\n  (stylelint's own default).\n\n#### Example\nYou may find it simpler to provide your own custom formatter that calls\n`@primer/stylelint-diff-reporter` itself:\n\n```js\n// reporter.js\nconst diff = require('@primer/stylelint-diff-reporter')\nconst myAwesomeFormatter = require('./path/to/awesome-formatter')\nmodule.exports = results => diff(results, {\n  formatter: myAwesomeFormatter\n})\n```\n\n...which you would then use with:\n\n```sh\nnpx stylelint --custom-formatter=path/to/reporter.js\n```\n\n[stylelint formatter]: https://stylelint.io/developer-guide/formatters\n[built-in formatters]: https://stylelint.io/developer-guide/formatters#stylelintformatters\n[what-the-diff]: https://github.com/kuychaco/what-the-diff\n","gitHead":"2628e4cf07dcb2df75903d4ad89f022df418d36d","scripts":{"lint":"github-lint","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.9.0","description":"Filter stylelint reports by files changed in git","directories":{},"_nodeVersion":"10.16.3","dependencies":{"what-the-diff":"^0.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.9.0","eslint":"^6.3.0","stylelint":"^10.1.0","@primer/css":"^12.7.0","eslint-plugin-jest":"^22.17.0","eslint-plugin-github":"^3.1.2","stylelint-config-primer":"^8.0.0"},"peerDependencies":{"stylelint":"^10"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-diff-reporter_0.0.0-74a7109_1568756107563_0.32168612836233357","host":"s3://npm-registry-packages"}},"0.0.0-28e3ee4":{"name":"@primer/stylelint-diff-reporter","version":"0.0.0-28e3ee4","keywords":["stylelint","git","diff"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/stylelint-diff-reporter@0.0.0-28e3ee4","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"dist":{"shasum":"f39b07f281c75c9032941a85bef4f1ba7a5608be","tarball":"https://registry.npmjs.org/@primer/stylelint-diff-reporter/-/stylelint-diff-reporter-0.0.0-28e3ee4.tgz","fileCount":20,"integrity":"sha512-HEAIg7kckXvbrTnQhOB5K7hX7AZFOZyExxrmqaG8NEd8tsyIDj+I+6XoRmrIEFYeGBHYtz3qIptrrvUJKOxm1g==","signatures":[{"sig":"MEQCIH7a6dgAADFIuLcTrn3RX2zxBDMumgGvMKDiUCojmWuBAiALnQl+zjzDpJ0+gFo/tnIx3KgtsIy7jL0Ic9iamqmMtw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgVnPCRA9TVsSAnZWagAA3f4P/056YU18otrXZ2+HmcOs\nI4QRYBZynK0NH5829RhilSpUxB57cvkJR+w/4ft8k4N0MprOpG2aGyf+KSxV\nmsFhQ9mh4I7nOG6zfw+ItwOcow3ir9WztMV3K445aoTCOyhKaHBe9DQr+Eaw\nbLGx9QWOf6weOzOiuFqdsgTCzwvuOYaUkkKs1Sp/eRTtZMoy1TFylH18WAkg\n6qUApsGXUa99mouQmDD9LXHm0SV5U+EjewgJ4QU4QndfSzXd96uta3ngi0rm\nkf7AHveT6QdTLNcLGAmq78uuJO6r0I+tCIgbSShDQojTlY3r0LQT+IJ8qvmU\nF/8c4+D9+gWrz8fUJX0ckIXtqb8jCgJ/eHhxTXjcPGeAka09RL9vOvYZcMHn\nikCdPEXIWuOJ4eYTOHfwXo6uLrk/cTpBTj4lmkKceitV7uAaBTrqBeu+6OSO\nkQAG+lw5LyyipbHDR0rm+ZyH/kZZ9erZpZP7IPhhWfH67xFllIWDkrHeVPzv\nERPzfxT2yTgw+FezAbZEq0Ea9XHYSAiBmwb6C8HZl47m+aemQlzb4Wp52gpB\nhEeflIvl58MaIuLwPgLTNBZU8pCFXlIWhIRZ1Tscyfiw5/vqIIb4y+YuXXRV\n27iOJ7Sx9Z9QQmvmNApLyDzlxfIyurkA+o/gKQYVsxBJ15GMNJCwcrH00Fgi\n6S/6\r\n=icnC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# stylelint-diff-reporter\n\nThis is a [stylelint formatter] that filters reports so that they only include\nerrors occurring on files and lines in a [related git diff](#diffs).\nSpecifically, only the results that satisfy the following tests will be passed\nthrough to the configured [formatter](#stylelint_diff_formatter):\n\n1. Files whose path is included in the diff\n1. Warnings on lines included in the diff\n1. Warnings with the `error` severity\n\n## Install\n```\nnpm install -D @primer/stylelint-diff-reporter\n```\n\n## Usage\nYou can use this reporter via the `stylelint` CLI with:\n\n```sh\nstylelint --custom-formatter=@primer/stylelint-diff-reporter\n```\n\nIf you use it this way, you'll likely want to [configure it](#configuration).\n\n### Diffs\nWithout any [configuration](#configuration), `stylelint-diff-reporter` obtains\na diff by shelling out to `git diff -U1 <ref>`, where the `<ref>` default is\n`master`. The `-U1` flag tells git to only output one line of \"context\" rather\nthan the default three, which should be slightly faster to process.\n\nDiff output is parsed with [what-the-diff] into an array of objects that\nrepresent diffs for individual files that may or may not have been renamed,\neach of which has one or more \"hunks\" that reference a start line number, line\ncount, and one or more lines of diff text output.\n\n### Configuration\n\n[Stylelint formatters] can't be configured via stylelint configuration files.\nRather than implementing its own customization system,\n`stylelint-diff-reporter` offers configuration via the following environment\nvariables:\n\n#### `STYLELINT_DIFF`\nIf provided, specifies the `git diff` output to parse instead of calling\n`git diff -U1 <base>` internally. This can be helpful in large codebases where\nyou only want to parse the diff of the directory containing CSS files:\n\n```sh\nlint_path=app/assets/stylesheets\nexport STYLELINT_DIFF=$(git diff -U1 master -- $lint_path)\nnpx stylelint --custom-formatter=@primer/stylelint-diff-reporter $lint_path\n```\n\n#### `STYLELINT_DIFF_BASE`\nThis allows you to specify a git ref against which to diff in the `git diff -U1\n<ref>` call (assuming `STYLELINT_DIFF` is unset). The default is `master`. For\nexample:\n\n```bash\nexport STYLELINT_DIFF_BASE=release-1.0.0\nnpx stylelint --custom-formatter=@primer/stylelint-diff-reporter\n```\n\n####`STYLELINT_DIFF_FORMATTER`\nSpecifies which [stylelint formatter] to call with the filtered results. This\ncan take a couple of different forms:\n\n1. The name of one of stylelint's [built-in formatters]: `string` (the\n   default), `compact`, `json`, or `verbose`\n2. The path or name of a node module to `require()`.\n\nFor example, to use the JSON formatter:\n\n```sh\nexport STYLELINT_DIFF_FORMATTER=json\nstylelint --custom-formatter=@primer/stylelint-diff-reporter > errors.json\n```\n\n### API\nThe main export of `@primer/stylelint-diff-reporter` is a function that takes a\nresult and an optional object of options:\n\n* `cwd` is the current working directory, which is used to strip prefixes from\n  filenames in the diff to match what stylelint reports.\n* `base` is the ref against which to `git diff`, which defaults to\n  [`STYLELINT_DIFF_BASE`](#stylelint_diff_base) or `master`.\n* `diff` is the `git diff` output to parse, which defaults to\n  [`STYLELINT_DIFF`](#stylelint_diff) or the output of `git diff -U1 <base>`.\n* `formatter` is the path or name of the stylelint formatter with which to\n  format the filtered results, and defaults to\n  [`STYLELINT_DIFF_FORMATTER`](#stylelint_diff_formatter) or `string`\n  (stylelint's own default).\n\n#### Example\nYou may find it simpler to provide your own custom formatter that calls\n`@primer/stylelint-diff-reporter` itself:\n\n```js\n// reporter.js\nconst diff = require('@primer/stylelint-diff-reporter')\nconst myAwesomeFormatter = require('./path/to/awesome-formatter')\nmodule.exports = results => diff(results, {\n  formatter: myAwesomeFormatter\n})\n```\n\n...which you would then use with:\n\n```sh\nnpx stylelint --custom-formatter=path/to/reporter.js\n```\n\n[stylelint formatter]: https://stylelint.io/developer-guide/formatters\n[built-in formatters]: https://stylelint.io/developer-guide/formatters#stylelintformatters\n[what-the-diff]: https://github.com/kuychaco/what-the-diff\n","gitHead":"82db78d6b27ef1c82fa98dad6cba05b6f38c7c77","scripts":{"lint":"github-lint","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.9.0","description":"Filter stylelint reports by files changed in git","directories":{},"_nodeVersion":"10.16.3","dependencies":{"what-the-diff":"^0.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.9.0","eslint":"^6.3.0","stylelint":"^10.1.0","@primer/css":"^12.7.0","eslint-plugin-jest":"^22.17.0","eslint-plugin-github":"^3.1.2","stylelint-config-primer":"^8.0.0"},"peerDependencies":{"stylelint":"^10"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-diff-reporter_0.0.0-28e3ee4_1568758222860_0.06695804761170843","host":"s3://npm-registry-packages"}},"0.0.0-ccefa38":{"name":"@primer/stylelint-diff-reporter","version":"0.0.0-ccefa38","keywords":["stylelint","git","diff"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/stylelint-diff-reporter@0.0.0-ccefa38","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"dist":{"shasum":"1c9c74d41266033207e453d1454854ffb400f628","tarball":"https://registry.npmjs.org/@primer/stylelint-diff-reporter/-/stylelint-diff-reporter-0.0.0-ccefa38.tgz","fileCount":20,"integrity":"sha512-ud3s4qIpil5hODQo/iEEKIf9h/U8guOlvPZn1r1Xu5oIdQcjjQiMHBgxQ840cgs+uvoeRG81n49BPnijKp6FZA==","signatures":[{"sig":"MEUCIEfFQJoDpshujIFXkoCepxa2EGBpRnPN7EnZ5RSqO20EAiEA0+JgBPZRmNUq1M3yJdKIAtLtHF6VyrBSH0XVke+g4Ns=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14043,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgV/jCRA9TVsSAnZWagAA/7gP/3LcQhm7LdRJt3tlfFRY\nElDtM2p9xOi45Pl1UYWemhgOaUtfoCkMx2PZcCkdTgEuvVuWRNZnnHT1qqx+\ng/9rlmbO24h5Cy8hBcYPxTKrf3CWKL7jyxp/Y62cvGQLEHBjHP2NP9Voprcn\n5f9rSwV+rcmJ9CwH3f9aaGwIW8Bjo5B09RRt2J1UpUFpzvA4MmqAND44vIAC\nJLDRMLHD9N+7YHeRJAKONCacsAjt0tFWdVJ/5chQuOB/xhIh84AZL5OTdfuu\nfE8IxMSgHS1GlnIJtsXXB3OT3Ysvqlf0fMQoMjYdXD4nG/m/Q/YIDRuIl+JA\nA7ogQViMiq90NDtngq7mNa3a+NMUec11LzJyuV28im9OK8KFCtxcxYY+OS3K\n7yXlV4jxKU7kv2uvA4btd2hxLHLR12vGFox/fQ6dyUfEaPLHZFQDaCP5K/Sa\nyeEmxMZ212DQFljjpkfI616/CqrST/rFFu01AdvzkmcAosm//uZXDloqgyjv\nKTvfLXKUH4+Jbq2yBxuhU4s2HQNLVY+mOKdphsuNBoAK3IfLHbGVjl43Myi2\nHm18uvkmr8urmv5x+ydvnLiSZbdHD0CZgBkTqKxzOpfZqiyDJ3is8neYKHtP\neykrUWooJS3XgFrs7NQrK4NIJ/0quqMBaoBfrlbFpVl7J7xLbO7j0kZKOTHK\nTuYO\r\n=jYVH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# stylelint-diff-reporter\n\nThis is a [stylelint formatter] that filters reports so that they only include\nerrors occurring on files and lines in a [related git diff](#diffs).\nSpecifically, only the results that satisfy the following tests will be passed\nthrough to the configured [formatter](#stylelint_diff_formatter):\n\n1. Files whose path is included in the diff\n1. Warnings on lines included in the diff\n\nThe primary use case of this module is a CI log parser that converts\npredictably formatted errors into [check annotations] on GitHub.\n\n\n## Install\n```\nnpm install -D @primer/stylelint-diff-reporter\n```\n\n\n## Usage\nYou can use this reporter via the `stylelint` CLI with:\n\n```sh\nstylelint --custom-formatter=@primer/stylelint-diff-reporter\n```\n\nIf you use it this way, you'll likely want to [configure it](#configuration).\n\n### Diffs\nWithout any [configuration](#configuration), `stylelint-diff-reporter` obtains\na diff by shelling out to `git diff -U1 <ref>`, where the `<ref>` default is\n`master`. The `-U1` flag tells git to only output one line of \"context\" rather\nthan the default three, which should be slightly faster to process.\n\nDiff output is parsed with [what-the-diff] into an array of objects that\nrepresent diffs for individual files that may or may not have been renamed,\neach of which has one or more \"hunks\" that reference a start line number, line\ncount, and one or more lines of diff text output.\n\n### Configuration\n\n[Stylelint formatters] can't be configured via stylelint configuration files.\nRather than implementing its own customization system,\n`stylelint-diff-reporter` offers configuration via the following environment\nvariables:\n\n#### `STYLELINT_DIFF`\nIf provided, specifies the `git diff` output to parse instead of calling\n`git diff -U1 <base>` internally. This can be helpful in large codebases where\nyou only want to parse the diff of the directory containing CSS files:\n\n```sh\nlint_path=app/assets/stylesheets\nexport STYLELINT_DIFF=$(git diff -U1 master -- $lint_path)\nnpx stylelint --custom-formatter=@primer/stylelint-diff-reporter $lint_path\n```\n\n#### `STYLELINT_DIFF_BASE`\nThis allows you to specify a git ref against which to diff in the `git diff -U1\n<ref>` call (assuming `STYLELINT_DIFF` is unset). The default is `master`. For\nexample:\n\n```bash\nexport STYLELINT_DIFF_BASE=release-1.0.0\nnpx stylelint --custom-formatter=@primer/stylelint-diff-reporter\n```\n\n####`STYLELINT_DIFF_FORMATTER`\nSpecifies which [stylelint formatter] to call with the filtered results. This\ncan take a couple of different forms:\n\n1. The name of one of stylelint's [built-in formatters]: `string` (the\n   default), `compact`, `json`, or `verbose`\n2. The path or name of a node module to `require()`.\n\nFor example, to use the JSON formatter:\n\n```sh\nexport STYLELINT_DIFF_FORMATTER=json\nstylelint --custom-formatter=@primer/stylelint-diff-reporter > errors.json\n```\n\n### API\nThe main export of `@primer/stylelint-diff-reporter` is a function that takes a\nresult and an optional object of options:\n\n* `cwd` is the current working directory, which is used to strip prefixes from\n  filenames in the diff to match what stylelint reports.\n* `base` is the ref against which to `git diff`, which defaults to\n  [`STYLELINT_DIFF_BASE`](#stylelint_diff_base) or `master`.\n* `diff` is the `git diff` output to parse, which defaults to\n  [`STYLELINT_DIFF`](#stylelint_diff) or the output of `git diff -U1 <base>`.\n* `formatter` is the path or name of the stylelint formatter with which to\n  format the filtered results, and defaults to\n  [`STYLELINT_DIFF_FORMATTER`](#stylelint_diff_formatter) or `string`\n  (stylelint's own default).\n\n#### Example\nYou may find it simpler to provide your own custom formatter that calls\n`@primer/stylelint-diff-reporter` itself:\n\n```js\n// reporter.js\nconst diff = require('@primer/stylelint-diff-reporter')\nconst myAwesomeFormatter = require('./path/to/awesome-formatter')\nmodule.exports = results => diff(results, {\n  formatter: myAwesomeFormatter\n})\n```\n\n...which you would then use with:\n\n```sh\nnpx stylelint --custom-formatter=path/to/reporter.js\n```\n\n\n## License\n\n[MIT](./LICENSE) &copy; [GitHub](https://github.com/)\n\n[stylelint formatter]: https://stylelint.io/developer-guide/formatters\n[built-in formatters]: https://stylelint.io/developer-guide/formatters#stylelintformatters\n[what-the-diff]: https://github.com/kuychaco/what-the-diff\n[check annotations]: https://github.blog/2018-12-14-introducing-check-runs-and-annotations/\n","gitHead":"20d132aad930ebb17a094511923a402a7e9d8586","scripts":{"lint":"github-lint","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.9.0","description":"Filter stylelint reports by files changed in git","directories":{},"_nodeVersion":"10.16.3","dependencies":{"what-the-diff":"^0.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.9.0","eslint":"^6.3.0","stylelint":"^10.1.0","@primer/css":"^12.7.0","eslint-plugin-jest":"^22.17.0","eslint-plugin-github":"^3.1.2","stylelint-config-primer":"^8.0.0"},"peerDependencies":{"stylelint":"^10"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-diff-reporter_0.0.0-ccefa38_1568759778588_0.7275450651038984","host":"s3://npm-registry-packages"}},"0.0.0-e5eeab9":{"name":"@primer/stylelint-diff-reporter","version":"0.0.0-e5eeab9","keywords":["stylelint","git","diff"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/stylelint-diff-reporter@0.0.0-e5eeab9","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"dist":{"shasum":"7db88be5fc07f0c416a42d661554c094df58d74f","tarball":"https://registry.npmjs.org/@primer/stylelint-diff-reporter/-/stylelint-diff-reporter-0.0.0-e5eeab9.tgz","fileCount":20,"integrity":"sha512-zkotAmFdaEN9MqIZcGEM5VBQ8Um0N3B+ZFE/A9jVK47eXKPEECbC3YV4XD4vcju9Iy2+7pwuHIk+xmgRw/BLKw==","signatures":[{"sig":"MEQCIAToN/CnsK0vYasYrYVg7hgpcc3YZxUAd13hFtC0qVciAiBM3C426xkIgQ6aQC1uVwwjagbxRoTEbPUTFiy2D4tjOA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14123,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgWN2CRA9TVsSAnZWagAASE8P/1cZa2TOMJNyHzuhflqC\nb3VeWe6zdKnbJXVolfGQWmVs7D/y1PysI0P2vslRRhDpOQtKkDBEWjqp9V1b\nnZ70u7tjXzf4FJNXufcjbsrPbaVSh+NGqk9HiG6NtxCuo/CjfQqThA2fo6dv\nKHc92Y+8bqN9dyubMivsgN6L1RQEoiVNxDX5b95MIcn3MnDjaAaow00B/Wdl\ns1349k7MjCRPS+Mepi+xwkUv7QX+RXq+aRs3MnJxRJGyk6lGCgFddTF9wOAp\napux17b7KJE41elYy94wstQR9576wAjST1h1DhbK8EU5cbhzKZkepyt/aGOY\ne+iqWJ7Tp4h6iHQO9MqJ6s+T37ricGYNuFgSkeXCxYS15eQK+A9ZHhboIzlm\nZH0gpuDrbGDGBz0ly9rbZhi2u3D2rULJuELlCSp65CoI8DhK5PJoFyn4Z36I\nWrS07J2dCqX9RYHlqQkDatkELlAVXM31ZQ6Xb6vBb1SuZMG7qVvPRQT2E272\npzVzBbnr+Gy992SlzWiW5ru24880glck04NHlCbprMcFeQTOR7Lp3W2r5c8X\nyLXOT4sFLg3OoBtoMesGCzkjnw+0/JG6aZAYMLgTk4w6+r6JqfLDMHJTlCEA\nYvhQGsrH8eYsKHrasb+2hNgf4u2YYdYU+drLhJXfFb5TpUQu0oeeBZqGZQ0W\nL5oC\r\n=SGwr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# stylelint-diff-reporter\n\nThis is a [stylelint formatter] that filters reports so that they only include\nwarnings occurring on files and lines in a [related git diff](#diffs).\nSpecifically, only the results that satisfy the following tests will be passed\nthrough to the configured [formatter](#stylelint_diff_formatter):\n\n1. Files whose path is included in the diff\n1. Warnings on lines included in the diff\n\nThe primary use case of this module is a log parser that automatically converts\npredictably formatted error messages into [check annotations] on GitHub.\n\n\n## Install\n```\nnpm install -D @primer/stylelint-diff-reporter\n```\n\n\n## Usage\nYou can use this reporter via the `stylelint` CLI with:\n\n```sh\nstylelint --custom-formatter=@primer/stylelint-diff-reporter\n```\n\nIf you use it this way, you'll likely want to [configure it](#configuration).\n\n### Diffs\nWithout any [configuration](#configuration), `stylelint-diff-reporter` obtains\na diff by shelling out to `git diff -U1 <ref>`, where the `<ref>` default is\n`master`. The `-U1` flag tells git to only output one line of \"context\" rather\nthan the default three, which should be slightly faster to process.\n\nThe diff output is parsed with [what-the-diff] into an array of objects that\nrepresent diffs for individual files that may or may not have been renamed,\neach of which has one or more \"hunks\" that reference a start line number, line\ncount, and one or more lines of diff text output.\n\n### Configuration\n\n[Stylelint formatters] can't be configured via stylelint configuration files.\nRather than implementing its own customization system,\n`stylelint-diff-reporter` offers configuration via the following environment\nvariables:\n\n#### `STYLELINT_DIFF`\nIf provided, specifies the `git diff` output to parse instead of calling\n`git diff -U1 <base>` internally. This can be helpful in large codebases where\nyou only want to parse the diff of the directory containing CSS files:\n\n```sh\nlint_path=app/assets/stylesheets\nexport STYLELINT_DIFF=$(git diff -U1 master -- $lint_path)\nnpx stylelint --custom-formatter=@primer/stylelint-diff-reporter $lint_path\n```\n\n#### `STYLELINT_DIFF_BASE`\nThis allows you to specify a git ref against which to diff in the `git diff -U1\n<ref>` call (assuming `STYLELINT_DIFF` is unset). The default is `master`. For\nexample:\n\n```bash\nexport STYLELINT_DIFF_BASE=release-1.0.0\nnpx stylelint --custom-formatter=@primer/stylelint-diff-reporter\n```\n\n####`STYLELINT_DIFF_FORMATTER`\nSpecifies which [stylelint formatter] to call with the filtered results. This\ncan take a couple of different forms:\n\n1. The name of one of stylelint's [built-in formatters]: `string` (the\n   default), `compact`, `json`, or `verbose`\n2. The path or name of a node module to `require()`.\n\nFor example, to use the JSON formatter:\n\n```sh\nexport STYLELINT_DIFF_FORMATTER=json\nstylelint --custom-formatter=@primer/stylelint-diff-reporter --quiet > errors.json\n```\n\n### API\nThe main export of `@primer/stylelint-diff-reporter` is a function that takes a\nresult and an optional object of options:\n\n* `cwd` is the current working directory, which is used to strip prefixes from\n  filenames in the diff to match what stylelint reports.\n* `base` is the ref against which to `git diff`, which defaults to\n  [`STYLELINT_DIFF_BASE`](#stylelint_diff_base) or `master`.\n* `diff` is the `git diff` output to parse, which defaults to\n  [`STYLELINT_DIFF`](#stylelint_diff) or the output of `git diff -U1 <base>`.\n* `formatter` is the path or name of the stylelint formatter with which to\n  format the filtered results, and defaults to\n  [`STYLELINT_DIFF_FORMATTER`](#stylelint_diff_formatter) or `string`\n  (stylelint's own default).\n\n#### Example\nYou may find it simpler to provide your own custom formatter that calls\n`@primer/stylelint-diff-reporter` itself:\n\n```js\n// reporter.js\nconst diff = require('@primer/stylelint-diff-reporter')\nconst myAwesomeFormatter = require('./path/to/awesome-formatter')\nmodule.exports = results => diff(results, {\n  formatter: myAwesomeFormatter\n})\n```\n\n...which you would then use with:\n\n```sh\nnpx stylelint --custom-formatter=path/to/reporter.js\n```\n\n\n## License\n\n[MIT](./LICENSE) &copy; [GitHub](https://github.com/)\n\n[stylelint formatter]: https://stylelint.io/developer-guide/formatters\n[built-in formatters]: https://stylelint.io/developer-guide/formatters#stylelintformatters\n[what-the-diff]: https://github.com/kuychaco/what-the-diff\n[check annotations]: https://github.blog/2018-12-14-introducing-check-runs-and-annotations/\n","gitHead":"e5eeab909456dea16d497669f095cfb01e965732","scripts":{"lint":"github-lint","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.9.0","description":"Filter stylelint reports by files changed in git","directories":{},"_nodeVersion":"10.16.3","dependencies":{"what-the-diff":"^0.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.9.0","eslint":"^6.3.0","stylelint":"^10.1.0","@primer/css":"^12.7.0","eslint-plugin-jest":"^22.17.0","eslint-plugin-github":"^3.1.2","stylelint-config-primer":"^8.0.0"},"peerDependencies":{"stylelint":"^10"},"_npmOperationalInternal":{"tmp":"tmp/stylelint-diff-reporter_0.0.0-e5eeab9_1568760694061_0.5749087903566257","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-09-13T20:23:31.022Z","modified":"2026-04-22T18:16:53.204Z","0.0.0-b5802a7":"2019-09-13T20:23:31.197Z","0.0.0":"2019-09-13T20:28:04.162Z","0.0.0-0de68d9":"2019-09-13T21:17:10.309Z","0.0.0-f035ab6":"2019-09-13T21:18:58.971Z","0.0.0-50b83bf":"2019-09-13T22:19:36.460Z","0.0.0-05bb47b":"2019-09-17T17:09:35.388Z","0.0.0-c314d5e":"2019-09-17T18:37:27.105Z","0.0.0-e02ba7f":"2019-09-17T21:21:54.377Z","0.0.0-74a7109":"2019-09-17T21:35:07.676Z","0.0.0-28e3ee4":"2019-09-17T22:10:22.958Z","0.0.0-ccefa38":"2019-09-17T22:36:18.696Z","0.0.0-e5eeab9":"2019-09-17T22:51:34.215Z"},"author":{"name":"GitHub, Inc."},"license":"MIT","keywords":["stylelint","git","diff"],"description":"Filter stylelint reports by files changed in git","maintainers":[{"email":"yes@jonrohan.codes","name":"jonrohan"},{"email":"joel@hawksley.org","name":"joelhawksley"},{"email":"design-systems@github.com","name":"primer-css"},{"email":"manuelpuyol@github.com","name":"manuelpuyol"},{"email":"clay@smockle.com","name":"smockle"},{"email":"sim@simurai.com","name":"simurai"},{"email":"katehiga8@gmail.com","name":"khiga8"},{"email":"oppermann.lukas@gmail.com","name":"lukasoppermann"},{"email":"siddharth.kshetrapal@gmail.com","name":"siddharthkp"},{"email":"josh@josh.black","name":"joshblack"},{"email":"leslie@cohnwein.com","name":"lesliecdubs"}],"readme":"","readmeFilename":""}