Socket
Socket
Sign inDemoInstall

@contrast/agent

Package Overview
Dependencies
98
Maintainers
6
Versions
273
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.4.1 to 5.4.2

7

lib/start-agent.js

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

const process = require('process');
const W = require('node:worker_threads');
const semver = require('semver');

@@ -120,2 +121,8 @@ const _agentify = require('@contrast/agentify');

async function startAgent({ type = 'cjs' } = {}) {
if (!W.isMainThread) {
// todo : support workers
console.warn('worker thread not instrumented by contrast');
throw new Error();
}
const core = initCore();

@@ -122,0 +129,0 @@ const agentify = _agentify(core);

10

package.json
{
"name": "@contrast/agent",
"version": "5.4.1",
"version": "5.4.2",
"description": "Assess and Protect agents for Node.js",

@@ -24,11 +24,11 @@ "license": "SEE LICENSE IN LICENSE",

"dependencies": {
"@contrast/agentify": "1.22.1",
"@contrast/agentify": "1.22.2",
"@contrast/architecture-components": "1.17.0",
"@contrast/assess": "1.26.0",
"@contrast/assess": "1.26.1",
"@contrast/library-analysis": "1.18.0",
"@contrast/protect": "1.34.1",
"@contrast/protect": "1.34.2",
"@contrast/route-coverage": "1.17.0",
"@contrast/telemetry": "1.5.2",
"@contrast/telemetry": "1.5.3",
"semver": "^7.3.7"
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc