{"name":"jest-changed-files","version":"25.0.0","license":"MIT","_id":"jest-changed-files@25.0.0","maintainers":[{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"jeanlauliac","email":"jean@lauliac.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"}],"homepage":"https://github.com/facebook/jest#readme","bugs":{"url":"https://github.com/facebook/jest/issues"},"dist":{"shasum":"8045a750a4adaa9cdf469aba230ce57b63c01601","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-25.0.0.tgz","fileCount":15,"integrity":"sha512-vNXbagXYy+HNBb5dqvZ0hvy0X7bIES90HYLW3tm9HBlTf1TQxqatDI3L51+ClVtR3bQkqszIOKagD8CzrBWYqA==","signatures":[{"sig":"MEUCIA8XeXJsKfSMa/62et+BaCWdt5KE/1VcQECHToKsedufAiEAqDAE+P6e/1AfiLqrFsdFirQAG6HiLmS7FRj0HxDRasc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17262,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXgrKCRA9TVsSAnZWagAAF/wP/Rjne63pxAvASiNZ6Eu+\np27/RN+B3oK+NPWPYvVCP/Mjsn52Zig86tl0hx1ZHlknIhah2aj7KleY1QyB\nxtWQQyd3wDMy/xfqfD91ay3nrP5m2kf0LDdy456dFYT+Q6ikcqUc5mMx0VNv\n90cRwXjylVdI3yw1URR+Sm4HWLPxZ4jQO3/CQSoHDDuGuytDUEjF5QaF77JB\n2DxemsqTsMKDKk0aWmasXQ4Bw6CEWlqzsro8yiK8P1kha1hIKktcbsGUC7fR\nOV7Uvg9ds2HU/OcYJ/rqojFyJOsGy8i7k5BwQmflXeXynyHNPZWhHByKhpqH\nbxqNpB6EQvSN6n9G/AachKh0Y+klV45fVWrjhKTxkDBkcshFpqgxu5Hr2pLm\nGa29rC7kvqfcFiXJDRjJFaDVMo2vQPt3kq0LuvVqiFdx/WqQ00zRNSnMERlH\npAhYArjZtAdr5+fOMNOszPuV8c6K62oZsOtkBvYJjQIE1wKqlb3vK7Z5IXjs\ndjU0A9GTv/AzEzkZ5Wgtcx23WGxCBQyADJsWnMYFg77oveRqh3QHx9rhFx9+\nqv8Gq6V5GUMlx+WY0xDCIFZqhulx4orQjQGofOmhhwG0ph/lWw6HH7xUw90K\nbDvt902IRGQQhGz2VnMUO7MGqpN7ek+VuPZxnCROAnu1Qz78j4es3A1rtjKQ\niPpV\r\n=WuCI\r\n-----END PGP SIGNATURE-----\r\n","size":4951,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-25.0.0.tgz"},"main":"build/index.js","types":"build/index.d.ts","readme":"# jest-changed-files\n\nA module used internally by Jest to check which files have changed since you last committed in git or hg.\n\n## Install\n\n```sh\n$ npm install --save jest-changed-files\n```\n\n## API\n\n### `getChangedFilesForRoots(roots: <Array<string>>, options: ?object): Promise<?object>`\n\nGet the list of files and repos that have changed since the last commit.\n\n#### Parameters\n\nroots: Array of string paths gathered from [jest roots](https://jestjs.io/docs/configuration.html#roots-array-string).\n\noptions: Object literal with keys\n\n- lastCommit: boolean\n- withAncestor: boolean\n\n### findRepos(roots: <Array<string>>): Promise<?object>\n\nGet a set of git and hg repositories.\n\n#### Parameters\n\nroots: Array of string paths gathered from [jest roots](https://jestjs.io/docs/configuration.html#roots-array-string).\n\n## Usage\n\n```javascript\nimport {getChangedFilesForRoots} from 'jest-changed-files';\n\ngetChangedFilesForRoots(['/path/to/test'], {\n  lastCommit: true,\n  withAncestor: true,\n}).then(files => {\n  /*\n  {\n    repos: [],\n    changedFiles: []\n  }\n  */\n});\n```\n\n```javascript\nimport {findRepos} from 'jest-changed-files';\n\nfindRepos(['/path/to/test']).then(repos => {\n  /*\n  {\n    git: Set<Path>,\n    hg: Set<Path>\n  }\n  */\n});\n```\n","engines":{"node":">= 8"},"gitHead":"ff9269be05fd8316e95232198fce3463bf2f270e","_npmUser":{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},"repository":{"url":"git+https://github.com/facebook/jest.git","type":"git","directory":"packages/jest-changed-files"},"_npmVersion":"lerna/3.16.4/node@v11.12.0+x64 (darwin)","description":"A module used internally by Jest to check which files have changed since you last committed in git or hg.","directories":{},"_nodeVersion":"11.12.0","dependencies":{"execa":"^2.0.4","throat":"^5.0.0","@jest/types":"^25.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jest-changed-files_25.0.0_1566444233437_0.3709338058335261","host":"s3://npm-registry-packages"},"publish_time":1566444233549,"_cnpm_publish_time":1566444233549,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}