Socket
Socket
Sign inDemoInstall

@contrast/agentify

Package Overview
Dependencies
Maintainers
9
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.22.2 to 1.22.3

lib/rewrite-is-deadzoned.js

9

lib/rewrite-hooks.js

@@ -21,2 +21,4 @@ /*

const rewriteIsDeadzoned = require('./rewrite-is-deadzoned');
/**

@@ -51,2 +53,7 @@ * @param {import('.').Core & {

if (rewriteIsDeadzoned(filename)) {
core.logger.debug('Skipping rewrite-deadzoned file %s', filename);
return Reflect.apply(_compile, this, [content, filename]);
}
const result = core.rewriter.rewriteSync(content, options);

@@ -79,3 +86,3 @@

Module._extensions['.js'] = function (module, filename) {
if (!core.config.agent.node.rewrite.cache.enable) {
if (!core.config.agent.node.rewrite.cache.enable || rewriteIsDeadzoned(filename)) {
return Reflect.apply(js, this, [module, filename]);

@@ -82,0 +89,0 @@ }

4

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

@@ -25,3 +25,3 @@ "license": "SEE LICENSE IN LICENSE",

"@contrast/dep-hooks": "1.3.1",
"@contrast/esm-hooks": "2.4.0",
"@contrast/esm-hooks": "2.4.1",
"@contrast/instrumentation": "1.6.0",

@@ -28,0 +28,0 @@ "@contrast/logger": "1.8.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