@contrast/agent 4.19.0 → 4.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,7 +26,7 @@ module.exports = {
26
26
  }
27
27
  },
28
28
  hideEmptyBlocks: true,
29
- template: `## v<%= process.env.VERSION -%>
29
+ template: `## <%= process.env.VERSION -%>
30
30
 
31
31
  <% blockTickets = tickets.all.filter((t) => !t.reverted); -%>
32
32
  <% if (blockTickets.length > 0 || !options.hideEmptyBlocks) { -%>
@@ -323,6 +323,10 @@ function mergePM2Envs() {
323
323
  .concat(Object.entries(pm2_env))
324
324
  .concat(['DEBUG', 'PGHOST', 'PGPORT']);
325
325
 
326
+ const pm2ConfigPath =
327
+ pm2_env.env.CONTRAST_CONFIG_PATH || pm2_env.CONTRAST_CONFIG_PATH;
328
+ if (pm2ConfigPath) process.env.CONTRAST_CONFIG_PATH = pm2ConfigPath;
329
+
326
330
  objectEntries.forEach(([key, value]) => {
327
331
  if (
328
332
  !process.env[key] &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrast/agent",
3
- "version": "4.19.0",
3
+ "version": "4.19.1",
4
4
  "description": "Node.js security instrumentation by Contrast Security",
5
5
  "keywords": [
6
6
  "security",