@miketromba/issy-core 0.8.0 → 0.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miketromba/issy-core",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Issue storage, search, and parsing for issy",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/lib/issues.ts CHANGED
@@ -199,6 +199,7 @@ export function parseFrontmatter(content: string): {
199
199
  }
200
200
 
201
201
  function yamlQuote(value: string): string {
202
+ // biome-ignore lint/complexity/noUselessEscapeInRegex: \[ is needed inside the character class for correct matching
202
203
  if (/[:#\[\]{}&*!|>'"%@`,\n]/.test(value) || value !== value.trim()) {
203
204
  const escaped = value.replace(/\\/g, '\\\\').replace(/"/g, '\\"')
204
205
  return `"${escaped}"`