-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
Add ?at=DATE
flag
#1051
base: main
Are you sure you want to change the base?
Add ?at=DATE
flag
#1051
Conversation
@ije hello again, I've read a lot of your code and implemented only the parsing part of the feature on my fork, can you go over how the tool works internally so that we can optimize the use of cache for the users utilizing the |
the server uses memory for caching npm package info with configurable TTL, no back storage Lines 347 to 352 in 02cb1c5
|
i just view your code, looks great. maybe you can start with this branch: https://github.com/esm-dev/esm.sh/tree/at-flag, you can get the |
I think we should use an |
please join esm.sh server here: https://discord.gg/XDbjMeb7pb |
i prefer using |
yes, but if the feature is going to support |
@ije you can check out my latest commit to the branch, I think I still have to update the |
This pr allows uou to fetch a package version closest to a given timestamp or date. This feature eliminates the need to know the exact version beforehand, similar to running
npm install <package>
without specifying a version. However, it still provides a fixed version for future installations, ensuring consistency. This is particularly useful for LLM-generated web applications, where maintaining the same package version across all instances is crucial.For example:
implements #1047