@mongosh/shell-api
Advanced tools
Comparing version 0.0.2-alpha.0 to 0.0.3
@@ -7,2 +7,3 @@ export const unknown: { | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: { | ||
@@ -79,2 +80,3 @@ bsonsize: { | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: {}; | ||
@@ -84,2 +86,3 @@ }; | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: { | ||
@@ -302,2 +305,32 @@ 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[]; | ||
}; | ||
}; | ||
@@ -307,2 +340,3 @@ }; | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: { | ||
@@ -571,2 +605,3 @@ addOption: { | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: { | ||
@@ -595,2 +630,3 @@ runCommand: { | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: {}; | ||
@@ -600,2 +636,3 @@ }; | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: {}; | ||
@@ -605,2 +642,3 @@ }; | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: {}; | ||
@@ -610,2 +648,3 @@ }; | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: {}; | ||
@@ -615,2 +654,3 @@ }; | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: {}; | ||
@@ -620,2 +660,3 @@ }; | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: { | ||
@@ -644,3 +685,4 @@ use: { | ||
type: string; | ||
hasAsyncChild: boolean; | ||
attributes: {}; | ||
}; |
@@ -10,2 +10,3 @@ "use strict"; | ||
type: 'AggregationCursor', | ||
hasAsyncChild: false, | ||
attributes: { | ||
@@ -28,2 +29,3 @@ bsonsize: { type: 'function', returnsPromise: false, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] }, | ||
type: 'BulkWriteResult', | ||
hasAsyncChild: false, | ||
attributes: {} | ||
@@ -34,2 +36,3 @@ }; | ||
type: 'Collection', | ||
hasAsyncChild: true, | ||
attributes: { | ||
@@ -71,3 +74,8 @@ 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'] } | ||
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'] } | ||
} | ||
@@ -78,2 +86,3 @@ }; | ||
type: 'Cursor', | ||
hasAsyncChild: false, | ||
attributes: { | ||
@@ -128,2 +137,3 @@ addOption: { type: 'function', returnsPromise: false, returnType: 'unknown', serverVersions: ['0.0.0', '3.2.0'] }, | ||
type: 'Database', | ||
hasAsyncChild: true, | ||
attributes: { | ||
@@ -138,2 +148,3 @@ runCommand: { type: 'function', returnsPromise: false, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] }, | ||
type: 'DeleteResult', | ||
hasAsyncChild: false, | ||
attributes: {} | ||
@@ -144,2 +155,3 @@ }; | ||
type: 'InsertManyResult', | ||
hasAsyncChild: false, | ||
attributes: {} | ||
@@ -150,2 +162,3 @@ }; | ||
type: 'InsertOneResult', | ||
hasAsyncChild: false, | ||
attributes: {} | ||
@@ -156,2 +169,3 @@ }; | ||
type: 'ReplicaSet', | ||
hasAsyncChild: false, | ||
attributes: {} | ||
@@ -162,2 +176,3 @@ }; | ||
type: 'Shard', | ||
hasAsyncChild: false, | ||
attributes: {} | ||
@@ -168,2 +183,3 @@ }; | ||
type: 'ShellApi', | ||
hasAsyncChild: false, | ||
attributes: { | ||
@@ -178,2 +194,3 @@ use: { type: 'function', returnsPromise: false, returnType: 'unknown', serverVersions: ['0.0.0', '4.4.0'] }, | ||
type: 'UpdateResult', | ||
hasAsyncChild: false, | ||
attributes: {} | ||
@@ -180,0 +197,0 @@ }; |
{ | ||
"name": "@mongosh/shell-api", | ||
"version": "0.0.2-alpha.0", | ||
"version": "0.0.3", | ||
"description": "MongoDB Shell API Classes Package", | ||
@@ -23,4 +23,4 @@ "main": "lib/index.js", | ||
"report-supported-api": "ts-node bin/report-supported-api.ts", | ||
"test": "mocha --timeout 15000 --colors -r ts-node/register \"./src/**/*.spec.ts\"", | ||
"test-ci": "mocha --timeout 15000 -r ts-node/register \"./src/**/*.spec.ts\"", | ||
"test": "mocha --timeout 60000 --colors -r ts-node/register \"./src/**/*.spec.ts\"", | ||
"test-ci": "mocha --timeout 60000 -r ts-node/register \"./src/**/*.spec.ts\"", | ||
"prepublish": "npm run compile-ts" | ||
@@ -39,4 +39,4 @@ }, | ||
"dependencies": { | ||
"@mongosh/errors": "^0.0.2-alpha.0", | ||
"@mongosh/i18n": "^0.0.2-alpha.0", | ||
"@mongosh/errors": "^0.0.3", | ||
"@mongosh/i18n": "^0.0.3", | ||
"bson": "^4.0.4" | ||
@@ -47,3 +47,3 @@ }, | ||
}, | ||
"gitHead": "3f50f9f68db36b72dc4e01138a0e43be99d24271" | ||
"gitHead": "29ddcc8ed4d16fe7eeb8d17f0faf23eacaf619be" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
560747
7899
1
+ Added@mongosh/errors@0.0.3(transitive)
+ Added@mongosh/i18n@0.0.3(transitive)
- Removed@mongosh/errors@0.0.2-alpha.0(transitive)
- Removed@mongosh/i18n@0.0.2-alpha.0(transitive)
Updated@mongosh/errors@^0.0.3
Updated@mongosh/i18n@^0.0.3