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-alpha.18 to 0.0.1-alpha.19

lib/api-type.d.ts

16

lib/command-result.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var CommandResult = (function () {
function CommandResult(_a) {
var value = _a.value;
class CommandResult {
constructor({ value }) {
this.value = value;
}
CommandResult.prototype.shellApiType = function () {
shellApiType() {
return 'CommandResult';
};
CommandResult.prototype.toReplString = function () {
}
toReplString() {
return this.value;
};
return CommandResult;
}());
}
}
exports.CommandResult = CommandResult;
//# sourceMappingURL=command-result.js.map

@@ -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: {

@@ -339,3 +336,2 @@ aggregate: {

type: string;
hasAsyncChild: boolean;
attributes: {

@@ -604,3 +600,2 @@ addOption: {

type: string;
hasAsyncChild: boolean;
attributes: {

@@ -629,3 +624,2 @@ runCommand: {

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

@@ -635,3 +629,2 @@ };

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

@@ -641,3 +634,2 @@ };

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

@@ -647,3 +639,2 @@ };

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

@@ -653,3 +644,2 @@ };

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

@@ -659,3 +649,2 @@ };

type: string;
hasAsyncChild: boolean;
attributes: {

@@ -684,4 +673,3 @@ use: {

type: string;
hasAsyncChild: boolean;
attributes: {};
};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var unknown = {
const unknown = {
type: 'unknown',

@@ -8,5 +8,4 @@ attributes: {}

exports.unknown = unknown;
var AggregationCursor = {
const AggregationCursor = {
type: 'AggregationCursor',
hasAsyncChild: false,
attributes: {

@@ -27,11 +26,9 @@ bsonsize: { type: 'function', returnsPromise: false, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] },

exports.AggregationCursor = AggregationCursor;
var BulkWriteResult = {
const BulkWriteResult = {
type: 'BulkWriteResult',
hasAsyncChild: false,
attributes: {}
};
exports.BulkWriteResult = BulkWriteResult;
var Collection = {
const Collection = {
type: 'Collection',
hasAsyncChild: true,
attributes: {

@@ -82,5 +79,4 @@ aggregate: { type: 'function', returnsPromise: false, returnType: 'AggregationCursor', serverVersions: ['0.0.0', '4.4.0'] },

exports.Collection = Collection;
var Cursor = {
const Cursor = {
type: 'Cursor',
hasAsyncChild: false,
attributes: {

@@ -133,5 +129,4 @@ addOption: { type: 'function', returnsPromise: false, returnType: 'unknown', serverVersions: ['0.0.0', '3.2.0'] },

exports.Cursor = Cursor;
var Database = {
const Database = {
type: 'Database',
hasAsyncChild: true,
attributes: {

@@ -144,35 +139,29 @@ runCommand: { type: 'function', returnsPromise: false, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] },

exports.Database = Database;
var DeleteResult = {
const DeleteResult = {
type: 'DeleteResult',
hasAsyncChild: false,
attributes: {}
};
exports.DeleteResult = DeleteResult;
var InsertManyResult = {
const InsertManyResult = {
type: 'InsertManyResult',
hasAsyncChild: false,
attributes: {}
};
exports.InsertManyResult = InsertManyResult;
var InsertOneResult = {
const InsertOneResult = {
type: 'InsertOneResult',
hasAsyncChild: false,
attributes: {}
};
exports.InsertOneResult = InsertOneResult;
var ReplicaSet = {
const ReplicaSet = {
type: 'ReplicaSet',
hasAsyncChild: false,
attributes: {}
};
exports.ReplicaSet = ReplicaSet;
var Shard = {
const Shard = {
type: 'Shard',
hasAsyncChild: false,
attributes: {}
};
exports.Shard = Shard;
var ShellApi = {
const ShellApi = {
type: 'ShellApi',
hasAsyncChild: false,
attributes: {

@@ -185,5 +174,4 @@ use: { type: 'function', returnsPromise: false, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] },

exports.ShellApi = ShellApi;
var UpdateResult = {
const UpdateResult = {
type: 'UpdateResult',
hasAsyncChild: false,
attributes: {}

@@ -190,0 +178,0 @@ };

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

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

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

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

},
"gitHead": "483db23e8e7587ee069f0eb27f88b9e0b3b2141a"
"gitHead": "8413de42aa5f25f9d9d6923cc2ae7e6af7a43b5e"
}

Sorry, the diff of this file is not supported yet

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