{"name":"snyk-nodejs-lockfile-parser","version":"2.3.2","author":{"name":"snyk.io"},"license":"Apache-2.0","_id":"snyk-nodejs-lockfile-parser@2.3.2","maintainers":[{"name":"snyk-admin","email":"npmjs+snyk-admin@snyk.io"}],"homepage":"https://github.com/snyk/nodejs-lockfile-parser#readme","bugs":{"url":"https://github.com/snyk/nodejs-lockfile-parser/issues"},"bin":{"parse-nodejs-lockfile":"bin/index.js"},"dist":{"shasum":"5d2494f580dbae1f8fd1de0bc2c02a4747dd0452","tarball":"http://registry-npm.ywwl.com/snyk-nodejs-lockfile-parser/download/snyk-nodejs-lockfile-parser-2.3.2.tgz","fileCount":169,"integrity":"sha512-5+2r++CYtvwr2pSoG7bAlBOp61vP5BIAqE881upcw1LmwjkGTxzbcMV+vOj3nWkqPtUwHXwal04s9YRzeCM4GA==","signatures":[{"sig":"MEYCIQDHaMMrbFaPe7p7yhra1OQ+/zTP13drCy8UKmwg7XEcOQIhANWZMc+j3YJVI87ikPa5e/sKxxYoxLhGrMWvCV1e7xnH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":313708,"size":62619,"noattachment":false,"key":"/snyk-nodejs-lockfile-parser/-/snyk-nodejs-lockfile-parser-2.3.2.tgz"},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18"},"gitHead":"2efe2231572f1c928f7bd5cbb8981cab32186d6b","scripts":{"lint":"eslint --color --cache '{lib,test}/**/*.{js,ts}' && prettier --check '{lib,test}/**/*.{js,ts}'","test":"npm run unit-test && npm run test:jest","build":"tsc","format":"prettier --write '{lib,test}/**/*.{js,ts,json}'","prepare":"npm run build","test:jest":"jest --coverage --runInBand","unit-test":"tap --ts -Rspec ./test/lib/*.test.[tj]s --timeout=300 --no-check-coverage","build-watch":"tsc -w"},"_npmUser":{"name":"snyk-admin","email":"npmjs+snyk-admin@snyk.io"},"repository":{"url":"git+https://github.com/snyk/nodejs-lockfile-parser.git","type":"git"},"_npmVersion":"8.19.4","description":"Generate a dep tree given a lockfile","directories":{},"_nodeVersion":"16.20.2","dependencies":{"uuid":"^8.3.0","p-map":"^4.0.0","tslib":"^1.9.3","semver":"^7.6.0","js-yaml":"^4.1.0","micromatch":"^4.0.8","snyk-config":"^5.2.0","@yarnpkg/core":"^4.4.1","@snyk/graphlib":"2.1.9-patch.3","lodash.flatmap":"^4.5.0","lodash.isempty":"^4.4.0","lodash.topairs":"^4.3.0","@snyk/dep-graph":"^2.3.0","dependency-path":"^9.2.8","lodash.clonedeep":"^4.5.0","@yarnpkg/lockfile":"^1.1.0","event-loop-spinner":"^2.0.0","@snyk/error-catalog-nodejs-public":"^5.16.0"},"_hasShrinkwrap":false,"packageManager":"yarn@2.4.1","devDependencies":{"tap":"^15.0.4","jest":"^28.1.3","eslint":"7.32.0","ts-jest":"^28.0.8","ts-node":"^8.10.2","prettier":"^2.7.1","typescript":"^5.4.5","@types/jest":"^28.1.3","@types/node":"^18.19.127","@types/uuid":"^8.3.0","@types/lodash":"^4.17.20","@types/semver":"^7.3.6","eslint-config-prettier":"^8.3.0","@typescript-eslint/parser":"^4.33.0","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/snyk-nodejs-lockfile-parser_2.3.2_1760630571462_0.6823830708297185","host":"s3://npm-registry-packages-npm-production"},"readme":"![Snyk logo](https://snyk.io/style/asset/logo/snyk-print.svg)\n\n---\n\n[![Known Vulnerabilities](https://snyk.io/test/github/snyk/nodejs-lockfile-parser/badge.svg)](https://snyk.io/test/github/snyk/nodejs-lockfile-parser)\n\nSnyk helps you find, fix and monitor for known vulnerabilities in your dependencies, both on an ad hoc basis and as part of your CI (Build) system.\n\n## Snyk Node.js Lockfile Parser\n\nThis is a small utility package that parses lock file and returns either a [dependency tree](https://github.com/snyk/nodejs-lockfile-parser/blob/1a495302089614205478d57611bf7c39d29ce66d/lib/parsers/index.ts#L51) or a [dependency graph](https://github.com/snyk/dep-graph). Dependency graphs are the more modern data type and we plan to migrate fully over.\n\nDep graph generation supported for:\n\n- `package-lock.json` (at Versions 2 and 3)\n- `yarn.lock`\n- `pnpm-lock.yaml` (lockfileVersion 5.x, 6.x and 9.x)\n\nLegacy dep tree supported for:\n\n- `package-lock.json`\n- yarn 1 `yarn.lock`\n- yarn 2 `yarn.lock`\n","publish_time":1760630571652,"_cnpm_publish_time":1760630571652,"dist-tags":{"latest":"2.10.8"}}