@mongosh/node-runtime-worker-thread 1.1.0 → 1.1.5

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/node-runtime-worker-thread",
3
- "version": "1.1.0",
3
+ "version": "1.1.5",
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",
@@ -28,12 +28,12 @@
28
28
  "prepublish": "npm run webpack-build"
29
29
  },
30
30
  "devDependencies": {
31
- "@mongosh/browser-runtime-core": "1.1.0",
32
- "@mongosh/browser-runtime-electron": "1.1.0",
33
- "@mongosh/service-provider-core": "1.1.0",
34
- "@mongosh/service-provider-server": "1.1.0",
35
- "@mongosh/types": "1.1.0",
36
- "bson": "^4.5.3",
31
+ "@mongosh/browser-runtime-core": "1.1.5",
32
+ "@mongosh/browser-runtime-electron": "1.1.5",
33
+ "@mongosh/service-provider-core": "1.1.5",
34
+ "@mongosh/service-provider-server": "1.1.5",
35
+ "@mongosh/types": "1.1.5",
36
+ "bson": "^4.5.4",
37
37
  "mocha": "^7.1.2",
38
38
  "postmsg-rpc": "^2.4.0",
39
39
  "terser-webpack-plugin": "^4.2.3",
@@ -44,5 +44,5 @@
44
44
  "dependencies": {
45
45
  "interruptor": "^1.0.1"
46
46
  },
47
- "gitHead": "1f9987e3eb6bf9071a245201183a4b9e51ff1616"
47
+ "gitHead": "d9cc9e28dc4ec29d11f612b8552aa3b093a1198b"
48
48
  }
package/src/index.spec.ts CHANGED
@@ -175,7 +175,7 @@ describe('WorkerRuntime', () => {
175
175
 
176
176
  await runtime.evaluate('db.getCollectionNames()');
177
177
 
178
- expect(eventEmitter.emit).to.have.been.calledWith('mongosh:api-call', {
178
+ expect(eventEmitter.emit).to.have.been.calledWith('mongosh:api-call-with-arguments', {
179
179
  arguments: {},
180
180
  class: 'Database',
181
181
  db: 'test',