🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

multiple-cucumber-html-reporter

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multiple-cucumber-html-reporter - npm Package Compare versions

Comparing version

to
3.9.1

@@ -31,2 +31,3 @@ import { generate } from "multiple-cucumber-html-reporter";

openReportInBrowser: true,
useCDN: false,
metadata: {

@@ -33,0 +34,0 @@ browser: {

@@ -17,12 +17,13 @@ {

"devDependencies": {
"@badeball/cypress-cucumber-preprocessor": "^21.0.3",
"@badeball/cypress-cucumber-preprocessor": "^22.0.1",
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.4",
"@types/node": "^22.10.5",
"cypress": "^13.17.0",
"multiple-cucumber-html-reporter": "^3.8.0",
"typescript": "^5.7.2"
"@types/node": "^22.13.4",
"cypress": "^14.0.3",
"multiple-cucumber-html-reporter": "3.7.0",
"typescript": "^5.7.3"
},
"dependencies": {
"dayjs": "^1.11.13"
}
},
"packageManager": "pnpm@10.4.0"
}
{
"name": "multiple-cucumber-html-reporter",
"version": "3.9.0",
"version": "3.9.1",
"description": "Generate beautiful Cucumber.js reports for multiple instances (browsers / devices)",

@@ -36,3 +36,3 @@ "keywords": [

"find": "^0.3.0",
"fs-extra": "^11.2.0",
"fs-extra": "^11.3.0",
"jsonfile": "^6.1.0",

@@ -42,10 +42,10 @@ "lodash": "^4.17.21",

"open": "^8.4.2",
"uuid": "^11.0.4"
"uuid": "^11.0.5"
},
"devDependencies": {
"jasmine": "^5.5.0",
"jasmine": "^5.6.0",
"nyc": "^17.1.0",
"release-it": "^18.0.0"
"release-it": "^18.1.2"
},
"packageManager": "pnpm@9.5.0"
"packageManager": "pnpm@10.4.0"
}

@@ -1,2 +0,2 @@

/*! Responsive 3.0.3
/*! Responsive 3.0.4
* © SpryMedia Ltd - datatables.net/license

@@ -47,3 +47,3 @@ */

_constructor: function () {
var s = this,
var o = this,
r = this.s.dt,

@@ -57,10 +57,10 @@ t = b(y).innerWidth(),

var e = b(y).innerWidth();
e !== t && (s._resize(), (t = e));
e !== t && (o._resize(), (t = e));
})
),
r.on("row-created.dtr", function (e, t, n, i) {
-1 !== b.inArray(!1, s.s.current) &&
-1 !== b.inArray(!1, o.s.current) &&
b(">td, >th", t).each(function (e) {
e = r.column.index("toData", e);
!1 === s.s.current[e] &&
!1 === o.s.current[e] &&
b(this).css("display", "none").addClass("dtr-hidden");

@@ -79,4 +79,4 @@ });

b(r.table().node()).removeClass("dtr-inline collapsed"),
b.each(s.s.current, function (e, t) {
!1 === t && s._setColumnVis(e, !0);
b.each(o.s.current, function (e, t) {
!1 === t && o._setColumnVis(e, !0);
});

@@ -90,19 +90,19 @@ }),

!1 !== e.type &&
(s._detailsInit(),
(o._detailsInit(),
r.on("column-visibility.dtr", function () {
s._timer && clearTimeout(s._timer),
(s._timer = setTimeout(function () {
(s._timer = null),
s._classLogic(),
s._resizeAuto(),
s._resize(!0),
s._redrawChildren();
o._timer && clearTimeout(o._timer),
(o._timer = setTimeout(function () {
(o._timer = null),
o._classLogic(),
o._resizeAuto(),
o._resize(!0),
o._redrawChildren();
}, 100));
}),
r.on("draw.dtr", function () {
s._redrawChildren();
o._redrawChildren();
}),
b(r.table().node()).addClass("dtr-" + e.type)),
r.on("column-calc.dt", function (e, t) {
for (var n = s.s.current, i = 0; i < n.length; i++) {
for (var n = o.s.current, i = 0; i < n.length; i++) {
var r = t.visible.indexOf(i);

@@ -118,6 +118,6 @@ !1 === n[i] && 0 <= r && t.visible.splice(r, 1);

r.one("draw.dtr", function () {
s._resizeAuto(),
s._resize(),
o._resizeAuto(),
o._resize(),
r.rows(e).every(function () {
s._detailsDisplay(this, !1);
o._detailsDisplay(this, !1);
});

@@ -128,12 +128,12 @@ });

.on("draw.dtr", function () {
s._controlClass();
o._controlClass();
})
.ready(function () {
s._resizeAuto(),
s._resize(),
o._resizeAuto(),
o._resize(),
r.on("column-reorder.dtr", function (e, t, n) {
s._classLogic(), s._resizeAuto(), s._resize(!0);
o._classLogic(), o._resizeAuto(), o._resize(!0);
}),
r.on("column-sizing.dtr", function () {
s._resizeAuto(), s._resize();
o._resizeAuto(), o._resize();
});

@@ -157,7 +157,7 @@ });

for (
var r = [], s = e.cell(t, n).node().childNodes, o = 0, d = s.length;
o < d;
o++
var r = [], o = e.cell(t, n).node().childNodes, s = 0, d = o.length;
s < d;
s++
)
r.push(s[o]);
r.push(o[s]);
return (this.s.childNodeStore[i] = r);

@@ -172,8 +172,8 @@ },

for (
var s = e[0].parentNode.childNodes, o = [], d = 0, a = s.length;
var o = e[0].parentNode.childNodes, s = [], d = 0, a = o.length;
d < a;
d++
)
o.push(s[d]);
for (var l = 0, c = o.length; l < c; l++) r.appendChild(o[l]);
s.push(o[d]);
for (var l = 0, c = s.length; l < c; l++) r.appendChild(s[l]);
}

@@ -202,17 +202,17 @@ this.s.childNodeStore[i] = void 0;

}),
o = 0,
s = 0,
o = 0,
d = r.length;
o < d;
o++
s < d;
s++
)
!0 === r[o] && (s += e[o].minWidth);
!0 === r[s] && (o += e[s].minWidth);
var a = i.settings()[0].oScroll,
a = a.sY || a.sX ? a.iBarWidth : 0,
l = i.table().container().offsetWidth - a - s;
for (o = 0, d = r.length; o < d; o++)
e[o].control && (l -= e[o].minWidth);
l = i.table().container().offsetWidth - a - o;
for (s = 0, d = r.length; s < d; s++)
e[s].control && (l -= e[s].minWidth);
var c = !1;
for (o = 0, d = t.length; o < d; o++) {
var u = t[o].columnIdx;
for (s = 0, d = t.length; s < d; s++) {
var u = t[s].columnIdx;
"-" === r[u] &&

@@ -225,9 +225,9 @@ !e[u].control &&

var h = !1;
for (o = 0, d = e.length; o < d; o++)
if (!e[o].control && !e[o].never && !1 === r[o]) {
for (s = 0, d = e.length; s < d; s++)
if (!e[s].control && !e[s].never && !1 === r[s]) {
h = !0;
break;
}
for (o = 0, d = e.length; o < d; o++)
e[o].control && (r[o] = h), "not-visible" === r[o] && (r[o] = !1);
for (s = 0, d = e.length; s < d; s++)
e[s].control && (r[s] = h), "not-visible" === r[s] && (r[s] = !1);
return -1 === b.inArray(!0, r) && (r[0] = !0), r;

@@ -237,13 +237,13 @@ },

function d(e, t, n, i) {
var r, s, o;
var r, o, s;
if (n) {
if ("max-" === n)
for (r = a._find(t).width, s = 0, o = l.length; s < o; s++)
l[s].width <= r && u(e, l[s].name);
for (r = a._find(t).width, o = 0, s = l.length; o < s; o++)
l[o].width <= r && u(e, l[o].name);
else if ("min-" === n)
for (r = a._find(t).width, s = 0, o = l.length; s < o; s++)
l[s].width >= r && u(e, l[s].name);
for (r = a._find(t).width, o = 0, s = l.length; o < s; o++)
l[o].width >= r && u(e, l[o].name);
else if ("not-" === n)
for (s = 0, o = l.length; s < o; s++)
-1 === l[s].name.indexOf(i) && u(e, l[s].name);
for (o = 0, s = l.length; o < s; o++)
-1 === l[o].name.indexOf(i) && u(e, l[o].name);
} else c[e].includeIn.push(t);

@@ -279,10 +279,10 @@ }

for (
var t = e.className.split(" "), s = !1, n = 0, i = t.length;
var t = e.className.split(" "), o = !1, n = 0, i = t.length;
n < i;
n++
) {
var o = t[n].trim();
if ("all" === o || "dtr-all" === o)
var s = t[n].trim();
if ("all" === s || "dtr-all" === s)
return (
(s = !0),
(o = !0),
void (e.includeIn = b.map(l, function (e) {

@@ -292,6 +292,6 @@ return e.name;

);
if ("none" === o || "dtr-none" === o || e.never)
return void (s = !0);
if ("control" === o || "dtr-control" === o)
return (s = !0), void (e.control = !0);
if ("none" === s || "dtr-none" === s || e.never)
return void (o = !0);
if ("control" === s || "dtr-control" === s)
return (o = !0), void (e.control = !0);
b.each(l, function (e, t) {

@@ -302,5 +302,5 @@ var n = t.name.split("-"),

),
i = o.match(i);
i = s.match(i);
i &&
((s = !0),
((o = !0),
i[2] === n[0] && i[3] === "-" + n[1]

@@ -311,3 +311,3 @@ ? d(r, t.name, i[1], i[2] + i[3])

}
s || (e.auto = !0);
o || (e.auto = !0);
}),

@@ -334,2 +334,3 @@ (this.s.columns = c);

.removeClass("dtr-control"),
0 <= n) &&
e

@@ -339,3 +340,4 @@ .cells(null, n, { page: "current" })

.to$()
.addClass("dtr-control"));
.addClass("dtr-control"),
this._tabIndexes();
},

@@ -345,4 +347,4 @@ _detailsDisplay: function (t, n) {

b(t.node()).toggleClass("dtr-expanded", !1 !== e),
b(s.table().node()).triggerHandler("responsive-display.dt", [
s,
b(o.table().node()).triggerHandler("responsive-display.dt", [
o,
t,

@@ -355,16 +357,16 @@ e,

r = this,
s = this.s.dt,
o = this.c.details;
o &&
!1 !== o.type &&
o = this.s.dt,
s = this.c.details;
s &&
!1 !== s.type &&
((i =
"string" == typeof o.renderer
? a.renderer[o.renderer]()
: o.renderer),
"string" == typeof s.renderer
? a.renderer[s.renderer]()
: s.renderer),
"boolean" ==
typeof (o = o.display(
typeof (s = s.display(
t,
n,
function () {
return i.call(r, s, t[0][0], r._detailsObj(t[0]));
return i.call(r, o, t[0][0], r._detailsObj(t[0]));
},

@@ -375,3 +377,3 @@ function () {

))) &&
e(o);
e(s);
},

@@ -385,6 +387,2 @@ _detailsInit: function () {

(e.target = "td.dtr-control, th.dtr-control"),
i.on("draw.dtr", function () {
n._tabIndexes();
}),
n._tabIndexes(),
b(i.table().body()).on("keyup.dtr", "td, th", function (e) {

@@ -457,15 +455,15 @@ 13 === e.keyCode &&

t = b(y).innerWidth(),
s = this.c.breakpoints,
o = s[0].name,
o = this.c.breakpoints,
s = o[0].name,
d = this.s.columns,
a = this.s.current.slice(),
l = s.length - 1;
l = o.length - 1;
0 <= l;
l--
)
if (t <= s[l].width) {
o = s[l].name;
if (t <= o[l].width) {
s = o[l].name;
break;
}
var c = this._columnsVisiblity(o),
var c = this._columnsVisiblity(s),
u = ((this.s.current = c), !1);

@@ -514,3 +512,3 @@ for (l = 0, e = d.length; l < e; l++)

r = this,
s = t
o = t
.columns()

@@ -534,3 +532,3 @@ .indexes()

i = b(t.table().header().cloneNode(!1)).appendTo(e),
o = b(t.table().footer().cloneNode(!1)).appendTo(e),
s = b(t.table().footer().cloneNode(!1)).appendTo(e),
d = b(t.table().body()).clone(!1, !1).empty().appendTo(e),

@@ -541,3 +539,3 @@ a =

.table()
.header.structure(s)
.header.structure(o)
.forEach((e) => {

@@ -559,3 +557,3 @@ e = e

l = 0;
l < s.count();
l < o.count();
l++

@@ -570,3 +568,3 @@ )

((i = e.cloneNode(!1)),
t.cells(n, s).every(function (e, t) {
t.cells(n, o).every(function (e, t) {
t = r.s.childNodeStore[n + "-" + t];

@@ -587,3 +585,3 @@ (t

.table()
.footer.structure(s)
.footer.structure(o)
.forEach((e) => {

@@ -601,3 +599,3 @@ e = e

});
b("<tr/>").append(e).appendTo(o);
b("<tr/>").append(e).appendTo(s);
}),

@@ -645,17 +643,22 @@ "inline" === this.c.details.type &&

},
_setHeaderVis: function (n, i, e) {
_setHeaderVis: function (n, i, o) {
var r = this,
s = i ? "" : "none";
e.forEach(function (e) {
if (e[n])
b(e[n].cell).css("display", s).toggleClass("dtr-hidden", !i);
else
for (var t = n; 0 <= t; ) {
if (e[t]) {
e[t].cell.colSpan = r._colspan(e, t);
break;
o.forEach(function (e, t) {
for (var n = 0; n < e.length; n++)
if (e[n] && 1 < e[n].rowspan)
for (var i = e[n].rowspan, r = 1; r < i; r++) o[t + r][n] = {};
}),
o.forEach(function (e) {
if (e[n] && e[n].cell)
b(e[n].cell).css("display", s).toggleClass("dtr-hidden", !i);
else
for (var t = n; 0 <= t; ) {
if (e[t] && e[t].cell) {
e[t].cell.colSpan = r._colspan(e, t);
break;
}
t--;
}
t--;
}
});
});
},

@@ -676,9 +679,6 @@ _colspan: function (e, t) {

? e.cells(null, i, { page: "current" }).nodes().to$()
: b(
(i =
"td:first-child, th:first-child" === i
? ">td:first-child, >th:first-child"
: i),
e.rows({ page: "current" }).nodes()
)
: ("td:first-child, th:first-child" === i &&
(i = ">td:first-child, >th:first-child"),
(t = e.rows({ page: "current" }).nodes()),
"tr" === i ? b(t) : b(i, t))
)

@@ -717,3 +717,3 @@ .attr("tabIndex", n.iTabIndex)

},
modal: function (o) {
modal: function (s) {
return function (e, t, n, i) {

@@ -724,10 +724,10 @@ n = n();

if (
!(s = b("div.dtr-modal-content")).length ||
e.index() !== s.data("dtr-row-idx")
!(o = b("div.dtr-modal-content")).length ||
e.index() !== o.data("dtr-row-idx")
)
return null;
s.empty().append(n);
o.empty().append(n);
} else {
var r = function () {
s.remove(),
o.remove(),
b(d).off("keypress.dtr"),

@@ -737,3 +737,3 @@ b(e.node()).removeClass("dtr-expanded"),

},
s = b('<div class="dtr-modal"/>')
o = b('<div class="dtr-modal"/>')
.append(

@@ -768,6 +768,6 @@ b('<div class="dtr-modal-display"/>')

return (
o &&
o.header &&
s &&
s.header &&
b("div.dtr-modal-content").prepend(
"<h2>" + o.header(e) + "</h2>"
"<h2>" + s.header(e) + "</h2>"
),

@@ -783,4 +783,4 @@ !0

var r = this,
s = b('<ul data-dtr-index="' + e + '" class="dtr-details"/>'),
o = !1;
o = b('<ul data-dtr-index="' + e + '" class="dtr-details"/>'),
s = !1;
return (

@@ -809,6 +809,6 @@ b.each(t, function (e, t) {

)
.appendTo(s),
(o = !0));
.appendTo(o),
(s = !0));
}),
!!o && s
!!s && o
);

@@ -862,4 +862,4 @@ }

'"><td>' +
e.title +
":</td> <td>" +
("" !== e.title ? e.title + ":" : "") +
"</td> <td>" +
e.data +

@@ -925,3 +925,3 @@ "</td></tr>"

),
(a.version = "3.0.3"),
(a.version = "3.0.4"),
(b.fn.dataTable.Responsive = a),

@@ -928,0 +928,0 @@ (b.fn.DataTable.Responsive = a),

@@ -1,40 +0,51 @@

$('.x_title').on('click', function () {
var $BOX_PANEL = $(this).closest('.x_panel'),
$ICON = $(this).find('.collapse-link i'),
$BOX_CONTENT = $BOX_PANEL.find('.x_content');
$(".x_title").on("click", function () {
var $BOX_PANEL = $(this).closest(".x_panel"),
$ICON = $(this).find(".collapse-link i"),
$BOX_CONTENT = $BOX_PANEL.find(".x_content");
// fix for some div with hardcoded fix class
if ($BOX_PANEL.attr('style')) {
$BOX_CONTENT.slideToggle(200, function () {
$BOX_PANEL.removeAttr('style');
});
} else {
$BOX_CONTENT.slideToggle(200);
$BOX_PANEL.css('height', 'auto');
}
// fix for some div with hardcoded fix class
if ($BOX_PANEL.attr("style")) {
$BOX_CONTENT.slideToggle(200, function () {
$BOX_PANEL.removeAttr("style");
});
} else {
$BOX_CONTENT.slideToggle(200);
$BOX_PANEL.css("height", "auto");
}
$ICON.toggleClass('fa-chevron-up fa-chevron-down');
$ICON.toggleClass("fa-chevron-up fa-chevron-down");
});
$('body').tooltip({
selector: '[data-toggle="tooltip"]'
$("body").tooltip({
selector: '[data-toggle="tooltip"]',
});
hideResult = (resultId) => {
$('span[class*=step]').closest('div.x_panel[style]').hide();
$('span[class*=' + resultId + ']').closest('div.x_panel[style]').show();
}
$("span[class*=step]").closest("div.x_panel[style]").hide();
$("span[class*=" + resultId + "]")
.closest("div.x_panel[style]")
.show();
};
showAll = () => {
$('span[class*=step]').closest('div.x_panel[style]').show();
}
$("span[class*=step]").closest("div.x_panel[style]").show();
};
$(document).ready(() => {
const status = ['passed', 'failed', 'pending', 'skipped', 'ambiguous', 'not-defined']
status.forEach(value => {
var menuItem = $('span[class*=' + value + '-background]');
if (menuItem.length === 0) {
$('#' + value).parent().addClass('disabled');
}
})
const status = [
"passed",
"failed",
"pending",
"skipped",
"ambiguous",
"not-defined",
];
status.forEach((value) => {
var menuItem = $("span[class*=" + value + "-background]");
if (menuItem.length === 0) {
$("#" + value)
.parent()
.addClass("disabled");
}
});
});

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 too big to display

Sorry, the diff of this file is too big to display

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