chore(core): updated all npm packages to latest versions #75
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
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.