{"name":"jest-changed-files","version":"24.0.0-alpha.4","license":"MIT","_id":"jest-changed-files@24.0.0-alpha.4","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":"ffcc670aa1734c2d064d7d6c79851da8ca6a563d","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-24.0.0-alpha.4.tgz","fileCount":6,"integrity":"sha512-UySN8v8OmcN4QL4zJAjL0EE8wqvltwKH69tKzrbAb7Mj1IuOBdlvccJUoDnKg9MkVAbVqk/3/sgn28tWFf7prg==","signatures":[{"sig":"MEUCIGhD6nQrO8IK66agdvqjxcgUdMaw+ycrcHLCDiB7WC1RAiEA+RgdlxXdIHR8/K4llTa6lY38oIuyqK+W3uYMfuTRMtg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13679,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb00G6CRA9TVsSAnZWagAAPUoP/3Owld/mC4fXMz+T79kE\nGhvJepcdmv4BceFsSRF0LbVsQbE4+wgbgApO5p6hKs7wNmEDWmn9QF/Ctxka\ncMI3aXpzWL75U9vHU35JlLf0CMBo7NpjIF6cnMcnYXfZ16w+WNoic/TTGxe1\nLlSO8sploGf4fNC7l/3Y6hB2zvx+UDMCtEWXktyZf1fJaeB+R2txAm1uC9wq\nErRuGNd46/SpG3z/cmYtAMtM3frsIggNXmjMdspqadSWfb1r7fR7trQCEkKS\n9PSC80tT9sqlszVpB7xoy/13WZFWRnAE7O3nKSune0czqW3CclYpjPNZN8RF\nHlx/JDeQmHK2IDOW6yPYbyK5OTaHCWkq6krjf4RLw50GIPLRZ0pwz9cXr7A9\nKi5yrLjrlpM8SaSzII2eENj2auXCkFtZrbywMZGsm9X7vfWDZTAW9Dg53o87\nuAYfZT5s9GxxxXSB4RDVsyfXm6mwY1/lHXpwGZQ00J3LfFd3DHeXLoXDjCLL\nJkw/FPEeZwoEKKXbBYM1DaFqUsMqDd4yEzONu3NfkV6qoXxILWXC3QtHs3VX\n9BrDVghLWcbU6BV5MUkAw3gvES2jJ2G+iRs4z01h+oNlY7K5b2yxVC7XRQVO\nkRAc8Hkt2r1qvD/tX5V3tGv9nlW40ItL73vy4xYnr0KK9mnr+85I422xTHEH\nYPmL\r\n=Uwcy\r\n-----END PGP SIGNATURE-----\r\n","size":3874,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-24.0.0-alpha.4.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":"e41f0bb257c6652c3100b97a1087f9f812fbea0d","_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"repository":{"url":"git+https://github.com/facebook/jest.git","type":"git"},"_npmVersion":"5.6.0","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.4_1540571577606_0.7919140417831128","host":"s3://npm-registry-packages"},"publish_time":1540571577962,"_cnpm_publish_time":1540571577962,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}