@mongosh/types 1.4.1 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AUTHORS +1 -0
- package/lib/index.d.ts +6 -6
- package/package.json +4 -4
- package/src/index.ts +8 -8
package/AUTHORS
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -64,13 +64,13 @@ export interface GlobalConfigFileLoadEvent {
|
|
|
64
64
|
filename: string;
|
|
65
65
|
found: boolean;
|
|
66
66
|
}
|
|
67
|
-
export interface
|
|
68
|
-
|
|
67
|
+
export interface CryptLibrarySkipEvent {
|
|
68
|
+
cryptSharedLibPath: string;
|
|
69
69
|
reason: string;
|
|
70
70
|
details?: any;
|
|
71
71
|
}
|
|
72
|
-
export interface
|
|
73
|
-
|
|
72
|
+
export interface CryptLibraryFoundEvent {
|
|
73
|
+
cryptSharedLibPath: string;
|
|
74
74
|
expectedVersion: {
|
|
75
75
|
versionStr: string;
|
|
76
76
|
};
|
|
@@ -166,8 +166,8 @@ export interface MongoshBusEventsMap extends ConnectEventMap {
|
|
|
166
166
|
'mongosh:mongoshrc-mongorc-warn': () => void;
|
|
167
167
|
'mongosh:eval-cli-script': () => void;
|
|
168
168
|
'mongosh:eval-interrupted': () => void;
|
|
169
|
-
'mongosh:
|
|
170
|
-
'mongosh:
|
|
169
|
+
'mongosh:crypt-library-load-skip': (ev: CryptLibrarySkipEvent) => void;
|
|
170
|
+
'mongosh:crypt-library-load-found': (ev: CryptLibraryFoundEvent) => void;
|
|
171
171
|
'mongosh:closed': () => void;
|
|
172
172
|
'mongosh:eval-complete': () => void;
|
|
173
173
|
'mongosh:autocompletion-complete': () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mongosh/types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "Types for mongosh internals",
|
|
5
5
|
"author": "Anna Henningsen <anna.henningsen@mongodb.com>",
|
|
6
6
|
"homepage": "https://github.com/mongodb-js/mongosh/tree/main/packages/types#readme",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
13
|
"engines": {
|
|
14
|
-
"node": ">=
|
|
14
|
+
"node": ">=14.15.1"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"unitTestsOnly": true
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@mongodb-js/devtools-connect": "^1.4.
|
|
35
|
+
"@mongodb-js/devtools-connect": "^1.4.3"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "0395e15ca5ffcad0aa22e337c014441e8da7909d"
|
|
38
38
|
}
|
package/src/index.ts
CHANGED
|
@@ -77,14 +77,14 @@ export interface GlobalConfigFileLoadEvent {
|
|
|
77
77
|
found: boolean;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
export interface
|
|
81
|
-
|
|
80
|
+
export interface CryptLibrarySkipEvent {
|
|
81
|
+
cryptSharedLibPath: string;
|
|
82
82
|
reason: string;
|
|
83
83
|
details?: any;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
export interface
|
|
87
|
-
|
|
86
|
+
export interface CryptLibraryFoundEvent {
|
|
87
|
+
cryptSharedLibPath: string;
|
|
88
88
|
expectedVersion: { versionStr: string };
|
|
89
89
|
}
|
|
90
90
|
|
|
@@ -261,13 +261,13 @@ export interface MongoshBusEventsMap extends ConnectEventMap {
|
|
|
261
261
|
*/
|
|
262
262
|
'mongosh:eval-interrupted': () => void;
|
|
263
263
|
/**
|
|
264
|
-
* Signals that a potential
|
|
264
|
+
* Signals that a potential crypt library search path was skipped.
|
|
265
265
|
*/
|
|
266
|
-
'mongosh:
|
|
266
|
+
'mongosh:crypt-library-load-skip': (ev: CryptLibrarySkipEvent) => void;
|
|
267
267
|
/**
|
|
268
|
-
* Signals that a potential
|
|
268
|
+
* Signals that a potential crypt library search path was accepted.
|
|
269
269
|
*/
|
|
270
|
-
'mongosh:
|
|
270
|
+
'mongosh:crypt-library-load-found': (ev: CryptLibraryFoundEvent) => void;
|
|
271
271
|
/**
|
|
272
272
|
* Signals that the CLI REPL's `close` method has completed.
|
|
273
273
|
* _ONLY AVAILABLE FOR TESTING._
|