New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sap/audit-logging

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap/audit-logging - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

6

CHANGELOG.md

@@ -8,2 +8,8 @@ # Change Log

## 4.1.0 - 2021-02-12
### Added
- Added support for passing HTTP(s) request agent options to the Service transport.
This feature is experimental and is therefore not documented. It may be changed or removed anytime.
## 4.0.0 - 2021-02-09

@@ -10,0 +16,0 @@

9

lib/transports/ServiceTransport.js

@@ -7,2 +7,4 @@ 'use strict';

var util = require('util');
var http = require('http');
var https = require('https');

@@ -13,2 +15,6 @@ function ServiceTransport(credentials, options) {

this.serviceURL = credentials.url + options.url;
var requestAgentOptions = credentials.requestAgentOptions || {};
debug('HTTP(S) Agent Options: %o', requestAgentOptions);
var requestAgentClass = (this.serviceURL.startsWith('https')) ? https.Agent : http.Agent;
this.requestAgent = new requestAgentClass(requestAgentOptions);
this.appInfo = process.env.VCAP_APPLICATION ? JSON.parse(process.env.VCAP_APPLICATION) : {};

@@ -57,3 +63,4 @@ }

json: true,
body: data
body: data,
agent: this.requestAgent
}, function(err, httpResponse, body) {

@@ -60,0 +67,0 @@ debug('Auditlog request: %s %s\n headers: %j\n body: %j',

2

npm-shrinkwrap.json
{
"name": "@sap/audit-logging",
"version": "4.0.0",
"version": "4.1.0",
"lockfileVersion": 1,

@@ -5,0 +5,0 @@ "requires": true,

{
"name": "@sap/audit-logging",
"description": "Provides audit logging functionalities for Node.js applications",
"version": "4.0.0",
"version": "4.1.0",
"license": "SEE LICENSE IN LICENSE file",

@@ -6,0 +6,0 @@ "main": "index.js",

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