pqb 0.47.3 → 0.47.4

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/dist/index.mjs CHANGED
@@ -2998,12 +2998,7 @@ const runAfterCommit = async (afterCommit, result) => {
2998
2998
  const applyBatchTransforms = (q, batches) => {
2999
2999
  if (q.transform) {
3000
3000
  for (const item of batches) {
3001
- item.parent[item.key] = applyTransforms(
3002
- q,
3003
- q.returnType,
3004
- q.transform,
3005
- item.data
3006
- );
3001
+ item.parent[item.key] = item.data === null ? void 0 : applyTransforms(q, q.returnType, q.transform, item.data);
3007
3002
  }
3008
3003
  }
3009
3004
  };