diff --git a/bookmarklets/are-ya-hidden.js b/bookmarklets/are-ya-hidden.js index 1fb3082..cc0a397 100644 --- a/bookmarklets/are-ya-hidden.js +++ b/bookmarklets/are-ya-hidden.js @@ -24,7 +24,7 @@ o < cs.length; o++ ) - (cssProperty = cs[o]), + ((cssProperty = cs[o]), (cssValue = cs.getPropertyValue(cssProperty)), "clip" === cssProperty && "rect(1px, 1px, 1px, 1px)" === cssValue && @@ -35,7 +35,7 @@ "overflow-y" === cssProperty && "hidden" === cssValue && (l = !0), "position" === cssProperty && "absolute" === cssValue && (s = !0), "white-space" === cssProperty && "nowrap" === cssValue && (r = !0), - "width" === cssProperty && "1px" === cssValue && (d = !0); + "width" === cssProperty && "1px" === cssValue && (d = !0)); !0 === a && !0 === t && !0 === e && @@ -46,7 +46,7 @@ !0 === d && i.classList.add("was-visually-hidden"); let c = i.classList; - c.forEach((a) => { + (c.forEach((a) => { -1 !== a.indexOf("-offscreen") && i.classList.add("was-visually-hidden"); }), @@ -54,14 +54,14 @@ i.classList.contains("screenreader-only") || i.classList.contains("visually-hidden") || i.classList.contains("visuallyhidden")) && - i.classList.add("was-visually-hidden"); + i.classList.add("was-visually-hidden")); }); } function indicateAriaHiddenElements(i) { findAllVisuallyHiddenElements(); var a, t = i.createElement("style"); - i.head.appendChild(t), + (i.head.appendChild(t), (a = t.sheet).insertRule( "[aria-hidden=true] {background:black;color:black;}", 0 @@ -70,7 +70,7 @@ a.insertRule( ".was-visually-hidden {clip-path: initial!important;clip: initial!important;height: auto!important;overflow: initial!important;position: initial!important;white-space: initial!important;width: auto!important;opacity:initial!important;z-index:initial!important;background:black!important;color:lime!important;}", 0 - ); + )); } indicateAriaHiddenElements(document); var iframes = document.querySelectorAll("iframe"); diff --git a/bookmarklets/grouped-fields.js b/bookmarklets/grouped-fields.js index 30298fb..71ef538 100644 --- a/bookmarklets/grouped-fields.js +++ b/bookmarklets/grouped-fields.js @@ -11,14 +11,14 @@ let e = "#662e2e", l = 0; function r(e, r) { - (e.style.boxShadow = "0px 0px 0px 10px white"), + ((e.style.boxShadow = "0px 0px 0px 10px white"), (e.style.outline = "5px solid " + r), (e.style.outlineOffset = "5px"), - l++; + l++); } function t(e, l, r) { let t = document.createElement("span"); - (t.innerHTML = l), + ((t.innerHTML = l), (t.style.display = "inline-block"), (t.style.margin = "20px 0 5px -10px"), (t.style.padding = "5px"), @@ -26,15 +26,15 @@ (t.style.fontWeight = "bold"), (t.style.fontSize = "18px"), (t.style.color = "white"), - t.classList.add("group-description"); + t.classList.add("group-description")); let o = e.parentNode; o.insertBefore(t, e); } var o, a = document.querySelectorAll("fieldset"); - console.log(a), + (console.log(a), Array.from(a).forEach((l) => { - console.log(l), + (console.log(l), r(l, e), l.querySelector("legend") && t( @@ -43,7 +43,7 @@ l.querySelector("legend").textContent + '"', e - ); + )); }), (e = "#66482e"), Array.from( @@ -53,7 +53,7 @@ ).forEach((l) => { console.log(l); let o = l.getAttribute("role").toLowerCase(); - r(l, e), + (r(l, e), t( l, "Group label (from [role=" + @@ -62,7 +62,7 @@ l.getAttribute("aria-label") + '"', e - ); + )); }), (e = "#662e43"), Array.from( @@ -74,7 +74,7 @@ let o = l.getAttribute("role").toLowerCase(); r(l, e); let a = "Source for aria-labelledby is missing/broken"; - document.querySelector("#" + l.getAttribute("aria-labelledby")) && + (document.querySelector("#" + l.getAttribute("aria-labelledby")) && (a = document.querySelector( "#" + l.getAttribute("aria-labelledby") ).textContent), @@ -86,9 +86,9 @@ a + '"', e - ); + )); }), - 0 === l && alert("No grouped fields found on this page"); + 0 === l && alert("No grouped fields found on this page")); } outlineGroupedFIelds(); })(); diff --git a/bookmarklets/isolator.js b/bookmarklets/isolator.js index 81d6f5c..29139c9 100644 --- a/bookmarklets/isolator.js +++ b/bookmarklets/isolator.js @@ -20,16 +20,16 @@ if ((t = o.parentNode).tagName) { i = t.tagName.toLowerCase(); const e = t.querySelectorAll(":scope > " + o.tagName); - (r = + ((r = e.length > 1 ? "[" + parseInt(Array.from(e).indexOf(o) + 1) + "]" : ""), (a = (n = o.tagName.toLowerCase()) + r + l + a), - (l = "/"); + (l = "/")); } o = t; } - return "" === i && (i = n), (a = "//" + i + r + l + a); + return ("" === i && (i = n), (a = "//" + i + r + l + a)); } function isolate() { let e, @@ -39,7 +39,7 @@ i = !1; const a = document.querySelectorAll("*"); function r(t, o) { - (e = t), o.stopPropagation(), i || s(t), d(e); + ((e = t), o.stopPropagation(), i || s(t), d(e)); } function l(e) { e.classList.remove("isolatorHighlight"); @@ -48,14 +48,14 @@ e.classList.add("isolatorHighlight"); } function d(e) { - console.clear(), console.log(getXpath(e)), (o.innerHTML = getXpath(e)); + (console.clear(), console.log(getXpath(e)), (o.innerHTML = getXpath(e))); } - Array.from(a).forEach((t) => { - t.addEventListener("click", (o) => { - console.log("preventClicks = ", n), + (Array.from(a).forEach((t) => { + (t.addEventListener("click", (o) => { + (console.log("preventClicks = ", n), n && (!(function (t, o) { - (e = t), "HTML" === t.tagName && (n = !1); + ((e = t), "HTML" === t.tagName && (n = !1)); !(function (e) { if (!i) { const t = e.parentNode, @@ -68,20 +68,20 @@ } })(t); })(t), - o.preventDefault()); + o.preventDefault())); }), t.addEventListener("mouseover", (o) => { - (e = t), o.stopPropagation(), i || s(t), d(e); + ((e = t), o.stopPropagation(), i || s(t), d(e)); }), t.addEventListener("mouseout", (e) => { l(t); - }); + })); }), (function () { const e = document.createElement("style"); - (e.textContent = + ((e.textContent = ".isolatorHighlight{outline:4px solid black!important;outline-offset:-4px!important;-webkit-box-shadow: 0px 0px 0px 4px #fff; box-shadow: 0px 0px 0px 4px #fff;}#infoPanel {z-index:1000;font-size:20px;background:rgba(0,0,0,0.8);color:#fff;font-weight:bold;padding:10px;position:fixed;bottom:20px;left:20px;font-family:sans-serif;} #infoPanel:empty {visibility:hidden;} #infoPanel code {color:lime}"), - document.head.appendChild(e); + document.head.appendChild(e)); })(), (o = document.createElement("div")).setAttribute("id", "infoPanel"), o.setAttribute("role", "status"), @@ -112,14 +112,14 @@ l(e); let t, o = !1; - Array.from(e.childNodes).forEach((e) => { + (Array.from(e.childNodes).forEach((e) => { 1 !== e.nodeType || o || ((o = !0), (t = e)); }), - t && r((e = t), n); + t && r((e = t), n)); } "Enter" === n.key && (n.preventDefault(), e.click()); }), - d("Isolator started. Click on element you want to isolate in the DOM"); + d("Isolator started. Click on element you want to isolate in the DOM")); } isolate(); })(); diff --git a/bookmarklets/non-underlined-links.js b/bookmarklets/non-underlined-links.js index bbb50de..e7da7d3 100644 --- a/bookmarklets/non-underlined-links.js +++ b/bookmarklets/non-underlined-links.js @@ -36,9 +36,9 @@ if ( ((function () { const e = document.createElement("style"); - (e.textContent = + ((e.textContent = ".problem-highlight {outline:5px solid darkred;outline-offset:3px;box-shadow: 0px 0px 0px 10px #fff;}"), - document.head.appendChild(e); + document.head.appendChild(e)); })(), Array.from(r).forEach((r) => { if ( @@ -49,7 +49,6 @@ ; (e = e.parentElement) && !(e.matches || e.matchesSelector).call(e, t); - ); return e; })(r, "nav,[role=navigation]")), @@ -60,24 +59,24 @@ "FIGURE" !== r.childNodes[0].tagName.toUpperCase()) || (a = !0)), !(function (n) { - (e = !1), (t = !1), (o = !1); + ((e = !1), (t = !1), (o = !1)); const r = getComputedStyle(n); for (let n = 0; n < r.length; n++) { const l = r[n], a = r.getPropertyValue(l); - "text-decoration-line" === l && "underline" === a && (t = !0), + ("text-decoration-line" === l && "underline" === a && (t = !0), "border-bottom-style" !== l || ("solid" !== a && "dotted" !== a && "dashed" !== a) || (o = !0), "border-bottom-color" === l && "transparent" === a && (o = !1), - (t || o) && (e = !0); + (t || o) && (e = !0)); } return e; })(r) && !a)) ) { - (consoleOutput += "-------\n"), + ((consoleOutput += "-------\n"), (consoleOutput += "Link text: " + r.textContent + "\n"), n || (!(function (e) { @@ -97,19 +96,19 @@ if ((t = o.parentNode).tagName) { r = t.tagName.toLowerCase(); const e = t.querySelectorAll(o.tagName); - (a = + ((a = e.length > 1 ? "[" + parseInt(Array.from(e).indexOf(o) + 1) + "]" : ""), (l = (n = o.tagName.toLowerCase()) + a + s + l), - (s = "/"); + (s = "/")); } o = t; } - return "" === r && (r = n), (l = "//" + r + a + s + l); + return ("" === r && (r = n), (l = "//" + r + a + s + l)); })(r) + "\n"), - l++); + l++)); const e = (function (e, t) { const o = i(e[0], e[1], e[2]), n = i(t[0], t[1], t[2]); @@ -133,8 +132,8 @@ l > 0) ) { const e = l + " possible issues with non-underlined links found"; - (consoleOutput = e + "\n" + consoleOutput), - alert(e + " (check console for more details)"); + ((consoleOutput = e + "\n" + consoleOutput), + alert(e + " (check console for more details)")); } else alert("No non-underlined links found (outside of a navigation area)"); console.log(consoleOutput); diff --git a/bookmarklets/show-focus-styles.js b/bookmarklets/show-focus-styles.js index e557e6c..e6f604f 100644 --- a/bookmarklets/show-focus-styles.js +++ b/bookmarklets/show-focus-styles.js @@ -13,18 +13,18 @@ ); let t, o = ""; - console.clear(), + (console.clear(), Array.from(e).forEach(function (e) { - (e.style.transition = "none"), + ((e.style.transition = "none"), e.focus(), (t = getComputedStyle(e)), - (o = ""); + (o = "")); for (var s = 0; s < t.length; s++) - (cssProperty = t[s]), + ((cssProperty = t[s]), (cssValue = t.getPropertyValue(cssProperty)), - (o += cssProperty + ":" + cssValue + ";"); + (o += cssProperty + ":" + cssValue + ";")); e.setAttribute("style", o); - }); + })); } showAllFocusStyles(); })(); diff --git a/bookmarklets/wtfocus.js b/bookmarklets/wtfocus.js index a68f8a1..22dbf1c 100644 --- a/bookmarklets/wtfocus.js +++ b/bookmarklets/wtfocus.js @@ -39,10 +39,10 @@ x = !1, v = !1; function T() { - (y = !1), (h = !1); + ((y = !1), (h = !1)); } function k(e, t, o, n, a) { - f && + (f && ((t = t.split("<").join("<").split(">").join(">")), (g += " " + t + "\n")), (t = t.replace("<", "<").replace(">", ">")), - console.log("%c" + e + '"' + t + '"', o); + console.log("%c" + e + '"' + t + '"', o)); } function F() { const e = document.createElement("button"); - (e.textContent = "Close (Esc)"), + ((e.textContent = "Close (Esc)"), e.setAttribute("type", "button"), e.setAttribute("class", "panel-btn"), e.addEventListener("click", () => { W(); - }); + })); const t = document.createElement("button"); - (t.textContent = "Change Mode (M)"), + ((t.textContent = "Change Mode (M)"), t.setAttribute("type", "button"), t.setAttribute("class", "panel-btn"), t.addEventListener("click", (e) => { S(); }), r.appendChild(e), - r.appendChild(t); + r.appendChild(t)); } function S() { - v + (v ? (document .querySelector("#WTFocusPanel") .classList.remove("curtainsMode"), @@ -93,13 +93,13 @@ (v = !0), (m = "")), C(e), - e.focus(); + e.focus()); } function W() { - document.querySelector("#WTFocusCurtain").remove(), + (document.querySelector("#WTFocusCurtain").remove(), document.querySelector("#WTFocusPanel").remove(), document.querySelector("#panelStyles").remove(), - document.querySelector("#focusStyles").remove(); + document.querySelector("#focusStyles").remove()); } function C(e) { const t = e.getBoundingClientRect(), @@ -133,10 +133,10 @@ (r.style.right = "auto"), r.classList.remove("toLeft")); } - console.clear(), + (console.clear(), (function () { const e = document.createElement("style"); - e.setAttribute("type", "text/css"), + (e.setAttribute("type", "text/css"), e.setAttribute("id", "panelStyles"), (e.textContent = ".dupeAccName {outline:4px dashed #CC3300!important;outline-offset:" + @@ -146,20 +146,20 @@ "px solid black!important;outline-offset:" + u + "px!important;overflow:visible;/*background:yellow!important;color:black!important;*/} .WTFocusTempFocusStyle.dupeAccName:focus {outline-color:#CC3300!important;} .visually-hidden {clip-path: inset(100%);clip: rect(1px, 1px, 1px, 1px);height: 1px;overflow: hidden;position: absolute;white-space: nowrap;width: 1px;}#WTFocusCurtain {background:black;position: fixed;top: 0;bottom: 0;left: 0;right: 0;z-index:49999}"), - document.querySelector("body").appendChild(e); + document.querySelector("body").appendChild(e)); })(), document.querySelector("#WTFocusCurtain") && W(), (f = !0), (g = ""), (function (e) { const t = document.createElement("style"); - t.setAttribute("type", "text/css"), + (t.setAttribute("type", "text/css"), t.setAttribute("id", "focusStyles"), (t.textContent = "#WTFocusPanel.error {background:darkred;} #WTFocusPanel.warning {background:#CC3300;} #WTFocusPanel.curtainsMode.error {background:black;} #WTFocusPanel.curtainsMode {z-index:50000;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);} #WTFocusPanel.curtainsMode.warning {background:black;} #WTFocusPanel[hidden] {display:none;} #WTFocusPanel * {text-align:left} #WTFocusPanel {border:2px solid #fff;z-index:1000;text-shadow:none;font-family:sans-serif;display:block;text-align:left;position: absolute;z-index:10000;background: black;padding: 20px 20px;width:" + e + "px;font-size:16px;} #WTFocusPanel button {font-weight:bold;background:none;color:#fff;padding:3px 10px;font-size:14px;border:1px solid #fff;display:inline-block;margin:10px 1em -10px 0;} #WTFocusPanel ul,#WTFocusPanel li {margin:0;padding:0;list-style:none} #WTFocusPanel li {margin:3px 0;background:#fff;color:#333;padding:2px} #WTFocusPanel li.outline {outline:4px solid rgb(58, 190, 58);outline-offset:-4px;padding:8px} #WTFocusPanel.error:before {background:darkred} #WTFocusPanel.warning:before {background:#CC3300} #WTFocusPanel:before {content:'';display:block;height:20px;width:20px;transform:rotate(45deg);position:absolute;background:#000;left:-12px;top:3px;border:2px solid #fff;border-right:none;border-top:none;} #WTFocusPanel.toBottom:before {top:auto;bottom:3px} #WTFocusPanel.toLeft:before {left:auto;right:-12px;border:2px solid #fff;border-left:none;border-bottom:none;} #WTFocusPanel.curtainsMode {outline:10px solid orange;} #WTFocusPanel.curtainsMode:before {display:none;} #WTFocusPanel.curtainsMode li {display:none;} #WTFocusPanel.curtainsMode li.visible {display:block;} #WTFocusPanel.curtainsMode li span {display:none!important;} "), - document.querySelector("head").appendChild(t); + document.querySelector("head").appendChild(t)); })(s), i.setAttribute("id", "WTFocusCurtain"), i.setAttribute("hidden", "hidden"), @@ -180,12 +180,12 @@ document.querySelector("#WTFocusPanel") && S(); }), - F(); + F()); let N = []; Array.from(t).forEach(function (i) { i.classList.add("WTFocusTempFocusStyle"); const c = i.querySelectorAll("style"); - Array.from(c).forEach(function (e) { + (Array.from(c).forEach(function (e) { e.remove(); }), i.addEventListener("focus", () => { @@ -221,7 +221,7 @@ "input" == s) ) { let e = i.getAttribute("type").toLowerCase(); - "text" === e && (c = "textbox"), + ("text" === e && (c = "textbox"), "range" === e && (c = "slider"), "number" === e && (c = "spinbutton"), ("checkbox" !== e && "radio" !== e) || (c = e), @@ -229,22 +229,22 @@ "image" !== e && "reset" !== e && "submit" !== e) || - (c = "button"); + (c = "button")); } - (e = i), + ((e = i), Array.from(t).forEach(function (e) { e.classList.remove("dupeAccName"); - }); + })); let u = !1; - (y = !1), (h = !1); + ((y = !1), (h = !1)); const d = i.querySelectorAll( "img, [role='image'][aria-label], [role='img'][aria-label]" ); - (u = d.length > 0) && + ((u = d.length > 0) && Array.from(d).forEach(function (e) { const t = document.createElement("SPAN"); var o, n; - t.setAttribute("class", "visually-hidden"), + (t.setAttribute("class", "visually-hidden"), t.setAttribute( "style", "clip-path: inset(100%);clip: rect(1px, 1px, 1px, 1px);height: 1px;overflow: hidden;position: absolute;white-space: nowrap;width: 1px;" @@ -256,12 +256,12 @@ e.getAttribute("aria-label") && (t.textContent = " " + e.getAttribute("aria-label") + " "), (o = t), - (n = e).parentNode.insertBefore(o, n.nextSibling); + (n = e).parentNode.insertBefore(o, n.nextSibling)); }), setTimeout(function () { i.classList.add("WTFocusTempFocusStyle"); }, 100), - (g = ""); + (g = "")); const b = i.tagName.toLowerCase(); let p = i.getAttribute("role"); p && (p = i.getAttribute("role").toLowerCase()); @@ -309,13 +309,12 @@ R = !1, V = "", D = !1; - f && C(i), (P = P.trim()); + (f && C(i), (P = P.trim())); const Y = (function (e, t) { for ( ; (e = e.parentElement) && !(e.matches || e.matchesSelector).call(e, t); - ); return e; })(i, "label"); @@ -362,7 +361,7 @@ "input" === b) ) { const e = i.getAttribute("type"); - "submit" === e && + ("submit" === e && "N/A" === z && ((H = "Submit"), (V = "Not provided (using default)")), "image" === e && @@ -370,7 +369,7 @@ ((H = "Submit"), (V = "Not provided (using default)")), "cancel" === e && "N/A" === z && - ((H = "Cancel"), (V = "Not provided (using default)")); + ((H = "Cancel"), (V = "Not provided (using default)"))); } if ( ("N/A" !== I && ((H = I), (V = "title attribute")), @@ -400,7 +399,7 @@ f && r.classList.add("warning"); const e = document.querySelectorAll("[data-accname='" + H + "']"), t = e.length; - k(m, H, a, !1, !0), + (k(m, H, a, !1, !0), x || (Array.from(e).forEach(function (e) { e.classList.add("dupeAccName"); @@ -416,13 +415,13 @@ Array.from(e).forEach(function (e) { console.log(e); }), - k("Accessible Name Source: ", V, a); + k("Accessible Name Source: ", V, a)); } } else - f && (r.classList.remove("error"), r.classList.remove("warning")), + (f && (r.classList.remove("error"), r.classList.remove("warning")), k(m, H, n, !1, !0), - k("Accessible Name Source: ", V, n); - (h = !1), + k("Accessible Name Source: ", V, n)); + ((h = !1), k("HTML Element: ", v, n), k("Role: ", c, "color:#333;background:#fff;", !1, !0), f || @@ -527,9 +526,9 @@ ((document.querySelector("#WTFocusPanel").innerHTML = '"), document.querySelector("#WTFocusPanel").removeAttribute("hidden"), - F()); + F())); const K = document.querySelectorAll("[data-temp-node]"); - Array.from(K).forEach(function (e) { + (Array.from(K).forEach(function (e) { e.remove(); }), i.setAttribute("data-accname", H), @@ -548,29 +547,29 @@ ); o.setAttribute("data-dupe", "true"); } else N.push(e); - })(H, i); - }); + })(H, i)); + })); }); let E = !1; - !(function () { + (!(function () { if ( ((p = document.activeElement), Array.from(t).forEach(function (e) { - document.activeElement === e && e.blur(), e.focus(); + (document.activeElement === e && e.blur(), e.focus()); }), (E = !0), "BODY" === p.tagName) ) { const e = document.querySelector("body"); - e.setAttribute("tabindex", "-1"), + (e.setAttribute("tabindex", "-1"), e.focus(), document .querySelector("#WTFocusPanel") - .setAttribute("hidden", "hidden"); + .setAttribute("hidden", "hidden")); } else p.focus(); console.clear(); })(), - console.log("had focus = ", e); + console.log("had focus = ", e)); } WTFocus(); })(); diff --git a/data/auditing.html b/data/auditing.html index 170abe7..32b34e8 100644 --- a/data/auditing.html +++ b/data/auditing.html @@ -21,15 +21,15 @@

Bookmarks Menu

Images
Language of page/parts
Links -
Non-underlined links +
Non-underlined links
Page link
Parsing only
Placeholder contrast checker
Validate
Target spacing check
Text spacing -
Titles +
Titles
ANDI
Open 1280x1024 -
WTFocus +
WTFocus

\ No newline at end of file diff --git a/data/bookmarks.html b/data/bookmarks.html index 2a44291..4331786 100644 --- a/data/bookmarks.html +++ b/data/bookmarks.html @@ -36,12 +36,12 @@

Bookmarks Menu

Image info
Images
Inline styles -
Isolator +
Isolator
Keyboard visualizer
Language of page/parts
Links
Markdown link -
Non-underlined links +
Non-underlined links
Page link
Parsing only
Placeholder contrast checker @@ -57,7 +57,7 @@

Bookmarks Menu

Test local JS
Text spacing
Text zoom 200% -
Titles +
Titles
a11y.css
ANDI
ARIA usage @@ -71,6 +71,6 @@

Bookmarks Menu

Viewport
Open 1280x1024
Open 320x256 -
WTFocus +
WTFocus
Get YouTube UC ID

\ No newline at end of file diff --git a/package-lock.json b/package-lock.json index c1339cd..c0b3958 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,9 +12,9 @@ "esbuild": "^0.27.2", "eslint": "^9.39.2", "eslint-config-prettier": "^10.1.8", - "eslint-plugin-prettier": "^5.5.4", + "eslint-plugin-prettier": "^5.5.5", "netscape-bookmarks": "^0.1.1", - "prettier": "^3.7.4" + "prettier": "^3.8.1" } }, "node_modules/@11ty/dependency-tree": { @@ -848,9 +848,9 @@ } }, "node_modules/@pkgr/core": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.2.4.tgz", - "integrity": "sha512-ROFF39F6ZrnzSUEmQQZUar0Jt4xVoP9WnDRdWwF4NNcXs3xBTLgBUDoOwW141y1jP+S8nahIbdxbFC7IShw9Iw==", + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.2.9.tgz", + "integrity": "sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==", "dev": true, "license": "MIT", "engines": { @@ -945,6 +945,7 @@ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "dev": true, "license": "MIT", + "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -1479,6 +1480,7 @@ "integrity": "sha512-LEyamqS7W5HB3ujJyvi0HQK/dtVINZvd5mAAp9eT5S/ujByGjiZLCzPcHVzuXbpJDJF/cxwHlfceVUDZ2lnSTw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", @@ -1539,6 +1541,7 @@ "integrity": "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==", "dev": true, "license": "MIT", + "peer": true, "bin": { "eslint-config-prettier": "bin/cli.js" }, @@ -1550,14 +1553,14 @@ } }, "node_modules/eslint-plugin-prettier": { - "version": "5.5.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.5.4.tgz", - "integrity": "sha512-swNtI95SToIz05YINMA6Ox5R057IMAmWZ26GqPxusAp1TZzj+IdY9tXNWWD3vkF/wEqydCONcwjTFpxybBqZsg==", + "version": "5.5.5", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.5.5.tgz", + "integrity": "sha512-hscXkbqUZ2sPithAuLm5MXL+Wph+U7wHngPBv9OMWwlP8iaflyxpjTYZkmdgB4/vPIhemRlBEoLrH7UC1n7aUw==", "dev": true, "license": "MIT", "dependencies": { - "prettier-linter-helpers": "^1.0.0", - "synckit": "^0.11.7" + "prettier-linter-helpers": "^1.0.1", + "synckit": "^0.11.12" }, "engines": { "node": "^14.18.0 || >=16.0.0" @@ -1786,10 +1789,11 @@ "license": "MIT" }, "node_modules/fast-diff": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz", - "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", - "dev": true + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz", + "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", + "dev": true, + "license": "Apache-2.0" }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", @@ -2720,6 +2724,7 @@ "integrity": "sha512-JcEmHlyLK/o0uGAlj65vgg+7LIms0xKXe60lcDOTU7oVX/3LuEuLwrQpW3VJ7de5TaFKiW4kWkaIpJL42FEgxQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "posthtml-parser": "^0.11.0", "posthtml-render": "^3.0.0" @@ -2777,11 +2782,12 @@ } }, "node_modules/prettier": { - "version": "3.7.4", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.7.4.tgz", - "integrity": "sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA==", + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz", + "integrity": "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==", "dev": true, "license": "MIT", + "peer": true, "bin": { "prettier": "bin/prettier.cjs" }, @@ -2793,10 +2799,11 @@ } }, "node_modules/prettier-linter-helpers": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", - "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.1.tgz", + "integrity": "sha512-SxToR7P8Y2lWmv/kTzVLC1t/GDI2WGjMwNhLLE9qtH8Q13C+aEmuRlzDst4Up4s0Wc8sF2M+J57iB3cMLqftfg==", "dev": true, + "license": "MIT", "dependencies": { "fast-diff": "^1.1.2" }, @@ -3030,13 +3037,13 @@ } }, "node_modules/synckit": { - "version": "0.11.8", - "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.8.tgz", - "integrity": "sha512-+XZ+r1XGIJGeQk3VvXhT6xx/VpbHsRzsTkGgF6E5RX9TTXD0118l87puaEBZ566FhqblC6U0d4XnubznJDm30A==", + "version": "0.11.12", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.12.tgz", + "integrity": "sha512-Bh7QjT8/SuKUIfObSXNHNSK6WHo6J1tHCqJsuaFDP7gP0fkzSfTxI8y85JrppZ0h8l0maIgc2tfuZQ6/t3GtnQ==", "dev": true, "license": "MIT", "dependencies": { - "@pkgr/core": "^0.2.4" + "@pkgr/core": "^0.2.9" }, "engines": { "node": "^14.18.0 || >=16.0.0" @@ -3083,6 +3090,7 @@ "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, diff --git a/package.json b/package.json index ac07d6a..debce74 100644 --- a/package.json +++ b/package.json @@ -27,8 +27,8 @@ "esbuild": "^0.27.2", "eslint": "^9.39.2", "eslint-config-prettier": "^10.1.8", - "eslint-plugin-prettier": "^5.5.4", + "eslint-plugin-prettier": "^5.5.5", "netscape-bookmarks": "^0.1.1", - "prettier": "^3.7.4" + "prettier": "^3.8.1" } }