-
-
Notifications
You must be signed in to change notification settings - Fork 237
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
Fix npm permissions in v6.20.0 #2434 #2435
Conversation
Fix npm permissions in v6.20.0
🦙 MegaLinter status:
|
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
✅ BASH | bash-exec | 6 | 0 | 0.02s | |
✅ BASH | shellcheck | 6 | 0 | 0.15s | |
✅ BASH | shfmt | 6 | 0 | 0 | 0.43s |
✅ COPYPASTE | jscpd | yes | no | 3.53s | |
✅ DOCKERFILE | hadolint | 114 | 0 | 20.45s | |
✅ JSON | eslint-plugin-jsonc | 21 | 0 | 0 | 2.77s |
✅ JSON | jsonlint | 19 | 0 | 0.27s | |
✅ JSON | v8r | 21 | 0 | 15.09s | |
markdownlint | 309 | 3 | 230 | 8.27s | |
✅ MARKDOWN | markdown-link-check | 309 | 0 | 6.18s | |
✅ MARKDOWN | markdown-table-formatter | 309 | 3 | 0 | 20.94s |
✅ OPENAPI | spectral | 1 | 0 | 1.93s | |
bandit | 183 | 47 | 2.84s | ||
✅ PYTHON | black | 183 | 1 | 0 | 7.26s |
✅ PYTHON | flake8 | 183 | 0 | 2.53s | |
✅ PYTHON | isort | 183 | 1 | 0 | 0.96s |
✅ PYTHON | mypy | 183 | 0 | 9.07s | |
✅ PYTHON | pylint | 183 | 0 | 14.53s | |
pyright | 183 | 250 | 20.58s | ||
✅ REPOSITORY | checkov | yes | no | 36.36s | |
✅ REPOSITORY | git_diff | yes | no | 0.42s | |
✅ REPOSITORY | secretlint | yes | no | 15.9s | |
✅ REPOSITORY | trivy | yes | no | 36.64s | |
✅ SPELL | cspell | 745 | 0 | 29.96s | |
✅ SPELL | misspell | 566 | 0 | 0 | 1.0s |
✅ XML | xmllint | 3 | 0 | 0 | 0.43s |
✅ YAML | prettier | 81 | 0 | 0 | 3.56s |
✅ YAML | v8r | 23 | 0 | 73.0s | |
✅ YAML | yamllint | 82 | 0 | 1.26s |
See detailed report in MegaLinter reports
@Kurt-von-Laven If you'd like to test out the image when it'll be on the registry, it could be helpful. It's really late and it'll have to go to tomorrow for me. |
Ok, so this iteration doesn't seem to fix as Slim.ai can't pull the image. I'd like to see at what layer it crashes though (I'm on my cellphone) |
/build ref=fix-npm-dependencies
|
/build ref=fix-npm-permissions
|
/build ref=fix-npm-permissions
|
🦙 MegaLinter status: ❌ ERROR
See detailed report in MegaLinter reports You could have same capabilities but better runtime performances if you request a new MegaLinter flavor. |
Since I had to finally add the chown, as only removing one package was enough, would you like to keep it like this or re-add the broken dependency in the css descriptor? You can remove the second |
@echoix I'm ok with removing this obscure stylelint dependency, I'll generate a beta, quickly test and release tonight |
Well, unless they really add some big files, it doesn't take that long to run, and even if it's the one or two calls that took 20 seconds to run, it prints out problematic paths and a lot of traces useful |
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.
That's what I call a rescue, thanks again for all stuck users @echoix :)
I release 6.20.1 tonight :)
I just pulled and ran oxsecurity/megalinter-javascript:beta without issues. Big thank you to both of you! |
Release of 6.20.1 in progress, available in minutes :) |
Proposed Changes
--force
flag ofnpm install
Readiness Checklist
Author/Contributor
Reviewing Maintainer
breaking
if this is a large fundamental changeautomation
,bug
,documentation
,enhancement
,infrastructure
, orperformance