From b39b2171a01df0a14c1620e16f5da289b99b155f Mon Sep 17 00:00:00 2001 From: Stefan Cameron Date: Wed, 3 May 2023 17:49:59 -0500 Subject: [PATCH] [#982] Pin nwsapi downstream jsdom dependency to v2.2.2 (#995) Fixes #982 Tested locally by cloning this repo and then: ``` $ rm package-lock.json $ npm install # regenerates package-lock.json $ npm test # fails because of nwsapi issues post-v2.2.2 # edit package.json to add override clause $ npm install # results in nwsapi@2.2.2 $ npm test # succeeds ``` --- .changeset/short-readers-suffer.md | 5 +++++ package.json | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 .changeset/short-readers-suffer.md diff --git a/.changeset/short-readers-suffer.md b/.changeset/short-readers-suffer.md new file mode 100644 index 00000000..f94f076c --- /dev/null +++ b/.changeset/short-readers-suffer.md @@ -0,0 +1,5 @@ +--- +'tabbable': patch +--- + +Pin jsdom downstream dependency nwsapi to v2.2.2 while awaiting fix ([#982](https://github.com/focus-trap/tabbable/issues/982)) diff --git a/package.json b/package.json index 9d31b72e..f47a380f 100644 --- a/package.json +++ b/package.json @@ -91,5 +91,8 @@ "typescript": "^5.0.4", "watchify": "^4.0.0", "webpack": "^5.81.0" + }, + "overrides": { + "nwsapi": "2.2.2" } }