{"name":"jest-changed-files","version":"27.0.0-next.8","license":"MIT","_id":"jest-changed-files@27.0.0-next.8","maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"homepage":"https://github.com/facebook/jest#readme","bugs":{"url":"https://github.com/facebook/jest/issues"},"dist":{"shasum":"49665c7852c315da415de5380f8022b39a68ae99","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-27.0.0-next.8.tgz","fileCount":11,"integrity":"sha512-7ToSqPeXPGfK0ibRbkzke3E3vq5YhtANm4jWsD41RKQ/T2dG+jB+OEF6OVaLffF/ahokd77WYqkcvwLzhdm8LA==","signatures":[{"sig":"MEUCIQD0Bf1ODfEZyy0QIW5r8WNkKEfRCBF20JC23lTUFP4KjgIgI1P0m5Wj0KfEJ8yw5sieif8ImXerj+nX0met9V78VkE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14470,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdMzUCRA9TVsSAnZWagAAVqYQAKS7Itu8BZ1snDLGuJtv\n47UcZxHrMrU5wCRb8wMaaumkWuQGxwof9I+KnFx2IiA41n1SjINtgKdggXju\nDKe7dqWOVv7elMdimC0fk2ZmMkw/Rz9/fIc+XKbwG2THTM+C2J+1Rf9Sh2hd\nKrlfvJJ9Bb/VOqDez87oD9YIp6si7jWh3/vLbpt49fSkW9NpKYwrc/IdmHDB\n2HwwLjslDihNTKkfeVGLrnVN4uE8HizbFTcdsH/uEZ8HO57VRMGHnOkeLQe+\nxMKf0+sma3MRw21vXw2xRXY3eqw5nHY4sDJXOtGDS/wYetPYjHNviF18OYrr\nbvA5Vk3soioa+v3Hbrx/13iZp9utJ4KRnOKiA5YyctY6b5AtaJBYjoj+CLzS\n1O/7UedSBAeXcQD0uCDBhtUh62apK2pgLI4M/krt3aA8VPpqwXrdWCde/YGQ\nQMQR+lmGZ0s8bEue1bF530ewFU5ZUMRy2bDB+zeZIgZ4iuIEknrFyBSkpWIB\nTa7DlPzrMl1jdI/KogkvwirZSr3TB1QLSRp1uxX+ZifZXSVBUMsgRDMe6LAJ\neRl8FnTUYsaq6hDj8gZStfdFusV5di+sP79dCxamZYx9pf0QQdHqJO2gQfBF\nhDx4UlJIPJkOvvwIHhS8nHuNZUKkDyyQWejYuzWRkFcOKmjkLeymNwdDWLG7\nICGa\r\n=9kl1\r\n-----END PGP SIGNATURE-----\r\n","size":4181,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-27.0.0-next.8.tgz"},"main":"./build/index.js","types":"./build/index.d.ts","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#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#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":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"exports":{".":"./build/index.js","./package.json":"./package.json"},"gitHead":"d7ba5030e274b52f029179dfdb860349a36eea37","_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"repository":{"url":"git+https://github.com/facebook/jest.git","type":"git","directory":"packages/jest-changed-files"},"_npmVersion":"lerna/4.0.0/node@v14.15.3+x64 (darwin)","description":"A module used internally by Jest to check which files have changed since you last committed in git or hg.","directories":{},"_nodeVersion":"14.15.3","dependencies":{"execa":"^5.0.0","throat":"^6.0.1","@jest/types":"^27.0.0-next.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jest-changed-files_27.0.0-next.8_1618267348381_0.6676826310400557","host":"s3://npm-registry-packages"},"publish_time":1618267348512,"_cnpm_publish_time":1618267348512,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}