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

@contrast/agentify

Package Overview
Dependencies
Maintainers
15
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrast/agentify - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

38

lib/sources.js

@@ -35,30 +35,6 @@ /*

function install() {
[{
moduleName: 'http'
},
{
moduleName: 'https'
},
{
moduleName: 'spdy'
},
{
moduleName: 'http2',
patchObjectsProps: [
{
methods: ['createServer', 'createSecureServer'],
patchType,
patchObjects: [
{
name: 'Server.prototype',
methods: ['emit'],
patchType,
around: aroundHook('http2')
}
]
}
]
}].forEach(({ moduleName, patchObjectsProps }) => {
const patchObjects = patchObjectsProps || [
{
['http', 'https', 'spdy', 'http2'].forEach((moduleName) => {
instrument({
moduleName,
patchObjects: [{
name: 'Server.prototype',

@@ -68,7 +44,3 @@ methods: ['emit'],

around: aroundHook(moduleName)
}
];
instrument({
moduleName,
patchObjects
}]
});

@@ -75,0 +47,0 @@ });

2

package.json
{
"name": "@contrast/agentify",
"version": "1.5.0",
"version": "1.5.1",
"description": "Configures Contrast agent services and instrumentation within an application",

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

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