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 @types/node dependency version #13987

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Oct 3, 2024

  1. Update @types/node dependency version

    When I upgraded my project to use [email protected] I ran into the issue
    described in [this SO post](https://stackoverflow.com/a/78790944/223931).
    
    The solution is to use a newer version of `@types/node` which has been
    updated to deal with the changes in the latest TypeScript.
    
    In my project I've introduced an explicit dependency on `@types/[email protected]`
    (the newest version currently available in the `^20.0.0` range) since the
    fix doesn't exist in `20.12.14` (the newest version available in the `~20.12.8`
    range which was currently defined) which seems to solve the problem. But I
    thought it would be helpful to others if the change was made here so they
    didn't need to debug the problem.
    
    DISCLAIMER: I don't know how these types are used and if there is any chance
    I've introduced other problems with this change...
    vitch committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    48ae8f0 View commit details
    Browse the repository at this point in the history
  2. Update @types/node to ~22.5.5 in bun-types

    This is the closest available match to the version reported by
    `process.version` in the current version of `bun`
    vitch committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    fba7d35 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    65420d2 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. Make lock file more sane

    Temporarily adding [overrides](https://bun.sh/docs/install/overrides) of
    `@types/oode` to `22.7.4` and then running `bun install` and then removing
    the override and running `bun install` again helps us make the lock file
    more sane - node `@types/node@*` is pointing at the latest requested version
    rather than a random version it got stuck on before...
    vitch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    8f23f8f View commit details
    Browse the repository at this point in the history