allure-js-commons
Advanced tools
Comparing version 3.0.7 to 3.0.8
@@ -26,2 +26,3 @@ "use strict"; | ||
case "matcherResult" in error: | ||
case "inspect" in error && typeof error.inspect === "function": | ||
return _model.Status.FAILED; | ||
@@ -28,0 +29,0 @@ default: |
@@ -20,2 +20,3 @@ function _wrapRegExp() { _wrapRegExp = function _wrapRegExp(e, r) { return new BabelRegExp(e, void 0, r); }; var e = RegExp.prototype, r = new WeakMap(); function BabelRegExp(e, t, p) { var o = RegExp(e, t); return r.set(o, p || r.get(e)), _setPrototypeOf(o, BabelRegExp.prototype); } function buildGroups(e, t) { var p = r.get(t); return Object.keys(p).reduce(function (r, t) { var o = p[t]; if ("number" == typeof o) r[t] = e[o];else { for (var i = 0; void 0 === e[o[i]] && i + 1 < o.length;) i++; r[t] = e[o[i]]; } return r; }, Object.create(null)); } return _inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (r) { var t = e.exec.call(this, r); if (t) { t.groups = buildGroups(t, this); var p = t.indices; p && (p.groups = buildGroups(p, this)); } return t; }, BabelRegExp.prototype[Symbol.replace] = function (t, p) { if ("string" == typeof p) { var o = r.get(this); return e[Symbol.replace].call(this, t, p.replace(/\$<([^>]+)>/g, function (e, r) { var t = o[r]; return "$" + (Array.isArray(t) ? t.join("$") : t); })); } if ("function" == typeof p) { var i = this; return e[Symbol.replace].call(this, t, function () { var e = arguments; return "object" != typeof e[e.length - 1] && (e = [].slice.call(e)).push(buildGroups(e, i)), p.apply(this, e); }); } return e[Symbol.replace].call(this, t, p); }, _wrapRegExp.apply(this, arguments); } | ||
case "matcherResult" in error: | ||
case "inspect" in error && typeof error.inspect === "function": | ||
return Status.FAILED; | ||
@@ -22,0 +23,0 @@ default: |
{ | ||
"name": "allure-js-commons", | ||
"version": "3.0.7", | ||
"version": "3.0.8", | ||
"description": "Allure JS Commons", | ||
@@ -108,3 +108,3 @@ "keywords": [ | ||
"peerDependencies": { | ||
"allure-playwright": "3.0.7" | ||
"allure-playwright": "3.0.8" | ||
}, | ||
@@ -111,0 +111,0 @@ "peerDependenciesMeta": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
803348
8038