{"name":"jest-changed-files","version":"24.0.0-alpha.11","license":"MIT","_id":"jest-changed-files@24.0.0-alpha.11","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":"7075268c61f961689c891ff97551b4021bf09d95","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-24.0.0-alpha.11.tgz","fileCount":6,"integrity":"sha512-LT0qDFa6eNhYxhU8qayH4QJO7fGQTT8swQrVC7Bp/q3KToSXNCXt25WqRLGW6NchmXLuhjE7KhuIRGaGvRYeOg==","signatures":[{"sig":"MEUCIEtR6Gqu6y1+ofKKmrmQHw1l759pLtPPERkZC/WmcMDIAiEAgg8FHBjO0Cn09g0u9NgzGMxW1s0HHcXrv0fameegF8s=","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\nwsFcBAEBCAAQBQJcN4+uCRA9TVsSAnZWagAAYYkP/3kq/wzAgjxrLnE392XI\ngzdy1I/fjWSzOuS+oLC1ggOnugGU3dldTgW0EvjzmTuEQXniMWTE/lo3fsoL\nCISiLOLGsZiU87BwnVAiJa/4U/yLuJL936yIWDSv4Bte5JD1wov7fwtX1r4/\n55TC+COck+ntZtRP49RROsn55FvieBMHLrDJqYTJPppL41UybzRv+RZmaUaE\nWOZ5ivmIo3Lj/5q1rqTRsj/LDKOlZrdCohVcMRDDA90xiG8US73HSPem1n9Y\n9AO+qIIpmDRaFZlYH8C08GSGAIgynl8s6BspYkfNHFSECItCJrdewnwSaPm/\noXk0nyiuyu+v2kQWGrHeBDfJ1q3u6+I1Ox+FWrD8nqllP1hsdIGrKDVGDh57\nnppxDDydX93lvPdFsIKqXuYjkIURDGm2gdGXSAebRInGZz0RMhwaPWZkk8TI\noBQ5dE6/SPE01jZxzuzrFy6T/xtFeSxdo9rTBsvX1E4lXX+vIpWz0BEwms/m\nr46pBILukhehfJQhBNdWPchZPcjBfMEvkew7L1zralRMJpQTj7Yc9C3IHwT3\njLM5tpebszu8LxMFjIJOvPnPcMJ0Q9JdIDhODpw5XzlqFQqBD9fpV0+TJq9N\nfBEKSGLONvHx+xf5cd2K8bvWI1rSPlKrzxqeSWWhm2i3O+ajG1KyDLXtLZg3\nL0kF\r\n=+A9l\r\n-----END PGP SIGNATURE-----\r\n","size":3785,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-24.0.0-alpha.11.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":"6a066c6afe2ae08669a27d3b703a6cf0d898e7b7","_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.11_1547145132116_0.9278931163676594","host":"s3://npm-registry-packages"},"publish_time":1547145134312,"_cnpm_publish_time":1547145134312,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}