Socket
Socket
Sign inDemoInstall

@opentelemetry/instrumentation-pg

Package Overview
Dependencies
Maintainers
4
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-pg - npm Package Compare versions

Comparing version 0.20.0 to 0.21.0

8

build/src/instrumentation.js

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

if (parentSpan) {
args[args.length - 1] = api_1.context.bind(args[args.length - 1]);
args[args.length - 1] = api_1.context.bind(api_1.context.active(), args[args.length - 1]);
}

@@ -96,3 +96,3 @@ }

if (parentSpan) {
callback = api_1.context.bind(callback);
callback = api_1.context.bind(api_1.context.active(), callback);
}

@@ -156,3 +156,3 @@ // Copy the callback instead of writing to args.callback so that we don't modify user's

if (parentSpan) {
callback = api_1.context.bind(callback);
callback = api_1.context.bind(api_1.context.active(), callback);
}

@@ -164,3 +164,3 @@ }

const connectResultPromise = connectResult;
return api_1.context.bind(connectResultPromise
return api_1.context.bind(api_1.context.active(), connectResultPromise
.then(result => {

@@ -167,0 +167,0 @@ // Return a pass-along promise which ends the span and then goes to user's orig resolvers

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

export declare const VERSION = "0.20.0";
export declare const VERSION = "0.21.0";
//# sourceMappingURL=version.d.ts.map

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

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

@@ -49,9 +49,13 @@ "main": "build/src/index.js",

},
"peerDependencies": {
"@opentelemetry/api": "^0.21.0"
},
"devDependencies": {
"@opentelemetry/context-async-hooks": "0.20.0",
"@opentelemetry/node": "0.20.0",
"@opentelemetry/test-utils": "^0.20.0",
"@opentelemetry/tracing": "0.20.0",
"@opentelemetry/api": "0.21.0",
"@opentelemetry/context-async-hooks": "0.21.0",
"@opentelemetry/node": "0.21.0",
"@opentelemetry/test-utils": "^0.21.0",
"@opentelemetry/tracing": "0.21.0",
"@types/mocha": "7.0.2",
"@types/node": "14.17.2",
"@types/node": "14.17.3",
"codecov": "3.8.2",

@@ -69,9 +73,8 @@ "cross-env": "7.0.3",

"dependencies": {
"@opentelemetry/api": "^0.20.0",
"@opentelemetry/instrumentation": "^0.20.0",
"@opentelemetry/semantic-conventions": "^0.20.0",
"@opentelemetry/instrumentation": "^0.21.0",
"@opentelemetry/semantic-conventions": "^0.21.0",
"@types/pg": "8.6.0",
"@types/pg-pool": "2.0.2"
},
"gitHead": "5d73dc2d11a8fd57b21a0c6286861cb992556ca1"
"gitHead": "621f0141e406b75ef11a77fb85ce8caab9c8a272"
}
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