{"name":"jest-changed-files","version":"26.0.0-alpha.2","license":"MIT","_id":"jest-changed-files@26.0.0-alpha.2","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":"f65588ede16c784d72b53081b495b69f62c775b4","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-26.0.0-alpha.2.tgz","fileCount":11,"integrity":"sha512-BmeFJ+e6T/EBFjtEPnVMUxhRCvuXpdAO4gYsxD+rq6dEEsxGz6vZGkKkBGpf193teuIZrglzZJOZSGs8W1l/dw==","signatures":[{"sig":"MEUCICdcku0tIpTFtVMYtOvaN6toow5jlYX8dHVIyIC73tDsAiEAm442t8I3+5wltDC8uNM0Qxxbo4vvZK4rGqiP/F2W5GE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesD1ECRA9TVsSAnZWagAAlYkQAIQd69OiNTnXui18b9eJ\nqzYNNnXEZNM+OkgF61h/LfHy3K3PNIzHoMX849inkoTg9wk5yr+CsnTU3Oxn\n8pnMEZMV2jNtELiCtdpfFE5N3XhTeEV81kjn6tkybgEZfoBc8z+qdxjxWbrL\nudqjOUweToId00Pr+yJrPvwnaDlSueE23JX1mu314HcfBM1ioQh22CVYUmsF\nAFY1QqfwyMRUfGw6HAnLdPFCCLD7Q6RevqqN2sutDGK/9dPs6BhFlvnf0ZDL\nTCBGsiVIO4v2Aa855WlyIlr1avcqtfwjgSkLNAl3G1Yx9J6a3uG24LDIrkmM\nqw5TgTXHxIXQFeV0CZ+n84sV1ql6EdncoxBbmI8T2f/nCfykbLH9IXDslVQt\npFbYp0VtCizUI9cmiAl+FbUxYkMRZv73uqmtq4dO8HIQ5NjEYZOoW1en03gz\n54x1IcNnSCphEYsgkSH90Q6tA7PatfQ3U8DGpgA7XsaU4fuf3Xk2UtKNazYA\njtg7ymupdnrLNumhnnvIKcjRMv9K+JscoAylku5jQeixWbA+1ZZp1+HpGUIV\nfZcVNcAT7RCRsBlxRzQ7fV/IoZYrYwwV4u9ZVx/FACXc0l3W3/TmaxLToMdP\nooRDYr2EwdJPw3NvdlCM6GUrNrmUN+o3RXJSnXMOsUSB+eFE+q0vLzGKDxqZ\nFO6m\r\n=qt0p\r\n-----END PGP SIGNATURE-----\r\n","size":4145,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-26.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.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.14.2"},"gitHead":"68b65afc97688bd5b0b433f8f585da57dcd1d418","_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.16.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":"12.16.3","dependencies":{"execa":"^4.0.0","throat":"^5.0.0","@jest/types":"^26.0.0-alpha.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jest-changed-files_26.0.0-alpha.2_1588608324217_0.9377388402789055","host":"s3://npm-registry-packages"},"publish_time":1588608324349,"_cnpm_publish_time":1588608324349,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}