{"name":"jest-changed-files","version":"24.0.0-alpha.6","license":"MIT","_id":"jest-changed-files@24.0.0-alpha.6","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":"f3fd2e96f67f3e1e7e2bc74fc7c81c5e53801404","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-24.0.0-alpha.6.tgz","fileCount":6,"integrity":"sha512-0Z2UpqTqMNhMNEtIK/1nCD7jR4+w1YM7zAaMFQMJG28UiV0Oqarn9u5OeH66BbUvB9FnKvVJTrSPpgPpR9f2YA==","signatures":[{"sig":"MEQCICVchNpq6ZDENJGuVk2Y/URCJ1ukAdYlJbhahaHKo0z8AiB8LwCEgzwr4hY2tEwzHQrL2w1regaKwwSJ0kxV1i06uw==","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\nwsFcBAEBCAAQBQJb5cimCRA9TVsSAnZWagAAoCcP/R/btPWRNSaWqn84+dhL\nwvNLC3GZt8h2HYk1qR4JyUnMpWC31MNi1NNgiKxAuaybHzcEiam/cGcFThbg\nVQgojtc3O06erE7W5plfunBh4hSBLGOfQIVAOLNPDzeaVpDKdZTX0iQ9mSRS\nMpMujXD9WF1HB/sOj9TrnWoJOrMMmdxyVytZbTRkWeeHY8K842N6uebTP0LR\njJ1lb6aWz5puWkcSREdUnk1NdBpoz7+UbzlExjSPBKOGRSSpV0nkEcvhPdR0\nf7Kd7MCcS72BjeZSXU5LHUqn4c30RA7GQRmgNMbG6sgsFSST1I7Yy/02dSEe\nadjHy51YLzhXeWHYVcMv6c5th44yVyDfWlfLvNGl+dwW/MMPj7ajizCUHHyJ\n5Yh+/FiTGFVBUvZYNKceuzaqHl375Tj2CLRJ5tUs2f5HoFdEmZnMKOpGIdzr\ng+MoHy1tQlTLGg4+ZA81Qa+xQeFYwgVLKDDVggY+RTwloKHlW454OKlILqMG\n7SdpznwoxpMRLPWr/rssgHOVSxXmOcHXOahhSJBRxi7hAuHbXe2FJnXeHQc9\n+z55tCL6rn2wHenyvZKhQak8Fwg6Tu9ea4sMFJDepv58BbTaufGGJiPqmk31\nR490QcV8F4ciP/r8yFcgfbcIgxusqNs/nnxdCUSrPlCsI9n/4yKGa3oH5l9f\nDcLw\r\n=qO4X\r\n-----END PGP SIGNATURE-----\r\n","size":3866,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-24.0.0-alpha.6.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":"49d08403a941e596eda1279c07a1eaf4d4a73dad","_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.6_1541785765523_0.12944869464272712","host":"s3://npm-registry-packages"},"publish_time":1541785765649,"_cnpm_publish_time":1541785765649,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}