@contrast/core 1.11.0 → 1.11.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.
package/lib/index.js CHANGED
@@ -37,5 +37,6 @@ module.exports = function init(core = {}) {
37
37
  require('@contrast/instrumentation')(core);
38
38
  require('@contrast/agentify')(core);
39
39
 
40
+ console.log('test');
40
41
  return core;
41
42
  };
@@ -67,8 +67,6 @@ function isDocker() {
67
67
  }
68
68
 
69
69
  module.exports = function(core) {
70
- // eslint-disable-next-line node/no-extraneous-require
71
- const pkg = require('@contrast/protect-agent/package.json');
72
70
  const { config } = core;
73
71
 
74
72
  core.getSystemInfo = function() {
@@ -82,11 +80,8 @@ module.exports = function(core) {
82
80
  Proxy: config.api.proxy,
83
81
  Server: {
84
82
  Name: config.server.name,
85
- },
86
- Agent: {
87
- Name: pkg.name,
88
- Version: pkg.version,
89
- },
83
+ }
84
+ // `Agent` section is built by agentify or CLI depending on context
90
85
  },
91
86
  Node: {
92
87
  Version: process.version
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrast/core",
3
- "version": "1.11.0",
3
+ "version": "1.11.1",
4
4
  "description": "Preconfigured Contrast agent core services and models",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "Contrast Security <nodejs@contrastsecurity.com> (https://www.contrastsecurity.com)",
@@ -17,17 +17,17 @@
17
17
  "test": "../scripts/test.sh"
18
18
  },
19
19
  "dependencies": {
20
- "@contrast/agentify": "1.4.0",
21
- "@contrast/common": "1.4.0",
22
- "@contrast/config": "1.6.0",
20
+ "@contrast/agentify": "1.4.1",
21
+ "@contrast/common": "1.4.1",
22
+ "@contrast/config": "1.6.1",
23
23
  "@contrast/deadzones": "1.1.0",
24
24
  "@contrast/dep-hooks": "1.1.0",
25
25
  "@contrast/fn-inspect": "^3.2.0",
26
26
  "@contrast/instrumentation": "1.1.0",
27
27
  "@contrast/logger": "1.2.0",
28
28
  "@contrast/patcher": "1.2.0",
29
- "@contrast/reporter": "1.9.0",
29
+ "@contrast/reporter": "1.9.1",
30
30
  "@contrast/rewriter": "1.3.1",
31
31
  "@contrast/scopes": "1.3.0"
32
32
  }
33
- }
33
+ }