{"name":"jest-changed-files","version":"28.0.0-alpha.3","license":"MIT","_id":"jest-changed-files@28.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":"7a00da99caf3931277772279fad6ae62d864c3e5","tarball":"http://registry-npm.ywwl.com/jest-changed-files/download/jest-changed-files-28.0.0-alpha.3.tgz","fileCount":8,"integrity":"sha512-ip0mVkZDlKsORb0AYdYHRxxabHu2XwKFjTIGF4J0/dEMcvpuSigd5bIRv8J5sig+nYFq6XwXehuhnVqTNWEQKQ==","signatures":[{"sig":"MEUCIQDacGvi+BN/0N5D3pKewNqKk/XbfXRLz1m6yuJjcpLtlwIgIFybgHH2T9S9z1gqvAgmYD8REXlV6dD+scEdRzVJwv8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDmzcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrwTg/8CcM7OJ+7RJ+bIQql2pmF2QLUPNczMGCJQkpTYvvOfsM3ln0N\r\ng4vYZyzdkt7YZbLpvw9u9MoegRxHFkBRIBEc8VkrFGkZXB17EZsIVesPB4cs\r\nHW+2rjldsgPkXdaVWK7bvbhWJdMp5Wp30NHb/WnOHOt8bo1NVcS+Vikb/RSo\r\n9/7UgUMv9qbCS6tY4l9Uy0uoT2PYiJms5x+MVlz2GfPIaXiFfpqhHO4Yz2B6\r\nj9fKLeWlcpAn5I+F/VYgS26ER7gRegw1mC6H1vjD+Nv2UZaEgDXEN6WhePHn\r\naS9viEEFNDxkqFJgpPizVen2X4iB/kB5msqTVygZDP7p8qwCVuULmGt2pNxT\r\nJf5pJqdgeGAkjs3HeCHX5ywJog8u+mxbFFtN3SI4aJvIzyfo3HSvV5RoimvX\r\ndgG2G5IVjI/dJsTGHOJA2iQK4xr/OckZgPlGtdEt6ys7RUzZrsSnC2LGyomm\r\n95zoCq1jlpqsCxWyT2AJdSw00N2ia4MYLRAOmnZscUqMAZyaIYhUPnCrfYF5\r\n01pL2c9xpxy57G2OWePcN0/96N1iRrkXV/T9y+OluqdwUu42lK2M75bkRH5h\r\n9SF/5hUAqk1ProPGSMWK31H2fJABqbAtPRo9ZuP4Qv3wVVYeCZFk5zEA2pCi\r\nugC6xf7sD7kSS5nMdQtsoj3s2394WiQl/dM=\r\n=8trk\r\n-----END PGP SIGNATURE-----\r\n","size":4062,"noattachment":false,"key":"/jest-changed-files/-/jest-changed-files-28.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":"^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0"},"exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"gitHead":"fc30b27bd94bb7ebeaadc72626ebbdba535150d2","_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/4.0.0/node@v16.14.0+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.14.0","dependencies":{"execa":"^5.0.0","throat":"^6.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/jest-changed-files_28.0.0-alpha.3_1645112540001_0.22082239992078034","host":"s3://npm-registry-packages"},"publish_time":1645112540195,"_cnpm_publish_time":1645112540195,"dist-tags":{"latest":"30.5.1","next":"30.0.0-rc.1"}}