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

Yarn Upgrade #33

Merged
merged 1 commit into from
Jan 6, 2025
Merged

Yarn Upgrade #33

merged 1 commit into from
Jan 6, 2025

Conversation

fleupold
Copy link
Contributor

@fleupold fleupold commented Jan 2, 2025

We are getting deprecation warnings with the latest version of node:

(node:28) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.

yarn upgrade updates all dependencies and gets rid of the punycode dependency.

@@ -1351,11 +1307,6 @@ proxy-from-env@^1.1.0:
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==

punycode@^2.1.0:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

👋

@fleupold fleupold requested a review from fedgiac January 3, 2025 13:52
@fleupold fleupold merged commit b0be388 into main Jan 6, 2025
1 check passed
@fleupold fleupold deleted the yarn_upgrade branch January 6, 2025 08:10
@fleupold fleupold mentioned this pull request Jan 8, 2025
fleupold added a commit that referenced this pull request Jan 8, 2025
After #33, the existing code would generate a newer version of the app
data

```
{"appCode":"CoWFeeModule","environment":"prod","metadata":{},"version":"1.3.0"}
vs
{"appCode":"CoWFeeModule","environment":"prod","metadata":{},"version":"1.1.0"}
``` 

which consequently led to [this
error](https://github.com/cowdao-grants/cow-fee/blob/main/ts/cowfee.ts#L172)
being hit. @alfetopito suggested to manually generate the app data,
given that it's hardcoded and fixed in the fee withdrawl module

## Other changes

I had to change the target of the tsconfig to es2022 because es2023 is
not supported by my node version (lts, v22.13.0)
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.

2 participants