mongodb-data-service 22.6.0 → 22.8.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/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "email": "compass@mongodb.com"
8
8
  },
9
9
  "homepage": "https://github.com/mongodb-js/compass",
10
- "version": "22.6.0",
10
+ "version": "22.8.0",
11
11
  "repository": {
12
12
  "type": "git",
13
13
  "url": "https://github.com/mongodb-js/compass.git"
@@ -30,7 +30,7 @@
30
30
  "scripts": {
31
31
  "bootstrap": "npm run compile",
32
32
  "prepublishOnly": "npm run compile && compass-scripts check-exports-exist",
33
- "clean": "rimraf lib",
33
+ "clean": "node -e \"fs.rmSync('lib', { recursive: true, force: true })\" || true",
34
34
  "precompile": "npm run clean",
35
35
  "compile": "tsc -p tsconfig.json",
36
36
  "depcheck": "depcheck",
@@ -39,62 +39,58 @@
39
39
  "lint": "npm run eslint . && npm run prettier -- --check .",
40
40
  "check": "npm run lint && npm run depcheck",
41
41
  "check-ci": "npm run check",
42
- "pretest": "mongodb-runner start --port=27018",
42
+ "pretest": "node ../../scripts/testserver.js start dataservice --port=27021",
43
43
  "test": "mocha",
44
44
  "test-connectivity": "mocha ./src/connect.spec.ts",
45
- "posttest": "mongodb-runner stop --port=27018",
46
- "pretest-csfle": "mongodb-runner start --enterprise --mongodb-version \">=6.0.0\" --topology=replicaset --secondaries=0 --port=27018",
45
+ "posttest": "node ../../scripts/testserver.js stop dataservice",
46
+ "pretest-csfle": "node ../../scripts/testserver.js start dataservice --enterprise --mongodb-version \">=7.0.0-rc0\" --topology=replicaset --secondaries=0 --port=27021",
47
47
  "test-csfle": "mocha ./src/csfle-collection-tracker.spec.ts ./src/data-service.spec.ts",
48
- "posttest-csfle": "mongodb-runner stop --enterprise --mongodb-version \">=6.0.0\" --topology=replicaset --secondaries=0 --port=27018",
48
+ "posttest-csfle": "node ../../scripts/testserver.js stop dataservice",
49
49
  "test-cov": "nyc --compact=false --produce-source-map=false -x \"**/*.spec.*\" --reporter=lcov --reporter=text --reporter=html npm run test",
50
50
  "test-watch": "npm run test -- --watch",
51
51
  "test-ci": "npm run test-cov",
52
- "posttest-ci": "node ../../scripts/killall-mongo.js",
53
52
  "reformat": "npm run prettier -- --write . && npm run eslint . --fix"
54
53
  },
55
54
  "peerDependencies": {
56
- "mongodb": "^5.1.0"
55
+ "mongodb": "^5.5.0"
57
56
  },
58
57
  "dependencies": {
59
- "@mongodb-js/compass-logging": "^1.1.5",
60
- "@mongodb-js/compass-utils": "^0.3.0",
61
- "@mongodb-js/devtools-connect": "^1.4.4",
62
- "@mongodb-js/ssh-tunnel": "^2.0.5",
63
- "debug": "^4.2.0",
64
- "lodash": "^4.17.20",
58
+ "@mongodb-js/compass-logging": "^1.1.6",
59
+ "@mongodb-js/compass-utils": "^0.3.1",
60
+ "@mongodb-js/devtools-connect": "^2.1.0",
61
+ "@mongodb-js/oidc-plugin": "^0.2.0",
62
+ "@mongodb-js/ssh-tunnel": "^2.0.6",
63
+ "lodash": "^4.17.21",
65
64
  "mongodb-build-info": "^1.5.0",
66
- "mongodb-connection-model": "^22.3.0",
65
+ "mongodb-connection-model": "^22.4.1",
67
66
  "mongodb-connection-string-url": "^2.6.0",
68
67
  "mongodb-ns": "^2.4.0",
69
68
  "uuid": "^8.3.2"
70
69
  },
71
70
  "devDependencies": {
72
71
  "@mongodb-js/devtools-docker-test-envs": "^1.2.4",
73
- "@mongodb-js/eslint-config-compass": "^1.0.5",
74
- "@mongodb-js/mocha-config-compass": "^1.1.1",
72
+ "@mongodb-js/eslint-config-compass": "^1.0.6",
73
+ "@mongodb-js/mocha-config-compass": "^1.2.0",
75
74
  "@mongodb-js/prettier-config-compass": "^1.0.0",
76
75
  "@mongodb-js/tsconfig-compass": "^1.0.2",
77
- "@types/debug": "^4.1.7",
78
- "@types/lodash": "^4.14.172",
76
+ "@types/lodash": "^4.14.188",
79
77
  "@types/uuid": "^8.3.1",
80
78
  "@types/whatwg-url": "^8.2.1",
81
- "bson": "^5.0.1",
79
+ "bson": "^5.2.0",
82
80
  "chai": "^4.2.0",
83
81
  "depcheck": "^1.4.1",
84
82
  "eslint": "^7.25.0",
85
83
  "kerberos": "^2.0.0",
86
84
  "mocha": "^10.2.0",
87
- "mongodb": "^5.1.0",
88
- "mongodb-runner": "^4.10.0",
89
- "nyc": "^15.0.0",
85
+ "mongodb": "^5.5.0",
86
+ "nyc": "^15.1.0",
90
87
  "prettier": "^2.7.1",
91
- "rimraf": "^3.0.2",
92
88
  "sinon": "^9.2.3",
93
- "storage-mixin": "^5.1.4",
89
+ "storage-mixin": "^5.1.5",
94
90
  "typescript": "^5.0.4"
95
91
  },
96
92
  "optionalDependencies": {
97
- "mongodb-client-encryption": "^2.4.0"
93
+ "mongodb-client-encryption": "^2.8.0"
98
94
  },
99
- "gitHead": "e4f2643a437ce2407657a63246e303d13ce8297b"
95
+ "gitHead": "1d02bfb24078b4391bee7a83e34cb3d7da39a731"
100
96
  }