-
-
Notifications
You must be signed in to change notification settings - Fork 53
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: dependabot security fixes #356
base: main
Are you sure you want to change the base?
Conversation
.eslintrc.js
Outdated
@@ -7,7 +7,8 @@ module.exports = { | |||
ecmaVersion: 2018, | |||
}, | |||
extends: ['@sentry-internal/sdk'], | |||
ignorePatterns: ['build/**', 'dist/**', 'esm/**', 'examples/**', 'scripts/**', 'src/js/Ionic/**', '__tests__/**'], | |||
plugins: ['@sentry-internal/sdk'], | |||
ignorePatterns: ['build/**', 'dist/**', 'esm/**', 'sample/**', 'scripts/**', 'dangerfile.js', 'src/js/Ionic/**', '__tests__/**'], |
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.
Why is the dangerfile.js excluded?
"@rollup/plugin-commonjs": "^28.0.1", | ||
"@rollup/plugin-node-resolve": "^15.3.0", | ||
"@rollup/plugin-terser": "^0.4.4", | ||
"@rollup/plugin-typescript": "^12.1.1", |
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.
Since we upgraded the build tooling, is the built shipped JS still the same or where there any changes introduced?
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.
I did a diff check and no break changes were introduced, the only changes were just the ones made on the PR in regard to code formatting.
This PR aims to decrease the number of Security issues spotted by Dependabot, most of them do not affect users, only local builds of the SDK.
Fixes:
Removed:
Removed only packages that weren't in use or that were too old and could be easily replaced by an alternative.
codecov package: deprecated in favor of Github action: https://about.codecov.io/blog/codecov-uploader-deprecation-plan/
npm-run-all: latest update from the package was 3 years ago, replaced it by simple scripts.
rollup packages: replaced by new packages by rollup.
Code change:
yarn fix
script and also additional deprecated warnings to allow the build to pass.