@mongosh/node-runtime-worker-thread 3.3.33 → 5.0.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.
@@ -252,8 +252,6 @@ and limitations under the License.
252
252
 
253
253
  /*! node-domexception. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
254
254
 
255
- /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
256
-
257
255
  /**
258
256
  * @license
259
257
  * Lodash <https://lodash.com/>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mongosh/node-runtime-worker-thread",
3
- "version": "3.3.33",
3
+ "version": "5.0.0",
4
4
  "description": "MongoDB shell runtime that lives in a worker thread",
5
5
  "homepage": "https://github.com/mongodb-js/mongosh",
6
6
  "license": "Apache-2.0",
@@ -24,8 +24,7 @@
24
24
  "test-ci-coverage": "nyc --no-clean --cwd ../.. --reporter=none npm run test-ci",
25
25
  "eslint": "eslint",
26
26
  "lint": "npm run eslint . && npm run prettier -- --check .",
27
- "check": "npm run lint && npm run depcheck",
28
- "depcheck": "depcheck",
27
+ "check": "npm run lint",
29
28
  "webpack-build": "npm run compile && webpack --mode production",
30
29
  "webpack-build-dev": "npm run compile && webpack --mode development",
31
30
  "compile": "tsc -p tsconfig.json",
@@ -38,25 +37,25 @@
38
37
  "devDependencies": {
39
38
  "@mongodb-js/eslint-config-mongosh": "^1.0.0",
40
39
  "@mongodb-js/prettier-config-devtools": "^1.0.1",
41
- "@mongodb-js/sbom-tools": "^0.8.1",
40
+ "@mongodb-js/sbom-tools": "^0.10.4",
42
41
  "@mongodb-js/tsconfig-mongosh": "^1.0.0",
43
- "@mongosh/browser-runtime-core": "^3.29.0",
44
- "@mongosh/browser-runtime-electron": "^3.29.0",
45
- "@mongosh/service-provider-core": "3.7.0",
46
- "@mongosh/service-provider-node-driver": "^3.18.0",
47
- "@mongosh/types": "^3.14.1",
48
- "bson": "^6.10.4",
49
- "depcheck": "^1.4.7",
42
+ "@mongosh/browser-runtime-core": "^5.0.0",
43
+ "@mongosh/browser-runtime-electron": "^5.0.0",
44
+ "@mongosh/service-provider-core": "5.0.0",
45
+ "@mongosh/service-provider-node-driver": "^5.0.0",
46
+ "@mongosh/testing": "2.0.0",
47
+ "@mongosh/types": "^5.0.0",
48
+ "bson": "^7.2.0",
50
49
  "eslint": "^7.25.0",
51
- "mocha": "^10.2.0",
50
+ "mocha": "^11.7.5",
52
51
  "postmsg-rpc": "^2.4.0",
53
52
  "prettier": "^2.8.8",
53
+ "web-worker": "^1.3.0",
54
54
  "webpack-merge": "^5.8.0"
55
55
  },
56
56
  "dependencies": {
57
- "interruptor": "^1.0.1",
58
- "system-ca": "^2.0.1",
59
- "web-worker": "^1.3.0"
57
+ "interruptor": "^1.0.2",
58
+ "system-ca": "^3.0.0"
60
59
  },
61
- "gitHead": "d2069810a846a535c51c88929224a57e49960778"
60
+ "gitHead": "1ae76759bb28ace817059c00cfefa6055aec35c4"
62
61
  }
package/src/index.spec.ts CHANGED
@@ -3,7 +3,7 @@ import { expect } from 'chai';
3
3
  import sinon from 'sinon';
4
4
  import sinonChai from 'sinon-chai';
5
5
  import type { MongoshBus } from '@mongosh/types';
6
- import { startSharedTestServer } from '../../../testing/integration-testing-hooks';
6
+ import { startSharedTestServer } from '@mongosh/testing';
7
7
  import { WorkerRuntime } from '../dist/index';
8
8
 
9
9
  import type { DevtoolsConnectOptions } from '@mongosh/service-provider-node-driver';
@@ -6,7 +6,7 @@ import { expect } from 'chai';
6
6
  import sinonChai from 'sinon-chai';
7
7
  import sinon from 'sinon';
8
8
  import { EJSON, ObjectId } from 'bson';
9
- import { startSharedTestServer } from '../../../testing/integration-testing-hooks';
9
+ import { startSharedTestServer } from '@mongosh/testing';
10
10
  import type { Caller, Exposed } from './rpc';
11
11
  import { cancel, close, createCaller, exposeAll } from './rpc';
12
12
  import { deserializeEvaluationResult } from './serializer';
package/.depcheckrc DELETED
@@ -1,14 +0,0 @@
1
- ignores:
2
- - '@mongodb-js/eslint-config-mongosh'
3
- - '@mongodb-js/tsconfig-mongosh'
4
- - '@mongodb-js/prettier-config-devtools'
5
- - '@typescript-eslint/parser'
6
- - '@typescript-eslint/eslint-plugin'
7
- - chai
8
- - sinon
9
- - sinon-chai
10
- - eslint-plugin-mocha
11
- - eslint-config-mongodb-js
12
- - system-ca
13
- ignore-patterns:
14
- - .eslintrc.js