bajo 2.15.0 → 2.15.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/app.js CHANGED
@@ -267,7 +267,11 @@ class App {
267
267
  */
268
268
  boot = async () => {
269
269
  this.bajo = new Bajo(this)
270
- this.bajo.hooks.push(...(this.options.hooks ?? []))
270
+ const hooks = (this.options.hooks ?? []).map(item => {
271
+ item.src = item.src ?? 'bajo'
272
+ return item
273
+ })
274
+ this.bajo.hooks.push(...hooks)
271
275
  delete this.options.hooks
272
276
  // argv/args/env
273
277
  const { parseArgsArgv, parseEnv, secToHms } = this.lib.aneka
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bajo",
3
- "version": "2.15.0",
3
+ "version": "2.15.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
@@ -1,5 +1,9 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-05-30
4
+
5
+ - [2.15.1] Bug fix in ```app.boot()```
6
+
3
7
  ## 2026-05-28
4
8
 
5
9
  - [2.15.0] Add built-in cache feature through ```app.cache``` instance