@instana/core
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -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 @@ |
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
631343
115
17369
37