From 61cc9cc26ba732e34ec1e8f64a402920a4e44cc3 Mon Sep 17 00:00:00 2001 From: SideQuest Date: Thu, 19 Nov 2020 12:45:07 +0000 Subject: [PATCH] Update package.json I had an issue with a bunch of errors like this: ``` TypeError: Cannot read property 'some' of undefined at Object.exports.install (node_modules/whatwg-url/dist/URL.js:84:20) ``` https://github.com/facebook/jest/issues/10489#issuecomment-695817956 - shows that its an issue with jsdom 16.2.2. I tested by forcing the next newer version 16.3.0 which fixed the problem, so I propose that this dependency be updated. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cd4bfc8..dcaf53e 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "license": "ISC", "dependencies": { "chalk": "4.0.0", - "jsdom": "16.2.2", + "jsdom": "16.3.0", "meow": "^6.0.0", "node-sass": "^4.13.1", "purgecss": "2.1.0",