@contrast/reporter
Advanced tools
Comparing version 1.16.0 to 1.17.0
@@ -53,9 +53,7 @@ "use strict"; | ||
function getSignature(event) { | ||
const s = common_1.signatures.get(event.name); | ||
return { | ||
...s, | ||
argTypes: event.args ? event.args.map((arg) => TYPE_NAME) : [TYPE_NAME], | ||
className: s?.moduleName || 'Object', | ||
constructor: !!s?.isConstructor, | ||
methodName: s?.methodName || 'getter', | ||
argTypes: event.args ? event.args.map(() => TYPE_NAME) : [TYPE_NAME], | ||
className: event.moduleName || 'Object', | ||
constructor: event.isConstructor || false, | ||
methodName: event.methodName || 'getter', | ||
returnType: TYPE_NAME, | ||
@@ -135,4 +133,4 @@ voidMethod: false, | ||
}, | ||
source: event.source || common_1.signatures.get(event.name)?.source, | ||
target: event.target || common_1.signatures.get(event.name)?.target, | ||
source: event.source, | ||
target: event.target, | ||
type: event.target ? types_1.EventType.PROPAGATION : types_1.EventType.METHOD, | ||
@@ -139,0 +137,0 @@ }; |
@@ -38,2 +38,3 @@ "use strict"; | ||
common_1.Event.ASSESS_RESPONSE_SCANNING_FINDING, | ||
common_1.Event.ASSESS_SESSION_CONFIGURATION_FINDING, | ||
common_1.Event.LIBRARY_USAGE, | ||
@@ -40,0 +41,0 @@ common_1.Event.LIBRARY, |
{ | ||
"name": "@contrast/reporter", | ||
"version": "1.16.0", | ||
"version": "1.17.0", | ||
"description": "Subscribes to agent messages and reports them", | ||
@@ -20,3 +20,3 @@ "license": "SEE LICENSE IN LICENSE", | ||
"dependencies": { | ||
"@contrast/common": "1.11.0", | ||
"@contrast/common": "1.12.0", | ||
"axios": "^0.27.2", | ||
@@ -23,0 +23,0 @@ "crc-32": "^1.2.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
196223
2754
+ Added@contrast/common@1.12.0(transitive)
- Removed@contrast/common@1.11.0(transitive)
Updated@contrast/common@1.12.0