{"name":"jest-changed-files","version":"24.0.0-alpha.12","license":"MIT","_id":"jest-changed-files@24.0.0-alpha.12","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":"b2335006dfe100005e6a4e39a3860632d0875d28","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-24.0.0-alpha.12.tgz","fileCount":6,"integrity":"sha512-inqojhMabLvyt6jdFyoLvmuhP17qsYjfbyssVzF/yGPUI6eb20kfSXVKxJ/TlK/f9VPa4Vwehu3XKjpZ+Ky9zA==","signatures":[{"sig":"MEYCIQDRof4YWWBiV/MdzLxwM6mZnE+hH4x025MYUpA1AXqgKQIhAN6gdWH7SlIarFKNYR0AkLRw3wVkLR8H3AQt/42hNR6L","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOK8ICRA9TVsSAnZWagAAjoAP/2b4j3nmsnxJ4PNitMMC\nqrFPA78k5uW0IkiTvSC9FKIy8jwlf/H1v/oMGG/RgX6dCyX3PrcNhEFnUfnE\nqXK4Pdgwzvnzuoiutz3YKwYLfo6P0YkEq8caB5PR/E4OHyh3PYAXDRHobXER\ntIt56cXXC0iQ8XzjRdnqO+rRdqC7NqWKDPAgesmVIqucA60Y/456jo4u2N9w\nfPEUW7dT0OdbBhiHJyZ166DtRB6h0Tv4o9PM/iuod+5Lc9pJ7tfJOXK6Hf5T\nOi3x3QCDIY3R0Y4PV/eUK6webjI6TVvHPzXCkg2gMPwdk4hFDTtGgIRRY54w\nGVeiKTkhAWRFEx5EzBQww2NqhN/FyzbuHcK14aCtu+V2Xi79ZboHRPa6pW1O\nJJfWfcp+hjuEnfXkarx2gDoLWLY3s1cTyUwcCx4GQcceMJybQbC4zGHYHFGS\n4yGPKRPgS92eWBsvA2rH2AWfIQbz8kAjb253836ORbV6WuNRhDmVgXgGOhj6\n+qqhdtlQzFn0PhuZT9NTLdiv9gc28Mxa42yOBZJqC2o2qfwXZVUIbgMOHaex\nvMBQ1KKqZ/GSoC92LRsY3w9zyRRZxUZAJgGldy/Egd+W0vKeYiwlpVFfIt3m\nLLDVyrGjc/xls5NCKiBZsaWPLzm65ldyZ1E0MjRx/y00FsVYuHPUZvTPYYJA\nQe1F\r\n=ntj2\r\n-----END PGP SIGNATURE-----\r\n","size":3790,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-24.0.0-alpha.12.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":"4f2bcb861d1f0fb150c05970362e52a38c31f67e","_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.12_1547218695670_0.6149617911401901","host":"s3://npm-registry-packages"},"publish_time":1547218695849,"_cnpm_publish_time":1547218695849,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}