{"name":"jest-changed-files","version":"24.0.0-alpha.9","license":"MIT","_id":"jest-changed-files@24.0.0-alpha.9","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":"4b7f66e767dbb50251663ea96c9292182324289f","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-24.0.0-alpha.9.tgz","fileCount":6,"integrity":"sha512-VhpGYzJvxBFBXb7vHygUbHN/ve2vlgQN7ayPa2etKbxf7F4CJAkLzQRkt8y7PUnhP/oFXq7Kd0OFx7YJxMmbLQ==","signatures":[{"sig":"MEQCIB2YuxEjzCg1/ygG5kWRxVgX4+v5xA3v+R8oWGv0idDNAiAWbArUG/G0H2w8mgT9wClpfQmlC6nYxzexysvSwU47Bg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGlRKCRA9TVsSAnZWagAAxToP+weMZe+VkC2LvFybIR79\njMvr39raQB3ZzN5t38JEjj8GoLFpMp1ymQ76Iy95dSjBHBzejjhE2apqUVsK\nhprPPdrmjuL2dxfz8caHEi86usPlQy1PO+xMGtH/LiO91qJKFpqecFLDYkyD\nk7mc82zfESyiN4gXevhGQcTtJB2PpegnB441GPb4eudQ5kbfq3zhakprMsMX\n2FPuB56P+pdyjRRgTk7DmLxZKcEH6qJYHnuzVFMqEseNQjSIb4KBfjG4KDo+\nl8JsFA8jYan9kt6U93ETVENGtJCQfdCPhCc+r/jhF+YQG1BFaiI+y1Ar0J08\n37uNIdPzSyJFOO3F7U+vhpMeZTw8aVkkjsgC2oZCdz+XuXwCodSygSTWcgNY\nKKGDnnSP+tCWfmDQHZLvwSvsTkQzVopztHleJUTQbRXIXJHfd3SAmv6b/Dl2\nX9ttmCeit7D3ERSYNux3i/N4jjh5KsPGMVsq538VmY5+14ek7wjiUdbmUMG2\nTWWztUyW+GD4X8wU1jg5eSHqwbu1eapzYyD1u3O7JYMCN82qOc9IwB57d7wx\nm9tHv+hndB0fYCjS4mrqV+fnWFl5goNHfGp2EhrrwXSVES89ltL7IH1q757w\nTvsEH9/7DCWb6pZuiJMJN6AbhNdpV3khWr2Z8eEJ1bnSQQSQuXva9D6ig2l/\n8XV0\r\n=h13I\r\n-----END PGP SIGNATURE-----\r\n","size":3787,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-24.0.0-alpha.9.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":"c7caa7ba5904d0c61e586694cde5f536639e4afc","_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.9_1545229385414_0.12539718442995773","host":"s3://npm-registry-packages"},"publish_time":1545229385571,"_cnpm_publish_time":1545229385571,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}