New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@contrast/agentify

Package Overview
Dependencies
Maintainers
8
Versions
76
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.41.0 to 1.42.0

2

lib/heap-snapshots.js

@@ -30,3 +30,3 @@ /*

const dir = path.join(process.cwd(), heap_dump.path);
const dir = path.resolve(process.cwd(), heap_dump.path);
const ext = '.heapsnapshot';

@@ -33,0 +33,0 @@

@@ -33,3 +33,3 @@ 'use strict';

snapshotPath = 'contrast_heap_dumps';
dirname = path.join(process.cwd(), snapshotPath);
dirname = path.resolve(process.cwd(), snapshotPath);

@@ -36,0 +36,0 @@ core = {};

@@ -20,3 +20,3 @@ /*

const Module = require('node:module');
const { rewriteIsDeadzoned } = require('./rewrite-is-deadzoned');
const { rewriteIsDeadzoned } = require('@contrast/rewriter/lib/rewrite-is-deadzoned');

@@ -30,4 +30,4 @@ /**

module.exports = function init(core) {
const js = Module._extensions['.js'];
const { _compile } = Module.prototype;
let js;
let _compile;

@@ -38,2 +38,7 @@ core.rewriteHooks = {

// don't define this prior to install(), since it will interfere with other
// components that also need to instrument it e.g. dep-hooks.
_compile = Module.prototype._compile;
js = Module._extensions['.js'];
/**

@@ -99,4 +104,4 @@ * @see https://github.com/nodejs/node/blob/main/lib/internal/modules/cjs/loader.js

uninstall() {
Module.prototype._compile = _compile;
Module._extensions['.js'] = js;
_compile && (Module.prototype._compile = _compile);
js && (Module._extensions['.js'] = js);
}

@@ -103,0 +108,0 @@ };

{
"name": "@contrast/agentify",
"version": "1.41.0",
"version": "1.42.0",
"description": "Configures Contrast agent services and instrumentation within an application",

@@ -21,16 +21,16 @@ "license": "SEE LICENSE IN LICENSE",

"@contrast/common": "1.29.0",
"@contrast/config": "1.39.0",
"@contrast/core": "1.44.0",
"@contrast/deadzones": "1.16.0",
"@contrast/dep-hooks": "1.13.0",
"@contrast/esm-hooks": "2.18.0",
"@contrast/config": "1.40.0",
"@contrast/core": "1.45.0",
"@contrast/deadzones": "1.17.0",
"@contrast/dep-hooks": "1.14.0",
"@contrast/esm-hooks": "2.19.0",
"@contrast/find-package-json": "^1.1.0",
"@contrast/instrumentation": "1.23.0",
"@contrast/logger": "1.17.0",
"@contrast/metrics": "1.21.0",
"@contrast/patcher": "1.16.0",
"@contrast/instrumentation": "1.24.0",
"@contrast/logger": "1.18.0",
"@contrast/metrics": "1.22.0",
"@contrast/patcher": "1.17.0",
"@contrast/perf": "1.3.0",
"@contrast/reporter": "1.40.0",
"@contrast/rewriter": "1.20.0",
"@contrast/scopes": "1.14.0",
"@contrast/reporter": "1.41.0",
"@contrast/rewriter": "1.21.0",
"@contrast/scopes": "1.15.0",
"on-finished": "^2.4.1",

@@ -37,0 +37,0 @@ "semver": "^7.6.0"

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