{"name":"jest-changed-files","version":"27.0.0-next.4","license":"MIT","_id":"jest-changed-files@27.0.0-next.4","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":"0a7737f77f5cdbde2fb78468d338f22e43a9b641","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-27.0.0-next.4.tgz","fileCount":11,"integrity":"sha512-wqT5A8GykzQX434EeNRFnFk0xe9aiy3kJ+S6K9GgsTqJ+Dn3EhTB6DmKxVDo6cii+CFxs8MDMLIuijpqw6eK1A==","signatures":[{"sig":"MEQCIFh5XmJfKVFGYpeIqNGXVu/8VwMchoizvandFZEcbn7VAiBhNnzrjwoFpyUBLadr5EvTJizld+DipSzRx0gJt5dtDA==","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\nwsFcBAEBCAAQBQJgRipjCRA9TVsSAnZWagAAgoYP/2paCTFa6Qi6HIQF89pv\nW8NxYtsZ+W80FbXLTWDD/Qj1dMKKMe7AI8JTVz7nyV6noaTN/IM2SVZp4uMb\nUVE9kZovC/FZBUhpRxzkyA1cWrAEbCQgO+ye+4GZaiJYhDrrzyg3C4+FNQ/N\nW9cMxosGDydYlQckvNJFNpvcPmL23YrrSGrTzSS0u3Ge6IA+o8cpA4qbnQU2\nSm2ZlWCyDsq/4zQgcpD0Bp/2siOUVM9fBXEw/ofeLnTL7/0Aa/D03Quguvyt\nqLimoBYb+F8E+p5XhSEfDwqMhwzhfcuiuzjrEwVCQ3WhM+bkgoW+sCGt9GSd\nJNHqmAoSICajSY3N2X01le7PIAwq6JMjPWcQ4oLdXOgP9qxPokTe6yTB+lbn\nbGGmsf1ReEUe44/Nx97o0ySyXUjjhN9gVHApWV1a3RlEExvWmuyl5p0hfKXX\nzI8g4afhfwUKQabdHCOxx9fpInXKBzSnFd/qlRsoiHPTFjN5wD9BNplWde3A\nax/V6gje/JvCt2JNf3ZUfCGLCYb3A3mh4ZjvXDyGIQWD+lfRf/rW1wB149wS\nD3XD6NqdGmDjTsGvKyLSZ83gVsWiI0A6URwKrJfZKtZ8RHHjuxljv4EpyoG2\nsg3rdHv07TORCU92yiFIlUxCq7/rhws89Xt/4n4I7aGvlfSt8Vo3GhI0Eizf\nyZRm\r\n=H/R+\r\n-----END PGP SIGNATURE-----\r\n","size":4185,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-27.0.0-next.4.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":"941c414f0b757fdc619778c46c21fda26b3e5504","_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.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jest-changed-files_27.0.0-next.4_1615211107190_0.12385410502140815","host":"s3://npm-registry-packages"},"publish_time":1615211107357,"_cnpm_publish_time":1615211107357,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}