@mongosh/browser-runtime-core 1.10.6 → 2.0.1

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/AUTHORS CHANGED
@@ -10,3 +10,4 @@ Michael Rose <michael_rose@gmx.de>
10
10
  github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
11
11
  Martin Rodriguez Reboredo <yakoyoku@gmail.com>
12
12
  Le Roux Bodenstein <lerouxb@gmail.com>
13
+ Basit <1305718+mabaasit@users.noreply.github.com>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mongosh/browser-runtime-core",
3
- "version": "1.10.6",
3
+ "version": "2.0.1",
4
4
  "description": "Mongosh browser runtime core",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -17,6 +17,8 @@
17
17
  "scripts": {
18
18
  "test": "mocha -r \"../../scripts/import-expansions.js\" --timeout 60000 -r ts-node/register \"./{src,lib}/**/*.spec.ts\"",
19
19
  "test-ci": "node ../../scripts/run-if-package-requested.js npm test",
20
+ "test-coverage": "nyc --no-clean --cwd ../.. --reporter=none npm run test",
21
+ "test-ci-coverage": "nyc --no-clean --cwd ../.. --reporter=none npm run test-ci",
20
22
  "eslint": "eslint",
21
23
  "lint": "npm run eslint . && npm run prettier -- --check .",
22
24
  "check": "npm run lint && npm run depcheck",
@@ -36,21 +38,21 @@
36
38
  "unitTestsOnly": true
37
39
  },
38
40
  "devDependencies": {
39
- "@mongodb-js/eslint-config-mongosh": "1.10.6",
41
+ "@mongodb-js/eslint-config-mongosh": "^1.0.0",
40
42
  "@mongodb-js/prettier-config-devtools": "^1.0.1",
41
- "@mongodb-js/tsconfig-mongosh": "1.10.6",
42
- "@mongosh/types": "1.10.6",
43
- "bson": "^5.3.0",
43
+ "@mongodb-js/tsconfig-mongosh": "^1.0.0",
44
+ "@mongosh/types": "2.0.1",
45
+ "bson": "^6.0.0",
44
46
  "depcheck": "^1.4.3",
45
47
  "eslint": "^7.25.0",
46
48
  "prettier": "^2.8.8",
47
49
  "rimraf": "^3.0.2"
48
50
  },
49
51
  "dependencies": {
50
- "@mongosh/autocomplete": "1.10.6",
51
- "@mongosh/service-provider-core": "1.10.6",
52
- "@mongosh/shell-api": "1.10.6",
53
- "@mongosh/shell-evaluator": "1.10.6"
52
+ "@mongosh/autocomplete": "2.0.1",
53
+ "@mongosh/service-provider-core": "2.0.1",
54
+ "@mongosh/shell-api": "2.0.1",
55
+ "@mongosh/shell-evaluator": "2.0.1"
54
56
  },
55
- "gitHead": "6bcde16381f6258d9be713998c67c48a99cfd691"
57
+ "gitHead": "225d4603f0d43d500a8847beaa980e906e9a35be"
56
58
  }
@@ -9,6 +9,7 @@ const standalone440 = {
9
9
  is_atlas: false,
10
10
  is_data_federation: false,
11
11
  server_version: '4.4.0',
12
+ is_local_atlas: false,
12
13
  }),
13
14
  getCollectionCompletionsForCurrentDb: () => ['bananas'],
14
15
  getDatabaseCompletions: () => ['databaseOne'],