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

@opentelemetry/instrumentation-pg

Package Overview
Dependencies
Maintainers
3
Versions
43
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.42.0 to 0.43.0

4

build/src/instrumentation.js

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

init() {
const modulePG = new instrumentation_1.InstrumentationNodeModuleDefinition('pg', ['8.*'], (module) => {
const modulePG = new instrumentation_1.InstrumentationNodeModuleDefinition('pg', ['>=8.0.0 <9'], (module) => {
const moduleExports = module[Symbol.toStringTag] === 'Module'

@@ -52,3 +52,3 @@ ? module.default // ESM

});
const modulePGPool = new instrumentation_1.InstrumentationNodeModuleDefinition('pg-pool', ['2.*', '3.*'], (moduleExports) => {
const modulePGPool = new instrumentation_1.InstrumentationNodeModuleDefinition('pg-pool', ['>=2.0.0 <4'], (moduleExports) => {
if ((0, instrumentation_1.isWrapped)(moduleExports.prototype.connect)) {

@@ -55,0 +55,0 @@ this._unwrap(moduleExports.prototype, 'connect');

@@ -1,3 +0,3 @@

export declare const PACKAGE_VERSION = "0.42.0";
export declare const PACKAGE_VERSION = "0.43.0";
export declare const PACKAGE_NAME = "@opentelemetry/instrumentation-pg";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.PACKAGE_VERSION = '0.42.0';
exports.PACKAGE_VERSION = '0.43.0';
exports.PACKAGE_NAME = '@opentelemetry/instrumentation-pg';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/instrumentation-pg",
"version": "0.42.0",
"version": "0.43.0",
"description": "OpenTelemetry instrumentation for `pg` and `pg-pool` database client for PostgreSQL",

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

"lint:fix": "eslint . --ext .ts --fix",
"lint:readme": "node ../../../scripts/lint-readme.js",
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/instrumentation-pg --include-dependencies",

@@ -82,3 +83,3 @@ "prewatch": "npm run precompile",

"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-pg#readme",
"gitHead": "0af1b70f7c3c9763c85ac51fa5e334c1e1512020"
"gitHead": "ad8436d6a4174f2288cb939080cd4e74da94b0d7"
}

@@ -20,3 +20,4 @@ # OpenTelemetry Postgres Instrumentation for Node.js

- `>=8 <9`
- [`pg`](https://www.npmjs.com/package/pg) versions `>=8.0.0 <9`
- [`pg-pool`](https://www.npmjs.com/package/pg-pool) versions `>=2.0.0 <4`

@@ -23,0 +24,0 @@ ## Usage

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