{"name":"snyk-nodejs-lockfile-parser","version":"2.2.2","author":{"name":"snyk.io"},"license":"Apache-2.0","_id":"snyk-nodejs-lockfile-parser@2.2.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":"aa541733d156a29a400d031132d39e8212ce24e8","tarball":"http://registry-npm.ywwl.com/snyk-nodejs-lockfile-parser/download/snyk-nodejs-lockfile-parser-2.2.2.tgz","fileCount":181,"integrity":"sha512-+pJnbEK/yvBimpTEv0xrvhaEpRgz/KwZZGJEV+NfPJ4ytoL0TdIpKYSIpw28VMaaWSLna75SoWEKWujw0vYDLQ==","signatures":[{"sig":"MEUCIF7KaxZSaCG+eBKGrQRA6wO/+LiqISwl8Fsjq4vmCH6dAiEA8mthgiC01LrCHoaMcQJagyNLVcsxuu1QElggmr1RAcU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":314572,"size":62461,"noattachment":false,"key":"/snyk-nodejs-lockfile-parser/-/snyk-nodejs-lockfile-parser-2.2.2.tgz"},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18"},"gitHead":"828daad3561d31a1240c6bb63780afd52340742f","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","actor":{"name":"snyk-admin","type":"user","email":"npmjs+snyk-admin@snyk.io"},"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":"^16.11.66","@types/uuid":"^8.3.0","@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.2.2_1751897402160_0.7772870808914871","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":1751897402420,"_cnpm_publish_time":1751897402420,"dist-tags":{"latest":"2.10.8"}}