snyk / nodejs-lockfile-parser

Generate a Snyk dependency tree from package-lock.json or yarn.lock file
Other
57 stars 28 forks source link

Update dependencies #133

Closed milahu closed 2 years ago

milahu commented 2 years ago

fix #132

install this patch

npm i https://github.com/snyk/nodejs-lockfile-parser.git#a1499406d72bfbaf8810e06db7e219c6a0385902

update dependencies

[/tmp/nodejs-lockfile-parser]$ pnpx npm-check-updates -u 
Upgrading /tmp/nodejs-lockfile-parser/package.json
[====================] 30/30 100%

 @snyk/dep-graph                         ^1.28.0  →    ^1.29.0     
 @snyk/graphlib                    2.1.9-patch.3  →      3.3.0     
 @yarnpkg/core                            ^2.4.0  →     ^3.1.0     
 event-loop-spinner                       ^2.0.0  →     ^2.1.0     
 snyk-config                         ^4.0.0-rc.2  →     ^5.0.0     
 tslib                                    ^1.9.3  →     ^2.3.1     
 uuid                                     ^8.3.0  →     ^8.3.2     
 @types/jest                            ^26.0.23  →    ^27.0.3     
 @types/node                             ^12.0.0  →  ^16.11.10     
 @types/semver                            ^7.3.6  →     ^7.3.9     
 @types/uuid                              ^8.3.0  →     ^8.3.3     
 @typescript-eslint/eslint-plugin        ^4.20.0  →     ^5.4.0     
 @typescript-eslint/parser                ^4.0.0  →     ^5.4.0     
 eslint                                    6.8.0  →      8.3.0     
 eslint-config-prettier                  ^6.11.0  →     ^8.3.0     
 eslint-plugin-prettier                   ^3.1.3  →     ^4.0.0     
 jest                                    ^26.6.3  →    ^27.3.1     
 prettier                                ^1.19.1  →     ^2.5.0     
 tap                                     ^15.0.4  →    ^15.1.2     
 ts-jest                                 ^26.5.6  →    ^27.0.7     
 ts-node                                  ^9.1.1  →    ^10.4.0     
 typescript                                4.1.*  →      4.5.*     

ignore typescript errors

e(e as any)

workaround for @snyk/graphlib bug in prepare script

https://github.com/snyk/graphlib/pull/10