Socket
Socket
Sign inDemoInstall

@contrast/agentify

Package Overview
Dependencies
13
Maintainers
9
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.17.0 to 1.18.0

lib/initialize.mjs

2

lib/function-hooks.js
/*
* Copyright: 2023 Contrast Security, Inc
* Copyright: 2024 Contrast Security, Inc
* Contact: support@contrastsecurity.com

@@ -4,0 +4,0 @@ * License: Commercial

/*
* Copyright: 2023 Contrast Security, Inc
* Copyright: 2024 Contrast Security, Inc
* Contact: support@contrastsecurity.com

@@ -4,0 +4,0 @@ * License: Commercial

/*
* Copyright: 2023 Contrast Security, Inc
* Copyright: 2024 Contrast Security, Inc
* Contact: support@contrastsecurity.com

@@ -45,2 +45,3 @@ * License: Commercial

readonly rewriter: Rewriter;
readonly threadInfo: any;
}

@@ -47,0 +48,0 @@

/*
* Copyright: 2023 Contrast Security, Inc
* Copyright: 2024 Contrast Security, Inc
* Contact: support@contrastsecurity.com

@@ -55,9 +55,9 @@ * License: Commercial

require('@contrast/core/lib/is-agent-path')(core);
require('@contrast/dep-hooks')(core);
require('@contrast/patcher')(core);
require('@contrast/core/lib/capture-stacktrace')(core);
require('@contrast/patcher')(core);
require('@contrast/rewriter')(core); // merge contrast-methods?
require('@contrast/core/lib/contrast-methods')(core); // can we remove dependency on patcher?
require('@contrast/dep-hooks')(core);
require('@contrast/scopes')(core);

@@ -64,0 +64,0 @@ require('@contrast/deadzones')(core);

/*
* Copyright: 2023 Contrast Security, Inc
* Copyright: 2024 Contrast Security, Inc
* Contact: support@contrastsecurity.com

@@ -4,0 +4,0 @@ * License: Commercial

/*
* Copyright: 2023 Contrast Security, Inc
* Copyright: 2024 Contrast Security, Inc
* Contact: support@contrastsecurity.com

@@ -41,3 +41,3 @@ * License: Commercial

let result;
const { code } = core.rewriter.rewrite(content, {
const options = {
filename,

@@ -47,4 +47,8 @@ isModule: false,

wrap: true,
});
};
// if threadInfo is present, this is running with --loader or --import
core.threadInfo?.post('rewrite', options);
const { code } = core.rewriter.rewrite(content, options);
try {

@@ -51,0 +55,0 @@ result = _compile.call(this, code, filename);

/*
* Copyright: 2023 Contrast Security, Inc
* Copyright: 2024 Contrast Security, Inc
* Contact: support@contrastsecurity.com

@@ -4,0 +4,0 @@ * License: Commercial

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

@@ -21,7 +21,8 @@ "license": "SEE LICENSE IN LICENSE",

"@contrast/common": "1.16.0",
"@contrast/config": "1.22.0",
"@contrast/core": "1.27.0",
"@contrast/config": "1.23.0",
"@contrast/core": "1.27.1",
"@contrast/deadzones": "1.1.1",
"@contrast/dep-hooks": "1.3.0",
"@contrast/instrumentation": "1.3.0",
"@contrast/dep-hooks": "^1.3.0",
"@contrast/esm-hooks": "2.0.1",
"@contrast/instrumentation": "^1.3.0",
"@contrast/logger": "1.7.0",

@@ -28,0 +29,0 @@ "@contrast/metrics": "1.2.0",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc