{"name":"jest-changed-files","version":"25.2.0-alpha.86","license":"MIT","_id":"jest-changed-files@25.2.0-alpha.86","maintainers":[{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"}],"homepage":"https://github.com/facebook/jest#readme","bugs":{"url":"https://github.com/facebook/jest/issues"},"dist":{"shasum":"e8299e61cea5f34cf91ba3393f7731820e68502a","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-25.2.0-alpha.86.tgz","fileCount":15,"integrity":"sha512-hFaGH+SRgi9vhSd/5PXFLAnRCVat+2b4iRSXfY9XydfqreCVwUGQn6r80byFM0URz7bjsVKALYuZs75ssVaSoQ==","signatures":[{"sig":"MEYCIQC2akUfsMbH0pccHWuOVcSfy+zw4BKBEUxfrJ1kjv28BwIhAJ+0ERNfaTkwN5gyXUthBFa2KW81R4yxZppQAlfNg+my","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17952,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee5HnCRA9TVsSAnZWagAAXTAP/31ORCWuTmjt8X8nmVIE\nOx7UVdtkdZ1Vvgsp81yCrkwsW3BIprihhXwgJcI87HA7BN+CzjX7nbm+9AJm\nxYbV084jaAEg3TjszpqLgZIhjv9BB8QJhlvmf4TmR1NYkLPDg5CeYzy9Fu6X\n34gKYY/FjAJde6WiG8W0Fscn856jtMxeUemSV5Vc2tJ30AtAekmHVL6gPnUa\nL5mIgTb+LUxE3915huUwVgidQ7rcIjwwNyCLFaBR/XoIYvwxivsXxzzeFJe+\nkmtIFwDWTj/ebEAm+/GIxyulJuGR9vYAHLW5VVRR5yf2V1DB+dGTl81G0bgs\ng6VYpS4JIXnUV4wwCGQEpS+T8qhKCrxLtONv/98kZYDPld1FT8b6Yt3AaobK\nP0b46Gi5w2VzsYL9+bqOMoZozzMLGYJUVBkG8KI2xzFZ/rkRnEWM3LjugWMb\n+llXT3B3kmjxHx2a13sdi0bx6k0elh7MESoBZHykbUJpG2lilv9CQckEt0fA\nhF3MFISNNCmxr2mRgwFI6nO72bQZbP5znTkfNCM10jbxQPbPXKfSdd1GKZX9\npAK2/99TDK52Cc1FQ35BwoXDR6/iunV68cxcVkCo2Fb4nCMi9Z02zWwCOUD0\n3wFwHYWvOfL38d9zkiw1VUempwQkBMj9KKiVp8jHJtQMT//HyoLjLnNvmedT\nDaB/\r\n=/I1O\r\n-----END PGP SIGNATURE-----\r\n","size":5033,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-25.2.0-alpha.86.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":">= 8.3"},"gitHead":"cd98198c9397d8b69c55155d7b224d62ef117a90","_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/3.20.2/node@v12.14.1+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":"12.14.1","dependencies":{"execa":"^3.2.0","throat":"^5.0.0","@jest/types":"^25.2.0-alpha.86+cd98198c9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jest-changed-files_25.2.0-alpha.86_1585156583319_0.23639559247782982","host":"s3://npm-registry-packages"},"publish_time":1585156583466,"_cnpm_publish_time":1585156583466,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}