@contrast/agentify
Advanced tools
Comparing version 1.22.2 to 1.22.3
@@ -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 @@ } |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25341
11
606
+ Added@contrast/esm-hooks@2.4.1(transitive)
- Removed@contrast/esm-hooks@2.4.0(transitive)
Updated@contrast/esm-hooks@2.4.1