xploitscan-shared-rules 1.13.0 → 1.13.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/dist/index.d.cts CHANGED
@@ -45,9 +45,8 @@ interface CustomRule {
45
45
  }
46
46
 
47
47
  /**
48
- * Return a small code snippet around a given line number with a `>` marker on the matched line.
49
- * Pure string manipulation — no fs dependency, so this is safe to use in both the CLI
50
- * and in serverless/edge environments like the web API.
48
+ * Return a small code snippet around a given line number with a `>` marker on
49
+ * the matched line.
51
50
  */
52
51
  declare function getSnippet(content: string, line: number, contextLines?: number): string;
53
52
 
package/dist/index.d.ts CHANGED
@@ -45,9 +45,8 @@ interface CustomRule {
45
45
  }
46
46
 
47
47
  /**
48
- * Return a small code snippet around a given line number with a `>` marker on the matched line.
49
- * Pure string manipulation — no fs dependency, so this is safe to use in both the CLI
50
- * and in serverless/edge environments like the web API.
48
+ * Return a small code snippet around a given line number with a `>` marker on
49
+ * the matched line.
51
50
  */
52
51
  declare function getSnippet(content: string, line: number, contextLines?: number): string;
53
52