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

Update just screeps-api #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EsoterikStare
Copy link

@EsoterikStare EsoterikStare commented Apr 29, 2024

TL;DR: Tests were broken before and after the updates so I did a diff on the dist output before and after and it's identical. Probably safe.


The screeps-api library updated deps recently to handle some vulnerabilities with axios and other libraries. This PR updates the screeps-api to latest to get those and other updates.

Unfortunately, I couldn't get the tests working before I touched anything and I spent more time than I probably should have trying to get them working with no success. Barring that, I did a comparison of the resulting dist output before and after this update (using WinMerge, if you're curious) and the outputs were identical, so it seems safe.

FWIW, I was curious what it looked like to update every dep to latest. There were a couple of small issues that were easily fixed, and the resulting dist output seems functionally equivalent but has a few differences in how it was bundled, which should probably be tested more thoroughly by someone more familiar with the library than I am.

I created a PR for that as well, if someone wants to take a look at it. Let me know.

@EsoterikStare EsoterikStare changed the title Update screeps-api Update just screeps-api Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant