{"name":"jest-changed-files","version":"27.0.0-next.3","license":"MIT","_id":"jest-changed-files@27.0.0-next.3","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":"0c7ae1fa15a028991feb5baf16f55ce22dca3c7e","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-27.0.0-next.3.tgz","fileCount":11,"integrity":"sha512-s5Y6dxVeWAYEIvk0guP9LlcxAKffDwmH8uIgQ761vDg6eKB9DO1BtBP28kuIuwUFIVqVcOoTX2QDV5v5grcECQ==","signatures":[{"sig":"MEQCIC3uAcYuECJpGZA+E5zXPl2u7NwaVFOYdN6d52Xe+PUoAiA1Fl5+egmHpLIulCLMFK4IU947aPLZPFr31IW74JbTXw==","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\nwsFcBAEBCAAQBQJgLuWsCRA9TVsSAnZWagAAt7wQAKKM3QPlYTk/AS31NO7z\npjtMKA907QTWTUw/nJNGX038en1tBPLPTJ3ep+zn8QKRHzTMtit3oD0Sv9uf\n1Nt+9mjMrOmQbP2Ev6wbRzRlqVVFKDhY6RFOT9+ya7YR3XzLjZ4HxlQWcINf\nROYcLeiTqXe2DVvIaKKm1OCnZ4VRKy6J12ZgpC/Irl1Z1uME88CQr2phvD2X\nrUS9Je/5AyyZVJjbc1IrxyJSoqPMGtU8rxxKnbT5GZWxzbRKO8SEq8n0lbWz\n0z68E1KlJ2EYNwUvsxQnjTK5HF6IXc7az9rTuWleFXW9I0IXOMKpiTJ9+Fdz\nA819VPf83+8ukjdh9pm5DXBJ/w97pNlauXbsQBIbqaAMf80WOthYwF/GogGo\nXltS+Ejqvid8AOX018XHdLUxDum43q56BTvNMYWZCd7MvQ6uiRwd8c4Bwviy\npP36ARDPMcASRr05Vd/xZ5FYnofZZUvz+aTyFEr/qJsJaNsi4SK76eYRbtRN\nGeKPmUej9YF2/xMQN6xt1MX0KOsOs0lxn/fS3H5IIupl14PIuG8VNsyCsy5V\nmXmQ4HZkICkyq0QcYj0k60IJ/VuLsny1TFK4FYzKc9Dj9VVfln7hAv0flBUK\nsaxZprvRwyLwu+M/ymsRDiCXyvmqv90IMNF3+0EZYWH5oPdDNn6ZNvRQIrUN\n+HKT\r\n=886N\r\n-----END PGP SIGNATURE-----\r\n","size":4152,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-27.0.0-next.3.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":"2e34f2cfaf9b6864c3ad4bdca05d3097d3108a41","_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.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.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jest-changed-files_27.0.0-next.3_1613686188153_0.2344483134097919","host":"s3://npm-registry-packages"},"publish_time":1613686188681,"_cnpm_publish_time":1613686188681,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}