{"name":"jest-changed-files","version":"25.2.1-alpha.1","license":"MIT","_id":"jest-changed-files@25.2.1-alpha.1","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":"7917e1cbc628761a46af2561abfa772918be3ad7","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-25.2.1-alpha.1.tgz","fileCount":19,"integrity":"sha512-XowH/oBEx7jr4EhE/ax9+NKkyxlQZKyBbFFZaFPdohvUxysQYpnrwSlGnDAV/fsT+D7C8tK4EGkx+MtYQH8NMg==","signatures":[{"sig":"MEQCICgk2DbSa5EW7dJ0wz30ChQn1/wiADyEqnlwT8o027n8AiB7ZH/OIHv6A8IrhBiiICijSbbgnZF7fZH2mN6xJVdc/w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefF+vCRA9TVsSAnZWagAAvHgP/1jPAc/Gxl00luDy8HO2\nu5BMRLRPC/ukwqFca/9x2HKBYizLvfIOWuwFkc58YpQdvlYHljB9MBMNVQP0\n8tbKBEVX01fZFdK2u893WQsjcLRt2P895rnGmx77BJF2FeQvaIUrJ22jZkda\n5t6gqrOlyS+OymNrYhsrY0xsC2mQHo6T9F2XpcOz+eGW6eCz8BP9HfVxeg76\nkLgpmcRjPYqGTGWO/M2kfs+/xO1utn0+W5EP2UXTjjWxBT0GoHgApKylgyDn\ngx3I33dl8B5yVYLdJd1Mppsbr4+4U12t4KahLxi2BU9Uuv9IjGElj2Q6Xr0G\nej2sNnWOdaN2abLSPq2mz9WKfTAzZx43w5nCLoNQG63HxmgAWWLlcucCGbsD\n2dFvKg7YPvvzaZ8ODk2QTtwYxChAJIxSxYVr62FOvwiYcQJrHFYp/4EchxV7\nldy79JQ06jeWdLEkn6CScGif7aH0tdn06ZeEyu/DH/8oA6dtfAGf3XiZ87IP\nPc/KwPsvpANVc4HYs/ynmdDR4Bfz58Aj5RSFMoHxKicAPIbYPWT5mVEzdBus\nHRaNuQ06jszG1n0vwQE/WS+jrWEwV9kcXG6AibHcdqLb+zlFMbA4AoXS7arV\ncb7DeFzR+VLRz4WpWkJzVfvWhRvqsimh/CCMBuEaP269mAK/DYqTSgp/TukH\nReXK\r\n=g7Vy\r\n-----END PGP SIGNATURE-----\r\n","size":4835,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-25.2.1-alpha.1.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":"5cc2ccdacb1b2433581222252e43cb5a1f6861a9","_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.1-alpha.1+5cc2ccdac"},"publishConfig":{"access":"public"},"typesVersions":{"<3.8":{"*":["ts3.4/*"]}},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jest-changed-files_25.2.1-alpha.1_1585209262979_0.9852883543505608","host":"s3://npm-registry-packages"},"publish_time":1585209263103,"_cnpm_publish_time":1585209263103,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}