@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.
- package/.sbom/dependencies.json +512 -450
- package/.sbom/node-js-dep.json +1 -1
- package/AUTHORS +1 -0
- package/dist/index.js +1 -1
- package/dist/purls.txt +95 -89
- package/dist/report.html +2 -2
- package/dist/worker-runtime.js +226 -226
- package/dist/worker-runtime.js.LICENSE.txt +0 -2
- package/package.json +15 -16
- package/src/index.spec.ts +1 -1
- package/src/worker-runtime.spec.ts +1 -1
- package/.depcheckrc +0 -14
|
@@ -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
|
+
"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
|
|
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.
|
|
40
|
+
"@mongodb-js/sbom-tools": "^0.10.4",
|
|
42
41
|
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
|
|
43
|
-
"@mongosh/browser-runtime-core": "^
|
|
44
|
-
"@mongosh/browser-runtime-electron": "^
|
|
45
|
-
"@mongosh/service-provider-core": "
|
|
46
|
-
"@mongosh/service-provider-node-driver": "^
|
|
47
|
-
"@mongosh/
|
|
48
|
-
"
|
|
49
|
-
"
|
|
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": "^
|
|
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.
|
|
58
|
-
"system-ca": "^
|
|
59
|
-
"web-worker": "^1.3.0"
|
|
57
|
+
"interruptor": "^1.0.2",
|
|
58
|
+
"system-ca": "^3.0.0"
|
|
60
59
|
},
|
|
61
|
-
"gitHead": "
|
|
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 '
|
|
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 '
|
|
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
|