Skip to content

Commit caaf3eb

Browse files
committed
chore: fix shell-api, worker-thread tests
1 parent d071833 commit caaf3eb

File tree

4 files changed

+30
-1
lines changed

4 files changed

+30
-1
lines changed

package-lock.json

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/node-runtime-worker-thread/package.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,26 @@
5656
"dependencies": {
5757
"interruptor": "^1.0.1",
5858
"system-ca": "^2.0.1"
59+
},
60+
"optionalDependencies": {
61+
"glibc-version": "^1.0.0",
62+
"macos-export-certificate-and-key": "^1.2.4",
63+
"win-export-certificate-and-key": "^2.1.0"
64+
},
65+
"mongosh": {
66+
"ciRequiredOptionalDependencies": {
67+
"macos-export-certificate-and-key": [
68+
"darwin"
69+
],
70+
"win-export-certificate-and-key": [
71+
"win32"
72+
],
73+
"get-console-process-list": [
74+
"win32"
75+
],
76+
"glibc-version": [
77+
"linux"
78+
]
79+
}
5980
}
6081
}

packages/shell-api/src/deep-inspect/custom-inspect.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type { InspectOptions, inspect as _inspect } from 'util';
2+
import type { Document } from '@mongosh/service-provider-core';
23

34
const customInspectSymbol = Symbol.for('nodejs.util.inspect.custom');
45

packages/shell-api/src/shell-instance-state.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type {
33
AutoEncryptionOptions,
44
ConnectionExtraInfo,
55
ConnectionInfo,
6+
Document,
67
ServerApi,
78
ServiceProvider,
89
ServiceProviderBaseCursor,

0 commit comments

Comments
 (0)