{"name":"jest-changed-files","version":"24.0.0-alpha.15","license":"MIT","_id":"jest-changed-files@24.0.0-alpha.15","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":"3bdc72e81d880b0201ff5a422f071a090db62b1b","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-24.0.0-alpha.15.tgz","fileCount":6,"integrity":"sha512-/0vdi5LGX5og75DYJzq36LsE/6McKCxk7mjQ1HaqsQWkypySEr3nL8uX0Fuq4h6HFgInNp2w8UoVcXRp2KrIYg==","signatures":[{"sig":"MEQCICa2fujVjuESG2q/xgocyx6kZOJ262REjW4fLYf4VoFFAiBUKRirVJAnxxIg57sRNUgDEL8NBmorlIyf+a0Bgi7njg==","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\nwsFcBAEBCAAQBQJcSftRCRA9TVsSAnZWagAAORkP/1InQSG7N/hMX4GJQyQH\nkI3RS8PvEUVN/KkOfZk/3H6OMjCVYwHlS4w92vnsvGzHxrDsHyTOpMbVJvkW\nFqicPg3leczEN1+WPZMU4Qf7xVKCS/7aXT0/BGWLBnHf/t/2A++jrNtuRgoe\n5OP/j1B/v+XU6FejgpMR/FGB3jCt8RbrKqiFnAMP7mZy0QhXAbzUOGJHUVQY\nFGEiu1igSCvVQC+JTb/HOjreK8efH4h8GJ1rQJ4BaluhEFJfAoOy85PU9RKD\nBSBiCW+eOHYlgS+iWtyJvDD0sNcMUJCqepoIokCuPVWydwkJAK01JmWcAryr\nvZ8jZZeAd8RHiuKNQgRRu34rNPhP231yFNwReE6SmmLOq7C8hpAvmlBiSsLx\naJAZEl3zkoXRIFE8S4IzWqwngrIbSztHuJIk2asAQgrMlaejKY/8hntQFwWY\ngXIjqvri9TfKOnKCY4ddgzkl0+WOqBB775wE7JtXG0eEMhnE2ot8JyDRxgvN\nwPVKcmPlADolyg6ASpleN8Ac5L1AxvRdcYY/J7eLXmHDbU60M1fNH20cmzPU\n2g/oFUneSqNWGCPj4UpwKuwbZpsejQQ6+0buaJzTKnWa5LYtCz7BAztDbynn\nAhZu0b1Y+BqBbbSOJihv4okGclId9RSw7WNXqJToHgsn461VC71tP/71p5Ng\nek89\r\n=bJN9\r\n-----END PGP SIGNATURE-----\r\n","size":4063,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-24.0.0-alpha.15.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":"28971c5f794330e8acc6861288e6daafcd32238e","_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.15_1548352336995_0.04337671426130241","host":"s3://npm-registry-packages"},"publish_time":1548352337116,"_cnpm_publish_time":1548352337116,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}