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

@instana/core

Package Overview
Dependencies
Maintainers
3
Versions
258
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 1.87.0 to 1.88.0

4

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

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

},
"gitHead": "3054ba9cd79922ea5d334647797175922656a946"
"gitHead": "2bdf0ff3a2485b3a5dfe4e693c46057e34fdc870"
}

@@ -11,6 +11,18 @@ 'use strict';

exports.init = function() {
requireHook.onFileLoad(/\/winston\/lib\/winston\/create-logger\.js/, instrumentCreateLogger);
// Winston 2.x
requireHook.onFileLoad(/\/winston\/lib\/winston\/logger\.js/, instrumentWinston2);
// Winston >= 3.x
requireHook.onFileLoad(/\/winston\/lib\/winston\/create-logger\.js/, instrumentWinston3);
};
function instrumentCreateLogger(createLogger) {
function instrumentWinston2(loggerModule) {
if (typeof loggerModule.Logger !== 'function') {
return loggerModule;
}
shimLogMethod(loggerModule.Logger.prototype);
return loggerModule;
}
function instrumentWinston3(createLogger) {
if (typeof createLogger !== 'function') {

@@ -17,0 +29,0 @@ return createLogger;

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