diff --git a/package-lock.json b/package-lock.json index cbe0aa0b6..901b22e9d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "loopback-datasource-juggler", - "version": "5.2.2", + "version": "6.0.0", "license": "MIT", "dependencies": { "async": "^3.2.6", @@ -28,7 +28,7 @@ "@commitlint/config-conventional": "^20.0.0", "@types/node": "^10.17.60", "async-iterators": "^0.2.2", - "bson": "^4.7.2", + "bson": "^7.0.0", "eslint": "^8.57.1", "eslint-config-loopback": "^13.1.0", "eslint-plugin-mocha": "^10.5.0", @@ -1295,41 +1295,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.0.0", + "resolved": "https://registry.npmjs.org/bson/-/bson-7.0.0.tgz", + "integrity": "sha512-Kwc6Wh4lQ5OmkqqKhYGKIuELXl+EPYSCObVE6bWsp1T/cGkOCBN0I8wF/T44BiuhHyNi1mmKVPXk60d41xZ7kw==", "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 7d2806e51..d66d48e16 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "@commitlint/config-conventional": "^20.0.0", "@types/node": "^10.17.60", "async-iterators": "^0.2.2", - "bson": "^4.7.2", + "bson": "^7.0.0", "eslint": "^8.57.1", "eslint-config-loopback": "^13.1.0", "eslint-plugin-mocha": "^10.5.0",