Socket
Socket
Sign inDemoInstall

@opentelemetry/instrumentation-mysql2

Package Overview
Dependencies
Maintainers
2
Versions
33
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.30.0 to 0.31.0

7

build/src/instrumentation.js

@@ -38,2 +38,6 @@ "use strict";

this._wrap(ConnectionPrototype, 'query', this._patchQuery(moduleExports.format));
if (instrumentation_1.isWrapped(ConnectionPrototype.execute)) {
this._unwrap(ConnectionPrototype, 'execute');
}
this._wrap(ConnectionPrototype, 'execute', this._patchQuery(moduleExports.format));
return moduleExports;

@@ -45,2 +49,3 @@ }, (moduleExports) => {

this._unwrap(ConnectionPrototype, 'query');
this._unwrap(ConnectionPrototype, 'execute');
}),

@@ -52,3 +57,3 @@ ];

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

@@ -55,0 +60,0 @@ let values;

2

build/src/version.d.ts

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

export declare const VERSION = "0.30.0";
export declare const VERSION = "0.31.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.30.0';
exports.VERSION = '0.31.0';
//# sourceMappingURL=version.js.map
# Changelog
## [0.31.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-mysql2-v0.30.0...instrumentation-mysql2-v0.31.0) (2022-06-08)
### Features
* **mysql2:** support Connection.execute ([#1028](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/1028)) ([3e2f9c5](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/3e2f9c56f4a748a5e63f2f054ec67d5db4b646ab))
* update core dependencies stable ^1.3.1 experimental ^0.29.2 ([141b155](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/141b155e344980b51264e26b26c117b2113bcef6))
### Dependencies
* The following workspace dependencies were updated
* devDependencies
* @opentelemetry/contrib-test-utils bumped from ^0.30.0 to ^0.31.0
## [0.30.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-mysql2-v0.29.0...instrumentation-mysql2-v0.30.0) (2022-05-14)

@@ -4,0 +19,0 @@

{
"name": "@opentelemetry/instrumentation-mysql2",
"version": "0.30.0",
"version": "0.31.0",
"description": "OpenTelemetry mysql2 automatic instrumentation package.",

@@ -51,5 +51,5 @@ "main": "build/src/index.js",

"@opentelemetry/api": "^1.0.0",
"@opentelemetry/context-async-hooks": "1.2.0",
"@opentelemetry/contrib-test-utils": "^0.30.0",
"@opentelemetry/sdk-trace-base": "1.2.0",
"@opentelemetry/context-async-hooks": "^1.3.1",
"@opentelemetry/contrib-test-utils": "^0.31.0",
"@opentelemetry/sdk-trace-base": "^1.3.1",
"@types/mocha": "7.0.2",

@@ -70,6 +70,7 @@ "@types/mysql2": "github:types/mysql2",

"dependencies": {
"@opentelemetry/instrumentation": "^0.28.0",
"@opentelemetry/instrumentation": "^0.29.2",
"@opentelemetry/semantic-conventions": "^1.0.0"
},
"gitHead": "f89da7d080d2aaecacd8728d647e8eff4c9248a9"
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-mysql2#readme",
"gitHead": "9633cf49c4099e97dd2a285d0399455e17a593e3"
}

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