You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@contrast/instrumentation

Package Overview
Dependencies
Maintainers
14
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2

16

lib/mongodb.js

@@ -41,9 +41,11 @@ /*

const { preHookFn } = patcherOpts;
patcher.patch(patchObj, method, {
name: name ? `mongodb.${name}.${method}` : `mongodb.${method}`,
pre: (ctx) => {
preHookFn(ctx, semVer);
},
...patcherOpts
});
if (patchObj[method]) {
patcher.patch(patchObj, method, {
name: name ? `mongodb.${name}.${method}` : `mongodb.${method}`,
pre: (ctx) => {
preHookFn(ctx, semVer);
},
...patcherOpts
});
}
});

@@ -50,0 +52,0 @@ });

{
"name": "@contrast/instrumentation",
"version": "1.1.1",
"version": "1.1.2",
"description": "Shared hooks and patches between Protect and Assess components",

@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc