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

Store Changes to /dist/index.json #3788

Open
bnb opened this issue Jun 26, 2024 · 1 comment
Open

Store Changes to /dist/index.json #3788

bnb opened this issue Jun 26, 2024 · 1 comment

Comments

@bnb
Copy link

bnb commented Jun 26, 2024

Hey!

A while ago I built a tool to extract information from nodejs.org/dist/index.json. It runs nightly to build data for the static version of the module (the non-static version fetches data from the live site).

In those PRs, over time I've noticed a few bits flip with some regularity - specifically, the security value changes. This could absolutely be an error on my end, but it's complicated to verify that without being able to see the source of truth at the time of execution. I'd be fine to do that, but now I've noticed that the modules versions have started flipping around, too - the modules version on Node.js v20.14.0 flipped from 120 down to 115 - very odd behavior, and I'm guessing that one isn't me.

So, I was hoping that there would be some way to keep a historical log of what's published to that file. If that's just committing it to a repo every time it's changed and I can look at the diff, that's fine. Alternatively, keeping a full version every time it's changed would be nice as well. I'm really down for any solution, I'd just like to be able to see the data historically.

@targos
Copy link
Member

targos commented Jun 30, 2024

the modules version on Node.js v20.14.0 flipped from 120 down to 115

115 is the correct number. I have no idea how it could have been 120 before. The lines in that file are not supposed to change, as they are populated from the releases, which are immutable.

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

No branches or pull requests

2 participants