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
11
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.2.1

2

lib/http.js

@@ -31,2 +31,4 @@ /*

const patchObj = get(module, name);
if (!patchObj) return;
patcher.patch(patchObj, method, {

@@ -33,0 +35,0 @@ name: `${moduleName}.${name}.${method}`,

8

lib/utils.js

@@ -21,6 +21,8 @@ /*

if (!name) return obj;
let nest = obj;
split(name, '.').forEach((prop) => {
nest = nest[prop];
});
for (const prop of split(name, '.')) {
nest = nest?.[prop];
if (nest === undefined) break;
}
return nest;

@@ -27,0 +29,0 @@ }

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

@@ -18,3 +18,6 @@ "license": "SEE LICENSE IN LICENSE",

"test": "../scripts/test.sh"
},
"dependencies": {
"@contrast/common": "1.15.1"
}
}
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