Socket
Socket
Sign inDemoInstall

@contrast/common

Package Overview
Dependencies
Maintainers
9
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrast/common - npm Package Compare versions

Comparing version 1.16.0 to 1.16.1

18

lib/constants.js
"use strict";
/*
* Copyright: 2023 Contrast Security, Inc
* Copyright: 2024 Contrast Security, Inc
* Contact: support@contrastsecurity.com

@@ -37,3 +37,3 @@ * License: Commercial

Event["SERVER_SETTINGS_UPDATE"] = "server-settings-update";
})(Event = exports.Event || (exports.Event = {}));
})(Event || (exports.Event = Event = {}));
var ProtectRuleMode;

@@ -45,3 +45,3 @@ (function (ProtectRuleMode) {

ProtectRuleMode["BLOCK_AT_PERIMETER"] = "block_at_perimeter";
})(ProtectRuleMode = exports.ProtectRuleMode || (exports.ProtectRuleMode = {}));
})(ProtectRuleMode || (exports.ProtectRuleMode = ProtectRuleMode = {}));
var Rule;

@@ -73,3 +73,3 @@ (function (Rule) {

Rule["UNVALIDATED_REDIRECT"] = "unvalidated-redirect";
})(Rule = exports.Rule || (exports.Rule = {}));
})(Rule || (exports.Rule = Rule = {}));
var ResponseScanningRule;

@@ -87,3 +87,3 @@ (function (ResponseScanningRule) {

ResponseScanningRule["XXSPROTECTION_HEADER_DISABLED"] = "xxssprotection-header-disabled";
})(ResponseScanningRule = exports.ResponseScanningRule || (exports.ResponseScanningRule = {}));
})(ResponseScanningRule || (exports.ResponseScanningRule = ResponseScanningRule = {}));
var SessionConfigurationRule;

@@ -93,3 +93,3 @@ (function (SessionConfigurationRule) {

SessionConfigurationRule["SECURE_FLAG_MISSING"] = "secure-flag-missing";
})(SessionConfigurationRule = exports.SessionConfigurationRule || (exports.SessionConfigurationRule = {}));
})(SessionConfigurationRule || (exports.SessionConfigurationRule = SessionConfigurationRule = {}));
var InputType;

@@ -119,3 +119,3 @@ (function (InputType) {

InputType["UNKNOWN"] = "UNKNOWN";
})(InputType = exports.InputType || (exports.InputType = {}));
})(InputType || (exports.InputType = InputType = {}));
var DataflowTag;

@@ -216,3 +216,3 @@ (function (DataflowTag) {

DataflowTag["WEAK_URL_ENCODED"] = "WEAK_URL_ENCODED";
})(DataflowTag = exports.DataflowTag || (exports.DataflowTag = {}));
})(DataflowTag || (exports.DataflowTag = DataflowTag = {}));
exports.BLOCKING_MODES = ['block', 'block_at_perimeter'];

@@ -261,3 +261,3 @@ exports.FS_METHODS = [

agentLibIDListTypes["TRUE_CLAUSE_1"] = "TRUE-CLAUSE-1";
})(agentLibIDListTypes = exports.agentLibIDListTypes || (exports.agentLibIDListTypes = {}));
})(agentLibIDListTypes || (exports.agentLibIDListTypes = agentLibIDListTypes = {}));
//# sourceMappingURL=constants.js.map
"use strict";
/*
* Copyright: 2023 Contrast Security, Inc
* Copyright: 2024 Contrast Security, Inc
* Contact: support@contrastsecurity.com

@@ -5,0 +5,0 @@ * License: Commercial

@@ -39,2 +39,4 @@ /// <reference types="node" />

session_id: string | null;
metadata: string | null;
group: string | null;
}

@@ -41,0 +43,0 @@ export type CommonRules = Rule.SQL_INJECTION | Rule.CMD_INJECTION | Rule.PATH_TRAVERSAL | Rule.REFLECTED_XSS | Rule.SSJS_INJECTION | Rule.NOSQL_INJECTION_MONGO | Rule.UNSAFE_FILE_UPLOAD | Rule.NOSQL_INJECTION | Rule.METHOD_TAMPERING | Rule.BOT_BLOCKER;

"use strict";
/*
* Copyright: 2023 Contrast Security, Inc
* Copyright: 2024 Contrast Security, Inc
* Contact: support@contrastsecurity.com

@@ -5,0 +5,0 @@ * License: Commercial

{
"name": "@contrast/common",
"version": "1.16.0",
"version": "1.16.1",
"description": "Shared constants and utilities for all Contrast Agent modules",

@@ -5,0 +5,0 @@ "license": "UNLICENSED",

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