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

@instana/core

Package Overview
Dependencies
Maintainers
6
Versions
264
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instana/core - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

src/tracing/instrumentation/database/db2.js

16

CHANGELOG.md

@@ -6,2 +6,18 @@ # Change Log

# [2.2.0](https://github.com/instana/nodejs/compare/v2.1.0...v2.2.0) (2022-05-18)
### Bug Fixes
* **agent:** reduce log level for sending data from debug to trace ([8b57a71](https://github.com/instana/nodejs/commit/8b57a71eb9818f83acbdc8f9bf63623a7e415d07))
### Features
* **tracing:** added instrumentation for ibm db2 ([#532](https://github.com/instana/nodejs/issues/532)) ([0d0b1e0](https://github.com/instana/nodejs/commit/0d0b1e0d4409795206613c4c2cdcf1e270772dd8))
# [2.1.0](https://github.com/instana/nodejs/compare/v2.0.0...v2.1.0) (2022-04-28)

@@ -8,0 +24,0 @@

4

package.json
{
"name": "@instana/core",
"version": "2.1.0",
"version": "2.2.0",
"description": "Core library for Instana's Node.js packages",

@@ -139,3 +139,3 @@ "main": "src/index.js",

},
"gitHead": "d2032da184c812f6e5912225f7438904044cf3d8"
"gitHead": "5f039b739bf6726e6a0da401721f6ea790d9850d"
}

@@ -15,2 +15,3 @@ /*

* @typedef {Object} GenericLogger
* @property {(...args: *) => void} [trace]
* @property {(...args: *) => void} debug

@@ -17,0 +18,0 @@ * @property {(...args: *) => void} info

@@ -60,2 +60,3 @@ /*

'./instrumentation/database/redis',
'./instrumentation/database/db2',
'./instrumentation/frameworks/express',

@@ -62,0 +63,0 @@ './instrumentation/frameworks/fastify',

@@ -180,2 +180,15 @@ /*

/**
* @param {string} connectionStr
* @returns {string}
*/
exports.sanitizeConnectionStr = function sanitizeConnectionStr(connectionStr) {
if (connectionStr == null || typeof connectionStr !== 'string') {
return undefined;
}
const replaced = connectionStr.replace(/PWD=.*?(?=;)/, 'PWD=<redacted>');
return replaced;
};
/**
* Iterates over all attributes of the given object and returns the first attribute for which the name matches the given

@@ -182,0 +195,0 @@ * name in a case insensitive fashion, or null if no such attribute exists.

@@ -62,3 +62,4 @@ /*

/\/superagent\/lib\/node\/index.js/,
/\/memcached\/index.js/
/\/memcached\/index.js/,
/\/ibm_db\/lib/
];

@@ -65,0 +66,0 @@

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