{"name":"aud","version":"2.0.3","keywords":["audit","lockfile","shrinkwrap","npm","audit"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"aud@2.0.3","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":"1a76185a82cb0e53e3f267fe3b25c21cd950ee83","tarball":"http://registry-npm.ywwl.com/aud/download/aud-2.0.3.tgz","fileCount":10,"integrity":"sha512-izXz2KauKzTwWJRB8g1nqZLNc5cyHi43ZRNgEuGusoroXyTGzgxGlBhqSU6KMX9FbSJHZeULat03UHVfvTcMWg==","signatures":[{"sig":"MEQCIEPlETkTzxii4xYbkz85wB9MCO3WgRbC7/mhx32frrWKAiAhE+bmuPr5TomUtg7t47SbjQ994ZKdxYxHPcz/7MQ2Kg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23534,"size":9027,"noattachment":false,"key":"/aud/-/aud-2.0.3.tgz"},"engines":{"npm":">= 3","node":">=16 || ^14.15 || ^12.13"},"exports":{"./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/ljharb"},"gitHead":"f5a7fedc5a174586a627c1f36e9c657a921d67c5","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.js --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":"9.6.7","description":"Use `npx aud` instead of `npm audit`, whether you have a lockfile or not!","directories":{},"_nodeVersion":"20.3.1","dependencies":{"tmp":"^0.2.1","colors":"=1.4.0","libnpx":"^10.2.4","rimraf":"^3.0.2","semver":"^7.5.2","node-cleanup":"^2.1.2","npm-lockfile":"^3.0.7","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.6.3","eslint":"=8.8.0","npmignore":"^0.3.0","auto-changelog":"^2.4.0","safe-publish-latest":"^2.0.0","@ljharb/eslint-config":"^21.1.0"},"_npmOperationalInternal":{"tmp":"tmp/aud_2.0.3_1687318674180_0.33803604722977654","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":1687318674474,"_cnpm_publish_time":1687318674474,"dist-tags":{"latest":"3.0.1"}}