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

UI: Fixes security vulnerability in npm dependencies #308

Merged
merged 1 commit into from
Sep 6, 2021

Conversation

pratap0007
Copy link
Contributor

@pratap0007 pratap0007 commented Aug 12, 2021

Changes

  • Bumps react scripts to latest version and updates
    snapshot of Readme component
  • Bumps node and npm to latest version

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes tests (if functionality changed/added)
  • Run API Unit Tests, Lint Checks, API Design, Golden Files with make api-check
  • Run UI Unit Tests, Lint Checks with make ui-check
  • Commit messages follow commit message best practices

See the contribution guide for more details.

@tekton-robot tekton-robot requested review from sm43 and sthaha August 12, 2021 06:45
@tekton-robot tekton-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Aug 12, 2021
@@ -29,7 +29,7 @@
"react-hotkeys-hook": "^3.3.1",
"react-markdown": "^5.0.3",
"react-router-dom": "^5.2.0",
"react-scripts": "^4.0.1",
"react-scripts": "4.0.3",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the only dependency we need to update ??

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also check if there are updates for the other packages as well

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have updated only packages that has npm audit issue, if we look for other packages then there might be some breaking change in ui

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah but I think with this patch we should also update the other packages if there is an updated version for it

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also we can plan to bump the node and the npm version

</span>
<span className=\\"token code\\" style={{...}}>
&#96;az&#96;
&#96;az&#96;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the above dependency change the snapshot ??

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

@pratap0007 pratap0007 force-pushed the update-ui-packages branch 2 times, most recently from 1a666dc to 6f4511d Compare August 19, 2021 03:40
@pratap0007 pratap0007 force-pushed the update-ui-packages branch 2 times, most recently from 1e8c20a to a35f94b Compare September 1, 2021 09:49
@piyush-garg
Copy link
Contributor

@pratap0007 Is this PR good for review or are you still working on it?

@pratap0007
Copy link
Contributor Author

@pratap0007 Is this PR good for review or are you still working on it?

Still working on it , issue is snapshot of Readme components changes some time and trying to fix it

@pratap0007 pratap0007 force-pushed the update-ui-packages branch 3 times, most recently from 5213d47 to 7e563fd Compare September 2, 2021 09:24
- Bumps react scripts to latest version and updates
  snapshot of Readme component
- Bumps node and npm to latest version

Singed-off-by: Shiv Verma <shverma@redhat.com>
@PuneetPunamiya
Copy link
Member

Thanks 🤙🏻
/approve
/meow

@tekton-robot
Copy link

@PuneetPunamiya: cat image

In response to this:

Thanks 🤙🏻
/approve
/meow

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@tekton-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: PuneetPunamiya

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 3, 2021
@vinamra28
Copy link
Member

/hold
package-lock.json is changing for me when I am doing npm install. What's the npm and node version being used?

@tekton-robot tekton-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 3, 2021
@pratap0007
Copy link
Contributor Author

/hold
package-lock.json is changing for me when I am doing npm install. What's the npm and node version being used?

latest version for both (node v16.8.0, npm 7.21.1)

@vinamra28
Copy link
Member

/hold cancel
/lgtm
Thanks

@tekton-robot tekton-robot added lgtm Indicates that a PR is ready to be merged. and removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Sep 6, 2021
@tekton-robot tekton-robot merged commit 89bee5d into tektoncd:main Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants