bajo-template 2.9.3 → 2.10.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/index.js CHANGED
@@ -397,9 +397,9 @@ async function factory (pkgName) {
397
397
  */
398
398
  parseFrontMatter = async (input = '', lang) => {
399
399
  const { isEmpty } = this.app.lib._
400
- const { parseWithConfig } = this.app.bajo
400
+ const { parseConfig } = this.app.bajo
401
401
  const { parseObject } = this.app.lib
402
- const result = await parseWithConfig(input, null, { defValue: {} })
402
+ const result = await parseConfig(input, null, { defValue: {} })
403
403
  if (isEmpty(result)) return {}
404
404
  return parseObject(result, { parseValue: false, lang }) ?? {}
405
405
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bajo-template",
3
- "version": "2.9.3",
3
+ "version": "2.10.0",
4
4
  "description": "Template Renderer for Bajo Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -3,6 +3,7 @@
3
3
  ## 2026-07-24
4
4
 
5
5
  - [2.9.3] Bug fix in `parseFrontMatter()`
6
+ - [2.10.0] Rename `parseWithConfig()` to `parseConfig()`
6
7
 
7
8
  ## 2026-06-27
8
9