Socket
Socket
Sign inDemoInstall

@opentelemetry/instrumentation-mongoose

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/instrumentation-mongoose - npm Package Compare versions

Comparing version 0.38.0 to 0.38.1

7

build/src/mongoose.js

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

constructor(config = {}) {
super('@opentelemetry/instrumentation-mongoose', version_1.VERSION, Object.assign({}, config));
super('@opentelemetry/instrumentation-mongoose', version_1.VERSION, config);
}

@@ -88,3 +88,2 @@ setConfig(config = {}) {

const self = this;
this._diag.debug('patched mongoose Aggregate exec function');
return (originalAggregate) => {

@@ -113,3 +112,2 @@ return function exec(callback) {

const self = this;
this._diag.debug('patched mongoose Query exec function');
return (originalExec) => {

@@ -139,3 +137,2 @@ return function exec(callback) {

const self = this;
this._diag.debug(`patching mongoose Model '${op}' operation`);
return (originalOnModelFunction) => {

@@ -171,3 +168,2 @@ return function method(options, callback) {

const self = this;
this._diag.debug('patched mongoose model aggregate function');
return (original) => {

@@ -185,3 +181,2 @@ return function captureSpanContext() {

const self = this;
this._diag.debug(`patching mongoose query ${funcName} function`);
return (original) => {

@@ -188,0 +183,0 @@ return function captureSpanContext() {

2

build/src/version.d.ts

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

export declare const VERSION = "0.38.0";
export declare const VERSION = "0.38.1";
//# sourceMappingURL=version.d.ts.map

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

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

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

"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/instrumentation-mongoose#readme",
"gitHead": "96a87b48934f0afcf1fe637eed6704f35bd8e973"
"gitHead": "a2e2b5a1aa2910b903829d215184c43d2107b9ac"
}

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