@mongosh/autocomplete 1.1.5 → 1.1.9
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 +4 -4
- package/src/index.spec.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mongosh/autocomplete",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.9",
|
|
4
4
|
"description": "MongoDB Shell Autocomplete Package",
|
|
5
5
|
"homepage": "https://github.com/mongodb-js/mongosh",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"mocha": "^7.1.2"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@mongosh/shell-api": "1.1.
|
|
35
|
-
"mongodb-ace-autocompleter": "^0.
|
|
34
|
+
"@mongosh/shell-api": "1.1.9",
|
|
35
|
+
"mongodb-ace-autocompleter": "^0.10.0",
|
|
36
36
|
"semver": "^7.3.2"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "1a200600554f6aa59ec10aaedb915f67771eb7fd"
|
|
39
39
|
}
|
package/src/index.spec.ts
CHANGED
|
@@ -146,7 +146,8 @@ describe('completer.completer', () => {
|
|
|
146
146
|
it('does not have a match', async() => {
|
|
147
147
|
const i = 'db.shipwrecks.aggregate([ { $so';
|
|
148
148
|
expect(await completer(noParams, i)).to.deep.equal([
|
|
149
|
-
['db.shipwrecks.aggregate([ { $
|
|
149
|
+
[ 'db.shipwrecks.aggregate([ { $sortArray',
|
|
150
|
+
'db.shipwrecks.aggregate([ { $sort',
|
|
150
151
|
'db.shipwrecks.aggregate([ { $sortByCount'], i]);
|
|
151
152
|
});
|
|
152
153
|
|