Socket
Socket
Sign inDemoInstall

@contrast/agent-lib

Package Overview
Dependencies
Maintainers
14
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrast/agent-lib - npm Package Compare versions

Comparing version 8.0.0 to 8.1.0

11

index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc