{"name":"snyk-nodejs-lockfile-parser","version":"2.10.2","author":{"name":"snyk.io"},"license":"Apache-2.0","_id":"snyk-nodejs-lockfile-parser@2.10.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":"b844aa46aaa11a9f98876298e9f5382dfa11e74f","tarball":"http://registry-npm.ywwl.com/snyk-nodejs-lockfile-parser/download/snyk-nodejs-lockfile-parser-2.10.2.tgz","fileCount":175,"integrity":"sha512-TC4kpiBpmRWg9/JrVo361jqUhpNYZ2K8uLd8ZLk2hwqILjjtpOF/nfweXi/iQpVW9qQIIJp67/fRhVkYZ4qIIQ==","signatures":[{"sig":"MEQCIBDCwC0VrlL8jUoI5pszfbaGBfU+IWYWT28sI1ExJ1PDAiAW+n0GbQ0739WdHnip+YaD2CbLAKkni4ZDTxXO2KSeeg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":379831,"size":79765,"noattachment":false,"key":"/snyk-nodejs-lockfile-parser/-/snyk-nodejs-lockfile-parser-2.10.2.tgz"},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"npm":">=10","node":"^20.19.0 || ^22.13.0 || >=24.0.0"},"gitHead":"49224d37322ed6923f466e1dffff4c4e2f944450","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"}},"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","debug":"^4.4.3","p-map":"^4.0.0","tslib":"^1.9.3","semver":"^7.6.0","js-yaml":"^5.2.2","micromatch":"^4.0.8","snyk-config":"^5.2.0","@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.10.2_1785332875210_0.8184647942140941","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":1785332875360,"_cnpm_publish_time":1785332875360,"dist-tags":{"latest":"2.10.8"}}