stackmem 1.0.7 → 1.0.8

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/dist/cli.js CHANGED
@@ -720,7 +720,7 @@ for (const line of isFirstCommit ? [] : lines) {
720
720
  savedItems.push(\`discovery: \${content}\`);
721
721
  }
722
722
 
723
- if (/TODO:|FIXME:|HACK:|XXX:/.test(codeLine)) {
723
+ if (/^\\+\\s*(\\/\\/|#)\\s*(TODO:|FIXME:|HACK:|XXX:)/.test(line)) {
724
724
  const truncated = codeLine.trim().slice(0, 100);
725
725
  const content = \`open issue from commit: \${truncated}\`;
726
726
  cmSave("discovery", content);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stackmem",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/src/cli.ts CHANGED
@@ -818,7 +818,7 @@ for (const line of isFirstCommit ? [] : lines) {
818
818
  savedItems.push(\`discovery: \${content}\`);
819
819
  }
820
820
 
821
- if (/TODO:|FIXME:|HACK:|XXX:/.test(codeLine)) {
821
+ if (/^\\+\\s*(\\/\\/|#)\\s*(TODO:|FIXME:|HACK:|XXX:)/.test(line)) {
822
822
  const truncated = codeLine.trim().slice(0, 100);
823
823
  const content = \`open issue from commit: \${truncated}\`;
824
824
  cmSave("discovery", content);