| 1 |
// generated from test/fixtures/flow-outdated |
| 2 |
module.exports = t => { |
| 3 |
const path = t.testdir({ |
| 4 |
"package-lock.json": JSON.stringify({ |
| 5 |
"name": "flow-outdated", |
| 6 |
"version": "1.0.0", |
| 7 |
"lockfileVersion": 2, |
| 8 |
"requires": true, |
| 9 |
"packages": { |
| 10 |
"": { |
| 11 |
"name": "flow-outdated", |
| 12 |
"version": "1.0.0", |
| 13 |
"license": "ISC", |
| 14 |
"dependencies": { |
| 15 |
"flow-parser": "0.x", |
| 16 |
"flow-remove-types": "^2.112.0" |
| 17 |
} |
| 18 |
}, |
| 19 |
"node_modules/flow-parser": { |
| 20 |
"version": "0.112.0", |
| 21 |
"resolved": "https://registry.npmjs.org/flow-parser/-/flow-parser-0.112.0.tgz", |
| 22 |
"integrity": "sha512-sxjnwhR76B/fUN6n/XerYzn8R1HvtVo3SM8Il3WiZ4nkAlb2BBzKe1TSVKGSyZgD6FW9Bsxom/57ktkqrqmXGA==" |
| 23 |
}, |
| 24 |
"node_modules/flow-remove-types": { |
| 25 |
"version": "2.112.0", |
| 26 |
"resolved": "https://registry.npmjs.org/flow-remove-types/-/flow-remove-types-2.112.0.tgz", |
| 27 |
"integrity": "sha512-h3bwcfh41nR9kvlhZFr5ySGmzzOyG4VUsnN4OBl9R6anbWAiX4H5lPhKTwZ7AelWF8Rtqmw/Vnq+VLEMg7PdAw==", |
| 28 |
"dependencies": { |
| 29 |
"flow-parser": "^0.112.0", |
| 30 |
"pirates": "^3.0.2", |
| 31 |
"vlq": "^0.2.1" |
| 32 |
} |
| 33 |
}, |
| 34 |
"node_modules/node-modules-regexp": { |
| 35 |
"version": "1.0.0", |
| 36 |
"resolved": "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz", |
| 37 |
"integrity": "sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA=" |
| 38 |
}, |
| 39 |
"node_modules/pirates": { |
| 40 |
"version": "3.0.2", |
| 41 |
"resolved": "https://registry.npmjs.org/pirates/-/pirates-3.0.2.tgz", |
| 42 |
"integrity": "sha512-c5CgUJq6H2k6MJz72Ak1F5sN9n9wlSlJyEnwvpm9/y3WB4E3pHBDT2c6PEiS1vyJvq2bUxUAIu0EGf8Cx4Ic7Q==", |
| 43 |
"dependencies": { |
| 44 |
"node-modules-regexp": "^1.0.0" |
| 45 |
} |
| 46 |
}, |
| 47 |
"node_modules/vlq": { |
| 48 |
"version": "0.2.1", |
| 49 |
"resolved": "https://registry.npmjs.org/vlq/-/vlq-0.2.1.tgz", |
| 50 |
"integrity": "sha512-nHsLkUCZjkeZgTWmMA1htGsht29a8Qdf+o2LhJlMN3cIY24DNpHapLWnUTJ3rpZ3eD3240yiS6nRya/km8L7lQ==" |
| 51 |
} |
| 52 |
}, |
| 53 |
"dependencies": { |
| 54 |
"flow-parser": { |
| 55 |
"version": "0.112.0", |
| 56 |
"resolved": "https://registry.npmjs.org/flow-parser/-/flow-parser-0.112.0.tgz", |
| 57 |
"integrity": "sha512-sxjnwhR76B/fUN6n/XerYzn8R1HvtVo3SM8Il3WiZ4nkAlb2BBzKe1TSVKGSyZgD6FW9Bsxom/57ktkqrqmXGA==" |
| 58 |
}, |
| 59 |
"flow-remove-types": { |
| 60 |
"version": "2.112.0", |
| 61 |
"resolved": "https://registry.npmjs.org/flow-remove-types/-/flow-remove-types-2.112.0.tgz", |
| 62 |
"integrity": "sha512-h3bwcfh41nR9kvlhZFr5ySGmzzOyG4VUsnN4OBl9R6anbWAiX4H5lPhKTwZ7AelWF8Rtqmw/Vnq+VLEMg7PdAw==", |
| 63 |
"requires": { |
| 64 |
"flow-parser": "^0.112.0", |
| 65 |
"pirates": "^3.0.2", |
| 66 |
"vlq": "^0.2.1" |
| 67 |
} |
| 68 |
}, |
| 69 |
"node-modules-regexp": { |
| 70 |
"version": "1.0.0", |
| 71 |
"resolved": "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz", |
| 72 |
"integrity": "sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA=" |
| 73 |
}, |
| 74 |
"pirates": { |
| 75 |
"version": "3.0.2", |
| 76 |
"resolved": "https://registry.npmjs.org/pirates/-/pirates-3.0.2.tgz", |
| 77 |
"integrity": "sha512-c5CgUJq6H2k6MJz72Ak1F5sN9n9wlSlJyEnwvpm9/y3WB4E3pHBDT2c6PEiS1vyJvq2bUxUAIu0EGf8Cx4Ic7Q==", |
| 78 |
"requires": { |
| 79 |
"node-modules-regexp": "^1.0.0" |
| 80 |
} |
| 81 |
}, |
| 82 |
"vlq": { |
| 83 |
"version": "0.2.1", |
| 84 |
"resolved": "https://registry.npmjs.org/vlq/-/vlq-0.2.1.tgz", |
| 85 |
"integrity": "sha512-nHsLkUCZjkeZgTWmMA1htGsht29a8Qdf+o2LhJlMN3cIY24DNpHapLWnUTJ3rpZ3eD3240yiS6nRya/km8L7lQ==" |
| 86 |
} |
| 87 |
} |
| 88 |
}), |
| 89 |
"package.json": JSON.stringify({ |
| 90 |
"name": "flow-outdated", |
| 91 |
"version": "1.0.0", |
| 92 |
"description": "", |
| 93 |
"main": "index.js", |
| 94 |
"dependencies": { |
| 95 |
"flow-parser": "0.x", |
| 96 |
"flow-remove-types": "^2.112.0" |
| 97 |
}, |
| 98 |
"devDependencies": {}, |
| 99 |
"scripts": { |
| 100 |
"test": "echo \"Error: no test specified\" && exit 1" |
| 101 |
}, |
| 102 |
"keywords": [], |
| 103 |
"author": "", |
| 104 |
"license": "ISC" |
| 105 |
}) |
| 106 |
}) |
| 107 |
return path |
| 108 |
} |