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.cjs +163 -81
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +163 -81
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
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
|
|
49
|
-
*
|
|
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
|
|
49
|
-
*
|
|
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
|
|