File tree 16 files changed +58
-48
lines changed
node-runtime-worker-thread
service-provider-node-driver
16 files changed +58
-48
lines changed Original file line number Diff line number Diff line change 107
107
"@types/which" : " ^1.3.2" ,
108
108
"chai" : " ^4.2.0" ,
109
109
"cross-env" : " ^6.0.3" ,
110
+ "depcheck" : " ^1.4.7" ,
110
111
"duplexpair" : " ^1.0.2" ,
111
112
"find-up" : " ^5.0.0" ,
112
113
"glob" : " ^10.3.12" ,
113
114
"husky" : " ^9.0.11" ,
114
115
"mocha" : " ^10.2.0" ,
115
- "mongodb" : " ^6.10 .0" ,
116
+ "mongodb" : " ^6.11 .0" ,
116
117
"mongodb-runner" : " ^5.7.1" ,
117
118
"node-gyp" : " ^9.0.0 || ^10.2.0" ,
118
119
"nyc" : " ^15.1.0" ,
130
131
"webpack-bundle-analyzer" : " ^4.7.0" ,
131
132
"webpack-cli" : " ^4.3.1" ,
132
133
"which" : " ^2.0.2" ,
133
- "yaml" : " ^1.10.0" ,
134
- "depcheck" : " ^1.4.7"
134
+ "yaml" : " ^1.10.0"
135
135
},
136
136
"optionalDependencies" : {
137
137
"lerna" : " ^8.1.8"
Original file line number Diff line number Diff line change 46
46
"@mongodb-js/tsconfig-mongosh" : " ^1.0.0" ,
47
47
"depcheck" : " ^1.4.7" ,
48
48
"eslint" : " ^7.25.0" ,
49
- "mongodb" : " ^6.10 .0" ,
49
+ "mongodb" : " ^6.11 .0" ,
50
50
"prettier" : " ^2.8.8"
51
51
}
52
52
}
Original file line number Diff line number Diff line change 69
69
"@babel/plugin-proposal-class-properties" : " ^7.8.3" ,
70
70
"@babel/preset-react" : " ^7.18.6" ,
71
71
"@babel/preset-typescript" : " ^7.18.6" ,
72
- "mongodb" : " ^6.10 .0" ,
72
+ "mongodb" : " ^6.11 .0" ,
73
73
"@mongodb-js/compass-components" : " *" ,
74
74
"@mongodb-js/compass-editor" : " *" ,
75
75
"@mongodb-js/eslint-config-mongosh" : " ^1.0.0" ,
Original file line number Diff line number Diff line change 42
42
"@mongodb-js/prettier-config-devtools" : " ^1.0.1" ,
43
43
"@mongodb-js/tsconfig-mongosh" : " ^1.0.0" ,
44
44
"@mongosh/types" : " 0.0.0-dev.0" ,
45
- "bson" : " ^6.9 .0" ,
45
+ "bson" : " ^6.10 .0" ,
46
46
"depcheck" : " ^1.4.7" ,
47
47
"eslint" : " ^7.25.0" ,
48
48
"prettier" : " ^2.8.8" ,
Original file line number Diff line number Diff line change 94
94
"yargs-parser" : " ^20.2.4"
95
95
},
96
96
"devDependencies" : {
97
- "mongodb" : " ^6.10 .0" ,
97
+ "mongodb" : " ^6.11 .0" ,
98
98
"@mongodb-js/eslint-config-mongosh" : " ^1.0.0" ,
99
99
"@mongodb-js/prettier-config-devtools" : " ^1.0.1" ,
100
100
"@mongodb-js/sbom-tools" : " ^0.7.0" ,
Original file line number Diff line number Diff line change 39
39
"@types/chai-as-promised" : " ^7.1.3" ,
40
40
"@types/node" : " ^14.14.6" ,
41
41
"@types/rimraf" : " ^3.0.0" ,
42
- "bson" : " ^6.9 .0" ,
42
+ "bson" : " ^6.10 .0" ,
43
43
"chai-as-promised" : " ^7.1.1" ,
44
44
"depcheck" : " ^1.4.7" ,
45
45
"eslint" : " ^7.25.0" ,
46
46
"lodash" : " ^4.17.21" ,
47
47
"moment" : " ^2.29.1" ,
48
- "mongodb" : " ^6.10 .0" ,
48
+ "mongodb" : " ^6.11 .0" ,
49
49
"node-fetch" : " ^3.3.2" ,
50
50
"prettier" : " ^2.8.8" ,
51
51
"rimraf" : " ^3.0.2"
Original file line number Diff line number Diff line change 42
42
"@mongosh/service-provider-core" : " 0.0.0-dev.0" ,
43
43
"@mongosh/service-provider-node-driver" : " 0.0.0-dev.0" ,
44
44
"@mongosh/types" : " 0.0.0-dev.0" ,
45
- "bson" : " ^6.9 .0" ,
45
+ "bson" : " ^6.10 .0" ,
46
46
"depcheck" : " ^1.4.7" ,
47
47
"eslint" : " ^7.25.0" ,
48
48
"mocha" : " ^10.2.0" ,
Original file line number Diff line number Diff line change 45
45
"dependencies" : {
46
46
"@aws-sdk/credential-providers" : " ^3.525.0" ,
47
47
"@mongosh/errors" : " 0.0.0-dev.0" ,
48
- "bson" : " ^6.9 .0" ,
49
- "mongodb" : " ^6.10 .0" ,
48
+ "bson" : " ^6.10 .0" ,
49
+ "mongodb" : " ^6.11 .0" ,
50
50
"mongodb-build-info" : " ^1.7.2" ,
51
51
"mongodb-connection-string-url" : " ^3.0.1"
52
52
},
Original file line number Diff line number Diff line change 48
48
},
49
49
"dependencies" : {
50
50
"@mongodb-js/devtools-connect" : " ^3.3.3" ,
51
- "@mongodb-js/oidc-plugin" : " ^1.1.2 " ,
51
+ "@mongodb-js/oidc-plugin" : " ^1.1.5 " ,
52
52
"@mongosh/errors" : " 0.0.0-dev.0" ,
53
53
"@mongosh/service-provider-core" : " 0.0.0-dev.0" ,
54
54
"@mongosh/types" : " 0.0.0-dev.0" ,
55
55
"aws4" : " ^1.12.0" ,
56
- "mongodb" : " ^6.10 .0" ,
56
+ "mongodb" : " ^6.11 .0" ,
57
57
"mongodb-connection-string-url" : " ^3.0.1" ,
58
58
"socks" : " ^2.8.3"
59
59
},
Original file line number Diff line number Diff line change 52
52
"@mongodb-js/prettier-config-devtools" : " ^1.0.1" ,
53
53
"@mongodb-js/tsconfig-mongosh" : " ^1.0.0" ,
54
54
"@mongosh/types" : " 0.0.0-dev.0" ,
55
- "bson" : " ^6.9 .0" ,
55
+ "bson" : " ^6.10 .0" ,
56
56
"depcheck" : " ^1.4.7" ,
57
57
"eslint" : " ^7.25.0" ,
58
- "mongodb" : " ^6.10 .0" ,
58
+ "mongodb" : " ^6.11 .0" ,
59
59
"prettier" : " ^2.8.8" ,
60
60
"semver" : " ^7.5.3"
61
61
}
Original file line number Diff line number Diff line change @@ -709,7 +709,11 @@ export default class Mongo extends ShellApiClass {
709
709
}
710
710
}
711
711
712
- const allSessionOptions = [ 'causalConsistency' , 'snapshot' ] as const ;
712
+ const allSessionOptions = [
713
+ 'causalConsistency' ,
714
+ 'snapshot' ,
715
+ 'defaultTimeoutMS' ,
716
+ ] as const ;
713
717
function assertAllSessionOptionsUsed (
714
718
// eslint-disable-next-line @typescript-eslint/no-unused-vars
715
719
_options : ( typeof allSessionOptions ) [ number ] | 'defaultTransactionOptions'
Original file line number Diff line number Diff line change @@ -392,6 +392,10 @@ export default function constructShellBson(
392
392
'prototype' ,
393
393
'createFromBase64' ,
394
394
'createFromHexString' ,
395
+ 'fromInt8Array' ,
396
+ 'fromFloat32Array' ,
397
+ 'fromPackedBits' ,
398
+ 'fromBits' ,
395
399
'BUFFER_SIZE' ,
396
400
'SUBTYPE_DEFAULT' ,
397
401
'SUBTYPE_FUNCTION' ,
@@ -402,7 +406,9 @@ export default function constructShellBson(
402
406
'SUBTYPE_ENCRYPTED' ,
403
407
'SUBTYPE_COLUMN' ,
404
408
'SUBTYPE_SENSITIVE' ,
409
+ 'SUBTYPE_VECTOR' ,
405
410
'SUBTYPE_USER_DEFINED' ,
411
+ 'VECTOR_TYPE' ,
406
412
] )
407
413
) ,
408
414
Double : assignAll (
Original file line number Diff line number Diff line change 39
39
"@mongosh/errors" : " 0.0.0-dev.0" ,
40
40
"@mongosh/shell-api" : " 0.0.0-dev.0" ,
41
41
"@mongosh/types" : " 0.0.0-dev.0" ,
42
- "bson" : " ^6.9 .0" ,
42
+ "bson" : " ^6.10 .0" ,
43
43
"cross-spawn" : " ^7.0.5" ,
44
44
"escape-string-regexp" : " ^4.0.0" ,
45
45
"joi" : " ^17.4.0" ,
Original file line number Diff line number Diff line change 46
46
"@mongodb-js/tsconfig-mongosh" : " ^1.0.0" ,
47
47
"depcheck" : " ^1.4.7" ,
48
48
"eslint" : " ^7.25.0" ,
49
- "mongodb" : " ^6.10 .0" ,
49
+ "mongodb" : " ^6.11 .0" ,
50
50
"prettier" : " ^2.8.8"
51
51
}
52
52
}
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ cd "$test_root_dir"
13
13
git clone --depth=10 https://github.com/mongodb-js/vscode.git
14
14
cd vscode
15
15
npm install --force
16
- rm -rf node_modules/@mongosh
17
- (cd node_modules && ln -s " $mongosh_root_dir /packages" @mongosh)
16
+ rm -rf node_modules/@mongosh node_modules/mongodb
17
+ (cd node_modules && ln -s " $mongosh_root_dir /packages" @mongosh && ln -s " $mongosh_root_dir /node_modules/mongodb " mongodb )
18
18
# This test can require a lot of memory so we bump the maximum size.
19
19
NODE_OPTIONS=--max-old-space-size=4096 npm test
20
20
cd /tmp
You can’t perform that action at this time.
0 commit comments