{"name":"aud","version":"1.0.0","keywords":["audit","lockfile","shrinkwrap","npm","audit"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"aud@1.0.0","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"homepage":"https://github.com/ljharb/aud#readme","bugs":{"url":"https://github.com/ljharb/aud/issues"},"bin":{"aud":"./bin.js"},"dist":{"shasum":"4951f999f20da914c88b6fdf78fb616756a063e2","tarball":"http://registry-npm.ywwl.com/aud/download/aud-1.0.0.tgz","fileCount":8,"integrity":"sha512-XEjWnPPqcul3rDAktAxViJj9Gwn5pEQIJUyF5bHxo5oFpMoAgYo/JpsqCa9XOs7LGFvrDl8bhu9UWbjrJ0M6mQ==","signatures":[{"sig":"MEYCIQD3RxHxuVhHnIVanKPHM16LyRzsQjmhwO3VvI+w274vOAIhALXq4VpvmcRtcm/vnDccsrOlqkB2HoJVgkcCh0M/Iyfv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccL+gCRA9TVsSAnZWagAAYNgP/A0IcjCV1iwfhdPnGzX8\nui7LNioegmEgHGGVC2xxqnE8qKY64zr/3tW9EC1V5xLQnJbBe09Tzl/lwttn\nh4wteafB6Lenqy11dDtD5qOWli7vUKEQ9QeVjldP97bPRUflXpNKMcCRYN1Z\nJeNAKxJlRzjzSurG0FrF5dLN0QLw0FZCwwNLWb5R09A2k6aEMwrarc3m1bwt\nknx8tRSURh+QvxCEDGn9qrI3sJjjlNi/iwlcdku1XMdxfGzmG9yzUSdJWND8\nLu9cV9I0BRAP5pWwz9bjiPq+i1RAF5UVqU/Wi2YVtav9kOqRBJCd8TJZaw2T\nj3k3J4DKbPpl7Sx5XZ4dSjnxat8cfJLiv31hnPGrR1qonb54jWL2yFtGt5K9\nW16HprSGX39G7JxtyiVlQConsEp3kAVz+efqF/LJAU1oKDCp5ahP1oXggSrF\nMUJd3CN2YANySZr+7g65+sI7Azuw9Pt7gHbtylWaWkeywHCpjt3jxtfrD+OB\nXeWz2m6yt3t9lx15c8Z0hI9DfkfF9gAvwtpsj+6UvTf72hj9rf1ObKQZ7LWd\nT0VRhOSGyGGhLKLlStw10tZG2itEaEBv7gjHhDeDJVwSjZ7MUg8Zv19Wcmyz\n9TOF9qpJwgPyVpIZbRvc3cMkNp4ECaMC+W+MHco0rg98sTRfVywkYljd1IH3\n4Meq\r\n=7WX1\r\n-----END PGP SIGNATURE-----\r\n","size":4493,"noattachment":false,"key":"/aud/-/aud-1.0.0.tgz"},"engines":{"npm":">= 3","node":"^6 || ^8 || ^10 || ^11"},"gitHead":"9fd1578f6f6b6ae06acfdd15744c25126b43984b","scripts":{"lint":"eslint .","test":"npm run tests-only","pretest":"npm run lint","tests-only":"tape test"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"deprecated":"As of npm v10.2, `npm audit` works without a lockfile! As such, this project is EOL.\n\nPlease replace it with `npx npm@\">=10.2\" audit --production` or the equivalent.","repository":{"url":"git+https://github.com/ljharb/aud.git","type":"git"},"_npmVersion":"6.7.0","description":"Use `npx aud` instead of `npm audit`, whether you have a lockfile or not!","directories":{},"_nodeVersion":"11.10.0","dependencies":{"chalk":"^2.4.2","libnpx":"^10.2.0","semver":"^5.6.0","fs-copy-file":"^2.1.2","npm-lockfile":"^2.0.1","find-package-json":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^4.10.1","eslint":"^5.14.1","@ljharb/eslint-config":"^13.1.1"},"_npmOperationalInternal":{"tmp":"tmp/aud_1.0.0_1550892959453_0.3084885571996556","host":"s3://npm-registry-packages"},"readme":"# ***END OF LIFE***\n\nThanks to the wonderful folks at npm, in npm v10.2+, after [6 years](https://twitter.com/adam_baldwin/status/994314354530045952), `npm audit` [no longer requires a lockfile](https://github.com/npm/cli/pull/6732)!\n\nTherefore, you should no longer use `aud`. Instead, use `npx npm@'>=10.2' audit --production`.\n\n--------\n\n# aud <sup>[![Version Badge][npm-version-svg]][npm-url]</sup>\n\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][npm-url]\n\nUse `npx aud` instead of `npm audit`, whether you have a lockfile or not!\n\nIt's a great idea to run `npm audit` in CI; it ensures that you don't unknowingly have vulnerabilities in your dep graph.\n\nUnfortunately, it doesn't work without a lockfile :crying_cat_face: and [only apps should have lockfiles](https://github.com/sindresorhus/ama/issues/479#issuecomment-310661514). It also requires `npm` `v6` or above.\n\nNow, instead of `npm audit`, you can run `npx aud`! If your repo has a lockfile, it will just run `npm audit`; if it does not, it will use [`npm-lockfile`](https://www.npmjs.com/package/npm-lockfile) to copy your `package.json` and your currently configured audit level (`npm config get audit-level`) to a temp dir that has the proper version of npm installed, it will use `npm install --package-lock-only` to create a temporary lockfile, and it will run `npm audit` there. On exit, all the temp dirs will get cleaned up.\n\n`aud fix` without a lockfile present will throw `npm audit`'s normal \"no lockfile\" error, since there's no way to preserve fixes to transitive dependencies.\n\n[npm-url]: https://npmjs.org/package/aud\n[npm-version-svg]: https://versionbadg.es/ljharb/aud.svg\n[deps-svg]: https://david-dm.org/ljharb/aud.svg?theme=shields.io\n[deps-url]: https://david-dm.org/ljharb/aud\n[dev-deps-svg]: https://david-dm.org/ljharb/aud/dev-status.svg?theme=shields.io\n[dev-deps-url]: https://david-dm.org/ljharb/aud#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/aud.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/aud.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/aud.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=aud\n","publish_time":1550892959566,"_cnpm_publish_time":1550892959566,"dist-tags":{"latest":"3.0.1"}}