{ "_args": [ [ { "raw": "jest-changed-files@^22.2.0", "scope": null, "escapedName": "jest-changed-files", "name": "jest-changed-files", "rawSpec": "^22.2.0", "spec": ">=22.2.0 <23.0.0", "type": "range" }, "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/jest/node_modules/jest-cli" ] ], "_from": "jest-changed-files@>=22.2.0 <23.0.0", "_id": "jest-changed-files@22.2.0", "_inCache": true, "_location": "/jest-changed-files", "_nodeVersion": "8.9.1", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/jest-changed-files_22.2.0_1517999151843_0.29562336097286357" }, "_npmUser": { "name": "mjesun", "email": "mjesun@hotmail.com" }, "_npmVersion": "5.5.1", "_phantomChildren": {}, "_requested": { "raw": "jest-changed-files@^22.2.0", "scope": null, "escapedName": "jest-changed-files", "name": "jest-changed-files", "rawSpec": "^22.2.0", "spec": ">=22.2.0 <23.0.0", "type": "range" }, "_requiredBy": [ "/jest/jest-cli" ], "_resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-22.2.0.tgz", "_shasum": "517610c4a8ca0925bdc88b0ca53bd678aa8d019e", "_shrinkwrap": null, "_spec": "jest-changed-files@^22.2.0", "_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/jest/node_modules/jest-cli", "bugs": { "url": "https://github.com/facebook/jest/issues" }, "dependencies": { "throat": "^4.0.0" }, "description": "A module used internally by Jest to check which files have changed since you last committed in git or hg.", "devDependencies": {}, "directories": {}, "dist": { "integrity": "sha512-SzqOvoPMrXB0NPvDrSPeKETpoUNCtNDOsFbCzAGWxqWVvNyrIMLpUjVExT3u3LfdVrENlrNGCfh5YoFd8+ZeXg==", "shasum": "517610c4a8ca0925bdc88b0ca53bd678aa8d019e", "tarball": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-22.2.0.tgz", "fileCount": 5, "unpackedSize": 26713 }, "homepage": "https://github.com/facebook/jest#readme", "license": "MIT", "main": "build/index.js", "maintainers": [ { "name": "aaronabramov", "email": "aaron@abramov.io" }, { "name": "cpojer", "email": "christoph.pojer@gmail.com" }, { "name": "fb", "email": "opensource+npm@fb.com" }, { "name": "jeanlauliac", "email": "jean@lauliac.com" }, { "name": "mjesun", "email": "mjesun@hotmail.com" } ], "name": "jest-changed-files", "optionalDependencies": {}, "readme": "# jest-changed-files\n\nA module used internally by Jest to check which files have changed since you\nlast 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: >, options: ?object): Promise`\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\n[jest roots](https://facebook.github.io/jest/docs/configuration.html#roots-array-string).\n\noptions: Object literal with keys\n\n* lastCommit: boolean\n* withAncestor: boolean\n\n### findRepos(roots: >): Promise\n\nGet a set of git and hg repositories.\n\n#### Parameters\n\nroots: Array of string paths gathered from\n[jest roots](https://facebook.github.io/jest/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,\n hg: Set\n }\n */\n});\n```\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/facebook/jest.git" }, "version": "22.2.0" }