{"name":"jest-changed-files","version":"25.2.1-alpha.2","license":"MIT","_id":"jest-changed-files@25.2.1-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":"ba78f2f5e85eeff1dcc902c3f3f674989365d160","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-25.2.1-alpha.2.tgz","fileCount":27,"integrity":"sha512-mZg/G9fVfTzFAiQr50deLNwIepN98dms9lwMEhi/uBCOrukxeSgOZ0GhUSwerujIWAlVb9ZlXnH5qshbtSMmTg==","signatures":[{"sig":"MEUCIBgVUhlBZQOnVyfIxoBYWe6cd9x6eKEnv+R0jREOSgW3AiEAiXo4Ujnj9hy2x2rx+fEVNlFGhMhBkvyd/38K85tPFnc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefGN1CRA9TVsSAnZWagAAG60QAIaiDDCsOeyiMsk4EaKe\n56f1jXSKT96sH6hDxrApErkmsNwPbSCSQkWbYxYfk3iFuRSjREKz1vCL4emI\ny73JRcUxjFfLoQ3FCW3cOb6ABf7n0NTD6E7P9ghcTSHghZhQFayysC7lA9Zd\nLsKLllizYjpNJ7xdzhudgR0dOfJ+bV1l0cM0oAVltERdgStDKOb1IxxTp24A\nNnetuf9RHIbJ9GzE7JyzoWbc8LfuqJxagQaQ0jjMHvJZa1EH+lSuuL5E18rL\n3cHnesHceac0CBIHEnKhR1SCWP69VAdYO2tPSUt/HqXFVLFIl62gbpafH5xi\npf5uKmlvoIka+5npNT6mtcTlpObvl859RzgRDXEBVwG3SPd/V/gEsywmDtOz\nHZXwKSjnu8OHORrA9RaEzFt+WbgqLJ3bMJyRbvtYQC2bhQAdfP6k+8D6OCYS\ns2zqikupLUSIG8LoczZ8RgdtT70PNJhAl2NmVpWfc1QQVigbUW7kmFEus/wo\ndBJbFwedFd1MSEewey2cw90EAk8K3dZ4Sh9GuiX8QdiXM4ySUT7ZL3YxhIiz\ntVruAWCole2pG1JYl3HlHfNRiVDkAaJH1k4KHjbLeoxq3/TVanlwrz+b3zDq\n0qDw+HIdzBpxfZ0/xQDH48MxWvEF5i2IwaBSRmG3YsdmgrE6VdD8+93BWL0g\nwVfk\r\n=7ISB\r\n-----END PGP SIGNATURE-----\r\n","size":5558,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-25.2.1-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":">= 8.3"},"gitHead":"79b7ab67c63d3708f9689e25fbc0e8b0094bd019","_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.2+79b7ab67c"},"publishConfig":{"access":"public"},"typesVersions":{"<3.8":{"build/*":["build/ts3.4/*"]}},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jest-changed-files_25.2.1-alpha.2_1585210229315_0.11289537775644831","host":"s3://npm-registry-packages"},"publish_time":1585210229459,"_cnpm_publish_time":1585210229459,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}