-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(pnpm): add support of Lockfile v9 #6509
Comments
I created pnpm/spec#6 about specification for lockfile v9. |
One issue I've noticed is that Trivy is treating all @types/[package] entries as if they are the package. For example, with packages:
/@types/nodemailer@6.4.14:
resolution: {integrity: sha512-fUWthHO9k9DSdPCSPRqcu6TWhYyxTBg382vlNIttSe9M7XfsT06y0f24KHXtbnijPGGRIcVvdKHTNikOI6qiHA==}
dependencies:
'@types/node': 20.12.4
dev: true
/nodemailer@6.9.13:
resolution: {integrity: sha512-7o38Yogx6krdoBf3jCAqnIN4oSQFx+fMa0I7dK1D+me9kBxx12D+/33wSb+fhOCtIxvYJ+4x4IMEhmhCKfAiOA==}
engines: {node: '>=6.0.0'}
dev: false Trivy does not detect any problems with these packages. But with packages:
'@types/nodemailer@6.4.14':
resolution: {integrity: sha512-fUWthHO9k9DSdPCSPRqcu6TWhYyxTBg382vlNIttSe9M7XfsT06y0f24KHXtbnijPGGRIcVvdKHTNikOI6qiHA==}
nodemailer@6.9.13:
resolution: {integrity: sha512-7o38Yogx6krdoBf3jCAqnIN4oSQFx+fMa0I7dK1D+me9kBxx12D+/33wSb+fhOCtIxvYJ+4x4IMEhmhCKfAiOA==}
engines: {node: '>=6.0.0'}
snapshots:
'@types/nodemailer@6.4.14':
dependencies:
'@types/node': 20.12.7
nodemailer@6.9.13: {} When Trivy runs on this file, the output includes
|
Am I right that there should be a check added for the version arround:
|
Very nice to see that the next version will support the new pnpm lock format. Is there already some estimation when this might be released? |
waiting for this as well. as it is fixed it would be nice to ship this instead of waiting for other features ;) |
Description
pnpm
released lockfile v9 (see pnpm/pnpm#7666, pnpm/pnpm#7861).We need to add support for this.
Discussed in #6503
The text was updated successfully, but these errors were encountered: