{"name":"jest-changed-files","version":"24.0.0-alpha.10","license":"MIT","_id":"jest-changed-files@24.0.0-alpha.10","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":"6843ca85d2ab73207a0a6b4a35671ccf76bc930b","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-24.0.0-alpha.10.tgz","fileCount":6,"integrity":"sha512-oD7+0KgW2Zsa4zOBRWDuUpm8z5UZXjNBbmfvdX0arKlULwnD8jZzmIPLSaKzG//ih8W92oIxgaqDAfQQBnCOVg==","signatures":[{"sig":"MEQCIAy+AQxPAqpqdnVJF0TUPTOtPIpkcHamXbTJ8cX47QtxAiBN+mIQahU0dzqD7pOQ+rE6CzNtJKHimw7sUif2IL9BUw==","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\nwsFcBAEBCAAQBQJcNijXCRA9TVsSAnZWagAAJZAP/RnIByqxL9xubxXDSlnl\nxW9mTisriLA6JqHitsc2BXfQvIQlF90mbbp+/fDhuhnFtSd8zJriELoyXnZM\nAqw4sbCC8DXS3wLC6IPKnDiDB7Jn0jw30JCKwUGqAsPSSaEStcrjCvMyq5m5\nj/MVMR7poqKStGQLugkgb7RV3ryg8MEp/3zDsDJrw1knPIJCioaS70usNqiM\nhufTN4w67lwO0z/lRIG80U0UH0c7jhsxwaPRgl8cDRgtGQm41hKiB9+jmKTj\nrhzoOjQa7UzmNU1wU7a9hmz8OpgXuqRtRAjnj1SWsgfS77rxCm1Du4y4L7E7\nJ9AuPI/4vyuyJ4V4E3kQo8y0Xd++q3bmAO05tTRPWONQAxwpj/KwvLLIJzYr\nOWaEztN5Ty6plmR2d2hKMn+DFzWxHma6tu1gA6HCQJei7cFWuaV+8y6xRIXK\nLPADvUO3aIQeLMaQuQTetnwkRv+ZviChzdExtCGndNWMGqsGQXXl6yB+LNtU\nWMbcjpbIw2PUrdmxjVshe9k+VSuyhVCDvzp5FPFh2DQMyu0WdtwyYidqT3PE\ncn0tRS2BLNQyZ9YvRAG8Y8ka7qmrkuqrSLX4qvJ4uqj8Hjhu/9q6MELoGQUz\nbeDZtDqFPGHzNsu+uSGtpiOIB1KyBbmI3kJLNMw4U64HUx31hC4GxnoGos2s\nTPfK\r\n=79Dc\r\n-----END PGP SIGNATURE-----\r\n","size":3793,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-24.0.0-alpha.10.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":"722049ccd66947d48296dcb666bc99fccab86065","_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.10_1547053270609_0.04142259495675571","host":"s3://npm-registry-packages"},"publish_time":1547053270722,"_cnpm_publish_time":1547053270722,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}