Skip to content
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(core): updated all npm packages to latest versions #75

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sahilkansal547
Copy link
Collaborator

@sahilkansal547 sahilkansal547 commented Jan 29, 2025

  1. Updated All NPM Packages to the Latest Versions:

In addition to removing outdated packages, we updated the entire project’s npm dependencies to the latest versions. This update includes core dependencies, libraries, and tools used in the project. The primary goals of this update were:

Compatibility with the latest React version: Ensuring that the project works smoothly with the most recent version of React (e.g., React 18 or beyond), benefiting from new features, optimizations, and bug fixes.

Improved performance and security: New versions often come with performance improvements, better handling of edge cases, and patches for security vulnerabilities.

Access to new features: Updated packages may offer new features or better support for modern web development practices.

  1. Removal of react-dnd and copy-to-clipboard Packages:
    As part of the update, we removed the following two dependencies from the project:

react-dnd (React Drag and Drop library)
copy-to-clipboard (Clipboard copying utility)
These packages were removed for the following reasons:

react-dnd Deprecation: The react-dnd library has been deprecated and is no longer actively maintained. As a result, it no longer receives updates or improvements and may have compatibility issues with the latest versions of React. For a better, more sustainable approach to handling drag-and-drop functionality in the project, we opted to remove react-dnd and explore alternative libraries or solutions.

copy-to-clipboard Outdated: The copy-to-clipboard package has not been updated for over 3 years, so it may not be compatible with the latest React versions. This lack of maintenance and updates posed potential risks of instability and missed improvements in performance and security.

By removing these packages, we ensured the project stayed up-to-date and secure, leveraging well-maintained and actively supported libraries.

@sahilkansal547 sahilkansal547 self-assigned this Jan 29, 2025
@sahilkansal547 sahilkansal547 marked this pull request as draft January 29, 2025 07:04
removed 2 packages react-dnd and copy-to-clipboard as these were not updated with latest react
version

BREAKING CHANGE:
updated all npm packages to latest versions
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
30 New issues
1 New Critical Issues (required ≤ 0)
26 New Major Issues (required ≤ 5)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant