next-issue 6.6.9 → 6.6.10

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.
@@ -3,11 +3,11 @@ function lastMatch(text, pattern) {
3
3
  }
4
4
  const PLACEHOLDERS = new Set(['', 'none', 'n/a', '-']);
5
5
  export function parseUnrelated(text) {
6
- const note = lastMatch(text, /^unrelated:\s*(.+)$/gim);
6
+ const note = lastMatch(text, /^unrelated:[^\S\r\n]*(.+)$/gim);
7
7
  return note === undefined || PLACEHOLDERS.has(note.toLowerCase()) ? undefined : note;
8
8
  }
9
9
  export function parseResolved(text) {
10
- const note = lastMatch(text, /^resolved:\s*(.+)$/gim);
10
+ const note = lastMatch(text, /^resolved:[^\S\r\n]*(.+)$/gim);
11
11
  return note === '' ? undefined : note;
12
12
  }
13
13
  export function parseCommitSubject(text, fallback) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-issue",
3
- "version": "6.6.9",
3
+ "version": "6.6.10",
4
4
  "description": "Autonomous issue harness driven by the pi SDK",
5
5
  "keywords": [
6
6
  "github",