@contrast/agent 4.27.1 → 4.27.2

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.
@@ -93,9 +93,11 @@ Object.defineProperty(Function.prototype, '__isContrastHooked', {
93
93
  }
94
94
  });
95
95
 
96
- Function.prototype._contrast_toString = function() {
97
- return Reflect.apply(functionToString, this, arguments);
98
- };
96
+ Object.defineProperty(Function.prototype, '_contrast_toString', {
97
+ value: function _contrast_toString() {
98
+ return Reflect.apply(functionToString, this, arguments);
99
+ }
100
+ });
99
101
 
100
102
  function runHooks(type, data, thisTarget, fnHooks) {
101
103
  fnHooks.forEach((hook, key) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrast/agent",
3
- "version": "4.27.1",
3
+ "version": "4.27.2",
4
4
  "description": "Node.js security instrumentation by Contrast Security",
5
5
  "keywords": [
6
6
  "security",