{"name":"aud","version":"2.0.0","keywords":["audit","lockfile","shrinkwrap","npm","audit"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"aud@2.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":"e182d88b38887c99baf8ddffedaf700fde80eb26","tarball":"http://registry-npm.ywwl.com/aud/download/aud-2.0.0.tgz","fileCount":10,"integrity":"sha512-X3bp6mqaOx2u7Gf0uMeNgxrnbH+x5wbYn2p7bEA1UyCijOCfG6qZB0kUnNKJ7R+p713iLYwZEF+UamnziEkepQ==","signatures":[{"sig":"MEYCIQDzczWLZQyn/1+ffjEsrL202OHg7cxh5DgbmF2sk3Mr9AIhAMsak4dtKRRwstJr2mCgWui9XQn4EvcuKjGX3wtYRrHi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3bwHCRA9TVsSAnZWagAAXGoP/iJNt/ojxD/Z/lgMO15l\nF0+S11tDxeF+1xQH9M/wzV2wXEP7FZONzszSFukAttrtZKZtvABtXzUbDYej\n2sq/rXm+Ceiun1p54lX/DJB0mEVnaPM1WX7TVrERZ2kQeGPgFv69LtG+cydd\n6ElbGj2HoJD6oiZEqTRTSnQ3aNGP9lxDvXqHc8b3kPjZYIwLqE4q889qXYt2\nWNwDx5H9wKWWPLbjTsV3/UHoFHSppNiw4rzFVarzAP8bvksAIGx6klobAT8t\neaL8rLqfc1OS53F2/MTcEOsM6XvQK9tWOyTuKLCdxirdk+A+NjLzie7kIuCD\nuUFkFsWuHAI/OfRbVNnys+A+8xkhY+F51dRyDskjgEMEQtV9XcmjcvAilXE4\nftrzgwUK3dtLN+HtaPOZJIiyegb2+CO9tPV/IGZakH6q4E2vRLxPqu5pw99X\nuAhDNSZ98QFpxIBJfOPPu+tg2Sr4kR78FWLE6FPe1D91j9ng/xb3y8AEh54E\nEH0fMhPfbyby8zntFTAEMvuOTg1U+DDLVCGUPMBh+/ixqstrwxpr6YKIFIJs\nmAofVhct4IJASDFQYIpCE242A6H9BRQFDDk6P0jHCC7ZIAZKxXf9bof8ELx2\nZQos/yqgx+7NbnqTagLslTgOCJ7Yp0yMByWZ2069aQoFCyEbPUWtuzV1iAGS\nzreB\r\n=bu1x\r\n-----END PGP SIGNATURE-----\r\n","size":8367,"noattachment":false,"key":"/aud/-/aud-2.0.0.tgz"},"engines":{"npm":">= 3","node":">=16 || ^14.15 || ^12.13"},"exports":{"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/ljharb"},"gitHead":"a12bbd832efced8ec1c2890bef335cbb73dd0e17","scripts":{"lint":"eslint --ext=js,mjs .","test":"npm run tests-only","pretest":"npm run lint","version":"auto-changelog && git add CHANGELOG.md","posttest":"npx aud --production","prepublish":"not-in-publish || npm run prepublishOnly","tests-only":"nyc tape 'test/**/*.js'","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"","prepublishOnly":"safe-publish-latest"},"_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":"8.3.0","description":"Use `npx aud` instead of `npm audit`, whether you have a lockfile or not!","directories":{},"_nodeVersion":"17.3.1","dependencies":{"tmp":"^0.2.1","colors":"=1.4.0","libnpx":"^10.2.4","semver":"^7.3.5","node-cleanup":"^2.1.2","npm-lockfile":"^3.0.1","find-package-json":"^1.2.0"},"_hasShrinkwrap":false,"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","hideCredit":true,"unreleased":false,"commitLimit":false,"backfillLimit":false},"devDependencies":{"nyc":"^15.1.0","tape":"^5.4.0","eslint":"^8.6.0","auto-changelog":"^2.3.0","safe-publish-latest":"^2.0.0","@ljharb/eslint-config":"^20.1.0"},"_npmOperationalInternal":{"tmp":"tmp/aud_2.0.0_1641921543719_0.10395940730171982","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":1641921543878,"_cnpm_publish_time":1641921543878,"dist-tags":{"latest":"3.0.1"}}