bajo 2.25.1 → 2.26.0

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
@@ -1143,7 +1143,7 @@ class Bajo extends Plugin {
1143
1143
  * @param {object} [options={}] - Options to be passed to the config handlers.
1144
1144
  * @returns {Object|Array|null} The result from the first successful config handler, or null if none succeed.
1145
1145
  */
1146
- parseWithConfig = async (input, exts, options = {}) => {
1146
+ parseConfig = async (input, exts, options = {}) => {
1147
1147
  let result
1148
1148
  options.readFromFile = false
1149
1149
  const handlers = exts ? this.app.configHandlers.filter(h => exts.includes(h.ext)) : this.app.configHandlers
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bajo",
3
- "version": "2.25.1",
3
+ "version": "2.26.0",
4
4
  "description": "The ultimate framework for whipping up massive apps in no time",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -121,7 +121,7 @@ describe('bajo (unit)', () => {
121
121
  const saved = await bajo.saveAsDownload('file.txt', 'abc', false)
122
122
  expect(fs.existsSync(saved)).to.equal(true)
123
123
 
124
- const p = await bajo.parseWithConfig('{"x":1}', ['.json'])
124
+ const p = await bajo.parseConfig('{"x":1}', ['.json'])
125
125
  expect(p).to.deep.equal({ x: 1 })
126
126
  })
127
127
 
package/wiki/CHANGES.md CHANGED
@@ -6,6 +6,7 @@
6
6
  - [2.25.0] Add `tools.selfBind()`
7
7
  - [2.25.0] Add `options.merge='concat'` in `readConfig()`
8
8
  - [2.25.1] Bug fix in `parseWithConfig()`
9
+ - [2.26.0] Rename `parseWithConfig()` to `parseConfig()`
9
10
 
10
11
  ## 2026-07-23
11
12