@freshworks/shiftleft-tools 1.1.16 → 1.1.17

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": "@freshworks/shiftleft-tools",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "CLI for managing Cursor rules/skills and Postman test infrastructure across Java Spring Boot and Node.js/Express projects",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -337,7 +337,7 @@ def extract_tests_from_item(item, collection_name, depth=0):
337
337
 
338
338
  # Try format with Reason and Env (flexible spacing/separators)
339
339
  skip_match = re.search(
340
- r"\[SKIP\].*?Reason:\s*([^|,;]+)(?:[|,;]\s*Env:\s*(\S+))?",
340
+ r"\[SKIP\].*?Reason:\s*([^|,;]+)(?:[|,;]\s*Env:\s*(\w+))?",
341
341
  prereq_text, re.IGNORECASE
342
342
  )
343
343
  if skip_match:
@@ -385,7 +385,7 @@ def extract_tests_from_item(item, collection_name, depth=0):
385
385
 
386
386
  # Format 1: [SKIP] Reason: ... | Env: ...
387
387
  skip_match = re.search(
388
- r"\[SKIP\].*?Reason:\s*([^|,;]+)(?:[|,;]\s*Env:\s*(\S+))?",
388
+ r"\[SKIP\].*?Reason:\s*([^|,;]+)(?:[|,;]\s*Env:\s*(\w+))?",
389
389
  prereq_text, re.IGNORECASE
390
390
  )
391
391
  if skip_match: