{"name":"jest-changed-files","version":"27.0.0-next.7","license":"MIT","_id":"jest-changed-files@27.0.0-next.7","maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"cpojer","email":"christoph.pojer@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":"ee07bcb2c55581fa3cbf176e00bffe607cabe2b3","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-27.0.0-next.7.tgz","fileCount":11,"integrity":"sha512-3J5/+7o7DIoN5oKIeFQfUIBwsnJIoYTnaNlEcmMBI1Z8kKw7cgqVxodG3Vcduy1FYlKmwsd1YB7yEtePyBovUw==","signatures":[{"sig":"MEUCIGOLJHM0WWxOK/TkqAAXWaYymEMMzpN1Q2R7SlwIe9fPAiEA+ViCgumost35QkLXxt9PBNFhUq9dHabLGEHBYJCXoDQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14480,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZyCMCRA9TVsSAnZWagAAgYAQAKCWBKxx08c0cpkTZlpS\n5tHg1UKApE/HIiQd99qq9pVnkyJ6xOr5tAHrydN1az3p0uRNOb04obYbVukA\nsjlZWZWwl6wuFqXMhsV1ZZ5rfkWaQLJlQKsbp8H/mjSCU606sXamx67SnGIy\nhRGXSzqgxx/F0tsl/3zz85VMei3plzWpH6NF9sW4tExxlDMCE74DE4cl8qbb\nG8vwCNvbt+wTgcZXj7d7zRMqf1gI0eChPXCdNuiPHOZmET9KT8XpnEY/EW5B\nOi5442w/2L4MzGvQ/DVuv7pJGFrpHuvZtcCV2ruy86MeqCmJoZYNkq/msh8S\nOLz+X9pYcm2IZ8XQMYja/kS7CFyhAgaexlZSYe1Hsb9fAcu5x4l5YReWHidh\nOsNqAn57dtKzkwW8dVyZOFY4YjLnJTbZ8R0d4NcF8welNQ6DFm+G1d3ra22b\nhLc45zZqEZ9oenB6hXSUhI5ebkKAmvaXvwxdBwFfrhCHaC4e8CRlXSyc3hmZ\nor1BHYmiJQ0ZDg/Yz4JUMOflDFh4zREuK9yRSJVXNDM9bCEcIImuWHlXL3el\nIkyMu5H2XDCPQ2aLp2huDS/gq6FdVUp5m+9Da2SD/+4s2ojAvD54lS1gLj/F\n73o54QkOjQbMlXpOLN3G5hwpWesAvuzvywrb3GjbMraD8WtJovMYNLo1jxAZ\nuNAM\r\n=+lhI\r\n-----END PGP SIGNATURE-----\r\n","size":4181,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-27.0.0-next.7.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.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":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"exports":{".":"./build/index.js","./package.json":"./package.json"},"gitHead":"28c763e6be8f57bda89238b95dc801460c2d6601","_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.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jest-changed-files_27.0.0-next.7_1617371275671_0.44636275422725835","host":"s3://npm-registry-packages"},"publish_time":1617371275829,"_cnpm_publish_time":1617371275829,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}