fix: rollback the version of the Juice dependency library to v8 (#338)

This commit is contained in:
Libin YANG 2024-08-21 13:11:38 +08:00 committed by GitHub
parent 0a11cc462a
commit e74c54d859
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 79 additions and 128 deletions

205
package-lock.json generated
View File

@ -23,7 +23,7 @@
"element-plus": "^2.8.0", "element-plus": "^2.8.0",
"form-data": "4.0.0", "form-data": "4.0.0",
"highlight.js": "^11.10.0", "highlight.js": "^11.10.0",
"juice": "^10.0.1", "juice": "^8.0.0",
"katex": "^0.16.11", "katex": "^0.16.11",
"lucide-vue-next": "^0.428.0", "lucide-vue-next": "^0.428.0",
"marked": "^4.0.18", "marked": "^4.0.18",
@ -2229,9 +2229,9 @@
} }
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "22.4.1", "version": "22.4.2",
"resolved": "https://registry.npmmirror.com/@types/node/-/node-22.4.1.tgz", "resolved": "https://registry.npmmirror.com/@types/node/-/node-22.4.2.tgz",
"integrity": "sha512-1tbpb9325+gPnKK0dMm+/LMriX0vKxf6RnB0SZUqfyVkQ4fMgUSySqhxE/y8Jvs4NyF1yHzTfG9KlnkIODxPKg==", "integrity": "sha512-nAvM3Ey230/XzxtyDcJ+VjvlzpzoHwLsF7JaDRfoI0ytO0mVheerNmM45CtA0yOILXwXXxOrcUWH3wltX+7PSw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"undici-types": "~6.19.2" "undici-types": "~6.19.2"
@ -3881,17 +3881,17 @@
} }
}, },
"node_modules/cheerio": { "node_modules/cheerio": {
"version": "1.0.0-rc.12", "version": "1.0.0-rc.10",
"resolved": "https://registry.npmmirror.com/cheerio/-/cheerio-1.0.0-rc.12.tgz", "resolved": "https://registry.npmmirror.com/cheerio/-/cheerio-1.0.0-rc.10.tgz",
"integrity": "sha512-VqR8m68vM46BNnuZ5NtnGBKIE/DfN0cRIzg9n40EIq9NOv90ayxLBXA8fXC5gquFRGJSTRqBq25Jt2ECLR431Q==", "integrity": "sha512-g0J0q/O6mW8z5zxQ3A8E8J1hUgp4SMOvEoW/x84OwyHKe/Zccz83PVT4y5Crcr530FV6NgmKI1qvGTKVl9XXVw==",
"dependencies": { "dependencies": {
"cheerio-select": "^2.1.0", "cheerio-select": "^1.5.0",
"dom-serializer": "^2.0.0", "dom-serializer": "^1.3.2",
"domhandler": "^5.0.3", "domhandler": "^4.2.0",
"domutils": "^3.0.1", "htmlparser2": "^6.1.0",
"htmlparser2": "^8.0.1", "parse5": "^6.0.1",
"parse5": "^7.0.0", "parse5-htmlparser2-tree-adapter": "^6.0.1",
"parse5-htmlparser2-tree-adapter": "^7.0.0" "tslib": "^2.2.0"
}, },
"engines": { "engines": {
"node": ">= 6" "node": ">= 6"
@ -3901,16 +3901,15 @@
} }
}, },
"node_modules/cheerio-select": { "node_modules/cheerio-select": {
"version": "2.1.0", "version": "1.6.0",
"resolved": "https://registry.npmmirror.com/cheerio-select/-/cheerio-select-2.1.0.tgz", "resolved": "https://registry.npmmirror.com/cheerio-select/-/cheerio-select-1.6.0.tgz",
"integrity": "sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==", "integrity": "sha512-eq0GdBvxVFbqWgmCm7M3XGs1I8oLy/nExUnh6oLqmBditPO9AqQJrkslDpMun/hZ0yyTs8L0m85OHp4ho6Qm9g==",
"dependencies": { "dependencies": {
"boolbase": "^1.0.0", "css-select": "^4.3.0",
"css-select": "^5.1.0", "css-what": "^6.0.1",
"css-what": "^6.1.0", "domelementtype": "^2.2.0",
"domelementtype": "^2.3.0", "domhandler": "^4.3.1",
"domhandler": "^5.0.3", "domutils": "^2.8.0"
"domutils": "^3.0.1"
}, },
"funding": { "funding": {
"url": "https://github.com/sponsors/fb55" "url": "https://github.com/sponsors/fb55"
@ -4306,14 +4305,14 @@
"integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==" "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q=="
}, },
"node_modules/css-select": { "node_modules/css-select": {
"version": "5.1.0", "version": "4.3.0",
"resolved": "https://registry.npmmirror.com/css-select/-/css-select-5.1.0.tgz", "resolved": "https://registry.npmmirror.com/css-select/-/css-select-4.3.0.tgz",
"integrity": "sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==", "integrity": "sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==",
"dependencies": { "dependencies": {
"boolbase": "^1.0.0", "boolbase": "^1.0.0",
"css-what": "^6.1.0", "css-what": "^6.0.1",
"domhandler": "^5.0.2", "domhandler": "^4.3.1",
"domutils": "^3.0.1", "domutils": "^2.8.0",
"nth-check": "^2.0.1" "nth-check": "^2.0.1"
}, },
"funding": { "funding": {
@ -4610,18 +4609,26 @@
} }
}, },
"node_modules/dom-serializer": { "node_modules/dom-serializer": {
"version": "2.0.0", "version": "1.4.1",
"resolved": "https://registry.npmmirror.com/dom-serializer/-/dom-serializer-2.0.0.tgz", "resolved": "https://registry.npmmirror.com/dom-serializer/-/dom-serializer-1.4.1.tgz",
"integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==",
"dependencies": { "dependencies": {
"domelementtype": "^2.3.0", "domelementtype": "^2.0.1",
"domhandler": "^5.0.2", "domhandler": "^4.2.0",
"entities": "^4.2.0" "entities": "^2.0.0"
}, },
"funding": { "funding": {
"url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
} }
}, },
"node_modules/dom-serializer/node_modules/entities": {
"version": "2.2.0",
"resolved": "https://registry.npmmirror.com/entities/-/entities-2.2.0.tgz",
"integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==",
"funding": {
"url": "https://github.com/fb55/entities?sponsor=1"
}
},
"node_modules/domain-browser": { "node_modules/domain-browser": {
"version": "4.23.0", "version": "4.23.0",
"resolved": "https://registry.npmmirror.com/domain-browser/-/domain-browser-4.23.0.tgz", "resolved": "https://registry.npmmirror.com/domain-browser/-/domain-browser-4.23.0.tgz",
@ -4646,11 +4653,11 @@
] ]
}, },
"node_modules/domhandler": { "node_modules/domhandler": {
"version": "5.0.3", "version": "4.3.1",
"resolved": "https://registry.npmmirror.com/domhandler/-/domhandler-5.0.3.tgz", "resolved": "https://registry.npmmirror.com/domhandler/-/domhandler-4.3.1.tgz",
"integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==",
"dependencies": { "dependencies": {
"domelementtype": "^2.3.0" "domelementtype": "^2.2.0"
}, },
"engines": { "engines": {
"node": ">= 4" "node": ">= 4"
@ -4660,13 +4667,13 @@
} }
}, },
"node_modules/domutils": { "node_modules/domutils": {
"version": "3.1.0", "version": "2.8.0",
"resolved": "https://registry.npmmirror.com/domutils/-/domutils-3.1.0.tgz", "resolved": "https://registry.npmmirror.com/domutils/-/domutils-2.8.0.tgz",
"integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==", "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==",
"dependencies": { "dependencies": {
"dom-serializer": "^2.0.0", "dom-serializer": "^1.0.1",
"domelementtype": "^2.3.0", "domelementtype": "^2.2.0",
"domhandler": "^5.0.3" "domhandler": "^4.2.0"
}, },
"funding": { "funding": {
"url": "https://github.com/fb55/domutils?sponsor=1" "url": "https://github.com/fb55/domutils?sponsor=1"
@ -6729,9 +6736,9 @@
"dev": true "dev": true
}, },
"node_modules/htmlparser2": { "node_modules/htmlparser2": {
"version": "8.0.2", "version": "6.1.0",
"resolved": "https://registry.npmmirror.com/htmlparser2/-/htmlparser2-8.0.2.tgz", "resolved": "https://registry.npmmirror.com/htmlparser2/-/htmlparser2-6.1.0.tgz",
"integrity": "sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==", "integrity": "sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A==",
"funding": [ "funding": [
"https://github.com/fb55/htmlparser2?sponsor=1", "https://github.com/fb55/htmlparser2?sponsor=1",
{ {
@ -6740,10 +6747,18 @@
} }
], ],
"dependencies": { "dependencies": {
"domelementtype": "^2.3.0", "domelementtype": "^2.0.1",
"domhandler": "^5.0.3", "domhandler": "^4.0.0",
"domutils": "^3.0.1", "domutils": "^2.5.2",
"entities": "^4.4.0" "entities": "^2.0.0"
}
},
"node_modules/htmlparser2/node_modules/entities": {
"version": "2.2.0",
"resolved": "https://registry.npmmirror.com/entities/-/entities-2.2.0.tgz",
"integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==",
"funding": {
"url": "https://github.com/fb55/entities?sponsor=1"
} }
}, },
"node_modules/https-browserify": { "node_modules/https-browserify": {
@ -7551,11 +7566,11 @@
"integrity": "sha512-OYWlK0j+roh+eyaMROlNbS5cd5R25Y+IUpdl7cNdB8HNrkgwQzIS7L9MegxOiWNBj9dQhA/yAxiMwCC5mwNoBw==" "integrity": "sha512-OYWlK0j+roh+eyaMROlNbS5cd5R25Y+IUpdl7cNdB8HNrkgwQzIS7L9MegxOiWNBj9dQhA/yAxiMwCC5mwNoBw=="
}, },
"node_modules/juice": { "node_modules/juice": {
"version": "10.0.1", "version": "8.1.0",
"resolved": "https://registry.npmmirror.com/juice/-/juice-10.0.1.tgz", "resolved": "https://registry.npmmirror.com/juice/-/juice-8.1.0.tgz",
"integrity": "sha512-ZhJT1soxJCkOiO55/mz8yeBKTAJhRzX9WBO+16ZTqNTONnnVlUPyVBIzQ7lDRjaBdTbid+bAnyIon/GM3yp4cA==", "integrity": "sha512-FLzurJrx5Iv1e7CfBSZH68dC04EEvXvvVvPYB7Vx1WAuhCp1ZPIMtqxc+WTWxVkpTIC2Ach/GAv0rQbtGf6YMA==",
"dependencies": { "dependencies": {
"cheerio": "1.0.0-rc.12", "cheerio": "1.0.0-rc.10",
"commander": "^6.1.0", "commander": "^6.1.0",
"mensch": "^0.3.4", "mensch": "^0.3.4",
"slick": "^1.12.2", "slick": "^1.12.2",
@ -8871,26 +8886,16 @@
} }
}, },
"node_modules/parse5": { "node_modules/parse5": {
"version": "7.1.2", "version": "6.0.1",
"resolved": "https://registry.npmmirror.com/parse5/-/parse5-7.1.2.tgz", "resolved": "https://registry.npmmirror.com/parse5/-/parse5-6.0.1.tgz",
"integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw=="
"dependencies": {
"entities": "^4.4.0"
},
"funding": {
"url": "https://github.com/inikulin/parse5?sponsor=1"
}
}, },
"node_modules/parse5-htmlparser2-tree-adapter": { "node_modules/parse5-htmlparser2-tree-adapter": {
"version": "7.0.0", "version": "6.0.1",
"resolved": "https://registry.npmmirror.com/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.0.0.tgz", "resolved": "https://registry.npmmirror.com/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz",
"integrity": "sha512-B77tOZrqqfUfnVcOrUvfdLbz4pu4RopLD/4vmu3HUPswwTA8OH0EMW9BlWR2B0RCoiZRAHEUu7IxeP1Pd1UU+g==", "integrity": "sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==",
"dependencies": { "dependencies": {
"domhandler": "^5.0.2", "parse5": "^6.0.1"
"parse5": "^7.0.0"
},
"funding": {
"url": "https://github.com/inikulin/parse5?sponsor=1"
} }
}, },
"node_modules/path-browserify": { "node_modules/path-browserify": {
@ -11968,33 +11973,6 @@
"node": ">=10.0.0" "node": ">=10.0.0"
} }
}, },
"node_modules/web-resource-inliner/node_modules/dom-serializer": {
"version": "1.4.1",
"resolved": "https://registry.npmmirror.com/dom-serializer/-/dom-serializer-1.4.1.tgz",
"integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==",
"dependencies": {
"domelementtype": "^2.0.1",
"domhandler": "^4.2.0",
"entities": "^2.0.0"
},
"funding": {
"url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
}
},
"node_modules/web-resource-inliner/node_modules/dom-serializer/node_modules/domhandler": {
"version": "4.3.1",
"resolved": "https://registry.npmmirror.com/domhandler/-/domhandler-4.3.1.tgz",
"integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==",
"dependencies": {
"domelementtype": "^2.2.0"
},
"engines": {
"node": ">= 4"
},
"funding": {
"url": "https://github.com/fb55/domhandler?sponsor=1"
}
},
"node_modules/web-resource-inliner/node_modules/domhandler": { "node_modules/web-resource-inliner/node_modules/domhandler": {
"version": "3.3.0", "version": "3.3.0",
"resolved": "https://registry.npmmirror.com/domhandler/-/domhandler-3.3.0.tgz", "resolved": "https://registry.npmmirror.com/domhandler/-/domhandler-3.3.0.tgz",
@ -12009,33 +11987,6 @@
"url": "https://github.com/fb55/domhandler?sponsor=1" "url": "https://github.com/fb55/domhandler?sponsor=1"
} }
}, },
"node_modules/web-resource-inliner/node_modules/domutils": {
"version": "2.8.0",
"resolved": "https://registry.npmmirror.com/domutils/-/domutils-2.8.0.tgz",
"integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==",
"dependencies": {
"dom-serializer": "^1.0.1",
"domelementtype": "^2.2.0",
"domhandler": "^4.2.0"
},
"funding": {
"url": "https://github.com/fb55/domutils?sponsor=1"
}
},
"node_modules/web-resource-inliner/node_modules/domutils/node_modules/domhandler": {
"version": "4.3.1",
"resolved": "https://registry.npmmirror.com/domhandler/-/domhandler-4.3.1.tgz",
"integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==",
"dependencies": {
"domelementtype": "^2.2.0"
},
"engines": {
"node": ">= 4"
},
"funding": {
"url": "https://github.com/fb55/domhandler?sponsor=1"
}
},
"node_modules/web-resource-inliner/node_modules/entities": { "node_modules/web-resource-inliner/node_modules/entities": {
"version": "2.2.0", "version": "2.2.0",
"resolved": "https://registry.npmmirror.com/entities/-/entities-2.2.0.tgz", "resolved": "https://registry.npmmirror.com/entities/-/entities-2.2.0.tgz",

View File

@ -31,7 +31,7 @@
"element-plus": "^2.8.0", "element-plus": "^2.8.0",
"form-data": "4.0.0", "form-data": "4.0.0",
"highlight.js": "^11.10.0", "highlight.js": "^11.10.0",
"juice": "^10.0.1", "juice": "^8.0.0",
"katex": "^0.16.11", "katex": "^0.16.11",
"lucide-vue-next": "^0.428.0", "lucide-vue-next": "^0.428.0",
"marked": "^4.0.18", "marked": "^4.0.18",