| 1 |
/* IMPORTANT |
| 2 |
* This snapshot file is auto-generated, but designed for humans. |
| 3 |
* It should be checked into source control and tracked carefully. |
| 4 |
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. |
| 5 |
* Make sure to inspect the output below. Do not ignore changes! |
| 6 |
*/ |
| 7 |
'use strict' |
| 8 |
exports[`test/lib/utils/explain-dep.js TAP basic > circular dependency does not recurse infinitely 1`] = ` |
| 9 |
[email protected] |
| 10 |
node_modules/cycle-a |
| 11 |
cycle-a@"1.x" from [email protected] |
| 12 |
node_modules/cycle-b |
| 13 |
cycle-b@"2.x" from [email protected] |
| 14 |
node_modules/cycle-a |
| 15 |
cycle-a@"1.x" from [email protected] |
| 16 |
node_modules/cycle-b |
| 17 |
` |
| 18 |
|
| 19 |
exports[`test/lib/utils/explain-dep.js TAP basic > circular dependency from other side 1`] = ` |
| 20 |
[email protected] |
| 21 |
node_modules/cycle-b |
| 22 |
cycle-b@"2.x" from [email protected] |
| 23 |
node_modules/cycle-a |
| 24 |
cycle-a@"1.x" from [email protected] |
| 25 |
node_modules/cycle-b |
| 26 |
cycle-b@"2.x" from [email protected] |
| 27 |
node_modules/cycle-a |
| 28 |
` |
| 29 |
|
| 30 |
exports[`test/lib/utils/explain-dep.js TAP basic > ellipses test one 1`] = ` |
| 31 |
[email protected] |
| 32 |
manydep@"1.0.0" from [email protected] |
| 33 |
node_modules/prod-dep |
| 34 |
prod-dep@"1.x" from the root project |
| 35 |
7 more (optdep, extra-neos, deep-dev, peer, the root project, ...) |
| 36 |
` |
| 37 |
|
| 38 |
exports[`test/lib/utils/explain-dep.js TAP basic > ellipses test two 1`] = ` |
| 39 |
[email protected] |
| 40 |
manydep@"1.0.0" from [email protected] |
| 41 |
node_modules/prod-dep |
| 42 |
prod-dep@"1.x" from the root project |
| 43 |
6 more (optdep, extra-neos, deep-dev, peer, the root project, a package with a pretty long name) |
| 44 |
` |
| 45 |
|
| 46 |
exports[`test/lib/utils/explain-dep.js TAP basic > explainEdge without seen parameter 1`] = ` |
| 47 |
some-dep@"1.x" from [email protected] |
| 48 |
node_modules/parent-pkg |
| 49 |
` |
| 50 |
|
| 51 |
exports[`test/lib/utils/explain-dep.js TAP basic bundled > explain color deep 1`] = ` |
| 52 |
[email protected] [4m[36mbundled[39m[24m[2m[22m |
| 53 |
[2mnode_modules/bundle-of-joy[22m |
| 54 |
[4m[36mbundled[39m[24m prod-dep@"1.x" from the root project |
| 55 |
` |
| 56 |
|
| 57 |
exports[`test/lib/utils/explain-dep.js TAP basic bundled > explain nocolor shallow 1`] = ` |
| 58 |
[email protected] bundled |
| 59 |
node_modules/bundle-of-joy |
| 60 |
bundled prod-dep@"1.x" from the root project |
| 61 |
` |
| 62 |
|
| 63 |
exports[`test/lib/utils/explain-dep.js TAP basic bundled > print color 1`] = ` |
| 64 |
[email protected] [4m[36mbundled[39m[24m[2m[22m |
| 65 |
[2mnode_modules/bundle-of-joy[22m |
| 66 |
` |
| 67 |
|
| 68 |
exports[`test/lib/utils/explain-dep.js TAP basic bundled > print nocolor 1`] = ` |
| 69 |
[email protected] bundled |
| 70 |
node_modules/bundle-of-joy |
| 71 |
` |
| 72 |
|
| 73 |
exports[`test/lib/utils/explain-dep.js TAP basic deepDev > explain color deep 1`] = ` |
| 74 |
[email protected] [34mdev[39m[2m[22m |
| 75 |
[2mnode_modules/deep-dev[22m |
| 76 |
deep-dev@"2.x" from [email protected][2m[22m |
| 77 |
[2mnode_modules/dev/node_modules/metadev[22m |
| 78 |
metadev@"3.x" from [email protected][2m[22m |
| 79 |
[2mnode_modules/topdev[22m |
| 80 |
[34mdev[39m topdev@"4.x" from the root project |
| 81 |
` |
| 82 |
|
| 83 |
exports[`test/lib/utils/explain-dep.js TAP basic deepDev > explain nocolor shallow 1`] = ` |
| 84 |
[email protected] dev |
| 85 |
node_modules/deep-dev |
| 86 |
deep-dev@"2.x" from [email protected] |
| 87 |
node_modules/dev/node_modules/metadev |
| 88 |
metadev@"3.x" from [email protected] |
| 89 |
node_modules/topdev |
| 90 |
` |
| 91 |
|
| 92 |
exports[`test/lib/utils/explain-dep.js TAP basic deepDev > print color 1`] = ` |
| 93 |
[email protected] [34mdev[39m[2m[22m |
| 94 |
[2mnode_modules/deep-dev[22m |
| 95 |
` |
| 96 |
|
| 97 |
exports[`test/lib/utils/explain-dep.js TAP basic deepDev > print nocolor 1`] = ` |
| 98 |
[email protected] dev |
| 99 |
node_modules/deep-dev |
| 100 |
` |
| 101 |
|
| 102 |
exports[`test/lib/utils/explain-dep.js TAP basic extraneous > explain color deep 1`] = ` |
| 103 |
[email protected] [31mextraneous[39m[2m[22m |
| 104 |
[2mnode_modules/extra-neos[22m |
| 105 |
` |
| 106 |
|
| 107 |
exports[`test/lib/utils/explain-dep.js TAP basic extraneous > explain nocolor shallow 1`] = ` |
| 108 |
[email protected] extraneous |
| 109 |
node_modules/extra-neos |
| 110 |
` |
| 111 |
|
| 112 |
exports[`test/lib/utils/explain-dep.js TAP basic extraneous > print color 1`] = ` |
| 113 |
[email protected] [31mextraneous[39m[2m[22m |
| 114 |
[2mnode_modules/extra-neos[22m |
| 115 |
` |
| 116 |
|
| 117 |
exports[`test/lib/utils/explain-dep.js TAP basic extraneous > print nocolor 1`] = ` |
| 118 |
[email protected] extraneous |
| 119 |
node_modules/extra-neos |
| 120 |
` |
| 121 |
|
| 122 |
exports[`test/lib/utils/explain-dep.js TAP basic manyDeps > explain color deep 1`] = ` |
| 123 |
[email protected] |
| 124 |
manydep@"1.0.0" from [email protected][2m[22m |
| 125 |
[2mnode_modules/prod-dep[22m |
| 126 |
prod-dep@"1.x" from the root project |
| 127 |
[35moptional[39m manydep@"1.x" from [email protected] [35moptional[39m[2m[22m |
| 128 |
[2mnode_modules/optdep[22m |
| 129 |
[35moptional[39m optdep@"1.0.0" from the root project |
| 130 |
manydep@"1.0.x" from [email protected] [31mextraneous[39m[2m[22m |
| 131 |
[2mnode_modules/extra-neos[22m |
| 132 |
[34mdev[39m manydep@"*" from [email protected] [34mdev[39m[2m[22m |
| 133 |
[2mnode_modules/deep-dev[22m |
| 134 |
deep-dev@"2.x" from [email protected][2m[22m |
| 135 |
[2mnode_modules/dev/node_modules/metadev[22m |
| 136 |
metadev@"3.x" from [email protected][2m[22m |
| 137 |
[2mnode_modules/topdev[22m |
| 138 |
[34mdev[39m topdev@"4.x" from the root project |
| 139 |
[95mpeer[39m manydep@">1.0.0-beta <1.0.1" from [email protected] [95mpeer[39m[2m[22m |
| 140 |
[2mnode_modules/peer[22m |
| 141 |
[95mpeer[39m peer@"1.0.0" from the root project |
| 142 |
manydep@">1.0.0-beta <1.0.1" from the root project |
| 143 |
manydep@"1" from a package with a pretty long [email protected] |
| 144 |
manydep@"1" from another package with a pretty long [email protected] |
| 145 |
manydep@"1" from yet another a package with a pretty long [email protected] |
| 146 |
` |
| 147 |
|
| 148 |
exports[`test/lib/utils/explain-dep.js TAP basic manyDeps > explain nocolor shallow 1`] = ` |
| 149 |
[email protected] |
| 150 |
manydep@"1.0.0" from [email protected] |
| 151 |
node_modules/prod-dep |
| 152 |
prod-dep@"1.x" from the root project |
| 153 |
8 more (optdep, extra-neos, deep-dev, peer, the root project, ...) |
| 154 |
` |
| 155 |
|
| 156 |
exports[`test/lib/utils/explain-dep.js TAP basic manyDeps > print color 1`] = ` |
| 157 |
[email protected] |
| 158 |
` |
| 159 |
|
| 160 |
exports[`test/lib/utils/explain-dep.js TAP basic manyDeps > print nocolor 1`] = ` |
| 161 |
[email protected] |
| 162 |
` |
| 163 |
|
| 164 |
exports[`test/lib/utils/explain-dep.js TAP basic optional > explain color deep 1`] = ` |
| 165 |
[email protected] [35moptional[39m[2m[22m |
| 166 |
[2mnode_modules/optdep[22m |
| 167 |
[35moptional[39m optdep@"1.0.0" from the root project |
| 168 |
` |
| 169 |
|
| 170 |
exports[`test/lib/utils/explain-dep.js TAP basic optional > explain nocolor shallow 1`] = ` |
| 171 |
[email protected] optional |
| 172 |
node_modules/optdep |
| 173 |
optional optdep@"1.0.0" from the root project |
| 174 |
` |
| 175 |
|
| 176 |
exports[`test/lib/utils/explain-dep.js TAP basic optional > print color 1`] = ` |
| 177 |
[email protected] [35moptional[39m[2m[22m |
| 178 |
[2mnode_modules/optdep[22m |
| 179 |
` |
| 180 |
|
| 181 |
exports[`test/lib/utils/explain-dep.js TAP basic optional > print nocolor 1`] = ` |
| 182 |
[email protected] optional |
| 183 |
node_modules/optdep |
| 184 |
` |
| 185 |
|
| 186 |
exports[`test/lib/utils/explain-dep.js TAP basic overridden > explain color deep 1`] = ` |
| 187 |
[email protected] [2moverridden[22m[2m[22m |
| 188 |
[2mnode_modules/overridden-root[22m |
| 189 |
[2moverridden[22m overridden-dep@"1.0.0" (was "^2.0.0") from the root project |
| 190 |
` |
| 191 |
|
| 192 |
exports[`test/lib/utils/explain-dep.js TAP basic overridden > explain nocolor shallow 1`] = ` |
| 193 |
[email protected] overridden |
| 194 |
node_modules/overridden-root |
| 195 |
overridden overridden-dep@"1.0.0" (was "^2.0.0") from the root project |
| 196 |
` |
| 197 |
|
| 198 |
exports[`test/lib/utils/explain-dep.js TAP basic overridden > print color 1`] = ` |
| 199 |
[email protected] [2moverridden[22m[2m[22m |
| 200 |
[2mnode_modules/overridden-root[22m |
| 201 |
` |
| 202 |
|
| 203 |
exports[`test/lib/utils/explain-dep.js TAP basic overridden > print nocolor 1`] = ` |
| 204 |
[email protected] overridden |
| 205 |
node_modules/overridden-root |
| 206 |
` |
| 207 |
|
| 208 |
exports[`test/lib/utils/explain-dep.js TAP basic peer > explain color deep 1`] = ` |
| 209 |
[email protected] [95mpeer[39m[2m[22m |
| 210 |
[2mnode_modules/peer[22m |
| 211 |
[95mpeer[39m peer@"1.0.0" from the root project |
| 212 |
` |
| 213 |
|
| 214 |
exports[`test/lib/utils/explain-dep.js TAP basic peer > explain nocolor shallow 1`] = ` |
| 215 |
[email protected] peer |
| 216 |
node_modules/peer |
| 217 |
peer peer@"1.0.0" from the root project |
| 218 |
` |
| 219 |
|
| 220 |
exports[`test/lib/utils/explain-dep.js TAP basic peer > print color 1`] = ` |
| 221 |
[email protected] [95mpeer[39m[2m[22m |
| 222 |
[2mnode_modules/peer[22m |
| 223 |
` |
| 224 |
|
| 225 |
exports[`test/lib/utils/explain-dep.js TAP basic peer > print nocolor 1`] = ` |
| 226 |
[email protected] peer |
| 227 |
node_modules/peer |
| 228 |
` |
| 229 |
|
| 230 |
exports[`test/lib/utils/explain-dep.js TAP basic prodDep > explain color deep 1`] = ` |
| 231 |
[email protected][2m[22m |
| 232 |
[2mnode_modules/prod-dep[22m |
| 233 |
prod-dep@"1.x" from the root project |
| 234 |
` |
| 235 |
|
| 236 |
exports[`test/lib/utils/explain-dep.js TAP basic prodDep > explain nocolor shallow 1`] = ` |
| 237 |
[email protected] |
| 238 |
node_modules/prod-dep |
| 239 |
prod-dep@"1.x" from the root project |
| 240 |
` |
| 241 |
|
| 242 |
exports[`test/lib/utils/explain-dep.js TAP basic prodDep > print color 1`] = ` |
| 243 |
[email protected][2m[22m |
| 244 |
[2mnode_modules/prod-dep[22m |
| 245 |
` |
| 246 |
|
| 247 |
exports[`test/lib/utils/explain-dep.js TAP basic prodDep > print nocolor 1`] = ` |
| 248 |
[email protected] |
| 249 |
node_modules/prod-dep |
| 250 |
` |
| 251 |
|
| 252 |
exports[`test/lib/utils/explain-dep.js TAP basic workspaces > explain color deep 1`] = ` |
| 253 |
[[email protected][39m[2m[22m |
| 254 |
[2ma[22m |
| 255 |
[[email protected][39m[2m[22m |
| 256 |
[2mnode_modules/a[22m |
| 257 |
[94mworkspace[39m [1ma[22m from the root project |
| 258 |
` |
| 259 |
|
| 260 |
exports[`test/lib/utils/explain-dep.js TAP basic workspaces > explain nocolor shallow 1`] = ` |
| 261 |
[email protected] |
| 262 |
a |
| 263 |
[email protected] |
| 264 |
node_modules/a |
| 265 |
workspace a from the root project |
| 266 |
` |
| 267 |
|
| 268 |
exports[`test/lib/utils/explain-dep.js TAP basic workspaces > print color 1`] = ` |
| 269 |
[[email protected][39m[2m[22m |
| 270 |
[2ma[22m |
| 271 |
` |
| 272 |
|
| 273 |
exports[`test/lib/utils/explain-dep.js TAP basic workspaces > print nocolor 1`] = ` |
| 274 |
[email protected] |
| 275 |
a |
| 276 |
` |