@mongosh/autocomplete 1.9.0 → 1.10.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/AUTHORS CHANGED
@@ -8,3 +8,6 @@ Michael Rose <michael_rose@gmx.de>
8
8
  Alena Khineika <alena.khineika@gmail.com>
9
9
  Basit <1305718+mabaasit@users.noreply.github.com>
10
10
  Himanshu Singh <himanshu.singhs@outlook.in>
11
+ Martin Rodriguez Reboredo <yakoyoku@gmail.com>
12
+ dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
13
+ Le Roux Bodenstein <lerouxb@gmail.com>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mongosh/autocomplete",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "description": "MongoDB Shell Autocomplete Package",
5
5
  "homepage": "https://github.com/mongodb-js/mongosh",
6
6
  "license": "Apache-2.0",
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@mongodb-js/mongodb-constants": "^0.2.2",
35
- "@mongosh/shell-api": "1.9.0",
35
+ "@mongosh/shell-api": "1.10.0",
36
36
  "semver": "^7.3.2"
37
37
  },
38
- "gitHead": "938c3c1cdd0f8511b40a08c22e440106d4572b2b"
38
+ "gitHead": "6a6f97712a596a21c61408dfb925e729306030f8"
39
39
  }
package/src/index.spec.ts CHANGED
@@ -280,7 +280,11 @@ describe('completer.completer', () => {
280
280
  const adjusted = collComplete
281
281
  .filter(c =>
282
282
  ![
283
- 'count', 'update', 'remove', 'insert', 'save', 'findAndModify', 'reIndex', 'mapReduce'
283
+ 'count', 'update', 'remove', 'insert', 'save', 'findAndModify', 'reIndex', 'mapReduce',
284
+ // 6.0+
285
+ 'getSearchIndexes', 'createSearchIndex', 'createSearchIndexes', 'dropSearchIndex', 'updateSearchIndex',
286
+ // 7.0+
287
+ 'checkMetadataConsistency'
284
288
  ].includes(c)
285
289
  )
286
290
  .map(c => `${i}${c}`);