-
Notifications
You must be signed in to change notification settings - Fork 135
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
Remove package-lock.json #366
Conversation
/assign @RainbowMango |
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.
@RainbowMango
I just checked, no updates needed
There is only
react ^17.0.2 → ^18.2.0
react-dom ^17.0.2 → ^18.2.0
but you do not need to update them because docusaurus does not support this version yet
I'm assuming the dependencies are due to a different OS version.
How do you know? I'm curious how the deploy-preview works. Does that mean docusaurus support this version? |
I tried updating, but it didn't work for me personally (local). I haven't tested it with netlify. Well, in general, I would remove the .lock file if possible. |
Do you mean you need to remove the .lock file on your local machine? Otherwise, you can't launch the website? |
No, remove it from the repository and put it in gitignore. If possible, of course. |
@Arhell This is a better way, let me update the content here. |
@samzong thanks |
I still don't get why we are going to remove the I think the |
New changes are detected. LGTM label has been removed. |
yes, your are right, https://medium.com/helpshift-engineering/package-lock-json-the-complete-guide-2ae40175ebdd
I believe it's imperative that we specify the range of node versions or identify an alternative approach to alleviate document writers' concerns surrounding node and its dependencies.
@Arhell @RainbowMango pls check again. it's will be more friendly |
Can you guys remind me what's the benefit of this patch?
From the PR description, I can see this aims to enhance security, functionality, stability, and maintainability. I wonder how it works. We do have some dependencies that need to be updated for security warnings, can this patch fix these issues? |
First, This PR, only include restricted the version of Node to ensure a safe range for users. Then, we upgraded dependencies to resolve the dependencies issue. It's worth noting that not all dependencies provided by GitHub can be updated, as we need to consider compatibility within the application. Since we are using Docusaurus, we need to check if Docusaurus has already addressed this issue before updating its version. I will try to contribute the fix version to the Docusaurus repository, which will help ensure that the issue is resolved not only for our project but also for the broader community. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Upgrade the dependencies in node_modules to enhance the security, functionality, stability, and maintainability of the application. Rectify any known security issues or vulnerabilities.
Signed-off-by: samzong.lu [email protected]
What type of PR is this?
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer: