{"name":"snyk-nodejs-lockfile-parser","version":"2.8.0","author":{"name":"snyk.io"},"license":"Apache-2.0","_id":"snyk-nodejs-lockfile-parser@2.8.0","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":"bab69c18931514153570f9a0ee0870a9629bc5be","tarball":"http://registry-npm.ywwl.com/snyk-nodejs-lockfile-parser/download/snyk-nodejs-lockfile-parser-2.8.0.tgz","fileCount":169,"integrity":"sha512-dCHMl4ogQAxAyEHsH2Y9VIVfc30iTSiDIBNK1gNXvwIoXJPYFzB+mC7DLuPx/fx1LSGmKO05tj3pWrakfdh9Nw==","signatures":[{"sig":"MEQCIAxM4MuRCbfUrcIsj4at3GauGANZR9/h2EXcsueo0ePOAiBwMRNsU08JVMxgrva08vn8uYB3t8WdZVDMudmEKfl4FQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":346219,"size":69304,"noattachment":false,"key":"/snyk-nodejs-lockfile-parser/-/snyk-nodejs-lockfile-parser-2.8.0.tgz"},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"npm":">=10","node":"^20.19.0 || ^22.13.0 || >=24.0.0"},"gitHead":"675f2cc46141826c32e7673cf8fa0ab0cc5b51ae","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":"CircleCI","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"circleci","oidcConfigId":"oidc:91fcc6bc-262a-414b-a972-39f44fd1b626"}},"overrides":{"tar":"7.5.11"},"repository":{"url":"git+https://github.com/snyk/nodejs-lockfile-parser.git","type":"git"},"_npmVersion":"11.13.0","description":"Generate a dep tree given a lockfile","directories":{},"_nodeVersion":"24.16.0","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.12.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"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@2.4.1","devDependencies":{"tap":"^15.0.4","jest":"^28.1.3","eslint":"^8.57.1","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":"^24","@types/uuid":"^8.3.0","@types/lodash":"^4.17.20","@types/semver":"^7.3.6","eslint-config-prettier":"^9.1.0","@typescript-eslint/parser":"^8.60.0","@typescript-eslint/eslint-plugin":"^8.60.0"},"_npmOperationalInternal":{"tmp":"tmp/snyk-nodejs-lockfile-parser_2.8.0_1780577104357_0.4645403780360984","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":1780577104486,"_cnpm_publish_time":1780577104486,"dist-tags":{"latest":"2.10.8"}}