{"name":"jest-changed-files","version":"29.0.0-alpha.3","license":"MIT","_id":"jest-changed-files@29.0.0-alpha.3","maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@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":"75eec5fc33e708697df83c7e7fbfc4a534ee24f1","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-29.0.0-alpha.3.tgz","fileCount":8,"integrity":"sha512-qR9Tl9SZ+hoet7XpnBPoTsYi+E9XKXukqg28f/4GH8oltapQpZxcBQ47XwpHURn0+BzGZcfXvQr+/OuxTmE7Xg==","signatures":[{"sig":"MEYCIQDJIhloQyidgUAyBSzwMdH7GF0QhBk3pay1CztIdPdr6gIhAPpRw7YD92TrXORQ6O3rwkI1b/lAvBMOvx1bpf2bPkAo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13474,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi78EMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/Hw//eSqEKmjh9xkPlGYYpOsCB2mAE+WO2jLHasN2+cLKETIf8/KD\r\nYttg8IT2UbN58BZWfHiXzXYD9iCAbnKiZk8g2vXA9e1J89YHXWfGLf28AXxb\r\nFTuvOKlWtBM3ZxW8JacMa9JDaS/pfJ3dBIw6x2NH2i8erl83RzjOTelIlFKn\r\nUTmRiuP3NglS6I4V6ooO/6FBPKBsXSHZhaS6/+mSTR6h5pvnmFrG0TJzOAAw\r\nBYI5uUyYicA1Nb0B3QxeUZeqlsMvrwv/jbiXnWIrQXBrFY8vrYLbIWvhiYzf\r\nkO4YGqpRd4NQCSEk7K1Yt7dOp14SxXdMLbEUW0aKLSCGaLeZ3uxKBK9o6ouZ\r\n1CfmDSEx6TAHybblbtAZG05g7UV+HNrVrTcdPK0zhui6S9VYzH9W8P8/fVSK\r\n59BGxhew6IlEncJ0K9/QKT6ipl0G/0bLbkniQuGPBoC2gBELEzXBP8OaqWhr\r\nfGuzzL/iQAP0ZeqKfG5FTvmrq0XUf8vNI5BGbse4i7l6lt26nhyHarkzBXp3\r\n1AyrXmZnEHuhR2GPo5UPrxXPxsrf9SYfwopmf/GfNTpj5ISmgD8D+5+AArsk\r\nYNB+aPsx084EzbhCpwS0HSzADihDmBP6znfoO1z8Ex3HimOT2TIlzoJiWibn\r\nkQyVjuRI6C/V+x5sR+ClQ6ffgBe3i4VR58Q=\r\n=UTrA\r\n-----END PGP SIGNATURE-----\r\n","size":4043,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-29.0.0-alpha.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#roots-arraystring).\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#roots-arraystring).\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":"^14.15.0 || ^16.10.0 || >=18.0.0"},"exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"gitHead":"09981873c55442e5e494d42012f518b7d3d41fbd","_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/1.10.0/node@v16.15.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":"16.15.1","dependencies":{"execa":"^5.0.0","p-limit":"^3.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jest-changed-files_29.0.0-alpha.3_1659879691862_0.8942269447741027","host":"s3://npm-registry-packages"},"publish_time":1659879692028,"_cnpm_publish_time":1659879692028,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}