bajo 2.10.0 → 2.10.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 +1 -1
- package/package.json +1 -1
- package/wiki/CHANGES.md +1 -0
package/class/bajo.js
CHANGED
|
@@ -907,7 +907,7 @@ class Bajo extends Plugin {
|
|
|
907
907
|
return parseObject(JSON.parse(resp))
|
|
908
908
|
}
|
|
909
909
|
|
|
910
|
-
fromJs
|
|
910
|
+
async fromJs (file, options = {}) {
|
|
911
911
|
const args = options.args ?? []
|
|
912
912
|
let mod = await importModule(file)
|
|
913
913
|
if (isFunction(mod)) mod = await mod.call(this, ...args)
|
package/package.json
CHANGED
package/wiki/CHANGES.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
- [2.10.0] Add ability to pass options of ```configHandlers``` with type ```.js```
|
|
6
6
|
- [2.10.0] Freezing config object now occurs ```{ns}:afterStart()```
|
|
7
7
|
- [2.10.0] Bug fix on ```print.fatal()``` when argument is an Error object
|
|
8
|
+
- [2.10.1] Bug fix on ```fromJs()```
|
|
8
9
|
|
|
9
10
|
## 2026-03-25
|
|
10
11
|
|