🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@allurereport/core-api

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@allurereport/core-api - npm Package Compare versions

Comparing version
3.0.1
to
3.1.0
+2
-2
dist/constants.js

@@ -16,3 +16,3 @@ export const statusesList = ["failed", "broken", "passed", "skipped", "unknown"];

export const incrementStatistic = (statistic, status, count = 1) => {
statistic[status] = (statistic[status] ?? 0) + count;
statistic[status] = (statistic?.[status] ?? 0) + count;
statistic.total += count;

@@ -22,3 +22,3 @@ };

statusesList.forEach((status) => {
if (additional[status]) {
if (additional?.[status]) {
incrementStatistic(statistic, status, additional[status]);

@@ -25,0 +25,0 @@ }

{
"name": "@allurereport/core-api",
"version": "3.0.1",
"version": "3.1.0",
"description": "Allure Core API",

@@ -5,0 +5,0 @@ "keywords": [