Skip to content

Fix/log4js#5766

Merged
SamTV12345 merged 7 commits intodevelopfrom
fix/log4js
Oct 22, 2023
Merged

Fix/log4js#5766
SamTV12345 merged 7 commits intodevelopfrom
fix/log4js

Conversation

@SamTV12345
Copy link
Copy Markdown
Member

This pull request updates log4js to the latest version. During testing I found out that if I bump typescript to 5.1.3 and npm enters legacy-peer-deps mode it somehow gets rid of all the old dependencies like request which I removed in this pull request too.

I don't know why there are some tests that fail I'll look into that later.

@SamTV12345
Copy link
Copy Markdown
Member Author

Because async await on top level is not supported. I would suggest supporting node 16>. Seems like the tests are also failing on the develop branch. So it might seems fine 😄 .

@SamTV12345 SamTV12345 mentioned this pull request Jun 26, 2023
@SamTV12345
Copy link
Copy Markdown
Member Author

I'll rebase once again when the node branch is merged into develop.

@JohnMcLear
Copy link
Copy Markdown
Member

Because async await on top level is not supported. I would suggest supporting node 16>. Seems like the tests are also failing on the develop branch. So it might seems fine 😄 .

we're now 16+

@JohnMcLear
Copy link
Copy Markdown
Member

 npm ERR! Invalid: lock file's jsdom@22.1.0 does not satisfy jsdom@20.0.3
npm ERR! Invalid: lock file's log4js@6.9.1 does not satisfy log4js@0.6.38

I'd remake your lock file.

@JohnMcLear
Copy link
Copy Markdown
Member

This should be split up.

  1. Axios
  2. Log4JS

Also we need to talk about how this actually impacts Etherpad. Afaik this will break logging configs.

@SamTV12345
Copy link
Copy Markdown
Member Author

@JohnMcLear I seem to have hit the same problem again. All pipelines fail and I didn't succeed in just cloning the project again.

@SamTV12345
Copy link
Copy Markdown
Member Author

Dependency review is probably not happy because I had some time the latest npm in it which doesn't work out of the box. If that pull request will crash instances I would postpone this pull request to milestone 2.0 @JohnMcLear

@JohnMcLear
Copy link
Copy Markdown
Member

Split it down to minor changes IE axios and see what works/doesn't then go from there : )

@SamTV12345
Copy link
Copy Markdown
Member Author

Axios has been merged in #5776 . This contains only the log4js changes necessary to migrate to v6

@github-actions github-actions Bot added the Stale No recent activity label Sep 4, 2023
@SamTV12345 SamTV12345 removed the Stale No recent activity label Oct 22, 2023
@SamTV12345 SamTV12345 merged commit f649b1e into develop Oct 22, 2023
@SamTV12345 SamTV12345 deleted the fix/log4js branch October 22, 2023 16:26
boutsak pushed a commit to weaveeducation/etherpad-lite-legacy that referenced this pull request Jan 5, 2024
* Updated log4js

* Updated log4js version.

* Removed requests and moved to axios.

* Fixed startup.

* Fixed windows dependency install.

* Fixed import export rate limiter.

* Fixed all log levels.
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