From 10b9df7b9f5629726fc9e73e8e7573615c4e001d Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Fri, 30 Jun 2023 13:13:45 +0100 Subject: [PATCH] Revert update of clean-html package --- packages/lib/package.json | 2 +- renovate.json5 | 5 +++ yarn.lock | 95 ++++++++++++++++++++++++++++----------- 3 files changed, 76 insertions(+), 26 deletions(-) diff --git a/packages/lib/package.json b/packages/lib/package.json index 256c883ef..c26805ce6 100644 --- a/packages/lib/package.json +++ b/packages/lib/package.json @@ -23,7 +23,7 @@ "@types/node-rsa": "1.1.1", "@types/react": "17.0.59", "@types/uuid": "^9.0.0", - "clean-html": "2.0.1", + "clean-html": "1.5.0", "jest": "29.5.0", "sharp": "0.32.1", "typescript": "5.0.2" diff --git a/renovate.json5 b/renovate.json5 index d14c143ed..63222a67d 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -163,6 +163,11 @@ "aws-sdk", "@aws-sdk/client-s3", "@aws-sdk/s3-request-presigner", + + // 2.x appears to have breaking changes since the generated HTML is + // different. Not important enough to fix since the package is only used + // for tests. + "clean-html", ], "packageRules": [ { diff --git a/yarn.lock b/yarn.lock index 4e931e17e..fda86b805 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4554,7 +4554,7 @@ __metadata: base64-stream: 1.0.0 builtin-modules: 3.3.0 chokidar: 3.5.3 - clean-html: 2.0.1 + clean-html: 1.5.0 color: 3.2.1 compare-versions: 3.6.0 css: 3.0.0 @@ -11522,15 +11522,15 @@ __metadata: languageName: node linkType: hard -"clean-html@npm:2.0.1": - version: 2.0.1 - resolution: "clean-html@npm:2.0.1" +"clean-html@npm:1.5.0": + version: 1.5.0 + resolution: "clean-html@npm:1.5.0" dependencies: - htmlparser2: ^8.0.2 - minimist: ^1.2.8 + htmlparser2: ^3.8.2 + minimist: ^1.1.1 bin: clean-html: cmd.js - checksum: 0191c61ee2582aff6c5e7c4d2970a830ad86f956ce551573832dbc07691c7ec5d46d26528ec435b32ab81ac57279c1e27f8524495cccc1e86fce9bf10621b4aa + checksum: 018fca0a532e65109247ead962e6c708ef6f042b0472095362b6805603734e0a6683c3cb2adf40c4cac36f4645bc7b04dea9e848b15641984e2114f56b4f6125 languageName: node linkType: hard @@ -14543,6 +14543,16 @@ __metadata: languageName: node linkType: hard +"dom-serializer@npm:0": + version: 0.2.2 + resolution: "dom-serializer@npm:0.2.2" + dependencies: + domelementtype: ^2.0.1 + entities: ^2.0.0 + checksum: 376344893e4feccab649a14ca1a46473e9961f40fe62479ea692d4fee4d9df1c00ca8654811a79c1ca7b020096987e1ca4fb4d7f8bae32c1db800a680a0e5d5e + languageName: node + linkType: hard + "dom-serializer@npm:^2.0.0": version: 2.0.0 resolution: "dom-serializer@npm:2.0.0" @@ -14561,6 +14571,13 @@ __metadata: languageName: node linkType: hard +"domelementtype@npm:1, domelementtype@npm:^1.3.1": + version: 1.3.1 + resolution: "domelementtype@npm:1.3.1" + checksum: 7893da40218ae2106ec6ffc146b17f203487a52f5228b032ea7aa470e41dfe03e1bd762d0ee0139e792195efda765434b04b43cddcf63207b098f6ae44b36ad6 + languageName: node + linkType: hard + "domelementtype@npm:2.3.0, domelementtype@npm:^2.3.0": version: 2.3.0 resolution: "domelementtype@npm:2.3.0" @@ -14568,6 +14585,13 @@ __metadata: languageName: node linkType: hard +"domelementtype@npm:^2.0.1": + version: 2.2.0 + resolution: "domelementtype@npm:2.2.0" + checksum: 24cb386198640cd58aa36f8c987f2ea61859929106d06ffcc8f547e70cb2ed82a6dc56dcb8252b21fba1f1ea07df6e4356d60bfe57f77114ca1aed6828362629 + languageName: node + linkType: hard + "domexception@npm:^2.0.1": version: 2.0.1 resolution: "domexception@npm:2.0.1" @@ -14595,6 +14619,15 @@ __metadata: languageName: node linkType: hard +"domhandler@npm:^2.3.0": + version: 2.4.2 + resolution: "domhandler@npm:2.4.2" + dependencies: + domelementtype: 1 + checksum: 49bd70c9c784f845cd047e1dfb3611bd10891c05719acfc93f01fc726a419ed09fbe0b69f9064392d556a63fffc5a02010856cedae9368f4817146d95a97011f + languageName: node + linkType: hard + "domino@npm:^2.1.6": version: 2.1.6 resolution: "domino@npm:2.1.6" @@ -14616,7 +14649,7 @@ __metadata: languageName: node linkType: hard -"domutils@npm:3.1.0, domutils@npm:^3.0.1": +"domutils@npm:3.1.0": version: 3.1.0 resolution: "domutils@npm:3.1.0" dependencies: @@ -14627,6 +14660,16 @@ __metadata: languageName: node linkType: hard +"domutils@npm:^1.5.1": + version: 1.7.0 + resolution: "domutils@npm:1.7.0" + dependencies: + dom-serializer: 0 + domelementtype: 1 + checksum: f60a725b1f73c1ae82f4894b691601ecc6ecb68320d87923ac3633137627c7865725af813ae5d188ad3954283853bcf46779eb50304ec5d5354044569fcefd2b + languageName: node + linkType: hard + "dot-case@npm:^3.0.4": version: 3.0.4 resolution: "dot-case@npm:3.0.4" @@ -15018,13 +15061,20 @@ __metadata: languageName: node linkType: hard -"entities@npm:2.2.0": +"entities@npm:2.2.0, entities@npm:^2.0.0": version: 2.2.0 resolution: "entities@npm:2.2.0" checksum: 19010dacaf0912c895ea262b4f6128574f9ccf8d4b3b65c7e8334ad0079b3706376360e28d8843ff50a78aabcb8f08f0a32dbfacdc77e47ed77ca08b713669b3 languageName: node linkType: hard +"entities@npm:^1.1.1": + version: 1.1.2 + resolution: "entities@npm:1.1.2" + checksum: d537b02799bdd4784ffd714d000597ed168727bddf4885da887c5a491d735739029a00794f1998abbf35f3f6aeda32ef5c15010dca1817d401903a501b6d3e05 + languageName: node + linkType: hard + "entities@npm:^4.2.0, entities@npm:^4.4.0": version: 4.4.0 resolution: "entities@npm:4.4.0" @@ -18584,15 +18634,17 @@ __metadata: languageName: node linkType: hard -"htmlparser2@npm:^8.0.2": - version: 8.0.2 - resolution: "htmlparser2@npm:8.0.2" +"htmlparser2@npm:^3.8.2": + version: 3.10.1 + resolution: "htmlparser2@npm:3.10.1" dependencies: - domelementtype: ^2.3.0 - domhandler: ^5.0.3 - domutils: ^3.0.1 - entities: ^4.4.0 - checksum: 29167a0f9282f181da8a6d0311b76820c8a59bc9e3c87009e21968264c2987d2723d6fde5a964d4b7b6cba663fca96ffb373c06d8223a85f52a6089ced942700 + domelementtype: ^1.3.1 + domhandler: ^2.3.0 + domutils: ^1.5.1 + entities: ^1.1.1 + inherits: ^2.0.1 + readable-stream: ^3.1.1 + checksum: 6875f7dd875aa10be17d9b130e3738cd8ed4010b1f2edaf4442c82dfafe9d9336b155870dcc39f38843cbf7fef5e4fcfdf0c4c1fd4db3a1b91a1e0ee8f6c3475 languageName: node linkType: hard @@ -23944,7 +23996,7 @@ __metadata: languageName: node linkType: hard -"minimist@npm:^1.1.0, minimist@npm:^1.1.3, minimist@npm:^1.2.0, minimist@npm:^1.2.3, minimist@npm:^1.2.5, minimist@npm:~1.2.5": +"minimist@npm:^1.1.0, minimist@npm:^1.1.1, minimist@npm:^1.1.3, minimist@npm:^1.2.0, minimist@npm:^1.2.3, minimist@npm:^1.2.5, minimist@npm:~1.2.5": version: 1.2.5 resolution: "minimist@npm:1.2.5" checksum: 86706ce5b36c16bfc35c5fe3dbb01d5acdc9a22f2b6cc810b6680656a1d2c0e44a0159c9a3ba51fb072bb5c203e49e10b51dcd0eec39c481f4c42086719bae52 @@ -23958,13 +24010,6 @@ __metadata: languageName: node linkType: hard -"minimist@npm:^1.2.8": - version: 1.2.8 - resolution: "minimist@npm:1.2.8" - checksum: 75a6d645fb122dad29c06a7597bddea977258957ed88d7a6df59b5cd3fe4a527e253e9bbf2e783e4b73657f9098b96a5fe96ab8a113655d4109108577ecf85b0 - languageName: node - linkType: hard - "minipass-collect@npm:^1.0.2": version: 1.0.2 resolution: "minipass-collect@npm:1.0.2"