bajo 2.25.0 → 2.25.1

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/class/bajo.js CHANGED
@@ -1151,11 +1151,11 @@ class Bajo extends Plugin {
1151
1151
  if (result) break
1152
1152
  try {
1153
1153
  const resp = await handler.readHandler.call(this.app[handler.ns], input, options)
1154
- if (isPlainObject(resp) || isArray(resp)) result = resp
1154
+ if (!isEmpty(resp) && (isPlainObject(resp) || isArray(resp))) result = resp
1155
1155
  } catch (err) {
1156
1156
  }
1157
1157
  }
1158
- return result
1158
+ return result ?? options.defValue ?? {}
1159
1159
  }
1160
1160
  }
1161
1161
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bajo",
3
- "version": "2.25.0",
3
+ "version": "2.25.1",
4
4
  "description": "The ultimate framework for whipping up massive apps in no time",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -5,6 +5,7 @@
5
5
  - [2.25.0] Add `tools.bindThid()`
6
6
  - [2.25.0] Add `tools.selfBind()`
7
7
  - [2.25.0] Add `options.merge='concat'` in `readConfig()`
8
+ - [2.25.1] Bug fix in `parseWithConfig()`
8
9
 
9
10
  ## 2026-07-23
10
11