Skip to content

Commit

Permalink
build(deps): bump bson from 5.2.0 to 6.2.0 (#773)
Browse files Browse the repository at this point in the history
* build(deps): bump bson from 5.2.0 to 6.2.0

Bumps [bson](https://github.com/mongodb/js-bson) from 5.2.0 to 6.2.0.
- [Release notes](https://github.com/mongodb/js-bson/releases)
- [Changelog](https://github.com/mongodb/js-bson/blob/main/HISTORY.md)
- [Commits](mongodb/js-bson@v5.2.0...v6.2.0)

---
updated-dependencies:
- dependency-name: bson
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: update bson and mongoose dependencies

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Konstantinos Kopanidis <[email protected]>
  • Loading branch information
dependabot[bot] and kkopanidis authored Jan 26, 2024
1 parent bedf994 commit ea61a43
Show file tree
Hide file tree
Showing 6 changed files with 80 additions and 183 deletions.
2 changes: 1 addition & 1 deletion libraries/grpc-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@
"typescript": "~5.2.2"
},
"peerDependencies": {
"@grpc/grpc-js": "^1.5.2"
"@grpc/grpc-js": "^1.9.7"
}
}
2 changes: 1 addition & 1 deletion libraries/module-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"typescript": "~5.2.2"
},
"peerDependencies": {
"@grpc/grpc-js": "^1.5.2",
"@grpc/grpc-js": "^1.9.7",
"@conduitplatform/grpc-sdk": "*"
}
}
9 changes: 4 additions & 5 deletions modules/database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,15 @@
"@conduitplatform/module-tools": "*",
"@grpc/grpc-js": "^1.9.7",
"@grpc/proto-loader": "^0.7.6",
"bson": "^5.2.0",
"bson": "^6.2.0",
"deepdash": "^5.3.9",
"deepdash-es": "^5.3.9",
"dottie": "^2.0.6",
"escape-string-regexp": "^4.0.0",
"lodash": "^4.17.21",
"mariadb": "^3.2.3",
"mongodb-extended-json": "^1.11.0",
"mongodb-schema": "^11.2.2",
"mongoose": "7.5.0",
"mongodb-schema": "^12.1.1",
"mongoose": "8.1.1",
"mysql2": "^3.6.5",
"object-hash": "^3.0.0",
"pg": "^8.11.3",
Expand All @@ -50,9 +49,9 @@
"registry": "https://npm.pkg.github.com/"
},
"devDependencies": {
"@types/dottie": "^2.0.7",
"@types/lodash": "^4.14.200",
"@types/node": "20.10.3",
"@types/dottie": "^2.0.7",
"copyfiles": "^2.4.1",
"rimraf": "^5.0.5",
"ts-proto": "^1.160.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ import ConduitGrpcSdk, {
} from '@conduitplatform/grpc-sdk';
import { cloneDeep, isNil } from 'lodash';
import { parseQuery } from './parser';

const EJSON = require('mongodb-extended-json');
import { EJSON } from 'bson';

export class MongooseSchema extends SchemaAdapter<Model<any>> {
model: Model<any>;
Expand Down
2 changes: 1 addition & 1 deletion modules/database/src/adapters/mongoose-adapter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import {
introspectedSchemaCmsOptionsDefaults,
} from '../../interfaces';
import { isNil } from 'lodash';
import { EJSON } from 'bson';

const EJSON = require('mongodb-extended-json');
const parseSchema = require('mongodb-schema');

export class MongooseAdapter extends DatabaseAdapter<MongooseSchema> {
Expand Down
Loading

0 comments on commit ea61a43

Please sign in to comment.