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

Upgrade dependencies #4121

Merged
merged 34 commits into from
Jan 25, 2022
Merged

Upgrade dependencies #4121

merged 34 commits into from
Jan 25, 2022

Conversation

antgamdia
Copy link
Contributor

@antgamdia antgamdia commented Jan 19, 2022

Description of the change

As part of the upcoming release, this PR is aimed at performing a general update on the dependencies we use.

Benefits

Up to date deps.

Possible drawbacks

Some unnoticed breaking changes? Let our beloved CI speak up.

Applicable issues

N/A

Additional information

If you, locally, face some weird issues when running the yarn test command, just run yarn test --clearCache and then yarn test

This PR depends on #4137

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>

Conflicts:
	go.sum
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>

Conflicts:
	dashboard/yarn.lock
	go.mod
	go.sum
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
@@ -2,37 +2,37 @@ version: 2.1
parameters:
GOLANG_VERSION:
type: string
default: "1.17.3"
default: "1.17.5"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

CircleCI hasn't pushed the 1.17.6 yet

@@ -25,7 +25,7 @@ import (
"github.com/heptiolabs/healthcheck"
"github.com/kubeapps/kubeapps/cmd/assetsvc/pkg/utils"
"github.com/kubeapps/kubeapps/pkg/dbutils"
"github.com/urfave/negroni"
negroni "github.com/urfave/negroni/v2"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

They created a tag and started using the v2 version, but there aren't any breaking changes.
However, since snyk detects a vulnerability here, I've performed this change now so that, in the future, when dependabot creates a PR, it'll be just a matter of accepting the PR)

@@ -48,6 +48,6 @@ plugins:
opt:
- outputClientImpl=grpc-web # client implementation it generates
- esModuleInterop=true # use imports as required in modern ts setups
- useOptionals=true # use optional TypeScript properties instead of undefined
- useOptionals=messages # use optional TypeScript properties instead of undefined
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 got a deprecation message here saying true will be no longer accepted in upcoming versions. The drop-in replacement is messages as they mentioned in their docs.

Comment on lines -80 to -82
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/google-protobuf": "^3.15.5",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removing unused dev dependencies

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>

Conflicts:
	dashboard/Dockerfile
Copy link
Contributor

@absoludity absoludity left a comment

Choose a reason for hiding this comment

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

Thanks Antonio!

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>

Conflicts:
	cmd/pinniped-proxy/Cargo.lock
	dashboard/package.json
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
@antgamdia antgamdia merged commit 62705b4 into vmware-tanzu:main Jan 25, 2022
@antgamdia antgamdia deleted the depUpgrades branch January 25, 2022 15:10
@antgamdia antgamdia mentioned this pull request Jun 13, 2022
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.

None yet

2 participants