@qp-mongosh/shell-api 0.0.0-dev.5 → 0.0.0-dev.9
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/.eslintignore +2 -2
- package/.eslintrc.js +1 -1
- package/AUTHORS +15 -15
- package/LICENSE +200 -200
- package/bin/report-missing-help.ts +24 -24
- package/bin/report-supported-api.ts +14 -14
- package/lib/abstract-cursor.d.ts +33 -33
- package/lib/abstract-cursor.js +191 -191
- package/lib/aggregation-cursor.d.ts +6 -6
- package/lib/aggregation-cursor.js +19 -19
- package/lib/bulk.d.ts +43 -43
- package/lib/bulk.js +223 -223
- package/lib/change-stream-cursor.d.ts +28 -28
- package/lib/change-stream-cursor.js +111 -111
- package/lib/collection.d.ts +95 -95
- package/lib/collection.js +964 -964
- package/lib/cursor.d.ts +32 -32
- package/lib/cursor.js +215 -215
- package/lib/database.d.ts +116 -116
- package/lib/database.js +1223 -1223
- package/lib/dbquery.d.ts +8 -8
- package/lib/dbquery.js +28 -28
- package/lib/decorators.d.ts +73 -73
- package/lib/decorators.js +395 -395
- package/lib/enums.d.ts +28 -28
- package/lib/enums.js +33 -33
- package/lib/error-codes.d.ts +12 -12
- package/lib/error-codes.js +19 -19
- package/lib/explainable-cursor.d.ts +11 -11
- package/lib/explainable-cursor.js +31 -31
- package/lib/explainable.d.ts +32 -32
- package/lib/explainable.js +166 -166
- package/lib/field-level-encryption.d.ts +50 -50
- package/lib/field-level-encryption.js +176 -176
- package/lib/help.d.ts +22 -22
- package/lib/help.js +26 -26
- package/lib/helpers.d.ts +71 -71
- package/lib/helpers.js +588 -588
- package/lib/index.d.ts +16 -16
- package/lib/index.js +45 -45
- package/lib/interruptor.d.ts +19 -19
- package/lib/interruptor.js +62 -62
- package/lib/mongo-errors.d.ts +5 -5
- package/lib/mongo-errors.js +37 -37
- package/lib/mongo.d.ts +75 -75
- package/lib/mongo.js +476 -476
- package/lib/no-db.d.ts +5 -5
- package/lib/no-db.js +28 -28
- package/lib/plan-cache.d.ts +16 -16
- package/lib/plan-cache.js +70 -70
- package/lib/replica-set.d.ts +45 -45
- package/lib/replica-set.js +314 -314
- package/lib/result.d.ts +61 -61
- package/lib/result.js +104 -104
- package/lib/session.d.ts +25 -25
- package/lib/session.js +88 -88
- package/lib/shard.d.ts +42 -42
- package/lib/shard.js +414 -414
- package/lib/shell-api.d.ts +52 -52
- package/lib/shell-api.js +298 -298
- package/lib/shell-bson.d.ts +40 -40
- package/lib/shell-bson.js +159 -159
- package/lib/shell-instance-state.d.ts +77 -77
- package/lib/shell-instance-state.js +392 -392
- package/package.json +47 -47
- package/tsconfig.lint.json +8 -8
package/package.json
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@qp-mongosh/shell-api",
|
|
3
|
-
"version": "0.0.0-dev.
|
|
4
|
-
"description": "MongoDB Shell API Classes Package",
|
|
5
|
-
"main": "lib/index.js",
|
|
6
|
-
"types": "lib/index.d.ts",
|
|
7
|
-
"config": {
|
|
8
|
-
"unsafe-perm": true
|
|
9
|
-
},
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "git://github.com/mongodb-js/mongosh.git"
|
|
13
|
-
},
|
|
14
|
-
"scripts": {
|
|
15
|
-
"compile-ts": "tsc -p tsconfig.json",
|
|
16
|
-
"pretest": "npm run compile-ts",
|
|
17
|
-
"lint": "eslint --report-unused-disable-directives \"./{src,test}/**/*.{js,ts,tsx}\"",
|
|
18
|
-
"check": "npm run lint && depcheck --skip-missing=true",
|
|
19
|
-
"report-missing-help": "ts-node bin/report-missing-help.ts",
|
|
20
|
-
"report-supported-api": "ts-node bin/report-supported-api.ts",
|
|
21
|
-
"test": "cross-env TS_NODE_PROJECT=../../config/tsconfig.test.json mocha -r \"../../scripts/import-expansions.js\" --timeout 60000 -r ts-node/register \"./src/**/*.spec.ts\"",
|
|
22
|
-
"test-ci": "node ../../scripts/run-if-package-requested.js npm test",
|
|
23
|
-
"test-apistrict-ci": "cross-env MONGOSH_TEST_FORCE_API_STRICT=1 npm run test-ci",
|
|
24
|
-
"prepublish": "npm run compile-ts"
|
|
25
|
-
},
|
|
26
|
-
"license": "Apache-2.0",
|
|
27
|
-
"publishConfig": {
|
|
28
|
-
"access": "public"
|
|
29
|
-
},
|
|
30
|
-
"engines": {
|
|
31
|
-
"node": ">=12.4.0"
|
|
32
|
-
},
|
|
33
|
-
"precommit": [
|
|
34
|
-
"build"
|
|
35
|
-
],
|
|
36
|
-
"dependencies": {
|
|
37
|
-
"@qp-mongosh/errors": "0.0.0-dev.
|
|
38
|
-
"@qp-mongosh/history": "0.0.0-dev.
|
|
39
|
-
"@qp-mongosh/i18n": "0.0.0-dev.
|
|
40
|
-
"@qp-mongosh/service-provider-core": "0.0.0-dev.
|
|
41
|
-
"qp-mongodb": "0.0.0-dev.
|
|
42
|
-
"mongodb-redact": "^0.2.2"
|
|
43
|
-
},
|
|
44
|
-
"devDependencies": {
|
|
45
|
-
"@qp-mongosh/types": "0.0.0-dev.
|
|
46
|
-
}
|
|
47
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@qp-mongosh/shell-api",
|
|
3
|
+
"version": "0.0.0-dev.9",
|
|
4
|
+
"description": "MongoDB Shell API Classes Package",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"types": "lib/index.d.ts",
|
|
7
|
+
"config": {
|
|
8
|
+
"unsafe-perm": true
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git://github.com/mongodb-js/mongosh.git"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"compile-ts": "tsc -p tsconfig.json",
|
|
16
|
+
"pretest": "npm run compile-ts",
|
|
17
|
+
"lint": "eslint --report-unused-disable-directives \"./{src,test}/**/*.{js,ts,tsx}\"",
|
|
18
|
+
"check": "npm run lint && depcheck --skip-missing=true",
|
|
19
|
+
"report-missing-help": "ts-node bin/report-missing-help.ts",
|
|
20
|
+
"report-supported-api": "ts-node bin/report-supported-api.ts",
|
|
21
|
+
"test": "cross-env TS_NODE_PROJECT=../../config/tsconfig.test.json mocha -r \"../../scripts/import-expansions.js\" --timeout 60000 -r ts-node/register \"./src/**/*.spec.ts\"",
|
|
22
|
+
"test-ci": "node ../../scripts/run-if-package-requested.js npm test",
|
|
23
|
+
"test-apistrict-ci": "cross-env MONGOSH_TEST_FORCE_API_STRICT=1 npm run test-ci",
|
|
24
|
+
"prepublish": "npm run compile-ts"
|
|
25
|
+
},
|
|
26
|
+
"license": "Apache-2.0",
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=12.4.0"
|
|
32
|
+
},
|
|
33
|
+
"precommit": [
|
|
34
|
+
"build"
|
|
35
|
+
],
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@qp-mongosh/errors": "0.0.0-dev.9",
|
|
38
|
+
"@qp-mongosh/history": "0.0.0-dev.9",
|
|
39
|
+
"@qp-mongosh/i18n": "0.0.0-dev.9",
|
|
40
|
+
"@qp-mongosh/service-provider-core": "0.0.0-dev.9",
|
|
41
|
+
"qp-mongodb": "0.0.0-dev.9",
|
|
42
|
+
"mongodb-redact": "^0.2.2"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@qp-mongosh/types": "0.0.0-dev.9"
|
|
46
|
+
}
|
|
47
|
+
}
|
package/tsconfig.lint.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./tsconfig.json",
|
|
3
|
-
"include": [
|
|
4
|
-
"./src/**/*",
|
|
5
|
-
"./test/**/*"
|
|
6
|
-
],
|
|
7
|
-
"exclude": []
|
|
8
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.json",
|
|
3
|
+
"include": [
|
|
4
|
+
"./src/**/*",
|
|
5
|
+
"./test/**/*"
|
|
6
|
+
],
|
|
7
|
+
"exclude": []
|
|
8
|
+
}
|