{"name":"mkdirp-infer-owner","version":"2.0.0","description":"mkdirp, but chown to the owner of the containing folder if possible and necessary","author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"https://izs.me"},"license":"ISC","scripts":{"test":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","snap":"tap"},"tap":{"check-coverage":true},"devDependencies":{"require-inject":"^1.4.4","tap":"^14.10.6"},"dependencies":{"chownr":"^2.0.0","infer-owner":"^1.0.4","mkdirp":"^1.0.3"},"repository":{"type":"git","url":"git+https://github.com/isaacs/mkdirp-infer-owner.git"},"engines":{"node":">=10"},"gitHead":"9cda21b6633654f49643a3952964bc0458774fd1","bugs":{"url":"https://github.com/isaacs/mkdirp-infer-owner/issues"},"homepage":"https://github.com/isaacs/mkdirp-infer-owner#readme","_id":"mkdirp-infer-owner@2.0.0","_nodeVersion":"14.2.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw==","shasum":"55d3b368e7d89065c38f32fd38e638f0ab61d316","tarball":"http://registry-npm.ywwl.com/mkdirp-infer-owner/download/mkdirp-infer-owner-2.0.0.tgz","fileCount":4,"unpackedSize":3188,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCQSjCRA9TVsSAnZWagAA0M8P/i57r5o+1+F6JmQN5dED\nZqrhmyhYK7AHfDdr8hDvaHcdW53mxohnd+i9FTUI7aBFgzAeD9z/eIxOjGXg\n5Q6Yp9NpSYGB91msxxXEGvyWxBuMINWCgRzHMUZvMu+NyILs1GDjG8M+0hlx\n+/kvKY23K6g6XMqNgbJjV+ZoQnbMvzZzjWUNMXaIBhOFZS1vvb93Y0ClzlKf\nqnXkm4452CohhvVVD3FkJtyI5TkGlouH3t+HIp4zWMu+e5uBsy2P47couv1E\nd5newnnxXB48yIh0zOK0U0AsfH67Di4xMHcz1JwZjfBTdskM028ojgEYF1PM\nD3UvK2dTQGsqqo63xkppD7hZ/wsaFS+OEQ7vx2KAPVexsaPsuYzW20NQYqwO\nBMZz205tF8BEnWdC0iv/jnZ3pNnoHZIe+6iH0M3zBPBozd2+hYFLcgA/HJeX\nrVxDuWJ/Tm60bq+jBqtygwA/TgIUDywmtDmE76vv+RNVgXev8pYIfOFa5CPX\nUQ4F4oMqfGx3FYnc6tQFM7ZVQT/0nB8LuTvaRWMSmrUkXqslw3bRjexGWMTV\n4wmZ4IJuMtjy93TMC1Fjbr+FKxDoYjAQr8fP8/nJKmbjsg9KErXw/swaQdLu\nnG6IlsejCPrsUB4c2FRXmeu2DlJC5O1LvSKqNQuKrcckdQVLt/MMY8s2Vgdx\nKrht\r\n=mhEy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGaLUaYxhtSX2ctTe4JLRCJ5dpZoVpwtfK7gGFrLhkXlAiA3mAPS11HcVZpDleeQxd6yX7rZqgN2c9hvuyXzE3JIIQ=="}],"size":1680,"noattachment":false,"key":"/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz"},"maintainers":[{"name":"isaacs","email":"i@izs.me"}],"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mkdirp-infer-owner_2.0.0_1594426530689_0.20812250022504686"},"_hasShrinkwrap":false,"readme":"# mkdirp-infer-owner\n\n[`mkdirp`](http://npm.im/mkdirp), but chown to the owner of the containing\nfolder if possible and necessary.\n\nThat is, on Windows and when running as non-root, it's exactly the same as\n[`mkdirp`](http://npm.im/mkdirp).\n\nWhen running as root on non-Windows systems, it uses\n[`infer-owner`](http://npm.im/infer-owner) to find the owner of the\ncontaining folder, and then [`chownr`](http://npm.im/chownr) to set the\nownership of the created folder to that same uid/gid.\n\nThis is used by [npm](http://npm.im/npm) to prevent root-owned files and\nfolders from showing up in your home directory (either in `node_modules` or\nin the `~/.npm` cache) when running as root.\n","publish_time":1594426530826,"_cnpm_publish_time":1594426530826,"dist-tags":{"latest":"2.0.0"}}