{"name":"jest-changed-files","version":"29.0.0-alpha.2","license":"MIT","_id":"jest-changed-files@29.0.0-alpha.2","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":"34a48244feab42545fe4e4bae758fc157546fdf3","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-29.0.0-alpha.2.tgz","fileCount":8,"integrity":"sha512-uM3qPjk0SLcgxYMRgCvXLErhMoFfsYgI/p6c+IREqhCeCeodZUZ8OWS1jMgc5jNmXsPBeilGCJPIg1cvHkrmpg==","signatures":[{"sig":"MEYCIQCckQ8kadQ36bQZbjAc+TIBdGBifH/l3FK40qLKMnt3XwIhAJnnMfTzXb7atfkkbgpVtGj5izNJh32h3bXO9Xmy9iHq","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\nwsFzBAEBCAAGBQJi7aiJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpjCA/+LuRcVAmkjg9I1kSuDtGjZ9Gvc9JcPnJZqL8X2YW5T6s4ELE7\r\nsr/YNgeLtSawZ0r0Wyw+L/lC3snHfQB+7VBE2NmKEKZ+CroN4bWaqfk45LO1\r\n1koI03fl36cM/jNknLJ82oMyMbCttdQ9hoRwNiGQQ2NPejmZ4DCHaS6MSpTV\r\nBvgkAhDZ+1kMF17EbhAp/JQ8vjd/gFEgczumjtpCeRCDi81m3aWqF7+Sd2n/\r\nASyj108B/wfEbA6HpdkX49qWFsfNlQqgdkOogXUOgwXt/hxEP6TuXdQWfDYf\r\nBPvRGvXvNTRs7ItTmm6tnBQ6rHzXTppGlKucKW/c4XXJveIPe2uxZcbfeXAU\r\nZ1TNLQHcfsJ9ct0sXBZigfru3eUAUq3x7Lp2tYCR0yARqSXOcHxxF3Z6Bj70\r\nZnmr7DrBmLtEOIxZosxBRsuwvOEvIBNIaBlFeLkaAiTFZ9PJ67EqsUIsLRAq\r\n6FHEmTrtQtznJ8qb5/b0vEayYM+KWR9EFsQajpN8qNVCx0U710fOec70Ud2t\r\nDHbn7y7kGJ+sFKgv/NrPcuYQd8yVS6rb/RF0rjbIjS/ErhGDF8Hzgg9gZw3v\r\nLYeiiCpEahy90t4u+lLNHWpFJExqaq09aAHiQ7/ynImLKp+QB+dNxHMqEnOZ\r\n2/j/xupHHG4yRAnQ4KB2InDSmLgJ7v47JJE=\r\n=jR5p\r\n-----END PGP SIGNATURE-----\r\n","size":4042,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-29.0.0-alpha.2.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":"53c11a22213dfde9901678a3fdeb438dc039066a","_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.9.1/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.2_1659742345710_0.0720787999718886","host":"s3://npm-registry-packages"},"publish_time":1659742345886,"_cnpm_publish_time":1659742345886,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}