Socket
Socket
Sign inDemoInstall

@mongosh/shell-api

Package Overview
Dependencies
Maintainers
7
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mongosh/shell-api - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2-alpha.0

lib/aggregation-cursor.d.ts

42

lib/shell-types.d.ts

@@ -7,3 +7,2 @@ export const unknown: {

type: string;
hasAsyncChild: boolean;
attributes: {

@@ -80,3 +79,2 @@ bsonsize: {

type: string;
hasAsyncChild: boolean;
attributes: {};

@@ -86,3 +84,2 @@ };

type: string;
hasAsyncChild: boolean;
attributes: {

@@ -305,32 +302,2 @@ aggregate: {

};
getDB: {
type: string;
returnsPromise: boolean;
returnType: string;
serverVersions: string[];
};
stats: {
type: string;
returnsPromise: boolean;
returnType: string;
serverVersions: string[];
};
dataSize: {
type: string;
returnsPromise: boolean;
returnType: string;
serverVersions: string[];
};
storageSize: {
type: string;
returnsPromise: boolean;
returnType: string;
serverVersions: string[];
};
totalSize: {
type: string;
returnsPromise: boolean;
returnType: string;
serverVersions: string[];
};
};

@@ -340,3 +307,2 @@ };

type: string;
hasAsyncChild: boolean;
attributes: {

@@ -605,3 +571,2 @@ addOption: {

type: string;
hasAsyncChild: boolean;
attributes: {

@@ -630,3 +595,2 @@ runCommand: {

type: string;
hasAsyncChild: boolean;
attributes: {};

@@ -636,3 +600,2 @@ };

type: string;
hasAsyncChild: boolean;
attributes: {};

@@ -642,3 +605,2 @@ };

type: string;
hasAsyncChild: boolean;
attributes: {};

@@ -648,3 +610,2 @@ };

type: string;
hasAsyncChild: boolean;
attributes: {};

@@ -654,3 +615,2 @@ };

type: string;
hasAsyncChild: boolean;
attributes: {};

@@ -660,3 +620,2 @@ };

type: string;
hasAsyncChild: boolean;
attributes: {

@@ -685,4 +644,3 @@ use: {

type: string;
hasAsyncChild: boolean;
attributes: {};
};

19

lib/shell-types.js

@@ -10,3 +10,2 @@ "use strict";

type: 'AggregationCursor',
hasAsyncChild: false,
attributes: {

@@ -29,3 +28,2 @@ bsonsize: { type: 'function', returnsPromise: false, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] },

type: 'BulkWriteResult',
hasAsyncChild: false,
attributes: {}

@@ -36,3 +34,2 @@ };

type: 'Collection',
hasAsyncChild: true,
attributes: {

@@ -74,8 +71,3 @@ aggregate: { type: 'function', returnsPromise: false, returnType: 'AggregationCursor', serverVersions: ['0.0.0', '4.4.0'] },

reIndex: { type: 'function', returnsPromise: true, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] },
totalIndexSize: { type: 'function', returnsPromise: true, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] },
getDB: { type: 'function', returnsPromise: false, returnType: 'Database', serverVersions: ['0.0.0', '4.4.0'] },
stats: { type: 'function', returnsPromise: true, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] },
dataSize: { type: 'function', returnsPromise: true, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] },
storageSize: { type: 'function', returnsPromise: true, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] },
totalSize: { type: 'function', returnsPromise: true, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] }
totalIndexSize: { type: 'function', returnsPromise: true, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] }
}

@@ -86,3 +78,2 @@ };

type: 'Cursor',
hasAsyncChild: false,
attributes: {

@@ -137,3 +128,2 @@ addOption: { type: 'function', returnsPromise: false, returnType: 'unknown', serverVersions: ['0.0.0', '3.2.0'] },

type: 'Database',
hasAsyncChild: true,
attributes: {

@@ -148,3 +138,2 @@ runCommand: { type: 'function', returnsPromise: false, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] },

type: 'DeleteResult',
hasAsyncChild: false,
attributes: {}

@@ -155,3 +144,2 @@ };

type: 'InsertManyResult',
hasAsyncChild: false,
attributes: {}

@@ -162,3 +150,2 @@ };

type: 'InsertOneResult',
hasAsyncChild: false,
attributes: {}

@@ -169,3 +156,2 @@ };

type: 'ReplicaSet',
hasAsyncChild: false,
attributes: {}

@@ -176,3 +162,2 @@ };

type: 'Shard',
hasAsyncChild: false,
attributes: {}

@@ -183,3 +168,2 @@ };

type: 'ShellApi',
hasAsyncChild: false,
attributes: {

@@ -194,3 +178,2 @@ use: { type: 'function', returnsPromise: false, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] },

type: 'UpdateResult',
hasAsyncChild: false,
attributes: {}

@@ -197,0 +180,0 @@ };

{
"name": "@mongosh/shell-api",
"version": "0.0.1",
"version": "0.0.2-alpha.0",
"description": "MongoDB Shell API Classes Package",

@@ -38,4 +38,4 @@ "main": "lib/index.js",

"dependencies": {
"@mongosh/errors": "^0.0.1",
"@mongosh/i18n": "^0.0.1",
"@mongosh/errors": "^0.0.2-alpha.0",
"@mongosh/i18n": "^0.0.2-alpha.0",
"bson": "^4.0.4"

@@ -46,3 +46,3 @@ },

},
"gitHead": "3b44f9589c200426e882b3b2db30594a2c80e6f0"
"gitHead": "3f50f9f68db36b72dc4e01138a0e43be99d24271"
}

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