{"name":"jest-changed-files","version":"24.0.0-alpha.0","license":"MIT","_id":"jest-changed-files@24.0.0-alpha.0","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":"f720a6cd81d39fa2165c98b55fbcbdac93bf3e06","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-24.0.0-alpha.0.tgz","fileCount":6,"integrity":"sha512-Xj4HMFdHKQAi2/qomHoWhYRNldZ9mXoVYPXa3rM/6640BO3GbXcnZxMGBTnC1hLvdzn/nhrjaVqpVu9q5ImyhQ==","signatures":[{"sig":"MEYCIQCbQ5ofWns7Rw7ilHGMMThSDaDJ4rmN2id+agDj34wl3AIhAPkPLyMoNQBINEgJ/S7xNXSbrcG2VMVEHlcUgBGYdHKn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13629,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbycooCRA9TVsSAnZWagAA8g4P/jF7pa11rl1wyBm2KO/n\ngm9qdgIzPVl04xOzJsvpqFYhyH8a92xgpMeb/veSPKqbFZ9XkT5InsFHzyfD\nVTZTLqCuuhYBCM9+sYIGNg4WJL4nrmWG2W8LQC9J4Bq9Qmz4G0Ojm/x7ixmS\nA2K56III9XnFOIViqsfdW2s7oA9i63cFYPsWWUIUaXNI7dvuFkMxGl9/0sLd\n4lE7VDfd68aI9uMMc/XzjgOzqHWchN+DQnugNurwPUg/e7uMOq3pR9Tqw3M8\nkpyjkFkZz7QUnOjVdQBPgcV7qu/p24/fzy80pMfFShobZ/CavPO7dQ64PWXJ\nINWGeyqf/vOmOERS9ZgvtqWxRmc1+LJtgE3WQWJ+56OyfXMeO3K507VHAbFM\nInabFd/KVekwpZdkcYL/f9voVLTt9p2NT6w+BKTqlYgB5nlPdSOH/kzfNffT\n5MskuvWh2x65VarGjRbMAGaj0W9KKNjmwFvu3gMzrg3UOIf42Whgjj2Fal/r\nt/OXtOsjiCjxUMnkM+mfaPdUtVHv9eZs5Gd7bA3luDVB/IZIpaVhEH3psaqC\nz2jdbLbfKJuJc+a795UZEgROBHe6oK7NCatF6+3yDWH+rs/X8ABM5pSFVbKQ\no8WbXgRI84TrJk+h/3jtrqWasHR/wdpN08DRCnjqZbp7HxeQe7IxrQ2446nz\nHfqk\r\n=ZZ7d\r\n-----END PGP SIGNATURE-----\r\n","size":3847,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-24.0.0-alpha.0.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","gitHead":"22f67d49ffcce7a5b6d6891438b837b3b26ba9db","_npmUser":{"name":"mjesun","email":"mjesun@hotmail.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.10.0","dependencies":{"execa":"^1.0.0","throat":"^4.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jest-changed-files_24.0.0-alpha.0_1539951143625_0.19770993346375199","host":"s3://npm-registry-packages"},"publish_time":1539951143736,"_cnpm_publish_time":1539951143736,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}