diff --git a/package-lock.json b/package-lock.json index 220f29358..41c8f4c4e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,7 @@ "@commitlint/config-conventional": "^20.4.1", "@types/node": "^24.10.12", "async-iterators": "^0.2.2", - "bson": "^4.7.2", + "bson": "^7.2.0", "eslint": "^8.57.1", "eslint-config-loopback": "^13.1.0", "eslint-plugin-mocha": "^10.5.0", @@ -1263,41 +1263,13 @@ } }, "node_modules/bson": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/bson/-/bson-4.7.2.tgz", - "integrity": "sha512-Ry9wCtIZ5kGqkJoi6aD8KjxFZEx78guTQDnpXWiNthsxzrxAK/i8E6pCHAIZTbaEFWcOCvbecMukfK7XUvyLpQ==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/bson/-/bson-7.2.0.tgz", + "integrity": "sha512-YCEo7KjMlbNlyHhz7zAZNDpIpQbd+wOEHJYezv0nMYTn4x31eIUM2yomNNubclAt63dObUzKHWsBLJ9QcZNSnQ==", "dev": true, "license": "Apache-2.0", - "dependencies": { - "buffer": "^5.6.0" - }, "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" + "node": ">=20.19.0" } }, "node_modules/caching-transform": { diff --git a/package.json b/package.json index 69bb1fcd6..d3f95367e 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@commitlint/config-conventional": "^20.4.1", "@types/node": "^24.10.12", "async-iterators": "^0.2.2", - "bson": "^4.7.2", + "bson": "^7.2.0", "eslint": "^8.57.1", "eslint-config-loopback": "^13.1.0", "eslint-plugin-mocha": "^10.5.0",