{"name":"jest-changed-files","version":"27.0.0-next.0","license":"MIT","_id":"jest-changed-files@27.0.0-next.0","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":"5ebc355f1c36ee99b6257f51fd017eeea5b8db8b","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-27.0.0-next.0.tgz","fileCount":11,"integrity":"sha512-YhNyni22u4euoF0a9mOReKitwWLy3qjk5KVmw8CmGwTrscFWSUE1EooXjBL5n5WtiMmNNWUqU45lMbbXCDfkOw==","signatures":[{"sig":"MEUCIQDP6TpLvpzLSOBhAsXGugXtpNeMmHeGoQDiNGOLzZVK6AIgRQqUET2avyHiSxH+DmFrInU85F6nIA1Bm/bw2FAW7h8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14356,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfy8J6CRA9TVsSAnZWagAApRwQAI32OJuxBY4WKjCHJ+Kk\nD4GlV5EQLgk/aLCiTdOIRC29JkDAbR8j2dkjQSHyIukNqxCTTNUx23PC1v+g\nxnGiTlG8l4zxu+18QXeiaqeWrkryXQ7mjx/iR1DpSf87oAg1kGMLp0crWZ3k\nJ4FC1D+BevfWNuqq1Qgc+JIc4FeZCeLmQlxfHhabhgqvAil8gvrye9ZcnLNX\neS33PA5T8761B3SHE4nPNLzrYm1/KJAVfKlWCVr5ppxs5jnKGp1QQ/SUj73k\nTJIxM/z6Hf66WdSRFCAUMBgMn25Igoo1gAzm5RYNoycMwz/msR3ULn/bfumy\nSzYpIozcfY5BEPrtRrP1+LPnGqLxQwU4auCJHvLEFlQZpj7ZUtQaz7HoTQwt\nEiMDEo5mPSH8GwIpdYe2+3ADi7p5dwA0iTlgfD+2ASdV6VGIuDcQIeiaOJhj\ngDrYSlgXQh3tN+v2PKtRuwcQ35ekCE2UueRMxpon7XckKtTHGy+NlWHSrRXw\nsTAq1MB+euvkV/ZdSPh5xqcgXH46s3TSQ06TBWqTIdLJ5PZwfVrkNrTSwa3h\ncmdKrF3LmqPJcVaQxIQDrZqxF+Z79IMCFIG48Af9HUUj3ASNovL7/pmkDK4K\nWVtgZo4lrmPG5kDEcMTjUy7F4uwzSM1yGBLUNVwHkqnpbv4BfhQ1qAUE74Lc\nWt7O\r\n=g7qS\r\n-----END PGP SIGNATURE-----\r\n","size":4149,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-27.0.0-next.0.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":"4f77c70602cab8419794f10fa39510f13baafef8","_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.22.1/node@v14.15.0+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.0","dependencies":{"execa":"^5.0.0","throat":"^5.0.0","@jest/types":"^27.0.0-next.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jest-changed-files_27.0.0-next.0_1607189113954_0.3274769685544361","host":"s3://npm-registry-packages"},"publish_time":1607189114062,"_cnpm_publish_time":1607189114062,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}