@opentelemetry/instrumentation-mongodb
Advanced tools
Comparing version 0.35.0 to 0.36.0
@@ -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 |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
116362
5
889
+ Addedtslib@^2.3.1
+ Added@opentelemetry/instrumentation@0.41.2(transitive)
+ Addedacorn@8.14.0(transitive)
+ Addedacorn-import-assertions@1.9.0(transitive)
+ Addedcjs-module-lexer@1.4.1(transitive)
+ Addedimport-in-the-middle@1.4.2(transitive)
+ Addedtslib@2.8.1(transitive)
- Removed@opentelemetry/instrumentation@0.40.0(transitive)
- Removedimport-in-the-middle@1.3.5(transitive)