@mongosh/browser-repl 3.29.0 → 3.29.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mongosh/browser-repl",
3
- "version": "3.29.0",
3
+ "version": "3.29.1",
4
4
  "description": "Browser presentation component for Mongo Shell",
5
5
  "engines": {
6
6
  "node": ">=14.15.1"
@@ -21,7 +21,8 @@
21
21
  }
22
22
  },
23
23
  "scripts": {
24
- "start": "webpack serve --config ./config/webpack.config.watch.js",
24
+ "start": "npm run webpack-serve",
25
+ "webpack-serve": "webpack serve --config ./config/webpack.config.watch.js",
25
26
  "clean": "rimraf ./lib",
26
27
  "preprepublish": "rimraf ./lib",
27
28
  "prepublish": "npm run compile",
@@ -31,8 +32,7 @@
31
32
  "test-ci-coverage": "nyc --no-clean --cwd ../.. --reporter=none npm run test-ci",
32
33
  "eslint": "eslint",
33
34
  "lint": "npm run eslint . && npm run prettier -- --check .",
34
- "check": "npm run lint && npm run depcheck",
35
- "depcheck": "depcheck",
35
+ "check": "npm run lint",
36
36
  "compile": "tsc -p tsconfig.json",
37
37
  "prettier": "prettier",
38
38
  "reformat": "npm run prettier -- --write . && npm run eslint -- --fix",
@@ -57,13 +57,13 @@
57
57
  ]
58
58
  },
59
59
  "dependencies": {
60
- "@mongosh/browser-runtime-core": "^3.29.0",
61
- "@mongosh/errors": "2.4.5",
62
- "@mongosh/history": "2.4.12",
63
- "@mongosh/i18n": "^2.20.0",
64
- "@mongosh/node-runtime-worker-thread": "3.3.33",
65
- "@mongosh/service-provider-core": "3.7.0",
66
- "@mongosh/shell-bson": "1.1.0",
60
+ "@mongosh/browser-runtime-core": "^3.29.1",
61
+ "@mongosh/errors": "2.4.6",
62
+ "@mongosh/history": "2.4.13",
63
+ "@mongosh/i18n": "^2.20.1",
64
+ "@mongosh/node-runtime-worker-thread": "3.3.34",
65
+ "@mongosh/service-provider-core": "3.7.1",
66
+ "@mongosh/shell-bson": "1.1.1",
67
67
  "bson": "^6.10.4",
68
68
  "numeral": "^2.0.6",
69
69
  "text-table": "^0.2.0"
@@ -78,6 +78,7 @@
78
78
  "@mongodb-js/eslint-config-mongosh": "^1.0.0",
79
79
  "@mongodb-js/prettier-config-devtools": "^1.0.1",
80
80
  "@mongodb-js/tsconfig-mongosh": "^1.0.0",
81
+ "@mongosh/testing": "0.0.0",
81
82
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.8",
82
83
  "@testing-library/dom": "^8.20.1",
83
84
  "@testing-library/react": "^12.1.5",
@@ -85,13 +86,10 @@
85
86
  "@types/numeral": "^2.0.2",
86
87
  "@types/react": "^16.9.17",
87
88
  "@types/react-dom": "^18.0.8",
88
- "@types/sinon": "^7.5.1",
89
- "@types/sinon-chai": "^4.0.0",
90
89
  "@types/text-table": "^0.2.1",
91
90
  "@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
92
91
  "babel-loader": "^8.3.0",
93
92
  "buffer": "^6.0.3",
94
- "depcheck": "^1.4.7",
95
93
  "enzyme": "^3.11.0",
96
94
  "eslint": "^7.25.0",
97
95
  "html-webpack-plugin": "^5.5.0",
@@ -126,5 +124,5 @@
126
124
  "react": "^17.0.2",
127
125
  "react-dom": "^17.0.2"
128
126
  },
129
- "gitHead": "d2069810a846a535c51c88929224a57e49960778"
127
+ "gitHead": "9a7abcedcbd9ae1bbaef46d3bad7713ecfbcee4a"
130
128
  }
package/.depcheckrc DELETED
@@ -1,22 +0,0 @@
1
- ignores:
2
- - '@mongodb-js/tsconfig-mongosh'
3
- - '@mongodb-js/eslint-config-mongosh'
4
- - '@mongodb-js/prettier-config-devtools'
5
- - '@typescript-eslint/parser'
6
- - '@typescript-eslint/eslint-plugin'
7
- - chai
8
- - eslint-plugin-mocha
9
- - eslint-config-mongodb-js
10
- - sinon
11
- - sinon-chai
12
- - karma-chrome-launcher
13
- - karma-mocha
14
- - karma-mocha-reporter
15
- - karma-typescript
16
- # used by webpack
17
- - webpack-cli
18
- # resolved as `<depname>/` so depcheck doesn't see it being used
19
- - buffer
20
- - util
21
- ignore-patterns:
22
- - .eslintrc.js
package/testing/chai.ts DELETED
@@ -1,7 +0,0 @@
1
- import * as chai from 'chai';
2
- import { expect } from 'chai';
3
- import sinonChai from 'sinon-chai';
4
- chai.use(sinonChai);
5
-
6
- export default chai;
7
- export { expect };