@mongosh/cli-repl 2.5.9 → 2.6.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mongosh/cli-repl",
3
- "version": "2.5.9",
3
+ "version": "2.6.0",
4
4
  "description": "MongoDB Shell CLI REPL Package",
5
5
  "homepage": "https://github.com/mongodb-js/mongosh",
6
6
  "author": "Compass Team <compass@mongodb.com>",
@@ -21,7 +21,7 @@
21
21
  "compile": "tsc -p tsconfig.json",
22
22
  "start": "node bin/mongosh.js",
23
23
  "pretest": "npm run compile",
24
- "test": "mocha -r \"../../scripts/import-expansions.js\" --timeout 60000 -r ts-node/register --reporter \"../../configs/mocha-config-mongosh/reporter.ts\" \"./src/**/*.spec.ts\"",
24
+ "test": "mocha",
25
25
  "test-ci": "node ../../scripts/run-if-package-requested.js npm test",
26
26
  "test-coverage": "nyc --no-clean --cwd ../.. --reporter=none npm run test",
27
27
  "test-ci-coverage": "nyc --no-clean --cwd ../.. --reporter=none npm run test-ci",
@@ -29,8 +29,7 @@
29
29
  "test-smoke": "node bin/mongosh.js --smokeTests",
30
30
  "eslint": "eslint",
31
31
  "lint": "npm run eslint . && npm run prettier -- --check .",
32
- "check": "npm run lint && npm run depcheck",
33
- "depcheck": "depcheck",
32
+ "check": "npm run lint",
34
33
  "prepublish": "npm run compile",
35
34
  "webpack-build": "npm run compile && webpack --mode production && cat dist/add-module-mapping.js >> dist/mongosh.js",
36
35
  "webpack-build-dev": "npm run compile && webpack --mode development && cat dist/add-module-mapping.js >> dist/mongosh.js",
@@ -63,20 +62,20 @@
63
62
  },
64
63
  "dependencies": {
65
64
  "@mongodb-js/devtools-proxy-support": "^0.5.3",
66
- "@mongosh/arg-parser": "^3.22.0",
67
- "@mongosh/autocomplete": "^3.26.0",
68
- "@mongosh/editor": "^3.26.0",
69
- "@mongosh/errors": "2.4.4",
70
- "@mongosh/history": "2.4.9",
71
- "@mongosh/i18n": "^2.19.0",
72
- "@mongosh/js-multiline-to-singleline": "2.4.10",
73
- "@mongosh/logging": "^3.15.3",
74
- "@mongosh/service-provider-core": "3.6.1",
75
- "@mongosh/service-provider-node-driver": "^3.17.3",
76
- "@mongosh/shell-api": "^3.26.0",
77
- "@mongosh/shell-evaluator": "^3.26.0",
78
- "@mongosh/snippet-manager": "^3.26.0",
79
- "@mongosh/types": "^3.14.0",
65
+ "@mongosh/arg-parser": "^3.23.1",
66
+ "@mongosh/autocomplete": "^3.29.1",
67
+ "@mongosh/editor": "^3.29.1",
68
+ "@mongosh/errors": "2.4.6",
69
+ "@mongosh/history": "2.4.13",
70
+ "@mongosh/i18n": "^2.20.1",
71
+ "@mongosh/js-multiline-to-singleline": "2.4.12",
72
+ "@mongosh/logging": "^3.15.7",
73
+ "@mongosh/service-provider-core": "3.7.1",
74
+ "@mongosh/service-provider-node-driver": "^3.18.1",
75
+ "@mongosh/shell-api": "^3.29.1",
76
+ "@mongosh/shell-evaluator": "^3.29.1",
77
+ "@mongosh/snippet-manager": "^3.29.1",
78
+ "@mongosh/types": "^3.14.2",
80
79
  "@segment/analytics-node": "^1.3.0",
81
80
  "ansi-escape-sequences": "^5.1.2",
82
81
  "askcharacter": "^2.0.4",
@@ -85,30 +84,29 @@
85
84
  "escape-string-regexp": "^4.0.0",
86
85
  "glibc-version": "^1.0.0",
87
86
  "is-recoverable-error": "^1.0.3",
88
- "js-yaml": "^4.1.0",
87
+ "js-yaml": "^4.1.1",
89
88
  "mongodb-connection-string-url": "^3.0.2",
90
89
  "mongodb-log-writer": "^2.4.3",
90
+ "mongodb-redact": "^1.3.0",
91
91
  "numeral": "^2.0.6",
92
92
  "pretty-repl": "^4.0.1",
93
93
  "semver": "^7.5.4",
94
94
  "strip-ansi": "^6.0.0",
95
- "text-table": "^0.2.0",
96
- "yargs-parser": "^20.2.4"
95
+ "text-table": "^0.2.0"
97
96
  },
98
97
  "devDependencies": {
99
98
  "@mongodb-js/eslint-config-mongosh": "^1.0.0",
100
99
  "@mongodb-js/prettier-config-devtools": "^1.0.1",
101
100
  "@mongodb-js/sbom-tools": "^0.8.1",
102
101
  "@mongodb-js/tsconfig-mongosh": "^1.0.0",
102
+ "@mongosh/testing": "0.0.0",
103
103
  "@types/ansi-escape-sequences": "^4.0.0",
104
- "@types/chai-as-promised": "^7.1.3",
104
+ "@types/chai-as-promised": "^8.0.2",
105
105
  "@types/js-yaml": "^4.0.5",
106
106
  "@types/node": "^22.15.30",
107
107
  "@types/numeral": "^2.0.2",
108
108
  "@types/text-table": "^0.2.1",
109
- "@types/yargs-parser": "^15.0.0",
110
- "chai-as-promised": "^7.1.1",
111
- "depcheck": "^1.4.7",
109
+ "chai-as-promised": "^8.0.2",
112
110
  "eslint": "^7.25.0",
113
111
  "mongodb": "^6.19.0",
114
112
  "mongodb-crypt-library-dummy": "^1.0.2",
@@ -122,5 +120,5 @@
122
120
  "mongodb-crypt-library-version": "^1.0.5",
123
121
  "win-export-certificate-and-key": "^2.1.0"
124
122
  },
125
- "gitHead": "6cfca044bd9c3dd60ea67dc8e9cbff3fa1cd9fcf"
123
+ "gitHead": "c27f1265fc3a6c58217a01dc63db8b22ae3cd01e"
126
124
  }
package/webpack.config.js CHANGED
@@ -87,6 +87,9 @@ const config = {
87
87
  'commonjs2 ../build/Release/mongocrypt.node',
88
88
  '../build/Debug/mongocrypt.node':
89
89
  'commonjs2 ../build/Debug/mongocrypt.node',
90
+ '../build/Release/kerberos.node':
91
+ 'commonjs2 ../build/Release/kerberos.node',
92
+ '../build/Debug/kerberos.node': 'commonjs2 ../build/Debug/kerberos.node',
90
93
  },
91
94
 
92
95
  externalsPresets: {
package/.depcheckrc DELETED
@@ -1,24 +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
- - ts-sinon
11
- - mocha
12
- - eslint-plugin-mocha
13
- - eslint-config-mongodb-js
14
- # eagerly loaded startup snapshot dependencies
15
- - '@mongodb-js/saslprep'
16
- - socks
17
- - emphasize
18
- - ipv6-normalize
19
- - bindings
20
- - system-ca
21
- # used for monkey-patching our s390x fix in
22
- - '@tootallnate/quickjs-emscripten'
23
- ignore-patterns:
24
- - .eslintrc.js