0

I'm guessing that a recent update in jsdom broke the juice library.

Can I specify in my project which version of jsdom should the juice library use?

1
  • This question is similar to: How do I override nested NPM dependency versions?. If you believe it’s different, please edit the question, make it clear how it’s different and/or how the answers on that question are not helpful for your problem. Commented May 22 at 21:21

1 Answer 1

1

Yes, you can lock down dependency versions using npm shrinkwrap. This will generate an npm-shrinkwrap.json file respected by npm install that allows you to explicitly specify the dependency versions you desire.

From the documentation:

{
  "name": "A",
  "version": "0.1.0",
  "dependencies": {
    "B": {
      "version": "0.0.1",
      "dependencies": {
        "C": {
          "version": "0.1.0"
        }
      }
    }
  }
}
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.