fix: cheerio breaking the library on new installs and update punycode (#604)

* fix: hardlock dependencies to avoid problems

* chore: update punycode

* chore: update CHANGELOG
This commit is contained in:
CosminPerRam 2024-08-11 14:17:58 +03:00 committed by GitHub
parent 92c6e3ddbc
commit 53eace3cf8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 26 additions and 24 deletions

View file

@ -5,6 +5,8 @@
* Fix the `name` field on Minecraft servers running Velocity with multiple layers of color encoding (#595) * Fix the `name` field on Minecraft servers running Velocity with multiple layers of color encoding (#595)
* Added [Bun](https://bun.sh/) runtime support (#596) * Added [Bun](https://bun.sh/) runtime support (#596)
* Added a rules bytes return for valve protocol (By @blackwaterbread #597) * Added a rules bytes return for valve protocol (By @blackwaterbread #597)
* Lock dependencies to fix problems with cheerio's `1.0.0` release and update punycode to `2.3.1` to mitigate
a vulnerability (#604)
## 5.1.0 ## 5.1.0
* FOUNDRY - Added support (#585) * FOUNDRY - Added support (#585)

30
package-lock.json generated
View file

@ -9,15 +9,15 @@
"version": "5.1.0", "version": "5.1.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"cheerio": "^1.0.0-rc.12", "cheerio": "1.0.0-rc.12",
"gbxremote": "^0.2.1", "gbxremote": "0.2.1",
"got": "^13.0.0", "got": "13.0.0",
"iconv-lite": "^0.6.3", "iconv-lite": "0.6.3",
"long": "^5.2.3", "long": "5.2.3",
"minimist": "^1.2.8", "minimist": "1.2.8",
"punycode": "^2.3.0", "punycode": "2.3.1",
"seek-bzip": "^2.0.0", "seek-bzip": "2.0.0",
"varint": "^6.0.0" "varint": "6.0.0"
}, },
"bin": { "bin": {
"gamedig": "bin/gamedig.js" "gamedig": "bin/gamedig.js"
@ -2836,9 +2836,9 @@
"integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
}, },
"node_modules/punycode": { "node_modules/punycode": {
"version": "2.3.0", "version": "2.3.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
"integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
"engines": { "engines": {
"node": ">=6" "node": ">=6"
} }
@ -5438,9 +5438,9 @@
"integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
}, },
"punycode": { "punycode": {
"version": "2.3.0", "version": "2.3.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
"integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==" "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg=="
}, },
"queue-microtask": { "queue-microtask": {
"version": "1.2.3", "version": "1.2.3",

View file

@ -58,15 +58,15 @@
"README.md" "README.md"
], ],
"dependencies": { "dependencies": {
"cheerio": "^1.0.0-rc.12", "cheerio": "1.0.0-rc.12",
"gbxremote": "^0.2.1", "gbxremote": "0.2.1",
"got": "^13.0.0", "got": "13.0.0",
"iconv-lite": "^0.6.3", "iconv-lite": "0.6.3",
"long": "^5.2.3", "long": "5.2.3",
"minimist": "^1.2.8", "minimist": "1.2.8",
"punycode": "^2.3.0", "punycode": "2.3.1",
"seek-bzip": "^2.0.0", "seek-bzip": "2.0.0",
"varint": "^6.0.0" "varint": "6.0.0"
}, },
"devDependencies": { "devDependencies": {
"@types/cheerio": "^0.22.31", "@types/cheerio": "^0.22.31",