@mongosh/browser-runtime-core 3.26.2 → 3.29.0
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/.mocharc.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mongosh/browser-runtime-core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.29.0",
|
|
4
4
|
"description": "Mongosh browser runtime core",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"url": "git://github.com/mongodb-js/mongosh.git"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
|
-
"test": "mocha
|
|
18
|
+
"test": "mocha",
|
|
19
19
|
"test-ci": "node ../../scripts/run-if-package-requested.js npm test",
|
|
20
20
|
"test-coverage": "nyc --no-clean --cwd ../.. --reporter=none npm run test",
|
|
21
21
|
"test-ci-coverage": "nyc --no-clean --cwd ../.. --reporter=none npm run test-ci",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@mongodb-js/mongodb-ts-autocomplete": "^0.4.7",
|
|
43
43
|
"@mongodb-js/prettier-config-devtools": "^1.0.1",
|
|
44
44
|
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
|
|
45
|
-
"@mongosh/types": "^3.14.
|
|
45
|
+
"@mongosh/types": "^3.14.1",
|
|
46
46
|
"bson": "^6.10.4",
|
|
47
47
|
"depcheck": "^1.4.7",
|
|
48
48
|
"eslint": "^7.25.0",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"rimraf": "^3.0.2"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@mongosh/autocomplete": "^3.
|
|
54
|
-
"@mongosh/service-provider-core": "3.
|
|
55
|
-
"@mongosh/shell-api": "^3.
|
|
56
|
-
"@mongosh/shell-evaluator": "^3.
|
|
53
|
+
"@mongosh/autocomplete": "^3.29.0",
|
|
54
|
+
"@mongosh/service-provider-core": "3.7.0",
|
|
55
|
+
"@mongosh/shell-api": "^3.29.0",
|
|
56
|
+
"@mongosh/shell-evaluator": "^3.29.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "d2069810a846a535c51c88929224a57e49960778"
|
|
59
59
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { ShellApiAutocompleter } from './shell-api-autocompleter';
|
|
2
2
|
import { expect } from 'chai';
|
|
3
|
-
import { Topologies } from '@mongosh/shell-api';
|
|
4
3
|
import type { AutocompleteParameters } from '@mongosh/autocomplete';
|
|
5
4
|
import type { AutocompletionContext } from '@mongodb-js/mongodb-ts-autocomplete';
|
|
6
5
|
|
|
7
6
|
const standalone440Parameters: AutocompleteParameters = {
|
|
8
|
-
topology: () =>
|
|
7
|
+
topology: () => 'Standalone',
|
|
9
8
|
apiVersionInfo: () => undefined,
|
|
10
9
|
connectionInfo: () => ({
|
|
11
10
|
is_atlas: false,
|
|
@@ -4,7 +4,8 @@ import type { InterpreterEnvironment } from './';
|
|
|
4
4
|
import { OpenContextRuntime } from './';
|
|
5
5
|
import type { MongoshBus } from '@mongosh/types';
|
|
6
6
|
import type { ServiceProvider } from '@mongosh/service-provider-core';
|
|
7
|
-
import
|
|
7
|
+
import * as chai from 'chai';
|
|
8
|
+
import { expect } from 'chai';
|
|
8
9
|
import sinonChai from 'sinon-chai';
|
|
9
10
|
import type { StubbedInstance } from 'ts-sinon';
|
|
10
11
|
import { stubInterface } from 'ts-sinon';
|