| 1 |
{ |
| 2 |
"_id": "mimic-fn", |
| 3 |
"_rev": "8-21d5f59672e958cd3ac3dc9020fd56a3", |
| 4 |
"name": "mimic-fn", |
| 5 |
"description": "Make a function mimic another one", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "3.1.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"1.0.0": { |
| 11 |
"name": "mimic-fn", |
| 12 |
"version": "1.0.0", |
| 13 |
"description": "Make a function mimic another one", |
| 14 |
"license": "MIT", |
| 15 |
"repository": { |
| 16 |
"type": "git", |
| 17 |
"url": "git+https://github.com/sindresorhus/mimic-fn.git" |
| 18 |
}, |
| 19 |
"author": { |
| 20 |
"name": "Sindre Sorhus", |
| 21 |
"email": "[email protected]", |
| 22 |
"url": "sindresorhus.com" |
| 23 |
}, |
| 24 |
"engines": { |
| 25 |
"node": ">=4" |
| 26 |
}, |
| 27 |
"scripts": { |
| 28 |
"test": "xo && ava" |
| 29 |
}, |
| 30 |
"files": [ |
| 31 |
"index.js" |
| 32 |
], |
| 33 |
"keywords": [ |
| 34 |
"function", |
| 35 |
"mimic", |
| 36 |
"imitate", |
| 37 |
"rename", |
| 38 |
"copy", |
| 39 |
"inherit", |
| 40 |
"properties", |
| 41 |
"name", |
| 42 |
"func", |
| 43 |
"fn", |
| 44 |
"set", |
| 45 |
"infer", |
| 46 |
"change" |
| 47 |
], |
| 48 |
"devDependencies": { |
| 49 |
"ava": "*", |
| 50 |
"xo": "*" |
| 51 |
}, |
| 52 |
"xo": { |
| 53 |
"esnext": true |
| 54 |
}, |
| 55 |
"gitHead": "aa6ed7d5bd448aacfb68b249362e2997ca969696", |
| 56 |
"bugs": { |
| 57 |
"url": "https://github.com/sindresorhus/mimic-fn/issues" |
| 58 |
}, |
| 59 |
"homepage": "https://github.com/sindresorhus/mimic-fn#readme", |
| 60 |
"_id": "[email protected]", |
| 61 |
"_shasum": "93c514dcbfb753539ceb8e7a1f55cbf815580da4", |
| 62 |
"_from": ".", |
| 63 |
"_npmVersion": "2.15.9", |
| 64 |
"_nodeVersion": "4.6.0", |
| 65 |
"_npmUser": { |
| 66 |
"name": "sindresorhus", |
| 67 |
"email": "[email protected]" |
| 68 |
}, |
| 69 |
"dist": { |
| 70 |
"shasum": "93c514dcbfb753539ceb8e7a1f55cbf815580da4", |
| 71 |
"tarball": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.0.0.tgz" |
| 72 |
}, |
| 73 |
"maintainers": [ |
| 74 |
{ |
| 75 |
"name": "sindresorhus", |
| 76 |
"email": "[email protected]" |
| 77 |
} |
| 78 |
], |
| 79 |
"_npmOperationalInternal": { |
| 80 |
"host": "packages-12-west.internal.npmjs.com", |
| 81 |
"tmp": "tmp/mimic-fn-1.0.0.tgz_1476898052705_0.4593465782236308" |
| 82 |
}, |
| 83 |
"directories": {} |
| 84 |
}, |
| 85 |
"1.1.0": { |
| 86 |
"name": "mimic-fn", |
| 87 |
"version": "1.1.0", |
| 88 |
"description": "Make a function mimic another one", |
| 89 |
"license": "MIT", |
| 90 |
"repository": { |
| 91 |
"type": "git", |
| 92 |
"url": "git+https://github.com/sindresorhus/mimic-fn.git" |
| 93 |
}, |
| 94 |
"author": { |
| 95 |
"name": "Sindre Sorhus", |
| 96 |
"email": "[email protected]", |
| 97 |
"url": "sindresorhus.com" |
| 98 |
}, |
| 99 |
"engines": { |
| 100 |
"node": ">=4" |
| 101 |
}, |
| 102 |
"scripts": { |
| 103 |
"test": "xo && ava" |
| 104 |
}, |
| 105 |
"files": [ |
| 106 |
"index.js" |
| 107 |
], |
| 108 |
"keywords": [ |
| 109 |
"function", |
| 110 |
"mimic", |
| 111 |
"imitate", |
| 112 |
"rename", |
| 113 |
"copy", |
| 114 |
"inherit", |
| 115 |
"properties", |
| 116 |
"name", |
| 117 |
"func", |
| 118 |
"fn", |
| 119 |
"set", |
| 120 |
"infer", |
| 121 |
"change" |
| 122 |
], |
| 123 |
"devDependencies": { |
| 124 |
"ava": "*", |
| 125 |
"xo": "*" |
| 126 |
}, |
| 127 |
"xo": { |
| 128 |
"esnext": true |
| 129 |
}, |
| 130 |
"gitHead": "3703ef8142ce6b7170297e58fee1a14799b79975", |
| 131 |
"bugs": { |
| 132 |
"url": "https://github.com/sindresorhus/mimic-fn/issues" |
| 133 |
}, |
| 134 |
"homepage": "https://github.com/sindresorhus/mimic-fn#readme", |
| 135 |
"_id": "[email protected]", |
| 136 |
"_shasum": "e667783d92e89dbd342818b5230b9d62a672ad18", |
| 137 |
"_from": ".", |
| 138 |
"_npmVersion": "2.15.9", |
| 139 |
"_nodeVersion": "4.6.1", |
| 140 |
"_npmUser": { |
| 141 |
"name": "sindresorhus", |
| 142 |
"email": "[email protected]" |
| 143 |
}, |
| 144 |
"dist": { |
| 145 |
"shasum": "e667783d92e89dbd342818b5230b9d62a672ad18", |
| 146 |
"tarball": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.1.0.tgz" |
| 147 |
}, |
| 148 |
"maintainers": [ |
| 149 |
{ |
| 150 |
"name": "sindresorhus", |
| 151 |
"email": "[email protected]" |
| 152 |
} |
| 153 |
], |
| 154 |
"_npmOperationalInternal": { |
| 155 |
"host": "packages-18-east.internal.npmjs.com", |
| 156 |
"tmp": "tmp/mimic-fn-1.1.0.tgz_1477992909009_0.6083487698342651" |
| 157 |
}, |
| 158 |
"directories": {} |
| 159 |
}, |
| 160 |
"1.2.0": { |
| 161 |
"name": "mimic-fn", |
| 162 |
"version": "1.2.0", |
| 163 |
"description": "Make a function mimic another one", |
| 164 |
"license": "MIT", |
| 165 |
"repository": { |
| 166 |
"type": "git", |
| 167 |
"url": "git+https://github.com/sindresorhus/mimic-fn.git" |
| 168 |
}, |
| 169 |
"author": { |
| 170 |
"name": "Sindre Sorhus", |
| 171 |
"email": "[email protected]", |
| 172 |
"url": "sindresorhus.com" |
| 173 |
}, |
| 174 |
"engines": { |
| 175 |
"node": ">=4" |
| 176 |
}, |
| 177 |
"scripts": { |
| 178 |
"test": "xo && ava" |
| 179 |
}, |
| 180 |
"files": [ |
| 181 |
"index.js" |
| 182 |
], |
| 183 |
"keywords": [ |
| 184 |
"function", |
| 185 |
"mimic", |
| 186 |
"imitate", |
| 187 |
"rename", |
| 188 |
"copy", |
| 189 |
"inherit", |
| 190 |
"properties", |
| 191 |
"name", |
| 192 |
"func", |
| 193 |
"fn", |
| 194 |
"set", |
| 195 |
"infer", |
| 196 |
"change" |
| 197 |
], |
| 198 |
"devDependencies": { |
| 199 |
"ava": "*", |
| 200 |
"xo": "*" |
| 201 |
}, |
| 202 |
"gitHead": "d762fc495eef1e48718e1f39b82c39ff5e95dfe4", |
| 203 |
"bugs": { |
| 204 |
"url": "https://github.com/sindresorhus/mimic-fn/issues" |
| 205 |
}, |
| 206 |
"homepage": "https://github.com/sindresorhus/mimic-fn#readme", |
| 207 |
"_id": "[email protected]", |
| 208 |
"_npmVersion": "5.6.0", |
| 209 |
"_nodeVersion": "8.9.4", |
| 210 |
"_npmUser": { |
| 211 |
"name": "sindresorhus", |
| 212 |
"email": "[email protected]" |
| 213 |
}, |
| 214 |
"dist": { |
| 215 |
"integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", |
| 216 |
"shasum": "820c86a39334640e99516928bd03fca88057d022", |
| 217 |
"tarball": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz" |
| 218 |
}, |
| 219 |
"maintainers": [ |
| 220 |
{ |
| 221 |
"name": "sindresorhus", |
| 222 |
"email": "[email protected]" |
| 223 |
} |
| 224 |
], |
| 225 |
"_npmOperationalInternal": { |
| 226 |
"host": "s3://npm-registry-packages", |
| 227 |
"tmp": "tmp/mimic-fn-1.2.0.tgz_1517542098165_0.264689544448629" |
| 228 |
}, |
| 229 |
"directories": {} |
| 230 |
}, |
| 231 |
"2.0.0": { |
| 232 |
"name": "mimic-fn", |
| 233 |
"version": "2.0.0", |
| 234 |
"description": "Make a function mimic another one", |
| 235 |
"license": "MIT", |
| 236 |
"repository": { |
| 237 |
"type": "git", |
| 238 |
"url": "git+https://github.com/sindresorhus/mimic-fn.git" |
| 239 |
}, |
| 240 |
"author": { |
| 241 |
"name": "Sindre Sorhus", |
| 242 |
"email": "[email protected]", |
| 243 |
"url": "sindresorhus.com" |
| 244 |
}, |
| 245 |
"engines": { |
| 246 |
"node": ">=6" |
| 247 |
}, |
| 248 |
"scripts": { |
| 249 |
"test": "xo && ava && tsd-check" |
| 250 |
}, |
| 251 |
"keywords": [ |
| 252 |
"function", |
| 253 |
"mimic", |
| 254 |
"imitate", |
| 255 |
"rename", |
| 256 |
"copy", |
| 257 |
"inherit", |
| 258 |
"properties", |
| 259 |
"name", |
| 260 |
"func", |
| 261 |
"fn", |
| 262 |
"set", |
| 263 |
"infer", |
| 264 |
"change" |
| 265 |
], |
| 266 |
"devDependencies": { |
| 267 |
"ava": "^1.3.1", |
| 268 |
"tsd-check": "^0.3.0", |
| 269 |
"xo": "^0.24.0" |
| 270 |
}, |
| 271 |
"gitHead": "aa885ea38acdc9bfb55c3e7fd0ff2bfa75ccda71", |
| 272 |
"bugs": { |
| 273 |
"url": "https://github.com/sindresorhus/mimic-fn/issues" |
| 274 |
}, |
| 275 |
"homepage": "https://github.com/sindresorhus/mimic-fn#readme", |
| 276 |
"_id": "[email protected]", |
| 277 |
"_nodeVersion": "8.15.0", |
| 278 |
"_npmVersion": "6.8.0", |
| 279 |
"_npmUser": { |
| 280 |
"name": "sindresorhus", |
| 281 |
"email": "[email protected]" |
| 282 |
}, |
| 283 |
"dist": { |
| 284 |
"integrity": "sha512-jbex9Yd/3lmICXwYT6gA/j2mNQGU48wCh/VzRd+/Y/PjYQtlg1gLMdZqvu9s/xH7qKvngxRObl56XZR609IMbA==", |
| 285 |
"shasum": "0913ff0b121db44ef5848242c38bbb35d44cabde", |
| 286 |
"tarball": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.0.0.tgz", |
| 287 |
"fileCount": 5, |
| 288 |
"unpackedSize": 3582, |
| 289 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgWo1CRA9TVsSAnZWagAAMroP/3gX8/w+muTYgS1KGl5D\nWXswvPjGUlwgiBqSmAs0sWif3ewB/SoKDKhnGIaOQDNV1TsMiNc8kKZOss2p\ny1IbanOW1ITLD6tfSWTtXaHCGKatDJFCxnPDxWD+w5+N4F8UMA98DMvL78p6\nLZih91DLSfe1MCn4oSRvunW++TSfZWOYDQrqyIM6639yqh5zD/Ki/Tk0bLJR\n2sFJSkxTPTBRUq7LicgH+tQaDCdbEF6eS3ioVSIar5qx3I2i4HqhZyVKTekp\na3T0E9dsyOxokJM7o3zGkXOuSf+R3CnHB/J31Y1ociwTaywdVq0N8mEn0xHo\nYKcpgLmfCB64uvVcBOxzAw8LuarzzbL/RtLygVxxRTl/+JsGrDLFt8yDKyiV\nqgyZY/qeenGskuvQNaiBK7BxdGNzPvnynSfWWP/JL01kGtERTOLTlVS/cAi3\njmQtd2kXIcEnrsBu6CtHLe4FOm6wodhRSpyrhB559IoDCGE6RpC38WFvzZp+\n6wRIAVV11ObhYaLqWKn8RadjUZWlAGRZZDOzSdFGP5fj7EnEPnpjOW4UZWKZ\nWyBGkNa5E9T7qKBSrM+xJTVBk+wBMuBjOh4Jd60fmx4yTsgZx3p/5hYOFmsf\nxvqXqyMc0zAx42sanZQGOD41uXRgdjL920k0lBI+EBDIU8shEa2FBVXa/UhA\n7hL+\r\n=BzEr\r\n-----END PGP SIGNATURE-----\r\n" |
| 290 |
}, |
| 291 |
"maintainers": [ |
| 292 |
{ |
| 293 |
"name": "sindresorhus", |
| 294 |
"email": "[email protected]" |
| 295 |
} |
| 296 |
], |
| 297 |
"directories": {}, |
| 298 |
"_npmOperationalInternal": { |
| 299 |
"host": "s3://npm-registry-packages", |
| 300 |
"tmp": "tmp/mimic-fn_2.0.0_1551985204769_0.7133439914854229" |
| 301 |
}, |
| 302 |
"_hasShrinkwrap": false |
| 303 |
}, |
| 304 |
"2.1.0": { |
| 305 |
"name": "mimic-fn", |
| 306 |
"version": "2.1.0", |
| 307 |
"description": "Make a function mimic another one", |
| 308 |
"license": "MIT", |
| 309 |
"repository": { |
| 310 |
"type": "git", |
| 311 |
"url": "git+https://github.com/sindresorhus/mimic-fn.git" |
| 312 |
}, |
| 313 |
"author": { |
| 314 |
"name": "Sindre Sorhus", |
| 315 |
"email": "[email protected]", |
| 316 |
"url": "sindresorhus.com" |
| 317 |
}, |
| 318 |
"engines": { |
| 319 |
"node": ">=6" |
| 320 |
}, |
| 321 |
"scripts": { |
| 322 |
"test": "xo && ava && tsd" |
| 323 |
}, |
| 324 |
"keywords": [ |
| 325 |
"function", |
| 326 |
"mimic", |
| 327 |
"imitate", |
| 328 |
"rename", |
| 329 |
"copy", |
| 330 |
"inherit", |
| 331 |
"properties", |
| 332 |
"name", |
| 333 |
"func", |
| 334 |
"fn", |
| 335 |
"set", |
| 336 |
"infer", |
| 337 |
"change" |
| 338 |
], |
| 339 |
"devDependencies": { |
| 340 |
"ava": "^1.4.1", |
| 341 |
"tsd": "^0.7.1", |
| 342 |
"xo": "^0.24.0" |
| 343 |
}, |
| 344 |
"gitHead": "d29f5387f4c19814a042d03a780ff4481ceac5a3", |
| 345 |
"bugs": { |
| 346 |
"url": "https://github.com/sindresorhus/mimic-fn/issues" |
| 347 |
}, |
| 348 |
"homepage": "https://github.com/sindresorhus/mimic-fn#readme", |
| 349 |
"_id": "[email protected]", |
| 350 |
"_nodeVersion": "8.15.0", |
| 351 |
"_npmVersion": "6.9.0", |
| 352 |
"_npmUser": { |
| 353 |
"name": "sindresorhus", |
| 354 |
"email": "[email protected]" |
| 355 |
}, |
| 356 |
"dist": { |
| 357 |
"integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", |
| 358 |
"shasum": "7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b", |
| 359 |
"tarball": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", |
| 360 |
"fileCount": 5, |
| 361 |
"unpackedSize": 4457, |
| 362 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcoP6eCRA9TVsSAnZWagAABhUP/0r53cJjmLHgRJsHmF5j\nVbo/ZfYjnaYVOtWnhLMqKckmQyZwFrlWnVqgvpAX+9zT4mwWQrs9b5BklbRH\nEW0EnFbfov2GtzngwpLlEFu1I8zCcwtSNgXFLjC2zRBIyoZwfMcmR8AnVXVE\nYeKl7lpF+k2UO6e6qBqaTfOyiHfaT2KqGHgrojvi2807BNL+mAiwt/HOA+A/\nj47kuPGK3gwvfoXqU0FFHtvx8/cF4KxJuL2bOqOfJRFMvDYzszIn9hMsODMN\nivLzdtqU2KN4GVALWdgIgmBOiivCvQWfeveJpN+FCGS+tqhI8pA++jai5Bc9\noplfu08LTp44MxEWNqA/4ZvYNtGqdDhfuCbkYJfWs1JVsdMiy+/+GjOg9GSr\nuMAvgO7xCjg/4bmt5xhGRf458zNHcK85M0N6E4bTZUCnUlpmwVtNYyv5IG0r\nKANhkq2vRyzb6XbNgWgaTuV75EA/qtlF2aM3MJqn0abyfOb/KbsADYNFLF13\nYnWKZLL0zyIzNTa8yMggOa4hIM+qczWoPbxXQYWNUKjheFWw4Z0HXJG9DiN5\nLe0CBrtqUB9RNuFSPpfySoGQZ26iGeLTVMCYSouoednp/5iqD5/uKcRqhmEE\nZ/LhXFoCea95amej1cFLV/4kKp8XnY2aN8cmawYtTTTL8QKpro534KGlPg0h\nYOd+\r\n=2q3H\r\n-----END PGP SIGNATURE-----\r\n" |
| 363 |
}, |
| 364 |
"maintainers": [ |
| 365 |
{ |
| 366 |
"name": "sindresorhus", |
| 367 |
"email": "[email protected]" |
| 368 |
} |
| 369 |
], |
| 370 |
"directories": {}, |
| 371 |
"_npmOperationalInternal": { |
| 372 |
"host": "s3://npm-registry-packages", |
| 373 |
"tmp": "tmp/mimic-fn_2.1.0_1554054813982_0.46010347442389166" |
| 374 |
}, |
| 375 |
"_hasShrinkwrap": false |
| 376 |
}, |
| 377 |
"3.0.0": { |
| 378 |
"name": "mimic-fn", |
| 379 |
"version": "3.0.0", |
| 380 |
"description": "Make a function mimic another one", |
| 381 |
"license": "MIT", |
| 382 |
"repository": { |
| 383 |
"type": "git", |
| 384 |
"url": "git+https://github.com/sindresorhus/mimic-fn.git" |
| 385 |
}, |
| 386 |
"author": { |
| 387 |
"name": "Sindre Sorhus", |
| 388 |
"email": "[email protected]", |
| 389 |
"url": "sindresorhus.com" |
| 390 |
}, |
| 391 |
"engines": { |
| 392 |
"node": ">=8" |
| 393 |
}, |
| 394 |
"scripts": { |
| 395 |
"test": "xo && ava && tsd" |
| 396 |
}, |
| 397 |
"keywords": [ |
| 398 |
"function", |
| 399 |
"mimic", |
| 400 |
"imitate", |
| 401 |
"rename", |
| 402 |
"copy", |
| 403 |
"inherit", |
| 404 |
"properties", |
| 405 |
"name", |
| 406 |
"func", |
| 407 |
"fn", |
| 408 |
"set", |
| 409 |
"infer", |
| 410 |
"change" |
| 411 |
], |
| 412 |
"devDependencies": { |
| 413 |
"ava": "^2.1.0", |
| 414 |
"tsd": "^0.7.1", |
| 415 |
"xo": "^0.24.0" |
| 416 |
}, |
| 417 |
"gitHead": "a08e9cdca1b94f0cae6e11d2d805f2205a153878", |
| 418 |
"bugs": { |
| 419 |
"url": "https://github.com/sindresorhus/mimic-fn/issues" |
| 420 |
}, |
| 421 |
"homepage": "https://github.com/sindresorhus/mimic-fn#readme", |
| 422 |
"_id": "[email protected]", |
| 423 |
"_nodeVersion": "12.4.0", |
| 424 |
"_npmVersion": "6.9.0", |
| 425 |
"dist": { |
| 426 |
"integrity": "sha512-PiVO95TKvhiwgSwg1IdLYlCTdul38yZxZMIcnDSFIBUm4BNZha2qpQ4GpJ++15bHoKDtrW2D69lMfFwdFYtNZQ==", |
| 427 |
"shasum": "76044cfa8818bbf6999c5c9acadf2d3649b14b4b", |
| 428 |
"tarball": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-3.0.0.tgz", |
| 429 |
"fileCount": 5, |
| 430 |
"unpackedSize": 7974, |
| 431 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAnS5CRA9TVsSAnZWagAAjLIP/RhJrjpk1/tjsB8+LVq5\nZntLv9nY2kv5incmfrpbM7SZr6UbPaC2Az6GSoYbmZj5Gvp+Byzo5wVg1OWn\nXBr1lahmNUjAyMOEoSdKNv1CBpIzE6ShjelYuPt6Lifn+2kABzG8NvrrALri\nHfKAHYDFxSFb60WdVc+R/8nDgPlac5Tcd5nyyUACXFdseskIDBBOADVi+Uis\nXJRLVanRlrwiYB4RJqJGeEk1YhhnxTqxViRG7zIFUKJS/sdrkBPQosqtqkMt\n1RkgBhefaLj39F231sRrdl0W1lRu96doig7+zoVhj9m4K/HyGseVGVSTnj9+\nOOhk0R21BJ+7N+uJqIucUdVfFXR4GMF4dcTtZJ4wupr0YENNF1kDG+FaklKN\nALI7dqfCQX8+O/wBI481xLNs40+rJb63Ume8VZmhyaAvZkq21CfWLRecyHAh\nCQ4RvGUcuwOWJPJRoj4uoAOAsk9yiNgkq1LtINPMTGkId/npy5xL7q2vxjvz\nqZ7TzCs9E2YVWOUhmskee7SNFB+hOTeKugLyjOKisGkh2CVF7q1OiB7a54d5\n/J54/JdqDDVsujtJVs3L9MPCSF+zLgcKZRdHYHH5uBnOSj/NoCvWxelpgDs3\nnzNYpORi3eFCdcDLDbKkV8RhZIVO3vy+Uk8kpvepoD8O99LpVdNaC+p37hqr\n8zR0\r\n=2irg\r\n-----END PGP SIGNATURE-----\r\n" |
| 432 |
}, |
| 433 |
"maintainers": [ |
| 434 |
{ |
| 435 |
"email": "[email protected]", |
| 436 |
"name": "ehmicky" |
| 437 |
}, |
| 438 |
{ |
| 439 |
"email": "[email protected]", |
| 440 |
"name": "sindresorhus" |
| 441 |
} |
| 442 |
], |
| 443 |
"_npmUser": { |
| 444 |
"name": "ehmicky", |
| 445 |
"email": "[email protected]" |
| 446 |
}, |
| 447 |
"directories": {}, |
| 448 |
"_npmOperationalInternal": { |
| 449 |
"host": "s3://npm-registry-packages", |
| 450 |
"tmp": "tmp/mimic-fn_3.0.0_1560442040132_0.7815444311909043" |
| 451 |
}, |
| 452 |
"_hasShrinkwrap": false |
| 453 |
}, |
| 454 |
"3.1.0": { |
| 455 |
"name": "mimic-fn", |
| 456 |
"version": "3.1.0", |
| 457 |
"description": "Make a function mimic another one", |
| 458 |
"license": "MIT", |
| 459 |
"repository": { |
| 460 |
"type": "git", |
| 461 |
"url": "git+https://github.com/sindresorhus/mimic-fn.git" |
| 462 |
}, |
| 463 |
"author": { |
| 464 |
"name": "Sindre Sorhus", |
| 465 |
"email": "[email protected]", |
| 466 |
"url": "sindresorhus.com" |
| 467 |
}, |
| 468 |
"engines": { |
| 469 |
"node": ">=8" |
| 470 |
}, |
| 471 |
"scripts": { |
| 472 |
"test": "xo && ava && tsd" |
| 473 |
}, |
| 474 |
"keywords": [ |
| 475 |
"function", |
| 476 |
"mimic", |
| 477 |
"imitate", |
| 478 |
"rename", |
| 479 |
"copy", |
| 480 |
"inherit", |
| 481 |
"properties", |
| 482 |
"name", |
| 483 |
"func", |
| 484 |
"fn", |
| 485 |
"set", |
| 486 |
"infer", |
| 487 |
"change" |
| 488 |
], |
| 489 |
"devDependencies": { |
| 490 |
"ava": "^2.1.0", |
| 491 |
"tsd": "^0.7.1", |
| 492 |
"xo": "^0.24.0" |
| 493 |
}, |
| 494 |
"gitHead": "2ada36ff62c03d97da9604c8a2f22a5153c87b06", |
| 495 |
"bugs": { |
| 496 |
"url": "https://github.com/sindresorhus/mimic-fn/issues" |
| 497 |
}, |
| 498 |
"homepage": "https://github.com/sindresorhus/mimic-fn#readme", |
| 499 |
"_id": "[email protected]", |
| 500 |
"_nodeVersion": "14.5.0", |
| 501 |
"_npmVersion": "6.14.5", |
| 502 |
"_npmUser": { |
| 503 |
"name": "sindresorhus", |
| 504 |
"email": "[email protected]" |
| 505 |
}, |
| 506 |
"dist": { |
| 507 |
"integrity": "sha512-Ysbi9uYW9hFyfrThdDEQuykN4Ey6BuwPD2kpI5ES/nFTDn/98yxYNLZJcgUAKPT/mcrLLKaGzJR9YVxJrIdASQ==", |
| 508 |
"shasum": "65755145bbf3e36954b949c16450427451d5ca74", |
| 509 |
"tarball": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-3.1.0.tgz", |
| 510 |
"fileCount": 5, |
| 511 |
"unpackedSize": 8244, |
| 512 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGqZBCRA9TVsSAnZWagAA9+EP/jPxwLw6SVZTo9Z19At9\n2Uh3/V+6tLuZHOdiaSSzOhqQWHzhuXmnmLe4jNOZ4LwTN7fGaD/HEkC6NqrR\njYGRL6KHDCaArr3RffVJ5Vqy8F2xBowYPwnOIKBbkBzVvmbFHmf708b9U8ed\nTb7ZLDRdNgyCS67GoX2Bs1SCNZJrCzFcjqcY/EP4vYeTxyEljpbamrsdLvZC\nlv4NA4/zGfABgynozKa3McBplcgOmBqM1TYjsTQ00ClluUbcb8954YNEDqal\nPqBYUocgQCbsdeYIuGlQWOLbB1IgFrb0hgRpr3m7igEHK3vURN4xf5KozpWa\nC24Mc0k8Nwq5D7FJ2Sdv1oJwqJk3kA5Br1alnBO4rgoySNc0kIagznbSBk+v\nfaEsJoVzhHzmIW+27fpFs/1nDim2CnCOijsyoGccuXxd+WWH/snFq7+wBsrs\n/MIrOIu0XiSOjZRIdKQec9/5N4XvwzBCGEtmb9Ti6K9h4cLEpZY65sKfSCP+\nW2jFzVzwbTBz2sihgvxNSKIi/bJZdzb78AxF84jcxd3p2xV6OrGjPBfES8dA\nt/SGJvsc39QQZRZxxEpTXKRphlthds18thJQiE+M0c6IdoJERnXLdVu476Az\nurwci7xIkB8lJHuyRzOpKk/iW3ulzoxL1nsarpioLOK1LBFZwurUuQgj0u1s\n9/1Y\r\n=UMkg\r\n-----END PGP SIGNATURE-----\r\n" |
| 513 |
}, |
| 514 |
"maintainers": [ |
| 515 |
{ |
| 516 |
"email": "[email protected]", |
| 517 |
"name": "ehmicky" |
| 518 |
}, |
| 519 |
{ |
| 520 |
"email": "[email protected]", |
| 521 |
"name": "sindresorhus" |
| 522 |
} |
| 523 |
], |
| 524 |
"directories": {}, |
| 525 |
"_npmOperationalInternal": { |
| 526 |
"host": "s3://npm-registry-packages", |
| 527 |
"tmp": "tmp/mimic-fn_3.1.0_1595582016684_0.8596377806235356" |
| 528 |
}, |
| 529 |
"_hasShrinkwrap": false |
| 530 |
} |
| 531 |
}, |
| 532 |
"readme": "<img src=\"media/logo.svg\" alt=\"mimic-fn\" width=\"400\">\n<br>\n\n[](https://travis-ci.org/sindresorhus/mimic-fn)\n\n> Make a function mimic another one\n\nUseful when you wrap a function in another function and like to preserve the original name and other properties.\n\n\n## Install\n\n```\n$ npm install mimic-fn\n```\n\n\n## Usage\n\n```js\nconst mimicFn = require('mimic-fn');\n\nfunction foo() {}\nfoo.unicorn = '🦄';\n\nfunction wrapper() {\n\treturn foo();\n}\n\nconsole.log(wrapper.name);\n//=> 'wrapper'\n\nmimicFn(wrapper, foo);\n\nconsole.log(wrapper.name);\n//=> 'foo'\n\nconsole.log(wrapper.unicorn);\n//=> '🦄'\n\nconsole.log(String(wrapper));\n//=> '/* Wrapped with wrapper() */\\nfunction foo() {}'\n```\n\n\n## API\n\n### mimicFn(to, from, options?)\n\nModifies the `to` function to mimic the `from` function. Returns the `to` function.\n\n`name`, `displayName`, and any other properties of `from` are copied. The `length` property is not copied. Prototype, class, and inherited properties are copied.\n\n`to.toString()` will return the same as `from.toString()` but prepended with a `Wrapped with to()` comment.\n\n#### to\n\nType: `Function`\n\nMimicking function.\n\n#### from\n\nType: `Function`\n\nFunction to mimic.\n\n#### options\n\nType: `object`\n\n##### ignoreNonConfigurable\n\nType: `boolean`<br>\nDefault: `false`\n\nSkip modifying [non-configurable properties](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertyDescriptor#Description) instead of throwing an error.\n\n## Related\n\n- [rename-fn](https://github.com/sindresorhus/rename-fn) - Rename a function\n- [keep-func-props](https://github.com/ehmicky/keep-func-props) - Wrap a function without changing its name and other properties\n\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-mimic-fn?utm_source=npm-mimic-fn&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n", |
| 533 |
"maintainers": [ |
| 534 |
{ |
| 535 |
"email": "[email protected]", |
| 536 |
"name": "ehmicky" |
| 537 |
}, |
| 538 |
{ |
| 539 |
"email": "[email protected]", |
| 540 |
"name": "sindresorhus" |
| 541 |
} |
| 542 |
], |
| 543 |
"time": { |
| 544 |
"modified": "2020-07-24T09:13:39.004Z", |
| 545 |
"created": "2016-10-19T17:27:32.921Z", |
| 546 |
"1.0.0": "2016-10-19T17:27:32.921Z", |
| 547 |
"1.1.0": "2016-11-01T09:35:10.608Z", |
| 548 |
"1.2.0": "2018-02-02T03:28:18.400Z", |
| 549 |
"2.0.0": "2019-03-07T19:00:04.908Z", |
| 550 |
"2.1.0": "2019-03-31T17:53:34.125Z", |
| 551 |
"3.0.0": "2019-06-13T16:07:20.324Z", |
| 552 |
"3.1.0": "2020-07-24T09:13:36.810Z" |
| 553 |
}, |
| 554 |
"homepage": "https://github.com/sindresorhus/mimic-fn#readme", |
| 555 |
"keywords": [ |
| 556 |
"function", |
| 557 |
"mimic", |
| 558 |
"imitate", |
| 559 |
"rename", |
| 560 |
"copy", |
| 561 |
"inherit", |
| 562 |
"properties", |
| 563 |
"name", |
| 564 |
"func", |
| 565 |
"fn", |
| 566 |
"set", |
| 567 |
"infer", |
| 568 |
"change" |
| 569 |
], |
| 570 |
"repository": { |
| 571 |
"type": "git", |
| 572 |
"url": "git+https://github.com/sindresorhus/mimic-fn.git" |
| 573 |
}, |
| 574 |
"author": { |
| 575 |
"name": "Sindre Sorhus", |
| 576 |
"email": "[email protected]", |
| 577 |
"url": "sindresorhus.com" |
| 578 |
}, |
| 579 |
"bugs": { |
| 580 |
"url": "https://github.com/sindresorhus/mimic-fn/issues" |
| 581 |
}, |
| 582 |
"license": "MIT", |
| 583 |
"readmeFilename": "readme.md" |
| 584 |
} |