jest-snapshot v25 requires a version of semver which doesn't support node 8

Created on 23 Jan 2020  路  7Comments  路  Source: facebook/jest

馃悰 Bug Report

jest-snapshot v25 requires a version of semver which doesn't support node 8

To Reproduce

Steps to reproduce the behavior:

  1. Set node version to 8
  2. yarn init a package
  3. Run yarn add jest

image

Expected behavior

Jest is successfully added to the package manifest.

Link to repl or repo (highly encouraged)

envinfo

  System:
    OS: macOS Mojave 10.14.6
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
  Binaries:
    Node: 8.17.0 - ~/.nvm/versions/node/v8.17.0/bin/node
    Yarn: 1.13.0 - /usr/local/bin/yarn
    npm: 6.13.4 - ~/.nvm/versions/node/v8.17.0/bin/npm
Bug Report Needs Repro Needs Triage

All 7 comments

I believe semver 7 and 6 are largely identical except for node version support; downgrading to semver 6 should address it.

@ljharb I'll put up a PR shortly.

@SimenB does this mean that support for node 8 is dropped ? I don't see how this PR solves the current issue

What? I have no idea how that's your conclusion - we've rolled back to a version that still supports older nodes, it's just not released yet

My bad, I checked the wrong reference for the fix 馃う鈥嶁檪
Do you know when this is planned to be released ?

@SimenB any progress on a new release for this?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

withinboredom picture withinboredom  路  3Comments

stephenlautier picture stephenlautier  路  3Comments

kgowru picture kgowru  路  3Comments

jardakotesovec picture jardakotesovec  路  3Comments

gustavjf picture gustavjf  路  3Comments