diff --git a/packages/html-to-mobiledoc/package.json b/packages/html-to-mobiledoc/package.json
index dbc60213de..c4714195ac 100644
--- a/packages/html-to-mobiledoc/package.json
+++ b/packages/html-to-mobiledoc/package.json
@@ -27,6 +27,6 @@
"dependencies": {
"@tryghost/kg-parser-plugins": "4.1.4",
"@tryghost/mobiledoc-kit": "^0.12.4-ghost.1",
- "jsdom": "^24.1.0"
+ "jsdom": "^25.0.0"
}
}
diff --git a/packages/kg-clean-basic-html/package.json b/packages/kg-clean-basic-html/package.json
index 8b89345fa6..c13b204103 100644
--- a/packages/kg-clean-basic-html/package.json
+++ b/packages/kg-clean-basic-html/package.json
@@ -34,7 +34,7 @@
"@babel/preset-env": "7.25.3",
"@rollup/plugin-babel": "6.0.4",
"c8": "9.1.0",
- "jsdom": "24.1.1",
+ "jsdom": "25.0.1",
"mocha": "10.7.3",
"rollup": "4.21.0",
"should": "13.2.3",
diff --git a/packages/kg-default-nodes/package.json b/packages/kg-default-nodes/package.json
index d4d93c4e68..d5b8e37517 100644
--- a/packages/kg-default-nodes/package.json
+++ b/packages/kg-default-nodes/package.json
@@ -52,7 +52,7 @@
"@tryghost/kg-clean-basic-html": "4.1.4",
"@tryghost/kg-markdown-html-renderer": "7.0.7",
"html-minifier": "^4.0.0",
- "jsdom": "^24.1.0",
+ "jsdom": "^25.0.0",
"lexical": "0.13.1",
"lodash": "^4.17.21",
"luxon": "^3.5.0"
diff --git a/packages/kg-html-to-lexical/package.json b/packages/kg-html-to-lexical/package.json
index 1106ddf229..6eeb58f9f4 100644
--- a/packages/kg-html-to-lexical/package.json
+++ b/packages/kg-html-to-lexical/package.json
@@ -44,7 +44,7 @@
"@lexical/rich-text": "0.13.1",
"@tryghost/kg-default-nodes": "1.2.0",
"@tryghost/kg-default-transforms": "1.1.20",
- "jsdom": "^24.1.0",
+ "jsdom": "^25.0.0",
"lexical": "0.13.1"
}
}
diff --git a/packages/kg-lexical-html-renderer/package.json b/packages/kg-lexical-html-renderer/package.json
index 945d1fbeba..caa3a8369b 100644
--- a/packages/kg-lexical-html-renderer/package.json
+++ b/packages/kg-lexical-html-renderer/package.json
@@ -29,7 +29,7 @@
},
"devDependencies": {
"c8": "9.1.0",
- "jsdom": "^24.1.0",
+ "jsdom": "^25.0.0",
"mocha": "10.7.3",
"prettier": "3.3.3",
"should": "13.2.3",
@@ -44,7 +44,7 @@
"@lexical/rich-text": "0.13.1",
"@tryghost/kg-default-nodes": "1.2.0",
"@tryghost/kg-default-transforms": "1.1.20",
- "jsdom": "^24.1.0",
+ "jsdom": "^25.0.0",
"lexical": "0.13.1"
}
}
diff --git a/packages/kg-parser-plugins/package.json b/packages/kg-parser-plugins/package.json
index c18c94fd49..99798974d3 100644
--- a/packages/kg-parser-plugins/package.json
+++ b/packages/kg-parser-plugins/package.json
@@ -35,7 +35,7 @@
"@rollup/plugin-babel": "6.0.4",
"@tryghost/mobiledoc-kit": "0.11.2-ghost.4",
"c8": "9.1.0",
- "jsdom": "24.1.1",
+ "jsdom": "25.0.1",
"mocha": "10.7.3",
"rollup": "4.21.0",
"should": "13.2.3",
diff --git a/packages/kg-unsplash-selector/package.json b/packages/kg-unsplash-selector/package.json
index 26be919fc9..4afc3e6908 100644
--- a/packages/kg-unsplash-selector/package.json
+++ b/packages/kg-unsplash-selector/package.json
@@ -46,7 +46,7 @@
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-react-refresh": "0.4.11",
"eslint-plugin-tailwindcss": "3.17.4",
- "jsdom": "24.1.1",
+ "jsdom": "25.0.1",
"postcss": "8.4.41",
"postcss-import": "16.1.0",
"tailwindcss": "3.4.10",
diff --git a/packages/koenig-lexical/package.json b/packages/koenig-lexical/package.json
index 4fcf9a5802..3f5b552b37 100644
--- a/packages/koenig-lexical/package.json
+++ b/packages/koenig-lexical/package.json
@@ -105,7 +105,7 @@
"eslint-plugin-tailwindcss": "3.17.4",
"eventemitter3": "^5.0.0",
"fast-average-color": "^9.3.0",
- "jsdom": "24.1.1",
+ "jsdom": "25.0.1",
"lexical": "0.13.1",
"luxon": "^3.5.0",
"pluralize": "^8.0.0",
diff --git a/yarn.lock b/yarn.lock
index 00530c9ac2..dbee97813b 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -8161,12 +8161,12 @@ cssesc@^3.0.0:
resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee"
integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==
-cssstyle@^4.0.1:
- version "4.0.1"
- resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-4.0.1.tgz#ef29c598a1e90125c870525490ea4f354db0660a"
- integrity sha512-8ZYiJ3A/3OkDd093CBT/0UKDWry7ak4BdPTFP2+QEP7cmhouyq/Up709ASSj2cK02BbZiMgk7kYjZNS4QP5qrQ==
+cssstyle@^4.1.0:
+ version "4.1.0"
+ resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-4.1.0.tgz#161faee382af1bafadb6d3867a92a19bcb4aea70"
+ integrity sha512-h66W1URKpBS5YMI/V8PyXvTMFT8SupJ1IzoIV8IeBC/ji8WVmrO8dGlTi+2dh6whmdk6BiKJLD/ZBkhWbcg6nA==
dependencies:
- rrweb-cssom "^0.6.0"
+ rrweb-cssom "^0.7.1"
csstype@^3.0.2:
version "3.1.3"
@@ -12921,12 +12921,12 @@ jscodeshift@^0.15.1:
temp "^0.8.4"
write-file-atomic "^2.3.0"
-jsdom@24.1.1, jsdom@^24.1.0:
- version "24.1.1"
- resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-24.1.1.tgz#f41df8f4f3b2fbfa7e1bdc5df62c9804fd14a9d0"
- integrity sha512-5O1wWV99Jhq4DV7rCLIoZ/UIhyQeDR7wHVyZAHAshbrvZsLs+Xzz7gtwnlJTJDjleiTKh54F4dXrX70vJQTyJQ==
+jsdom@25.0.1, jsdom@^25.0.0:
+ version "25.0.1"
+ resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-25.0.1.tgz#536ec685c288fc8a5773a65f82d8b44badcc73ef"
+ integrity sha512-8i7LzZj7BF8uplX+ZyOlIz86V6TAsSs+np6m1kpW9u0JWi4z/1t+FzcK1aek+ybTnAC4KhBL4uXCNT0wcUIeCw==
dependencies:
- cssstyle "^4.0.1"
+ cssstyle "^4.1.0"
data-urls "^5.0.0"
decimal.js "^10.4.3"
form-data "^4.0.0"
@@ -12939,7 +12939,7 @@ jsdom@24.1.1, jsdom@^24.1.0:
rrweb-cssom "^0.7.1"
saxes "^6.0.0"
symbol-tree "^3.2.4"
- tough-cookie "^4.1.4"
+ tough-cookie "^5.0.0"
w3c-xmlserializer "^5.0.0"
webidl-conversions "^7.0.0"
whatwg-encoding "^3.1.1"
@@ -16485,11 +16485,6 @@ prr@~1.0.1:
resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476"
integrity sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==
-psl@^1.1.33:
- version "1.9.0"
- resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7"
- integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==
-
public-encrypt@^4.0.0:
version "4.0.3"
resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.3.tgz#4fcc9d77a07e48ba7527e7cbe0de33d0701331e0"
@@ -16537,7 +16532,7 @@ punycode@^1.3.2, punycode@^1.4.1:
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"
integrity sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==
-punycode@^2.1.0, punycode@^2.1.1, punycode@^2.3.1:
+punycode@^2.1.0, punycode@^2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5"
integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==
@@ -16582,11 +16577,6 @@ querystring-es3@~0.2.0:
resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73"
integrity sha512-773xhDQnZBMFobEiztv8LIl70ch5MSF/jUQVlhwFyBILqq96anmoctVIYz+ZRp0qbCKATTn6ev02M3r7Ga5vqA==
-querystringify@^2.1.1:
- version "2.2.0"
- resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6"
- integrity sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==
-
queue-microtask@^1.2.2:
version "1.2.3"
resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243"
@@ -17201,11 +17191,6 @@ requireindex@^1.2.0:
resolved "https://registry.yarnpkg.com/requireindex/-/requireindex-1.2.0.tgz#3463cdb22ee151902635aa6c9535d4de9c2ef1ef"
integrity sha512-L9jEkOi3ASd9PYit2cwRfyppc9NoABujTP8/5gFcbERmo5jUoAKovIC3fsF17pkTnGsrByysqX+Kxd2OTNI1ww==
-requires-port@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
- integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==
-
resolve-cwd@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d"
@@ -17427,11 +17412,6 @@ rollup@4.21.0, rollup@^4.13.0:
optionalDependencies:
fsevents "~2.3.2"
-rrweb-cssom@^0.6.0:
- version "0.6.0"
- resolved "https://registry.yarnpkg.com/rrweb-cssom/-/rrweb-cssom-0.6.0.tgz#ed298055b97cbddcdeb278f904857629dec5e0e1"
- integrity sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw==
-
rrweb-cssom@^0.7.1:
version "0.7.1"
resolved "https://registry.yarnpkg.com/rrweb-cssom/-/rrweb-cssom-0.7.1.tgz#c73451a484b86dd7cfb1e0b2898df4b703183e4b"
@@ -18870,6 +18850,18 @@ tinyspy@^2.2.0:
resolved "https://registry.yarnpkg.com/tinyspy/-/tinyspy-2.2.0.tgz#9dc04b072746520b432f77ea2c2d17933de5d6ce"
integrity sha512-d2eda04AN/cPOR89F7Xv5bK/jrQEhmcLFe6HFldoeO9AJtps+fqEnh486vnT/8y4bw38pSyxDcTCAq+Ks2aJTg==
+tldts-core@^6.1.60:
+ version "6.1.60"
+ resolved "https://registry.yarnpkg.com/tldts-core/-/tldts-core-6.1.60.tgz#b3f0a2106e575e972bfca98880758c85c7557d02"
+ integrity sha512-XHjoxak8SFQnHnmYHb3PcnW5TZ+9ErLZemZei3azuIRhQLw4IExsVbL3VZJdHcLeNaXq6NqawgpDPpjBOg4B5g==
+
+tldts@^6.1.32:
+ version "6.1.60"
+ resolved "https://registry.yarnpkg.com/tldts/-/tldts-6.1.60.tgz#5011770e6946fd2edec582ab4686247c66c97e8a"
+ integrity sha512-TYVHm7G9NCnhgqOsFalbX6MG1Po5F4efF+tLfoeiOGQq48Oqgwcgz8upY2R1BHWa4aDrj28RYx0dkYJ63qCFMg==
+ dependencies:
+ tldts-core "^6.1.60"
+
tmp@0.0.28:
version "0.0.28"
resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.28.tgz#172735b7f614ea7af39664fa84cf0de4e515d120"
@@ -18963,15 +18955,12 @@ totalist@^3.0.0:
resolved "https://registry.yarnpkg.com/totalist/-/totalist-3.0.1.tgz#ba3a3d600c915b1a97872348f79c127475f6acf8"
integrity sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==
-tough-cookie@^4.1.4:
- version "4.1.4"
- resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.4.tgz#945f1461b45b5a8c76821c33ea49c3ac192c1b36"
- integrity sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==
+tough-cookie@^5.0.0:
+ version "5.0.0"
+ resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-5.0.0.tgz#6b6518e2b5c070cf742d872ee0f4f92d69eac1af"
+ integrity sha512-FRKsF7cz96xIIeMZ82ehjC3xW2E+O2+v11udrDYewUbszngYhsGa8z6YUMMzO9QJZzzyd0nGGXnML/TReX6W8Q==
dependencies:
- psl "^1.1.33"
- punycode "^2.1.1"
- universalify "^0.2.0"
- url-parse "^1.5.3"
+ tldts "^6.1.32"
tr46@^5.0.0:
version "5.0.0"
@@ -19548,11 +19537,6 @@ universalify@^0.1.0:
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"
integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==
-universalify@^0.2.0:
- version "0.2.0"
- resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0"
- integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==
-
universalify@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d"
@@ -19631,14 +19615,6 @@ urix@^0.1.0:
resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72"
integrity sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==
-url-parse@^1.5.3:
- version "1.5.10"
- resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1"
- integrity sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==
- dependencies:
- querystringify "^2.1.1"
- requires-port "^1.0.0"
-
url@~0.11.0:
version "0.11.3"
resolved "https://registry.yarnpkg.com/url/-/url-0.11.3.tgz#6f495f4b935de40ce4a0a52faee8954244f3d3ad"