Socket
Socket
Sign inDemoInstall

@contrast/agentify

Package Overview
Dependencies
Maintainers
15
Versions
62
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.4.1 to 1.5.0

13

lib/index.js

@@ -44,3 +44,2 @@ /*

require('./sources')(core);
require('./contrast-methods')(core);
require('./function-hooks')(core);

@@ -141,14 +140,8 @@ require('./rewrite-hooks')(core);

logDiagnosticFiles() {
const { agentName, agentVersion, config, getEffectiveConfig, getSystemInfo } = this.core;
const { config, getEffectiveConfig, getSystemInfo } = this.core;
if (config.agent.diagnostics.enable !== false) {
const effectiveConfig = JSON.stringify(getEffectiveConfig(), null, 2).concat('\n\n');
const effectiveConfig = JSON.stringify(getEffectiveConfig(), null, 2);
const systemInfo = JSON.stringify(getSystemInfo(), null, 2);
let systemInfo = getSystemInfo();
systemInfo.Contrast.Agent = {
Name: agentName,
Version: agentVersion,
};
systemInfo = JSON.stringify(systemInfo, null, 2).concat('\n\n');
if (!config.agent.diagnostics.quiet) {

@@ -155,0 +148,0 @@ fs.writeFileSync(1, effectiveConfig, 'utf8');

{
"name": "@contrast/agentify",
"version": "1.4.1",
"version": "1.5.0",
"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