{"_id":"git-commit-id","_rev":"4-b09ac9080145e276c6c9779afe1e4500","name":"git-commit-id","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.0":{"name":"git-commit-id","description":"Returns commit id (commit sha) of git repository","version":"1.0.0","dependencies":{"modern-node":"2.3.0"},"author":{"name":"Adam Stankiewicz","email":"sheerun@sher.pl"},"repository":{"type":"git","url":"https://github.com/sheerun/git-commit-id.git"},"license":"MIT","main":"src/index.js","keywords":["git","next","sentry","build"],"scripts":{"test":"modern test","format":"modern format","lint":"modern lint","precommit":"modern precommit"},"lint-staged":{"*.js":["modern lint","git add"]},"devDependencies":{"fs-extra":"^8.1.0"},"_id":"git-commit-id@1.0.0","dist":{"shasum":"fd389dd24a3518a7643253ec5883c7191b766aaa","integrity":"sha512-UsIwYTWvNKclnKPrshvoSxXzyiVPclf16YcMu2xwqvHwouHjRMlgzccpIeXEYB9dornLjgSRvAuXSx/H5Q3c5A==","tarball":"https://registry.npmjs.org/git-commit-id/-/git-commit-id-1.0.0.tgz","fileCount":5,"unpackedSize":2313,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhlb9CRA9TVsSAnZWagAASyYP/ikvo2gwZQ4hcKTQkt+k\nbHWOt8BNsYbt23g+KzoBgXTYE0kJYwowEs+/9D9SbJTQCxfJWT0ySy7kBkb2\n+4ueHpAwYW+C/TFhewPNKm8eUHTR2Z6PFto3FwaOvyLjasvaCnymAeVUEZ/2\nW2h1MKeAJsle0Sueq0JAMESyI0eGSCBRy56jUSLknd4N5sZTb+LwGpMhIuOQ\n1XrcyqSS2CgnznjzKhPKVe7ABcVUKEOsq1DbmuVLqrZHSdTmzn8umqGWlSpv\ngsgae9tQzxcxNFKHkJ7zFICIkg+ip5AiWyaG5vKdKlUiPelWYtRaCtuOX9Bb\nvRky7OGph988EZPLPJVVHDzFFjNRFrwITarE/+qh7//unAo7seTKMWHiW13k\nUDxRBKMQUvp4PuZisjjkZ945RJKArvKdQIpa6B+WdH3GRzVv3L18X5Wu+mHT\nFZteQ7SmEnTCmo7cufUY+nATcdVHa2lMYmo2SvC3ivBdxhxpHha2tO6ywzJC\nqjKavtrPxbyxL79ObCGpXnl5psTjx+0Dqf/jZiV+1GgSwdde173Z3knRlY9d\n7BpqcCVIkDzZ1m6kLy572eh8jqTey7sZyqVN4OODjdiO/34Luso1Y7mwDFAS\nj8offQTyHpvuv//pMvjEPbC08xkzwBY7tz2n3Ny/aOqn1in7Scrq5ZbaG8am\nkv6l\r\n=Hd93\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBE2UDdsSZwa/0LrQri76EovDxQSBHgUOlwJ5gKNyemQIhAIdrgxICVXJBghmEesr8GlvVxGRQuz9EKlaErflRsKS0"}]},"maintainers":[{"name":"sheerun","email":"sheerun@sher.pl"}],"_npmUser":{"name":"sheerun","email":"sheerun@sher.pl"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/git-commit-id_1.0.0_1569085181243_0.1736336545610666"},"_hasShrinkwrap":false},"1.0.1":{"name":"git-commit-id","description":"Returns commit id (commit sha) of git repository","version":"1.0.1","dependencies":{"modern-node":"2.3.0"},"author":{"name":"Adam Stankiewicz","email":"sheerun@sher.pl"},"repository":{"type":"git","url":"https://github.com/sheerun/git-commit-id.git"},"license":"MIT","main":"src/index.js","keywords":["git","next","sentry","build"],"scripts":{"test":"modern test","format":"modern format","lint":"modern lint","precommit":"modern precommit"},"lint-staged":{"*.js":["modern lint","git add"]},"devDependencies":{"fs-extra":"^8.1.0"},"licenseText":"The MIT License\n\nCopyright (c) Adam Stankiewicz\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","_id":"git-commit-id@1.0.1","dist":{"shasum":"3d62a6ab45e1ee0d02247aa3dbf571e9bbbb3f3a","integrity":"sha512-fxhPMtvbkc3j7QZpc9shY21yPfhFoKuwtBqfgM/MsJ+hbAiUbJAxy7Wk/iPRmsvf99EUdFYg+mXNKJFXNLyqGg==","tarball":"https://registry.npmjs.org/git-commit-id/-/git-commit-id-1.0.1.tgz","fileCount":6,"unpackedSize":3385,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhnYyCRA9TVsSAnZWagAAvnAP/j6fPdYaoOWl48rWY4dg\nFgW7XNAkz626atudUPzsb+eClHFVpCqc2a70ne37u2bqiodaiuVinkFktJeZ\nRl03Nxl4fu79de9nFUbO+HJ9cR7iEO+rrJNxJVnPSKI3ba6hmo4AVTVYwIdE\ndEh1yaO/pIpo0qDoMlzP0ZHShn8oOPuUVBK/5RN8CbxMuOF+r9AQQb5yd8rn\nmcjRhuf9kMcD9G55mZtxiJWGRgiplus+Gw8Os5pbBVcM9UeB/A66esvV3gK8\nunEHAV/aINoVIWCkG5pFqUHHSqzmLuSCIwaBJz7SgDdF4JM+/QVBqijRJ0cG\nYCfxmRBvB8Izau2SSbH+bPOdibfX+eRJ/rcVTZFz8g36pu+HWgQUIuza3tn6\npLO7gzKw7riLXZ33dHg/WTfDsnvl+T8UDdW1xo0WSQK0gmIxATBBhtluluNA\ncgCj5N6e/Rh+CBOi6yLGDaT4GSiCyTHyxEXidNJLVXk+XV8jr+mouVSihtM2\ncP3FgkILOaRU5fWOCLHa4fH9AhdrIUb2w1NvpFNIzzN9ctSOvd3t+bddwReU\nczzdilmDYoaJsusNa6p6mzWVOFem+Z8l63PhjFIsm5hpp17JRkI8Db5tDPDq\nLRFSqNgCKhaYb2Ak0CLe/6VI+Nk7QGz94jjwO3/3nlOLs45sKWiXnnNGt031\nMlvB\r\n=aYcW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkKY28QKiSodHCfHptGAQGjIL2GzStkci+sQgdeA+ziwIhAL5VsZponpN+7fCsVEPVhyxyiPOcLAsKbIMLZO+qtFMx"}]},"maintainers":[{"name":"sheerun","email":"sheerun@sher.pl"}],"_npmUser":{"name":"sheerun","email":"sheerun@sher.pl"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/git-commit-id_1.0.1_1569093169550_0.24193552877869928"},"_hasShrinkwrap":false},"2.0.0":{"name":"git-commit-id","description":"Returns commit id (commit sha) of git repository","version":"2.0.0","dependencies":{"modern-node":"2.3.0"},"author":{"name":"Adam Stankiewicz","email":"sheerun@sher.pl"},"repository":{"type":"git","url":"https://github.com/sheerun/git-commit-id.git"},"license":"MIT","main":"src/index.js","keywords":["git","next","sentry","build"],"scripts":{"test":"modern test","format":"modern format","lint":"modern lint","precommit":"modern precommit"},"lint-staged":{"*.js":["modern lint","git add"]},"devDependencies":{"fs-extra":"^8.1.0"},"licenseText":"The MIT License\n\nCopyright (c) Adam Stankiewicz\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","_id":"git-commit-id@2.0.0","dist":{"shasum":"4136e9942c4cc2e4eaedc876e2ac83f6db3ac17e","integrity":"sha512-8gx4CHu9+plwmhcx4z4ANAnQCX5fn+gxKzWFp6u8LLk3bW62NqCdGsdQqFbYS9fpv3xyNufS5b6PgpY+5yTL3w==","tarball":"https://registry.npmjs.org/git-commit-id/-/git-commit-id-2.0.0.tgz","fileCount":6,"unpackedSize":3432,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdiMy+CRA9TVsSAnZWagAAefEP/R7dt9NnEpwSuvN4dwcL\nK1XVPSTlbS7B/cBzudXic+UmT6DD3CEKla/FX/surwLXEQ9fBF6O/FK54cXW\nrXz9YRH1CXfMEX4/ev35cLkjP1u0LbSkJkIy3bWL5YUT+cyjdGdgMDjLsetf\n4ZukbzltziiECs0fL3J0ClcywoP8LkZns7By1w3IhtDUZ7JVFFcFaRS6N8Jn\nijFae0SvCPOkj9SUoWz3rljGkouSHlqIR89AceNAWOPAgKZzwOQfW5rzpGxP\nqqHimX3sCYaXRlJysGNJHB2j2AWSgtLCp6T6w+EirubBsWofg3Ks0iVoGzVF\n0b6z+BOn0nsLXYgv845YO96snDkOD2DG02xUumWTaWV9iUjYQU9WwKM+wBN7\nStQR5ZyhRbDFigk9NgiTueOEoC3dW3K1sMPGN5iONBEnf71aepZEWr1q8vYt\nPHt6GvdU04ElVY7kyI+QIgMHv9YC1F9aiHpaArfSWZvWGUvM0vZBK4HXpaGd\nWx1rBDV8LCsGA8uXq9wz1ZdVIjXhoNxxUxUSzMsroMxOk4A9SQ3n3M+612sT\nshtw2z4FeVq3Z2Ul/7Dut+1rGJIzsvL+YuepVTFvXDiqjfecF04nITTbejG/\nzEWcL11RKAXF9Z2Jz6jQHs1YsoeboQrpcdqD4e36yOVEHqXjBBpXdRCVpFmV\nWxd8\r\n=NvnI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICwioHsLfRM5jUfKPEM2tCiddkrm+GspggWGoOrOntWnAiBCVm/mgQJ9g0yTRn1+3fBIsT+/V6k6NYxd4vih4hDiBA=="}]},"maintainers":[{"name":"sheerun","email":"sheerun@sher.pl"}],"_npmUser":{"name":"sheerun","email":"sheerun@sher.pl"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/git-commit-id_2.0.0_1569246397472_0.10342123336232611"},"_hasShrinkwrap":false},"2.0.1":{"name":"git-commit-id","description":"Returns commit id (commit sha) of git repository","version":"2.0.1","author":{"name":"Adam Stankiewicz","email":"sheerun@sher.pl"},"repository":{"type":"git","url":"https://github.com/sheerun/git-commit-id.git"},"license":"MIT","main":"src/index.js","keywords":["git","next","sentry","build"],"scripts":{"test":"modern test","format":"modern format","lint":"modern lint","precommit":"modern precommit"},"lint-staged":{"*.js":["modern lint","git add"]},"devDependencies":{"fs-extra":"^8.1.0","modern-node":"2.3.0"},"licenseText":"The MIT License\n\nCopyright (c) Adam Stankiewicz\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","_id":"git-commit-id@2.0.1","dist":{"shasum":"fe6cf5caa34579a33da8f6ba53552248b93b2bef","integrity":"sha512-ltEuT5LdiSLK0dc0S8cOWF97mmsQO81KrajzPpNZmCnynXyn6AJklJNVOpNKwcG6Lq2Vp/d/y7DDTkrRFDW9YQ==","tarball":"https://registry.npmjs.org/git-commit-id/-/git-commit-id-2.0.1.tgz","fileCount":6,"unpackedSize":3408,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeV+rhCRA9TVsSAnZWagAAnn0P/3Z5VPxGiZjW/w2KsZ3V\nH1i/kNcZt9QZENMkEBm0s3WnwAiBHmKFyshSr8/+c0G1jpgBpq62GGN1UWIh\nTdic2mLUPeUY/IGW7YZjzpn3gM5eqjtNnKcGYES5JTSswMwk0eFrp0RdFblN\nuL4AIsLEMTxwTL3OJGIWucJ/OO6wj2+sMe1yFI4Z42XVR6a6CJ0Q1xgSmh5J\nNVOQh6bpnsuOXvdlLmdM7obYUQwhW8aFlucPOk2LYy8G2liVyNhHfh3Yr8rk\n5i0PB3ksrSHdnU1cQi+1EK9DGsBumkeVc85PN6JNjjear8EwSYVbEI9A+bOf\nS69TsX85Jlzp8HDr3TYhx7SLevJkwDMCaDPW0iQR/ql4jbCTGi5YjF5eEQ3+\nOJID+2PJkjlaGrpp2j3pqnlExajJcZD+CNDMA8leeaPyAhGJddINUM/yyWu6\ntSmz6JxBre99ntF7qgpgm5/WedzG1nX0mPTv7QtJPZSrT0kXmge43zOgmPBO\nOWWr7MUhRt3mL7SVlNbPniJcVDn/CnzECGKSXGslaBie1MAWNpTWs8NCJY+2\n8U/LdFWn6Bsy1hKVOS8nw0hK8KX1kTnCf/Jq2ia0FddsqhElZAsK0lLYpbD9\nZ++J4YYL26M+28vBZVFiwHfbI88MlIjbr/QiL1AsGfyA0FjOw/+PCvLUuSHz\nmibV\r\n=ke/n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGLIndJqozx/McVTzIamTO+j6S8YLGJDoeDDiCOwBwLkAiBzfuzYFpMfYW7nSiKLXxHyBoBn2NueKpPiy5GuzR/WKw=="}]},"maintainers":[{"name":"sheerun","email":"sheerun@sher.pl"}],"_npmUser":{"name":"sheerun","email":"sheerun@sher.pl"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/git-commit-id_2.0.1_1582820064725_0.021774686963763834"},"_hasShrinkwrap":false}},"time":{"created":"2019-09-21T16:59:41.242Z","1.0.0":"2019-09-21T16:59:41.363Z","modified":"2022-05-03T18:51:14.077Z","1.0.1":"2019-09-21T19:12:49.691Z","2.0.0":"2019-09-23T13:46:37.573Z","2.0.1":"2020-02-27T16:14:24.852Z"},"maintainers":[{"name":"sheerun","email":"sheerun@sher.pl"}],"description":"Returns commit id (commit sha) of git repository","keywords":["git","next","sentry","build"],"repository":{"type":"git","url":"https://github.com/sheerun/git-commit-id.git"},"author":{"name":"Adam Stankiewicz","email":"sheerun@sher.pl"},"license":"MIT","readme":"# git-commit-id [![Build Status](https://travis-ci.org/sheerun/git-commit-id.svg?branch=master)](https://travis-ci.org/sheerun/git-commit-id) [![Modern Node](https://img.shields.io/badge/modern-node-9BB48F.svg)](https://github.com/sheerun/modern-node)\n\n> Returns commit id (commit sha) of git repository\n\nThis package is fast, has no dependencies, has synchronous API, doesn't require git binary.\n\nUseful e.g. for CI, release for [Sentry](https://github.com/getsentry/sentry-webpack-plugin) or build id for [Next.js](https://github.com/zeit/next.js#configuring-the-build-id)\n\n## Installation\n\n```\nyarn add --dev git-commit-id\n```\n\n> If you're using [npm](https://www.npmjs.com/) you can use: `npm install --save-dev git-commit-id`.\n\n## Usage\n\n```js\nconst gitCommitId = require('git-commit-id')\n\nconst commitId = gitCommitId()\n```\n\n### Custom directory\n\nYou can pass `cwd` option to specify custom git directory:\n\n\n```js\nconst commitId = gitCommitId({ cwd: __dirname })\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}