@mongosh/browser-runtime-electron 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
@@ -0,0 +1,7 @@
1
+ {
2
+ "require": ["../../scripts/import-expansions.js", "ts-node/register"],
3
+ "timeout": 60000,
4
+ "reporter": "../../configs/mocha-config-mongosh/reporter.ts",
5
+ "spec": ["./{src,lib}/**/*.spec.ts"],
6
+ "exclude": ["**/node_modules/**"]
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mongosh/browser-runtime-electron",
3
- "version": "3.26.2",
3
+ "version": "3.29.0",
4
4
  "description": "Mongosh browser runtime electron",
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 -r \"../../scripts/import-expansions.js\" --timeout 60000 -r ts-node/register \"./{src,lib}/**/*.spec.ts\" --reporter \"../../configs/mocha-config-mongosh/reporter.ts\"",
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",
@@ -41,9 +41,9 @@
41
41
  "@mongodb-js/eslint-config-mongosh": "^1.0.0",
42
42
  "@mongodb-js/prettier-config-devtools": "^1.0.1",
43
43
  "@mongodb-js/tsconfig-mongosh": "^1.0.0",
44
- "@mongosh/service-provider-node-driver": "^3.17.5",
44
+ "@mongosh/service-provider-node-driver": "^3.18.0",
45
45
  "@types/sinon": "^7.5.1",
46
- "@types/sinon-chai": "^3.2.4",
46
+ "@types/sinon-chai": "^4.0.0",
47
47
  "bson": "^6.10.4",
48
48
  "depcheck": "^1.4.7",
49
49
  "eslint": "^7.25.0",
@@ -51,9 +51,9 @@
51
51
  "rimraf": "^3.0.2"
52
52
  },
53
53
  "dependencies": {
54
- "@mongosh/browser-runtime-core": "^3.26.2",
55
- "@mongosh/service-provider-core": "3.6.3",
56
- "@mongosh/types": "^3.14.0"
54
+ "@mongosh/browser-runtime-core": "^3.29.0",
55
+ "@mongosh/service-provider-core": "3.7.0",
56
+ "@mongosh/types": "^3.14.1"
57
57
  },
58
- "gitHead": "8e8f9d1a0486078c4ca75fc7a81535eba535f535"
58
+ "gitHead": "d2069810a846a535c51c88929224a57e49960778"
59
59
  }
@@ -1,6 +1,6 @@
1
1
  import type { SinonStubbedInstance } from 'sinon';
2
2
  import sinon from 'sinon';
3
- import chai from 'chai';
3
+ import * as chai from 'chai';
4
4
  import sinonChai from 'sinon-chai';
5
5
  chai.use(sinonChai);
6
6
  const { expect } = chai;