Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mongosh/types

Package Overview
Dependencies
Maintainers
11
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mongosh/types - npm Package Compare versions

Comparing version 0.9.0 to 0.10.0

AUTHORS

29

lib/index.d.ts

@@ -43,2 +43,22 @@ export interface ApiEventArguments {

}
export interface ScriptLoadFileEvent {
nested: boolean;
filename: string;
}
export interface StartLoadingCliScriptsEvent {
usesShellOption: boolean;
}
export interface MongocryptdTrySpawnEvent {
spawnPath: string[];
path: string;
}
export interface MongocryptdErrorEvent {
cause: string;
error?: Error;
stderr?: string;
}
export interface MongocryptdLogEvent {
pid: number;
logEntry: any;
}
export interface MongoshBusEventsMap {

@@ -58,2 +78,11 @@ 'mongosh:connect': (ev: ConnectEvent) => void;

'mongosh:warn': (ev: ApiWarning) => void;
'mongosh:api-load-file': (ev: ScriptLoadFileEvent) => void;
'mongosh:start-loading-cli-scripts': (event: StartLoadingCliScriptsEvent) => void;
'mongosh:start-mongosh-repl': () => void;
'mongosh:mongoshrc-load': () => void;
'mongosh:mongoshrc-mongorc-warn': () => void;
'mongosh:eval-cli-script': () => void;
'mongosh:mongocryptd-tryspawn': (ev: MongocryptdTrySpawnEvent) => void;
'mongosh:mongocryptd-error': (ev: MongocryptdErrorEvent) => void;
'mongosh:mongocryptd-log': (ev: MongocryptdLogEvent) => void;
'mongosh:closed': () => void;

@@ -60,0 +89,0 @@ 'mongosh:eval-complete': () => void;

4

package.json
{
"name": "@mongosh/types",
"version": "0.9.0",
"version": "0.10.0",
"description": "Types for mongosh internals",

@@ -30,3 +30,3 @@ "author": "Anna Henningsen <anna.henningsen@mongodb.com>",

},
"gitHead": "be8b2a857c1a6ea05ec598273c68b4703d7c5a54"
"gitHead": "39036d7555041ed6d9f10d0a65726c2281a5e534"
}

@@ -51,2 +51,27 @@ /* eslint camelcase: 0 */

export interface ScriptLoadFileEvent {
nested: boolean;
filename: string;
}
export interface StartLoadingCliScriptsEvent {
usesShellOption: boolean;
}
export interface MongocryptdTrySpawnEvent {
spawnPath: string[];
path: string;
}
export interface MongocryptdErrorEvent {
cause: string;
error?: Error;
stderr?: string;
}
export interface MongocryptdLogEvent {
pid: number;
logEntry: any;
}
export interface MongoshBusEventsMap {

@@ -66,2 +91,11 @@ 'mongosh:connect': (ev: ConnectEvent) => void;

'mongosh:warn': (ev: ApiWarning) => void;
'mongosh:api-load-file': (ev: ScriptLoadFileEvent) => void;
'mongosh:start-loading-cli-scripts': (event: StartLoadingCliScriptsEvent) => void;
'mongosh:start-mongosh-repl': () => void;
'mongosh:mongoshrc-load': () => void;
'mongosh:mongoshrc-mongorc-warn': () => void;
'mongosh:eval-cli-script': () => void;
'mongosh:mongocryptd-tryspawn': (ev: MongocryptdTrySpawnEvent) => void;
'mongosh:mongocryptd-error': (ev: MongocryptdErrorEvent) => void;
'mongosh:mongocryptd-log': (ev: MongocryptdLogEvent) => void;
'mongosh:closed': () => void; // For testing.

@@ -68,0 +102,0 @@ 'mongosh:eval-complete': () => void; // For testing.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc