Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sap/xssec

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap/xssec - npm Package Compare versions

Comparing version 3.2.9 to 3.2.10

3

CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
## 3.2.10 - 2021-11-02
- fix correlationID header names to "x-vcap-request-id" or "x-correlationid"
## 3.2.9 - 2021-10-22

@@ -5,0 +8,0 @@ - custom domain support for IAS

9

lib/requests.js

@@ -19,2 +19,3 @@ 'use strict';

const X_ZONE_ID_HEADER_NAME = "x-zid";
const CORRELATIONID_HEADER = "x-vcap-request-id";

@@ -155,3 +156,3 @@ const DEFAULT_TIMEOUT = 2000;

if(attributes.correlationId) {
options.headers['x-correlation-id'] = attributes.correlationId;
options.headers[CORRELATIONID_HEADER] = attributes.correlationId;
}

@@ -177,3 +178,3 @@ }

if(attributes.correlationId) {
options.headers['x-correlation-id'] = attributes.correlationId;
options.headers[CORRELATIONID_HEADER] = attributes.correlationId;
}

@@ -203,3 +204,3 @@ }

if(attributes.correlationId) {
options.headers['x-correlation-id'] = attributes.correlationId;
options.headers[CORRELATIONID_HEADER] = attributes.correlationId;
}

@@ -321,3 +322,3 @@ }

if(attributes.correlationId) {
options.headers['x-correlation-id'] = attributes.correlationId;
options.headers[CORRELATIONID_HEADER] = attributes.correlationId;
}

@@ -324,0 +325,0 @@ }

@@ -71,3 +71,3 @@ 'use strict';

const correlationId = req.headers["x-correlation-id"] || req.headers["vcap_request_id"];
const correlationId = req.headers["x-correlationid"] || req.headers["x-vcap-request-id"];

@@ -74,0 +74,0 @@ try {

{
"name": "@sap/xssec",
"version": "3.2.9",
"version": "3.2.10",
"description": "XS Advanced Container Security API for node.js",

@@ -5,0 +5,0 @@ "main": "./lib",

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