{"name":"jest-changed-files","version":"24.0.0-alpha.13","license":"MIT","_id":"jest-changed-files@24.0.0-alpha.13","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":"mjesun","email":"mjesun@hotmail.com"}],"homepage":"https://github.com/facebook/jest#readme","bugs":{"url":"https://github.com/facebook/jest/issues"},"dist":{"shasum":"b3a77979886d3205b19faf51f7345331eb0fde65","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-24.0.0-alpha.13.tgz","fileCount":6,"integrity":"sha512-Xd7prHJ9YmfpFBHe0NtK/WTz5ZdeZiP7EXUbpNPGW7ZKYiU9xzMOWzmaKvavJz+31hmtd1a1nqyeV04UtNHBGA==","signatures":[{"sig":"MEYCIQC70Vh/W63RmT3m9r0+dJcRCbiTOzellrK0/dcFdClrowIhAOvUIksxxrM92XXR4GfPWwKhZGA4Hj0hVAXjxQZFgptF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSIUECRA9TVsSAnZWagAA2NIP/064naUSOrK1dZrpRwtx\nuHAktOUBLgsjEWNSYCASfvaiSNlDkj2qCpYNFpe/5mCGbIucw0BCoDPhhxto\nwufTHiFki0rkn1KBacii5UVyXO83V0MSU8gF0KMaPgAipRjksty/p1ajh9MT\nqrFI+0StMDUX8gGCjIxr5pmOLGzyjH48AR/f4aFPsmx1bVXxTc9vKIlYsnWP\nenvt5yWNawNuz6RO1pq6d1aniVGm3/QyMpfy5oJSpzWhikMImd8+Bm47ZzCd\nUUPvTmFelDQ3oYDn6DfdEGYj4gElLyKfgK3HCMkyLSBmDOWdHLACZ44wzoPr\nTxy89Y0zc+7EkeJ7ikZbrMPnpTFD6xZRDtWjcu9jIYJdX/3DmAU1ao4If13L\nY4+o7U2i3XO3ZldsEsatTMpygXsz8ME5ur0R9PF6AgLQeugc2Han4AWCH6nZ\nRP4SMbSy6NyeZ9tp2WNfdSQ1E+GdeI49RhevP3jUjZPFe7PVW2L/qR3qwv+V\nR/ZJn0k0xtGSjmAt0uziZM3FVRjMa9rTLbeYRW1LwbgobYO4kXA1vv+w26Y+\n8G1skQP/XxqV0XKDBlKlJ7rRXLwQWYtIgVj5+GkZ3A0SKFFrHWOCOHQ1Br2n\nMmCXex48X5QQg7UW+Gg80lBwYqVdnIUxu2mK0tJiL6WcwZEvsCSa3x+Hw4A+\nqNLy\r\n=QM9X\r\n-----END PGP SIGNATURE-----\r\n","size":4062,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-24.0.0-alpha.13.tgz"},"main":"build/index.js","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":">= 6"},"gitHead":"6de22dde9a10f775adc7b6f80080bdd224f6ae31","_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"repository":{"url":"git+https://github.com/facebook/jest.git","type":"git","directory":"packages/jest-changed-files"},"_npmVersion":"lerna/3.10.5/node@v8.11.3+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":"8.11.3","dependencies":{"execa":"^1.0.0","throat":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jest-changed-files_24.0.0-alpha.13_1548256515526_0.7123931980508149","host":"s3://npm-registry-packages"},"publish_time":1548256515624,"_cnpm_publish_time":1548256515624,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}