Merge pull request #2324 from balena-os/update-type-dependencies

Update @types dependencies
This commit is contained in:
Page- 2024-04-29 17:09:17 +01:00 committed by GitHub
commit 1d1fb6885c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 102 additions and 85 deletions

151
package-lock.json generated
View File

@ -17,37 +17,37 @@
"@balena/contrato": "^0.6.0",
"@balena/es-version": "^1.0.3",
"@balena/lint": "^8.0.2",
"@types/bluebird": "^3.5.37",
"@types/chai": "^4.3.3",
"@types/chai-as-promised": "^7.1.5",
"@types/chai-like": "^1.1.1",
"@types/bluebird": "^3.5.42",
"@types/chai": "^4.3.14",
"@types/chai-as-promised": "^7.1.8",
"@types/chai-like": "^1.1.3",
"@types/chai-things": "0.0.38",
"@types/common-tags": "^1.8.1",
"@types/common-tags": "^1.8.4",
"@types/dockerode": "^3.3.28",
"@types/event-stream": "^3.3.34",
"@types/express": "^4.17.14",
"@types/express": "^4.17.21",
"@types/json-mask": "^2.0.3",
"@types/JSONStream": "npm:@types/jsonstream@^0.8.33",
"@types/lodash": "^4.14.186",
"@types/memoizee": "^0.4.8",
"@types/lodash": "^4.17.0",
"@types/memoizee": "^0.4.11",
"@types/mocha": "^10.0.6",
"@types/morgan": "^1.9.3",
"@types/node": "^20.11.24",
"@types/request": "^2.48.8",
"@types/rewire": "^2.5.28",
"@types/rwlock": "^5.0.3",
"@types/semver": "^7.3.12",
"@types/shell-quote": "^1.7.1",
"@types/morgan": "^1.9.9",
"@types/node": "^20.12.7",
"@types/request": "^2.48.12",
"@types/rewire": "^2.5.30",
"@types/rwlock": "^5.0.6",
"@types/semver": "^7.5.8",
"@types/shell-quote": "^1.7.5",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^3.2.12",
"@types/supertest": "^6.0.2",
"@types/tar-stream": "^3.1.3",
"@types/webpack": "^5.28.0",
"@types/webpack": "^5.28.5",
"@types/yargs": "^17.0.32",
"balena-auth": "^6.0.1",
"balena-register-device": "^9.0.2",
"balena-request": "^13.3.1",
"blinking": "^0.0.7",
"blinking": "^0.0.8",
"bluebird": "^3.7.2",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
@ -1194,9 +1194,9 @@
"dev": true
},
"node_modules/@types/bluebird": {
"version": "3.5.37",
"resolved": "https://registry.npmjs.org/@types/bluebird/-/bluebird-3.5.37.tgz",
"integrity": "sha512-g2qEd+zkfkTEudA2SrMAeAvY7CrFqtbsLILm2dT2VIeKTqMqVzcdfURlvu6FU3srRgbmXN1Srm94pg34EIehww==",
"version": "3.5.42",
"resolved": "https://registry.npmjs.org/@types/bluebird/-/bluebird-3.5.42.tgz",
"integrity": "sha512-Jhy+MWRlro6UjVi578V/4ZGNfeCOcNCp0YaFNIUGFKlImowqwb1O/22wDVk3FDGMLqxdpOV3qQHD5fPEH4hK6A==",
"dev": true
},
"node_modules/@types/body-parser": {
@ -1216,24 +1216,24 @@
"dev": true
},
"node_modules/@types/chai": {
"version": "4.3.3",
"resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.3.tgz",
"integrity": "sha512-hC7OMnszpxhZPduX+m+nrx+uFoLkWOMiR4oa/AZF3MuSETYTZmFfJAHqZEM8MVlvfG7BEUcgvtwoCTxBp6hm3g==",
"version": "4.3.14",
"resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.14.tgz",
"integrity": "sha512-Wj71sXE4Q4AkGdG9Tvq1u/fquNz9EdG4LIJMwVVII7ashjD/8cf8fyIfJAjRr6YcsXnSE8cOGQPq1gqeR8z+3w==",
"dev": true
},
"node_modules/@types/chai-as-promised": {
"version": "7.1.5",
"resolved": "https://registry.npmjs.org/@types/chai-as-promised/-/chai-as-promised-7.1.5.tgz",
"integrity": "sha512-jStwss93SITGBwt/niYrkf2C+/1KTeZCZl1LaeezTlqppAKeoQC7jxyqYuP72sxBGKCIbw7oHgbYssIRzT5FCQ==",
"version": "7.1.8",
"resolved": "https://registry.npmjs.org/@types/chai-as-promised/-/chai-as-promised-7.1.8.tgz",
"integrity": "sha512-ThlRVIJhr69FLlh6IctTXFkmhtP3NpMZ2QGq69StYLyKZFp/HOp1VdKZj7RvfNWYYcJ1xlbLGLLWj1UvP5u/Gw==",
"dev": true,
"dependencies": {
"@types/chai": "*"
}
},
"node_modules/@types/chai-like": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@types/chai-like/-/chai-like-1.1.1.tgz",
"integrity": "sha512-s46EZsupBuVhLn66DbRee5B0SELLmL4nFXVrBiV29BxLGm9Sh7Bful623j3AfiQRu2zAP4cnlZ3ETWB3eWc4bA==",
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/@types/chai-like/-/chai-like-1.1.3.tgz",
"integrity": "sha512-AEGBQz8wcPhvytKR5EP3HiQrmUeg6HP/ZgNnGWnLaQA4fyZ7kDS1/wbSBLN4CBTMobK4wM2SpksVWzTXWQ8r3w==",
"dev": true,
"dependencies": {
"@types/chai": "*"
@ -1249,9 +1249,9 @@
}
},
"node_modules/@types/common-tags": {
"version": "1.8.1",
"resolved": "https://registry.npmjs.org/@types/common-tags/-/common-tags-1.8.1.tgz",
"integrity": "sha512-20R/mDpKSPWdJs5TOpz3e7zqbeCNuMCPhV7Yndk9KU2Rbij2r5W4RzwDPkzC+2lzUqXYu9rFzTktCBnDjHuNQg==",
"version": "1.8.4",
"resolved": "https://registry.npmjs.org/@types/common-tags/-/common-tags-1.8.4.tgz",
"integrity": "sha512-S+1hLDJPjWNDhcGxsxEbepzaxWqURP/o+3cP4aa2w7yBXgdcmKGQtZzP8JbyfOd0m+33nh+8+kvxYE2UJtBDkg==",
"dev": true
},
"node_modules/@types/connect": {
@ -1332,26 +1332,27 @@
}
},
"node_modules/@types/express": {
"version": "4.17.14",
"resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.14.tgz",
"integrity": "sha512-TEbt+vaPFQ+xpxFLFssxUDXj5cWCxZJjIcB7Yg0k0GMHGtgtQgpvx/MUQUeAkNbA9AAGrwkAsoeItdTgS7FMyg==",
"version": "4.17.21",
"resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz",
"integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==",
"dev": true,
"dependencies": {
"@types/body-parser": "*",
"@types/express-serve-static-core": "^4.17.18",
"@types/express-serve-static-core": "^4.17.33",
"@types/qs": "*",
"@types/serve-static": "*"
}
},
"node_modules/@types/express-serve-static-core": {
"version": "4.17.31",
"resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.31.tgz",
"integrity": "sha512-DxMhY+NAsTwMMFHBTtJFNp5qiHKJ7TeqOo23zVEM9alT1Ml27Q3xcTH0xwxn7Q0BbMcVEJOs/7aQtUWupUQN3Q==",
"version": "4.19.0",
"resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.0.tgz",
"integrity": "sha512-bGyep3JqPCRry1wq+O5n7oiBgGWmeIJXPjXXCo8EK0u8duZGSYar7cGqd3ML2JUsLGeB7fmc06KYo9fLGWqPvQ==",
"dev": true,
"dependencies": {
"@types/node": "*",
"@types/qs": "*",
"@types/range-parser": "*"
"@types/range-parser": "*",
"@types/send": "*"
}
},
"node_modules/@types/http-cache-semantics": {
@ -1389,9 +1390,9 @@
}
},
"node_modules/@types/lodash": {
"version": "4.14.186",
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.186.tgz",
"integrity": "sha512-eHcVlLXP0c2FlMPm56ITode2AgLMSa6aJ05JTTbYbI+7EMkCEE5qk2E41d5g2lCVTqRe0GnnRFurmlCsDODrPw==",
"version": "4.17.0",
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.0.tgz",
"integrity": "sha512-t7dhREVv6dbNj0q17X12j7yDG4bD/DHYX7o5/DbDxobP0HnGPgpRz2Ej77aL7TZT3DSw13fqUTj8J4mMnqa7WA==",
"dev": true
},
"node_modules/@types/lru-cache": {
@ -1401,9 +1402,9 @@
"dev": true
},
"node_modules/@types/memoizee": {
"version": "0.4.8",
"resolved": "https://registry.npmjs.org/@types/memoizee/-/memoizee-0.4.8.tgz",
"integrity": "sha512-qDpXKGgwKywnQt/64fH1O0LiPA++QGIYeykEUiZ51HymKVRLnUSGcRuF60IfpPeeXiuRwiR/W4y7S5VzbrgLCA==",
"version": "0.4.11",
"resolved": "https://registry.npmjs.org/@types/memoizee/-/memoizee-0.4.11.tgz",
"integrity": "sha512-2gyorIBZu8GoDr9pYjROkxWWcFtHCquF7TVbN2I+/OvgZhnIGQS0vX5KJz4lXNKb8XOSfxFOSG5OLru1ESqLUg==",
"dev": true
},
"node_modules/@types/methods": {
@ -1431,9 +1432,9 @@
"dev": true
},
"node_modules/@types/morgan": {
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/@types/morgan/-/morgan-1.9.3.tgz",
"integrity": "sha512-BiLcfVqGBZCyNCnCH3F4o2GmDLrpy0HeBVnNlyZG4fo88ZiE9SoiBe3C+2ezuwbjlEyT+PDZ17//TAlRxAn75Q==",
"version": "1.9.9",
"resolved": "https://registry.npmjs.org/@types/morgan/-/morgan-1.9.9.tgz",
"integrity": "sha512-iRYSDKVaC6FkGSpEVVIvrRGw0DfJMiQzIn3qr2G5B3C//AWkulhXgaBd7tS9/J79GWSYMTHGs7PfI5b3Y8m+RQ==",
"dev": true,
"dependencies": {
"@types/node": "*"
@ -1473,9 +1474,9 @@
"dev": true
},
"node_modules/@types/request": {
"version": "2.48.8",
"resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.8.tgz",
"integrity": "sha512-whjk1EDJPcAR2kYHRbFl/lKeeKYTi05A15K9bnLInCVroNDCtXce57xKdI0/rQaA3K+6q0eFyUBPmqfSndUZdQ==",
"version": "2.48.12",
"resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.12.tgz",
"integrity": "sha512-G3sY+NpsA9jnwm0ixhAFQSJ3Q9JkpLZpJbI3GMv0mIAT0y3mRabYeINzal5WOChIiaTEGQYlHOKgkaM9EisWHw==",
"dev": true,
"dependencies": {
"@types/caseless": "*",
@ -1485,15 +1486,15 @@
}
},
"node_modules/@types/rewire": {
"version": "2.5.28",
"resolved": "https://registry.npmjs.org/@types/rewire/-/rewire-2.5.28.tgz",
"integrity": "sha512-uD0j/AQOa5le7afuK+u+woi8jNKF1vf3DN0H7LCJhft/lNNibUr7VcAesdgtWfEKveZol3ZG1CJqwx2Bhrnl8w==",
"version": "2.5.30",
"resolved": "https://registry.npmjs.org/@types/rewire/-/rewire-2.5.30.tgz",
"integrity": "sha512-CSyzr7TF1EUm85as2noToMtLaBBN/rKKlo5ZDdXedQ64cUiHT25LCNo1J1cI4QghBlGmTymElW/2h3TiWYOsZw==",
"dev": true
},
"node_modules/@types/rwlock": {
"version": "5.0.3",
"resolved": "https://registry.npmjs.org/@types/rwlock/-/rwlock-5.0.3.tgz",
"integrity": "sha512-R30oM++aVJ0Lcv4pHPTJWV8HvikNDroDbLxoRX9d5piGyhZzRAENXTBIMtceWKcnmscKfASk1Yg6Gr9+X5CTBw==",
"version": "5.0.6",
"resolved": "https://registry.npmjs.org/@types/rwlock/-/rwlock-5.0.6.tgz",
"integrity": "sha512-JcjZjGATVC+LoLd910jIEkbSVQpvxRvAhHqIYCl9sf0qvKp+m2ps/WfthQRqWUcE38pgiD6YqEQ5tK4oSNK1XA==",
"dev": true
},
"node_modules/@types/semver": {
@ -1502,6 +1503,22 @@
"integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==",
"dev": true
},
"node_modules/@types/send": {
"version": "0.17.4",
"resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz",
"integrity": "sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==",
"dev": true,
"dependencies": {
"@types/mime": "^1",
"@types/node": "*"
}
},
"node_modules/@types/send/node_modules/@types/mime": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz",
"integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==",
"dev": true
},
"node_modules/@types/serve-static": {
"version": "1.13.3",
"resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.3.tgz",
@ -1513,9 +1530,9 @@
}
},
"node_modules/@types/shell-quote": {
"version": "1.7.1",
"resolved": "https://registry.npmjs.org/@types/shell-quote/-/shell-quote-1.7.1.tgz",
"integrity": "sha512-SWZ2Nom1pkyXCDohRSrkSKvDh8QOG9RfAsrt5/NsPQC4UQJ55eG0qClA40I+Gkez4KTQ0uDUT8ELRXThf3J5jw==",
"version": "1.7.5",
"resolved": "https://registry.npmjs.org/@types/shell-quote/-/shell-quote-1.7.5.tgz",
"integrity": "sha512-+UE8GAGRPbJVQDdxi16dgadcBfQ+KG2vgZhV1+3A1XmHbmwcdwhCUwIdy+d3pAGrbvgRoVSjeI9vOWyq376Yzw==",
"dev": true
},
"node_modules/@types/sinon": {
@ -1604,9 +1621,9 @@
"dev": true
},
"node_modules/@types/webpack": {
"version": "5.28.0",
"resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-5.28.0.tgz",
"integrity": "sha512-8cP0CzcxUiFuA9xGJkfeVpqmWTk9nx6CWwamRGCj95ph1SmlRRk9KlCZ6avhCbZd4L68LvYT6l1kpdEnQXrF8w==",
"version": "5.28.5",
"resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-5.28.5.tgz",
"integrity": "sha512-wR87cgvxj3p6D0Crt1r5avwqffqPXUkNlnQ1mjU93G7gCuFjufZR4I6j8cz5g1F1tTYpfOOFvly+cmIQwL9wvw==",
"dev": true,
"dependencies": {
"@types/node": "*",
@ -3064,9 +3081,9 @@
}
},
"node_modules/blinking": {
"version": "0.0.7",
"resolved": "https://registry.npmjs.org/blinking/-/blinking-0.0.7.tgz",
"integrity": "sha512-/3h/sMnHBQuv2+DwLusVGwwswnftwJj0Zih91K5XikCsxgdi5rUJsX7cUhvBKsRBAawFUEzA5SrLoTO6ta2MnA==",
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/blinking/-/blinking-0.0.8.tgz",
"integrity": "sha512-eQMWYzX6EP+FSKpmOVN4Z47vZGcBrstAszrIVG5WExDDZneicaEz3kBNfARI7FcZ+pxIrbRx2bkh7bR6HrfbqA==",
"dev": true,
"dependencies": {
"@types/bluebird": "^3.5.36",

View File

@ -43,37 +43,37 @@
"@balena/contrato": "^0.6.0",
"@balena/es-version": "^1.0.3",
"@balena/lint": "^8.0.2",
"@types/bluebird": "^3.5.37",
"@types/chai": "^4.3.3",
"@types/chai-as-promised": "^7.1.5",
"@types/chai-like": "^1.1.1",
"@types/bluebird": "^3.5.42",
"@types/chai": "^4.3.14",
"@types/chai-as-promised": "^7.1.8",
"@types/chai-like": "^1.1.3",
"@types/chai-things": "0.0.38",
"@types/common-tags": "^1.8.1",
"@types/common-tags": "^1.8.4",
"@types/dockerode": "^3.3.28",
"@types/event-stream": "^3.3.34",
"@types/express": "^4.17.14",
"@types/express": "^4.17.21",
"@types/json-mask": "^2.0.3",
"@types/JSONStream": "npm:@types/jsonstream@^0.8.33",
"@types/lodash": "^4.14.186",
"@types/memoizee": "^0.4.8",
"@types/lodash": "^4.17.0",
"@types/memoizee": "^0.4.11",
"@types/mocha": "^10.0.6",
"@types/morgan": "^1.9.3",
"@types/node": "^20.11.24",
"@types/request": "^2.48.8",
"@types/rewire": "^2.5.28",
"@types/rwlock": "^5.0.3",
"@types/semver": "^7.3.12",
"@types/shell-quote": "^1.7.1",
"@types/morgan": "^1.9.9",
"@types/node": "^20.12.7",
"@types/request": "^2.48.12",
"@types/rewire": "^2.5.30",
"@types/rwlock": "^5.0.6",
"@types/semver": "^7.5.8",
"@types/shell-quote": "^1.7.5",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^3.2.12",
"@types/supertest": "^6.0.2",
"@types/tar-stream": "^3.1.3",
"@types/webpack": "^5.28.0",
"@types/webpack": "^5.28.5",
"@types/yargs": "^17.0.32",
"balena-auth": "^6.0.1",
"balena-register-device": "^9.0.2",
"balena-request": "^13.3.1",
"blinking": "^0.0.7",
"blinking": "^0.0.8",
"bluebird": "^3.7.2",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",

View File

@ -247,7 +247,7 @@ export function getHealthcheck(
): ServiceHealthcheck {
// get the image info healtcheck
const imageServiceHealthcheck = dockerHealthcheckToServiceHealthcheck(
_.get(imageInfo, 'Config.Healthcheck', null),
_.get(imageInfo, 'Config.Healthcheck'),
);
const composeServiceHealthcheck =
composeHealthcheckToServiceHealthcheck(composeHealthcheck);