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

@opentelemetry/instrumentation-mongodb

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-mongodb - npm Package Compare versions

Comparing version 0.35.0 to 0.36.0

15

build/src/index.js

@@ -17,15 +17,6 @@ "use strict";

*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./instrumentation"), exports);
__exportStar(require("./types"), exports);
const tslib_1 = require("tslib");
(0, tslib_1.__exportStar)(require("./instrumentation"), exports);
(0, tslib_1.__exportStar)(require("./types"), exports);
//# sourceMappingURL=index.js.map

8

build/src/instrumentation.js

@@ -45,6 +45,6 @@ "use strict";

]),
new instrumentation_1.InstrumentationNodeModuleDefinition('mongodb', ['4.*'], undefined, undefined, [
new instrumentation_1.InstrumentationNodeModuleFile('mongodb/lib/cmap/connection.js', ['4.*'], v4PatchConnection, v4UnpatchConnection),
new instrumentation_1.InstrumentationNodeModuleFile('mongodb/lib/cmap/connect.js', ['4.*'], v4PatchConnect, v4UnpatchConnect),
new instrumentation_1.InstrumentationNodeModuleFile('mongodb/lib/sessions.js', ['4.*'], v4PatchSessions, v4UnpatchSessions),
new instrumentation_1.InstrumentationNodeModuleDefinition('mongodb', ['4.*', '5.*'], undefined, undefined, [
new instrumentation_1.InstrumentationNodeModuleFile('mongodb/lib/cmap/connection.js', ['4.*', '5.*'], v4PatchConnection, v4UnpatchConnection),
new instrumentation_1.InstrumentationNodeModuleFile('mongodb/lib/cmap/connect.js', ['4.*', '5.*'], v4PatchConnect, v4UnpatchConnect),
new instrumentation_1.InstrumentationNodeModuleFile('mongodb/lib/sessions.js', ['4.*', '5.*'], v4PatchSessions, v4UnpatchSessions),
]),

@@ -51,0 +51,0 @@ ];

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

export declare const VERSION = "0.35.0";
export declare const VERSION = "0.36.0";
//# sourceMappingURL=version.d.ts.map

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

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

@@ -10,4 +10,6 @@ "main": "build/src/index.js",

"docker:start": "docker run -e MONGODB_DB=opentelemetry-tests -e MONGODB_PORT=27017 -e MONGODB_HOST=127.0.0.1 -p 27017:27017 --rm mongo",
"test": "nyc ts-mocha -p tsconfig.json --require '@opentelemetry/contrib-test-utils' 'test/**/mongodb-v3.test.ts'",
"test-new-versions": "nyc ts-mocha -p tsconfig.json --require '@opentelemetry/contrib-test-utils' 'test/mongodb-v4**.test.ts'",
"test": "npm run test-v3",
"test-v3": "nyc ts-mocha -p tsconfig.json --require '@opentelemetry/contrib-test-utils' 'test/**/mongodb-v3.test.ts'",
"test-v4": "nyc ts-mocha -p tsconfig.json --require '@opentelemetry/contrib-test-utils' 'test/mongodb-v4-v5.metrics.test.ts' 'test/**/mongodb-v4.test.ts'",
"test-v5": "nyc ts-mocha -p tsconfig.json --require '@opentelemetry/contrib-test-utils' 'test/mongodb-v4-v5.metrics.test.ts' 'test/**/mongodb-v5.test.ts'",
"test-all-versions": "tav",

@@ -56,3 +58,3 @@ "tdd": "npm run test -- --watch-extensions ts --watch",

"@opentelemetry/context-async-hooks": "^1.8.0",
"@opentelemetry/contrib-test-utils": "^0.33.4",
"@opentelemetry/contrib-test-utils": "^0.34.0",
"@opentelemetry/sdk-trace-base": "^1.8.0",

@@ -73,8 +75,9 @@ "@opentelemetry/sdk-trace-node": "^1.8.0",

"dependencies": {
"@opentelemetry/instrumentation": "^0.40.0",
"@opentelemetry/instrumentation": "^0.41.0",
"@opentelemetry/sdk-metrics": "^1.9.1",
"@opentelemetry/semantic-conventions": "^1.0.0"
"@opentelemetry/semantic-conventions": "^1.0.0",
"tslib": "^2.3.1"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-mongodb#readme",
"gitHead": "efdfc727a49090accee7fea8ff93011b6b84c1e4"
"gitHead": "f81f8a76a8f0af2101c62dbc73cde442f875d833"
}

Sorry, the diff of this file is not supported yet

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