@contrast/agent-lib
Advanced tools
Comparing version 8.0.0 to 8.1.0
@@ -215,8 +215,8 @@ /// <reference types="node" /> | ||
* | ||
* @param {Buffer} body a buffer encoded as utf8 containing the full response body. | ||
* | ||
* @param {JsString|Buffer} body a string or a buffer encoded as utf8 containing the full response | ||
* body. | ||
* @param {JsString[]} inputs both the source and propagation history | ||
* @returns {boolean} true if any input is an XSS attack in the context of the body, else false. | ||
*/ | ||
isXssAttack(body: Buffer, inputs: JsString[]): boolean; | ||
isXssAttack(body: JsString|Buffer, inputs: JsString[]): boolean; | ||
@@ -247,7 +247,8 @@ /** | ||
* | ||
* @param {Buffer} body a buffer encoded as utf8 containing a chunk of the response body. | ||
* @param {JsString|Buffer} body a string or a buffer encoded as utf8 containing a chunk of the | ||
* response body. | ||
* @param {XssState} state the state object created by makeXssState(). It will be updated each call. | ||
* @returns {boolean} true if any input is an XSS attack in the context of the body, else false. | ||
*/ | ||
isXssAttackStateful(body: Buffer, state: XssState): boolean; | ||
isXssAttackStateful(body: JsString|Buffer, state: XssState): boolean; | ||
@@ -254,0 +255,0 @@ /** |
{ | ||
"name": "@contrast/agent-lib", | ||
"version": "8.0.0", | ||
"version": "8.1.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28929036
313