{"name":"aud","version":"3.0.0","keywords":["audit","lockfile","shrinkwrap","npm","audit"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"aud@3.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.mjs"},"dist":{"shasum":"947b8bd103b309c28a7c261a76b0f60d530bcbd2","tarball":"http://registry-npm.ywwl.com/aud/download/aud-3.0.0.tgz","fileCount":10,"integrity":"sha512-Lqbyyhca2oY7W0oyRCBDpkT2jg2/mBw04mXYFzqpUlT/FKKCSpuv9AZLZt915mgXMXCZQ+vOrgPxEw4TXWaLcQ==","signatures":[{"sig":"MEUCIQDKMLnxTBiODjGKdKFzWL9UD99duuKGA0ul+Krigrr7eQIgT6o88FLaQt9tjejJJoEXrqQjBGCEvLYHutgPGlKyeus=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26170,"size":10007,"noattachment":false,"key":"/aud/-/aud-3.0.0.tgz"},"engines":{"npm":">= 8.5.0","node":">= 22 || ^20.9 || ^18.12 || ^16.14"},"exports":{"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/ljharb"},"gitHead":"884ca7e577f4d9f07eced7d1059e95c10eb2bddf","scripts":{"lint":"eslint --ext=js,mjs .","test":"npm run tests-only","prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run lint","version":"auto-changelog && git add CHANGELOG.md","posttest":"./bin.mjs --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":"10.8.2","description":"Use `npx aud` instead of `npm audit`, whether you have a lockfile or not!","directories":{},"_nodeVersion":"22.5.1","dependencies":{"tmp":"^0.2.3","colors":"=1.4.0","libnpx":"^10.2.4","semver":"^7.6.3","node-cleanup":"^2.1.2","npm-lockfile":"^4.0.0","find-package-json":"^1.2.0"},"publishConfig":{"ignore":[".github/workflows"]},"_hasShrinkwrap":false,"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","hideCredit":true,"unreleased":false,"commitLimit":false,"backfillLimit":false},"devDependencies":{"nyc":"^15.1.0","tape":"^5.8.1","eslint":"=8.8.0","npmignore":"^0.3.1","auto-changelog":"^2.4.0","safe-publish-latest":"^2.0.0","@ljharb/eslint-config":"^21.1.1"},"_npmOperationalInternal":{"tmp":"tmp/aud_3.0.0_1722408544464_0.3039971529508374","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":1722408544607,"_cnpm_publish_time":1722408544607,"dist-tags":{"latest":"3.0.1"}}