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

@opentelemetry/instrumentation-mysql2

Package Overview
Dependencies
Maintainers
3
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-mysql2 - npm Package Compare versions

Comparing version 0.38.0 to 0.38.1

4

build/src/instrumentation.js

@@ -26,3 +26,3 @@ "use strict";

class MySQL2Instrumentation extends instrumentation_1.InstrumentationBase {
constructor(config) {
constructor(config = {}) {
super('@opentelemetry/instrumentation-mysql2', version_1.VERSION, config);

@@ -34,3 +34,2 @@ }

const ConnectionPrototype = moduleExports.Connection.prototype;
api.diag.debug('Patching Connection.prototype.query');
if ((0, instrumentation_1.isWrapped)(ConnectionPrototype.query)) {

@@ -57,3 +56,2 @@ this._unwrap(ConnectionPrototype, 'query');

const thisPlugin = this;
api.diag.debug('MySQL2Instrumentation: patched mysql query/execute');
return function query(query, _valuesOrCallback, _callback) {

@@ -60,0 +58,0 @@ const thisPluginConfig = thisPlugin._config;

@@ -1,2 +0,2 @@

export declare const VERSION = "0.38.0";
export declare const VERSION = "0.38.1";
//# sourceMappingURL=version.d.ts.map

@@ -20,3 +20,3 @@ "use strict";

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.38.0';
exports.VERSION = '0.38.1';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/instrumentation-mysql2",
"version": "0.38.0",
"version": "0.38.1",
"description": "OpenTelemetry mysql2 automatic instrumentation package.",

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

"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-mysql2#readme",
"gitHead": "96a87b48934f0afcf1fe637eed6704f35bd8e973"
"gitHead": "a2e2b5a1aa2910b903829d215184c43d2107b9ac"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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