@redis/search
Advanced tools
@@ -120,3 +120,4 @@ "use strict"; | ||
| 2: (reply) => { | ||
| const withoutDocuments = (reply[0] + 1 == reply.length); | ||
| // if reply[2] is array, then we have content/documents. Otherwise, only ids | ||
| const withoutDocuments = reply.length > 2 && !Array.isArray(reply[2]); | ||
| const documents = []; | ||
@@ -123,0 +124,0 @@ let i = 1; |
+2
-2
| { | ||
| "name": "@redis/search", | ||
| "version": "5.8.1", | ||
| "version": "5.8.2", | ||
| "license": "MIT", | ||
@@ -17,3 +17,3 @@ "main": "./dist/lib/index.js", | ||
| "peerDependencies": { | ||
| "@redis/client": "^5.8.1" | ||
| "@redis/client": "^5.8.2" | ||
| }, | ||
@@ -20,0 +20,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
231176
0.06%3362
0.03%