@contrast/agentify 1.55.0 → 1.57.0

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,8 +26,10 @@ const { rewriteIsDeadzoned } = require('@contrast/rewriter/lib/rewrite-is-deadzo
26
26
  * @returns {import('@contrast/common').Installable}
27
27
  */
28
28
  module.exports = function init(core) {
29
- let js;
29
+ /** @type {Module.prototype["_compile"]} */
30
30
  let _compile;
31
+ /** @type {Module._extensions[".js"]} */
32
+ let js;
31
33
 
32
34
  core.rewriteHooks = {
33
35
  install() {
@@ -49,9 +51,7 @@ module.exports = function init(core) {
49
51
  /** @type {import('@contrast/rewriter').RewriteOpts} */
50
52
  const options = {
51
53
  filename,
52
- isModule: false,
53
54
  inject: true,
54
- wrap: true,
55
55
  minify: true,
56
56
  };
57
57
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrast/agentify",
3
- "version": "1.55.0",
3
+ "version": "1.57.0",
4
4
  "description": "Configures Contrast agent services and instrumentation within an application",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "Contrast Security <nodejs@contrastsecurity.com> (https://www.contrastsecurity.com)",
@@ -20,22 +20,22 @@
20
20
  "test": "bash ../scripts/test.sh"
21
21
  },
22
22
  "dependencies": {
23
- "@contrast/common": "1.36.0",
24
- "@contrast/config": "1.51.0",
25
- "@contrast/core": "1.56.0",
26
- "@contrast/deadzones": "1.28.0",
27
- "@contrast/dep-hooks": "1.25.0",
28
- "@contrast/esm-hooks": "2.30.0",
23
+ "@contrast/common": "1.37.0",
24
+ "@contrast/config": "1.52.1",
25
+ "@contrast/core": "1.57.1",
26
+ "@contrast/deadzones": "1.29.1",
27
+ "@contrast/dep-hooks": "1.26.1",
28
+ "@contrast/esm-hooks": "2.32.0",
29
29
  "@contrast/find-package-json": "^1.1.0",
30
- "@contrast/instrumentation": "1.35.0",
31
- "@contrast/logger": "1.29.0",
32
- "@contrast/metrics": "1.33.0",
33
- "@contrast/patcher": "1.28.0",
30
+ "@contrast/instrumentation": "1.36.1",
31
+ "@contrast/logger": "1.30.1",
32
+ "@contrast/metrics": "1.34.1",
33
+ "@contrast/patcher": "1.29.1",
34
34
  "@contrast/perf": "1.4.0",
35
- "@contrast/reporter": "1.54.0",
36
- "@contrast/rewriter": "1.32.0",
37
- "@contrast/scopes": "1.26.0",
38
- "@contrast/sources": "1.2.0",
35
+ "@contrast/reporter": "1.55.1",
36
+ "@contrast/rewriter": "1.34.0",
37
+ "@contrast/scopes": "1.27.1",
38
+ "@contrast/sources": "1.3.1",
39
39
  "on-finished": "^2.4.1",
40
40
  "semver": "^7.6.0"
41
41
  }