-
Notifications
You must be signed in to change notification settings - Fork 583
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
Chore/upgrade pkg #3632
Chore/upgrade pkg #3632
Conversation
190030b
to
3c2e062
Compare
Signed-off-by: Peter Schäfer <[email protected]> chore: upgrade depcheck from 1.4.1 to 1.4.3 … resolves issue of false positive unused dependencies when running `npx ts-node ./scripts/check-dependencies.ts` Signed-off-by: Peter Schäfer <[email protected]> chore: pin pkg to the exact version Signed-off-by: Peter Schäfer <[email protected]> chore: update nodejs 16.14.2 to 16.16.0 Signed-off-by: Peter Schäfer <[email protected]> chore: disable sudo since the new docker node image … … doesn’t support it Signed-off-by: Peter Schäfer <[email protected]> chore: inverse default value of ‘npm_global_sudo’ and adapt usage Signed-off-by: Peter Schäfer <[email protected]> chore: update nodejs versions 14.19.1 to 14.20.0 Signed-off-by: Peter Schäfer <[email protected]> chore: extend jest matrix test Signed-off-by: Peter Schäfer <[email protected]> Signed-off-by: Peter Schäfer <[email protected]> Signed-off-by: Peter Schäfer <[email protected]> Signed-off-by: Peter Schäfer <[email protected]> Signed-off-by: Peter Schäfer <[email protected]>
3c2e062
to
3f93319
Compare
@@ -74,7 +74,7 @@ commands: | |||
default: /mnt/ramdisk/.npm | |||
npm_global_sudo: | |||
type: boolean | |||
default: true | |||
default: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these npm changes done due to the failing tests that had no npm installed? did you find out what was the problem?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. In the image cimg/node:16.16.0
npm is not available with sudo but for the current user. With this I felt it would make sense to change the default behavior here and invert it basically everywhere where it was set to false before.
What does this PR do?
Upgrading
pkg
from 5.6.0 to 5.8.0 to also upgradepkg-fetch
from 3.3.0 to 3.4.2, this updates the bundled Node runtime from 16.14.2 to 16.16.0, makes these fixes available and addresses CVE-2022-32223, CVE-2022-32212 ...Upgrading
depcheck
from 1.4.1 to 1.4.3 due to incorrectly detected unused dependencies when runningnpx ts-node ./scripts/check-dependencies.ts