@pi-r/redis 0.7.1 → 0.7.3

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.
Files changed (2) hide show
  1. package/client/index.js +1 -1
  2. package/package.json +4 -4
package/client/index.js CHANGED
@@ -162,7 +162,7 @@ async function executeBatchQuery(batch, options = '', outResult) {
162
162
  parallel = false;
163
163
  }
164
164
  else if (parallel === undefined) {
165
- parallel = !batch.some(item => item.parallel === false);
165
+ parallel = !batch.some(item => item.parallel === false || !!item.update);
166
166
  }
167
167
  if (!parallel) {
168
168
  outResult ||= new Array(length);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-r/redis",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
4
4
  "description": "Redis client driver for E-mc.",
5
5
  "main": "client/index.js",
6
6
  "types": "client/index.d.ts",
@@ -21,8 +21,8 @@
21
21
  "license": "MIT",
22
22
  "homepage": "https://github.com/anpham6/pi-r#readme",
23
23
  "dependencies": {
24
- "@e-mc/db": "^0.9.2",
25
- "@e-mc/types": "^0.9.2",
26
- "redis": "^4.6.14"
24
+ "@e-mc/db": "^0.9.6",
25
+ "@e-mc/types": "^0.9.6",
26
+ "redis": "^4.6.15"
27
27
  }
28
28
  }