From 9c25e5f50f8780c8c36111714910c84786b97dc2 Mon Sep 17 00:00:00 2001 From: Andy Kuny Date: Fri, 3 Jan 2025 10:36:23 -0500 Subject: [PATCH] dep-updates: upgrade htmlparser2 from 9x to 10x --- docs/dependency-updates.md | 4 ++++ package-lock.json | 29 ++++++++++++++++++++--------- package.json | 2 +- 3 files changed, 25 insertions(+), 10 deletions(-) diff --git a/docs/dependency-updates.md b/docs/dependency-updates.md index 2f066d9c276..8715a39c69e 100644 --- a/docs/dependency-updates.md +++ b/docs/dependency-updates.md @@ -77,6 +77,10 @@ regex search the entire project for `aws = "\d+.\d+.\d+"` and make sure it's to - fortawesome packages are locked down to pre-6.x.x to maintain consistency of icon styling until there is usability feedback and research that determines we should change them. This includes `@fortawesome/free-solid-svg-icons`, `@fortawesome/free-regular-svg-icons`, and `@fortawesome/fontawesome-svg-core`. +# canvas + +- [node-canvas](https://github.com/Automattic/node-canvas) v3.x conflicts with jest-environment-jsdom's peer dependency requirement (^2.5.0). We will need to stay on node-canvas v2.x until jest-environment-jsdom updates its peer dependencies. + ## Caveats Below is a list of dependencies that are locked down due to known issues with security, integration problems within DAWSON, etc. Try to update these items but please be aware of the issue that's documented and ensure it's been resolved. diff --git a/package-lock.json b/package-lock.json index e63b8698dbc..0e7f22a8dfc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -70,7 +70,7 @@ "express": "4.21.2", "fflate": "0.8.2", "form-data": "4.0.1", - "htmlparser2": "9.1.0", + "htmlparser2": "10.0.0", "image-blob-reduce": "4.1.0", "joi": "17.13.3", "jsonwebtoken": "9.0.2", @@ -15890,9 +15890,9 @@ "deprecated": "dommatrix is no longer maintained. Please use @thednp/dommatrix." }, "node_modules/domutils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", - "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.1.tgz", + "integrity": "sha512-xWXmuRnN9OMP6ptPd2+H0cCbcYBULa5YDTbMm/2lvkWvNA3O4wcW+GvzooqBuNM8yy6pl3VIAeJTUUWUbfI5Fw==", "dependencies": { "dom-serializer": "^2.0.0", "domelementtype": "^2.3.0", @@ -19030,9 +19030,9 @@ } }, "node_modules/htmlparser2": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-9.1.0.tgz", - "integrity": "sha512-5zfg6mHUoaer/97TxnGpxmbR7zJtPwIYFMZ/H5ucTlPZhKvtum05yiPK3Mgai3a0DyVxv7qYqoweaEd2nrYQzQ==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-10.0.0.tgz", + "integrity": "sha512-TwAZM+zE5Tq3lrEHvOlvwgj1XLWQCtaaibSN11Q+gGBAS7Y1uZSWwXXRe4iF6OXnaq1riyQAPFOBtYc77Mxq0g==", "funding": [ "https://github.com/fb55/htmlparser2?sponsor=1", { @@ -19043,8 +19043,19 @@ "dependencies": { "domelementtype": "^2.3.0", "domhandler": "^5.0.3", - "domutils": "^3.1.0", - "entities": "^4.5.0" + "domutils": "^3.2.1", + "entities": "^6.0.0" + } + }, + "node_modules/htmlparser2/node_modules/entities": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.0.tgz", + "integrity": "sha512-aKstq2TDOndCn4diEyp9Uq/Flu2i1GlLkc6XIDQSDMuaFE3OPW5OphLCyQ5SpSJZTb4reN+kTcYru5yIfXoRPw==", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" } }, "node_modules/http-assert": { diff --git a/package.json b/package.json index 61d85b056bd..130a9a04320 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "express": "4.21.2", "fflate": "0.8.2", "form-data": "4.0.1", - "htmlparser2": "9.1.0", + "htmlparser2": "10.0.0", "image-blob-reduce": "4.1.0", "joi": "17.13.3", "jsonwebtoken": "9.0.2",