From d1e0d3efffbb2e5cf99ee8b2ccf7a91f2003a2b5 Mon Sep 17 00:00:00 2001 From: PotcFdk Date: Fri, 8 Nov 2024 20:13:44 +0100 Subject: [PATCH 1/6] Code refactoring: Part 1 (rearrangement, WIP) --- SteamDiscoveryQueueAutoSkipper.user.js | 635 +++++++++++++------------ 1 file changed, 332 insertions(+), 303 deletions(-) diff --git a/SteamDiscoveryQueueAutoSkipper.user.js b/SteamDiscoveryQueueAutoSkipper.user.js index e6e864f..6c94f51 100644 --- a/SteamDiscoveryQueueAutoSkipper.user.js +++ b/SteamDiscoveryQueueAutoSkipper.user.js @@ -33,348 +33,377 @@ limitations under the License. */ -const HOUR = 60*60*1000; +const CONSTANTS = { + HOUR: 60*60*1000 +}; -// Handle error pages +const STATE = {}; -var page = document.getElementsByTagName("BODY")[0].innerHTML; - -if (page.length < 100 - || page.includes ("An error occurred while processing your request") - || page.includes ("The Steam Store is experiencing some heavy load right now")) -{ - location.reload(); - return; -} - -// Click helper - -function click (obj) -{ - var evObj = new MouseEvent ('click'); - obj.dispatchEvent (evObj); - - window.addEventListener ('load', function() { - click (obj); - }); -} +const SETUP = [ + function () { + let styleBg = '', styleAppendix = ''; + switch ((new Date()).getMonth()) + { + case 11: + styleBg = + `background-size: 424px; + background-image: repeating-linear-gradient(45deg, #ff0000, #af0000 13px, #1d6a00 6px, #1d4a00 30px); + animation: moveGradient 5s linear infinite;`; + styleAppendix = + `@keyframes moveGradient { + 0% { + background-position: 0 0; /* Start position */ + } + 100% { + background-position: -424px 0; /* End position */ + } + }`; + break; + default: + styleBg = + `background-color: #ffcc6a;`; + } -// Main queue-skipper - -function injectLoadingBarStyleSheet() -{ - let styleBg = '', styleAppendix = ''; - switch ((new Date()).getMonth()) - { - case 11: - styleBg = - `background-size: 424px; - background-image: repeating-linear-gradient(45deg, #ff0000, #af0000 13px, #1d6a00 6px, #1d4a00 30px); - animation: moveGradient 5s linear infinite;`; - styleAppendix = - `@keyframes moveGradient { - 0% { - background-position: 0 0; /* Start position */ - } - 100% { - background-position: -424px 0; /* End position */ - } - }`; - break; - default: - styleBg = - `background-color: #ffcc6a;`; - } + const style = document.createElement('style'); + style.innerHTML = `#queueActionsCtn::after { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 0px; + transition: width 1s ease 0s; + height: 100%; + ${styleBg} + } + ${styleAppendix}`; + document.getElementsByTagName('head')[0].appendChild(style); - const style = document.createElement('style'); - style.innerHTML = `#queueActionsCtn::after { - content: ''; - position: absolute; - top: 0; - left: 0; - width: 0px; - transition: width 1s ease 0s; - height: 100%; - ${styleBg} + STATE.loadingBarAfterStyle = Array.from(style.sheet.cssRules).filter(rule => rule.selectorText === "#queueActionsCtn::after").map(rule => rule.style)[0]; + }, + function() { + STATE.queueCountTotal = Number(document.getElementsByClassName("queue_sub_text")[0]?.textContent.match(/\d+/)[0] || 0); } - ${styleAppendix}`; - document.getElementsByTagName('head')[0].appendChild(style); - return style.sheet.cssRules; -} - -const loadingBarAfterStyle = Array.from(injectLoadingBarStyleSheet()).filter(rule => rule.selectorText === "#queueActionsCtn::after").map(rule => rule.style)[0]; - -function setLoadingBarProgress(percent) { - if (loadingBarAfterStyle && isFinite (percent)) - loadingBarAfterStyle.width = Math.floor (Math.max (0, Math.min (100, percent))) + "%"; -} - -const queueCountTotal = Number(document.getElementsByClassName("queue_sub_text")[0]?.textContent.match(/\d+/)[0] || 0); - -function handleQueuePage() -{ - const queueCountRemaining = Number(document.getElementsByClassName("queue_sub_text")[0]?.textContent.match(/\d+/)[0] || 0); - const progress = 100 * (queueCountTotal-queueCountRemaining) / queueCountTotal; - setLoadingBarProgress (progress); - - var btn = document.getElementsByClassName ("btn_next_in_queue")[0]; - - if (btn) - { - var btn_text = btn.getElementsByTagName ("span")[0]; - var btn_subtext = document.getElementsByClassName ("queue_sub_text")[0]; - if (btn_text) - { - if (btn_subtext) - { - btn_text.textContent = "Loading next item..."; - btn_text.appendChild (document.createElement ("br")); - btn_text.appendChild (btn_subtext); - } - else +] + +const HELPERS = { + click: (obj) => { + var evObj = new MouseEvent ('click'); + obj.dispatchEvent (evObj); + + window.addEventListener ('load', function() { + click (obj); + }); + }, + + hasLoginLink: () => + Array.from(document.getElementsByClassName("global_action_link")) + .filter(a => a.href) + .filter(a => a.href + .includes("login")).length > 0, + + hasAvatarClassElements: () => document.getElementsByClassName("playerAvatar").length > 0, + + isLoggedIn: () => !hasLoginLink() && hasAvatarClassElements(), + isLoggedOut: () => hasLoginLink() && !hasAvatarClassElements(), + + getQueueCount: (doc) => { + const _subtext = doc.getElementsByClassName('subtext')[0]; + if (_subtext) { + const queue_count_subtext = _subtext.innerHTML; + let queue_count = parseInt(queue_count_subtext.replace(/[^0-9\.]/g, ''), 10); + if (isNaN(queue_count)) { - btn_text.textContent = "Finishing Queue..."; + const language = doc.documentElement.getAttribute("lang"); + switch(language) + { + case "de": + queue_count = queue_count_subtext.includes(" eine ") ? 1 : 0; + break; + case "fr": + queue_count = queue_count_subtext.includes(" une ") ? 1 : 0; + break; + case "it": + queue_count = queue_count_subtext.includes(" un'altra ") ? 1 : 0; + break; + case "pl": + queue_count = queue_count_subtext.includes(" jedną ") ? 1 : 0; + break; + case "ru": + case "uk": + queue_count = queue_count_subtext.includes(" одну ") ? 1 : 0; + break; + default: + queue_count = 0; + } } } - } + return queue_count; + }, + + claim_sale_reward: (webapi_token) => { + return fetch("https://api.steampowered.com/ISaleItemRewardsService/ClaimItem/v1?access_token=" + webapi_token, { + "credentials": "omit", + "headers": { + "Content-Type": "multipart/form-data; boundary=---------------------------90594386426341336747734585788" + }, + "referrer": "https://store.steampowered.com/points/shop", + "body": "-----------------------------90594386426341336747734585788\r\nContent-Disposition: form-data; name=\"input_protobuf_encoded\"\r\n\r\n\r\n-----------------------------90594386426341336747734585788--\r\n", + "method": "POST", + "mode": "cors" + }); + }, + + setLoadingBarProgress: (percent) => { + if (STATE.loadingBarAfterStyle && isFinite (percent)) + STATE.loadingBarAfterStyle.width = Math.floor (Math.max (0, Math.min (100, percent))) + "%"; + }, + + handleQueuePage: () => { + const queueCountRemaining = Number(document.getElementsByClassName("queue_sub_text")[0]?.textContent.match(/\d+/)[0] || 0); + const progress = 100 * (queueCountTotal-queueCountRemaining) / queueCountTotal; + setLoadingBarProgress (progress); + + var btn = document.getElementsByClassName ("btn_next_in_queue")[0]; - function nextInQueueButton() - { if (btn) { - click (btn); - } - } - - var ajax_failures = 0; - - function ajax() - { - var next_in_queue_form = document.getElementById ("next_in_queue_form"); - var xhr = new XMLHttpRequest(); - xhr.responseType = "document"; - xhr.onreadystatechange = function() - { - if (xhr.readyState == 4 && xhr.status == 200) + var btn_text = btn.getElementsByTagName ("span")[0]; + var btn_subtext = document.getElementsByClassName ("queue_sub_text")[0]; + if (btn_text) { - var _2_next_in_queue_form = xhr.response.getElementById ("next_in_queue_form"); - if (_2_next_in_queue_form && _2_next_in_queue_form.length) + if (btn_subtext) { - next_in_queue_form.parentNode.innerHTML = _2_next_in_queue_form.parentNode.innerHTML; - handleQueuePage(); + btn_text.textContent = "Loading next item..."; + btn_text.appendChild (document.createElement ("br")); + btn_text.appendChild (btn_subtext); } else { - location.href = next_in_queue_form.getAttribute ("action"); + btn_text.textContent = "Finishing Queue..."; } } - else if (xhr.readyState == 4) + } + + function nextInQueueButton() + { + if (btn) + { + click (btn); + } + } + + var ajax_failures = 0; + + function ajax() + { + var next_in_queue_form = document.getElementById ("next_in_queue_form"); + var xhr = new XMLHttpRequest(); + xhr.responseType = "document"; + xhr.onreadystatechange = function() { - if (ajax_failures++ < 3) + if (xhr.readyState == 4 && xhr.status == 200) { - console.log ("Failed AJAX (HTTP status " + xhr.status + "). Retrying (" + ajax_failures + "/3)..."); - ajax(); + var _2_next_in_queue_form = xhr.response.getElementById ("next_in_queue_form"); + if (_2_next_in_queue_form && _2_next_in_queue_form.length) + { + next_in_queue_form.parentNode.innerHTML = _2_next_in_queue_form.parentNode.innerHTML; + handleQueuePage(); + } + else + { + location.href = next_in_queue_form.getAttribute ("action"); + } } - else + else if (xhr.readyState == 4) { - console.log ("Failed AJAX (HTTP status " + xhr.status + "). Retrying using the classic button click method..."); - nextInQueueButton(); + if (ajax_failures++ < 3) + { + console.log ("Failed AJAX (HTTP status " + xhr.status + "). Retrying (" + ajax_failures + "/3)..."); + ajax(); + } + else + { + console.log ("Failed AJAX (HTTP status " + xhr.status + "). Retrying using the classic button click method..."); + nextInQueueButton(); + } } - } - }; - xhr.open("POST", next_in_queue_form.getAttribute("action"), true); + }; + xhr.open("POST", next_in_queue_form.getAttribute("action"), true); + + var form = new FormData(); + form.append ("sessionid", next_in_queue_form.sessionid.value); + form.append ("appid_to_clear_from_queue", next_in_queue_form.appid_to_clear_from_queue.value); + form.append ("snr", next_in_queue_form.snr.value); - var form = new FormData(); - form.append ("sessionid", next_in_queue_form.sessionid.value); - form.append ("appid_to_clear_from_queue", next_in_queue_form.appid_to_clear_from_queue.value); - form.append ("snr", next_in_queue_form.snr.value); + xhr.send (form); + } - xhr.send (form); + ajax(); } +}; - ajax(); -} +const HandlerResult = Object.freeze({ + next: Symbol('next'), + abort: Symbol('abort') +}); -if (document.getElementsByClassName ("btn_next_in_queue").length) -{ - handleQueuePage(); - return; -} +const HANDLERS = [ + ['errorPage', () => { + const page = document.getElementsByTagName("BODY")[0].innerHTML; -// Automate agegate #1 - -var app_agegate = document.getElementById ("app_agegate"); -if (app_agegate) -{ - var btn_medium = app_agegate.getElementsByClassName ("btn_medium"); - if (btn_medium) - { - for (i = 0; i < btn_medium.length; i++) + if (page.length < 100 + || page.includes ("An error occurred while processing your request") + || page.includes ("The Steam Store is experiencing some heavy load right now")) + { + location.reload(); + return HandlerResult.abort; + } + }], + + ['ageGate1', () => { + const app_agegate = document.getElementById ("app_agegate"); + if (app_agegate) { - var onclick = btn_medium[i].getAttribute("onclick"); - if (onclick && onclick.includes("HideAgeGate")) + const btn_medium = app_agegate.getElementsByClassName ("btn_medium"); + if (btn_medium) { - click (btn_medium[i]); + for (i = 0; i < btn_medium.length; i++) + { + const onclick = btn_medium[i].getAttribute("onclick"); + if (onclick && onclick.includes("HideAgeGate")) + { + click (btn_medium[i]); + return HandlerResult.abort; + } + } } } - } -} - -// Automate agegate #2 - -var ageYear = document.getElementById ("ageYear"); -if (ageYear) -{ - ageYear.value = 1985; - if (typeof DoAgeGateSubmit == "function") - { - DoAgeGateSubmit(); - } - else if (typeof ViewProductPage == "function") - { - ViewProductPage(); - } -} - -// Login detection helper - -const hasLoginLink = () => - Array.from(document.getElementsByClassName("global_action_link")) - .filter(a => a.href) - .filter(a => a.href - .includes("login")).length > 0; - -const hasAvatarClassElements = () => document.getElementsByClassName("playerAvatar").length > 0; - -//const application_config = document.getElementById('application_config'); -//const data_userinfo = application_config ? JSON.parse(application_config.getAttribute('data-userinfo')); + }], -const isLoggedIn = () => !hasLoginLink() && hasAvatarClassElements(); -const isLoggedOut = () => hasLoginLink() && !hasAvatarClassElements(); - -// Multiple queues helper - -function getQueueCount (doc) { - var _subtext = doc.getElementsByClassName('subtext')[0]; - if (_subtext) { - var queue_count_subtext = _subtext.innerHTML; - var queue_count = parseInt(queue_count_subtext.replace(/[^0-9\.]/g, ''), 10); - if (isNaN(queue_count)) + ['ageGate2', () => { + const ageYear = document.getElementById ("ageYear"); + if (ageYear) { - var language = doc.documentElement.getAttribute("lang"); - switch(language) + ageYear.value = 1985; + if (typeof DoAgeGateSubmit == "function") + { + DoAgeGateSubmit(); + return HandlerResult.abort; + } + else if (typeof ViewProductPage == "function") { - case "de": - queue_count = queue_count_subtext.includes(" eine ") ? 1 : 0; - break; - case "fr": - queue_count = queue_count_subtext.includes(" une ") ? 1 : 0; - break; - case "it": - queue_count = queue_count_subtext.includes(" un'altra ") ? 1 : 0; - break; - case "pl": - queue_count = queue_count_subtext.includes(" jedną ") ? 1 : 0; - break; - case "ru": - case "uk": - queue_count = queue_count_subtext.includes(" одну ") ? 1 : 0; - break; - default: - queue_count = 0; + ViewProductPage(); + return HandlerResult.abort; } } - } - return queue_count; -} - -// ItemRewards helper - -function claim_sale_reward (webapi_token) { - return fetch("https://api.steampowered.com/ISaleItemRewardsService/ClaimItem/v1?access_token=" + webapi_token, { - "credentials": "omit", - "headers": { - "Content-Type": "multipart/form-data; boundary=---------------------------90594386426341336747734585788" - }, - "referrer": "https://store.steampowered.com/points/shop", - "body": "-----------------------------90594386426341336747734585788\r\nContent-Disposition: form-data; name=\"input_protobuf_encoded\"\r\n\r\n\r\n-----------------------------90594386426341336747734585788--\r\n", - "method": "POST", - "mode": "cors" - }); -} - -// Purge existing timestamps when not logged in - -if (isLoggedOut()) { - delete localStorage.SteamDiscoveryQueueAutoSkipper_lastchecked; - delete localStorage.SteamDiscoveryQueueAutoSkipper_freesticker_next_claim_time; -} + }], -// Multiple queues trigger -const refresh_queue_btn = document.getElementById ("refresh_queue_btn"); - -if (refresh_queue_btn && (getQueueCount (document) >= 1)) -{ - click (refresh_queue_btn); -} + ['loggedOutCleanup', () => { + if (isLoggedOut()) { + delete localStorage.SteamDiscoveryQueueAutoSkipper_lastchecked; + delete localStorage.SteamDiscoveryQueueAutoSkipper_freesticker_next_claim_time; + return HandlerResult.abort; + } + }], -// Queue check and notification -else if (isLoggedIn() && (Date.now() - (localStorage.SteamDiscoveryQueueAutoSkipper_lastchecked || 0) > HOUR)) { - fetch('https://store.steampowered.com/explore/', {credentials: 'include'}).then(r =>r.text().then(body => { - const doc = new DOMParser().parseFromString(body, "text/html"); - if (getQueueCount (doc) > 0) - ShowConfirmDialog ('SteamDiscoveryQueueAutoSkipper', - 'You seem to have remaining unlockable trading cards in your discovery queue!\n' - + 'Do you want to start auto-exploring the queue now?', - 'Yes!', 'No, remind me later.').done (function () { - location.href = 'https://store.steampowered.com/explore/startnew'; - }); - else - console.log ("Queue count is 0"); - - localStorage.SteamDiscoveryQueueAutoSkipper_lastchecked = Date.now(); - })); -} + ['discoveryQueue', () => { + if (document.getElementsByClassName ("btn_next_in_queue").length) { + handleQueuePage(); + return HandlerResult.abort; + } + }], -// ItemRewards check and background execution -else if (isLoggedIn() && (Date.now() - (localStorage.SteamDiscoveryQueueAutoSkipper_freesticker_next_claim_time || 0) > 0)) { - // I hope this is at least somewhat correct. At least it feels OK, so that means we're probably halfway there. - const ItemRewardProtos = "syntax=\"proto3\";\ - message CanClaimItemResponse {\ - bool can_claim = 1;\ - int32 next_claim_time = 2;\ - }"; - const ItemRewardProtoRoot = protobuf.parse (ItemRewardProtos, { keepCase: true }).root; - const CanClaimItemResponse = ItemRewardProtoRoot.lookup ("CanClaimItemResponse"); - - // First let's fetch one of the offer pages that we can grab the webapi token from. - fetch ('https://store.steampowered.com/greatondeck', {credentials: 'include'}).then(r =>r.text().then(body => { - localStorage.SteamDiscoveryQueueAutoSkipper_freesticker_next_claim_time = Date.now() + HOUR; - - const doc = new DOMParser().parseFromString(body, "text/html"); - const application_config = doc.getElementById('application_config'); - const webapi_token = JSON.parse(application_config.getAttribute('data-loyalty_webapi_token')); // There it is! - - // Now let's actually ask the ISaleItemRewardsService if we can claim the item. - fetch (`https://api.steampowered.com/ISaleItemRewardsService/CanClaimItem/v1?access_token=${webapi_token}&origin=https:%2F%2Fstore.steampowered.com&input_protobuf_encoded=CgdlbmdsaXNo`, { - credentials: 'omit', - mode: 'cors' - }).then(r => r.arrayBuffer().then(body => { - const response = CanClaimItemResponse.decode (new Uint8Array (body)); - - if (response.can_claim) { - console.log("Claiming freesticker..."); - claim_sale_reward (webapi_token).then (() => { - ShowConfirmDialog ('SteamDiscoveryQueueAutoSkipper', - 'Auto-claimed a free sticker! Do you want to check your inventory now?', - 'Yes!', 'No.').done (function () { - location.href = 'https://steamcommunity.com/my/inventory'; - }); - }); - } else if (typeof response.next_claim_time == "number") { - console.log (`Setting freesticker_next_claim_time to ${response.next_claim_time}`) - localStorage.SteamDiscoveryQueueAutoSkipper_freesticker_next_claim_time = response.next_claim_time*1000; - } - })); - })); + ['multiDiscoveryQueueTrigger', () => { + const refresh_queue_btn = document.getElementById ("refresh_queue_btn"); + if (refresh_queue_btn && (getQueueCount (document) >= 1)) { + click (refresh_queue_btn); + return HandlerResult.abort; + } + }], + + ['discoveryQueueDetectAndPrompt', () => { + if (isLoggedIn() && (Date.now() - (localStorage.SteamDiscoveryQueueAutoSkipper_lastchecked || 0) > HOUR)) { + fetch('https://store.steampowered.com/explore/', {credentials: 'include'}).then(r =>r.text().then(body => { + const doc = new DOMParser().parseFromString(body, "text/html"); + if (getQueueCount (doc) > 0) + ShowConfirmDialog ('SteamDiscoveryQueueAutoSkipper', + 'You seem to have remaining unlockable trading cards in your discovery queue!\n' + + 'Do you want to start auto-exploring the queue now?', + 'Yes!', 'No, remind me later.').done (function () { + location.href = 'https://store.steampowered.com/explore/startnew'; + }); + else + console.log ("Queue count is 0"); + + localStorage.SteamDiscoveryQueueAutoSkipper_lastchecked = Date.now(); + })); + return HandlerResult.abort; + } + }], + + ['itemRewards', () => { + if (isLoggedIn() && (Date.now() - (localStorage.SteamDiscoveryQueueAutoSkipper_freesticker_next_claim_time || 0) > 0)) { + // I hope this is at least somewhat correct. At least it feels OK, so that means we're probably halfway there. + const ItemRewardProtos = "syntax=\"proto3\";\ + message CanClaimItemResponse {\ + bool can_claim = 1;\ + int32 next_claim_time = 2;\ + }"; + const ItemRewardProtoRoot = protobuf.parse(ItemRewardProtos, { keepCase: true }).root; + const CanClaimItemResponse = ItemRewardProtoRoot.lookup("CanClaimItemResponse"); + + // First let's fetch one of the offer pages that we can grab the webapi token from. + fetch('https://store.steampowered.com/greatondeck', { credentials: 'include' }).then(r => r.text().then(body => { + localStorage.SteamDiscoveryQueueAutoSkipper_freesticker_next_claim_time = Date.now() + HOUR; + + const doc = new DOMParser().parseFromString(body, "text/html"); + const application_config = doc.getElementById('application_config'); + const webapi_token = JSON.parse(application_config.getAttribute('data-loyalty_webapi_token')); // There it is! + + // Now let's actually ask the ISaleItemRewardsService if we can claim the item. + fetch(`https://api.steampowered.com/ISaleItemRewardsService/CanClaimItem/v1?access_token=${webapi_token}&origin=https:%2F%2Fstore.steampowered.com&input_protobuf_encoded=CgdlbmdsaXNo`, { + credentials: 'omit', + mode: 'cors' + }).then(r => r.arrayBuffer().then(body => { + const response = CanClaimItemResponse.decode(new Uint8Array(body)); + + if (response.can_claim) { + console.log("Claiming freesticker..."); + claim_sale_reward(webapi_token).then(() => { + ShowConfirmDialog('SteamDiscoveryQueueAutoSkipper', + 'Auto-claimed a free sticker! Do you want to check your inventory now?', + 'Yes!', 'No.').done(function () { + location.href = 'https://steamcommunity.com/my/inventory'; + }); + }); + } else if (typeof response.next_claim_time == "number") { + console.log(`Setting freesticker_next_claim_time to ${response.next_claim_time}`) + localStorage.SteamDiscoveryQueueAutoSkipper_freesticker_next_claim_time = response.next_claim_time * 1000; + } + })); + })); + return HandlerResult.abort; + } + }] +] + +/// RUN + +// 1. Setup +SETUP.forEach((func, idx) => { + console.log (`SETUP #${idx}...`); + func(); +}); + +// 2. Handlers +for (let idx = 0; idx < HANDLERS.length; ++idx) { + const handler = HANDLERS[idx]; + const result = handler[1](); + console.log (`Handler #${idx} / ${handler[0]} -> ${result}`); + + if (result === HandlerResult.abort) { + break; + } else { + continue; + } } From c536db256f5f84cb27a89ab677ba594f7dc93e79 Mon Sep 17 00:00:00 2001 From: PotcFdk Date: Fri, 8 Nov 2024 20:41:24 +0100 Subject: [PATCH 2/6] Code refactoring: Part 2 (fixes + eslint) --- .gitignore | 1 + SteamDiscoveryQueueAutoSkipper.user.js | 221 ++-- eslint.config.js | 69 ++ package-lock.json | 1546 ++++++++++++++++++++++++ package.json | 25 + 5 files changed, 1748 insertions(+), 114 deletions(-) create mode 100644 .gitignore create mode 100644 eslint.config.js create mode 100644 package-lock.json create mode 100644 package.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..07e6e47 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/node_modules diff --git a/SteamDiscoveryQueueAutoSkipper.user.js b/SteamDiscoveryQueueAutoSkipper.user.js index 6c94f51..4342f31 100644 --- a/SteamDiscoveryQueueAutoSkipper.user.js +++ b/SteamDiscoveryQueueAutoSkipper.user.js @@ -61,7 +61,7 @@ const SETUP = [ break; default: styleBg = - `background-color: #ffcc6a;`; + 'background-color: #ffcc6a;'; } const style = document.createElement('style'); @@ -78,164 +78,157 @@ const SETUP = [ ${styleAppendix}`; document.getElementsByTagName('head')[0].appendChild(style); - STATE.loadingBarAfterStyle = Array.from(style.sheet.cssRules).filter(rule => rule.selectorText === "#queueActionsCtn::after").map(rule => rule.style)[0]; + STATE.loadingBarAfterStyle = Array.from(style.sheet.cssRules).filter(rule => rule.selectorText === '#queueActionsCtn::after').map(rule => rule.style)[0]; }, - function() { - STATE.queueCountTotal = Number(document.getElementsByClassName("queue_sub_text")[0]?.textContent.match(/\d+/)[0] || 0); + function () { + STATE.queueCountTotal = Number(document.getElementsByClassName('queue_sub_text')[0]?.textContent.match(/\d+/)[0] || 0); } -] +]; const HELPERS = { click: (obj) => { - var evObj = new MouseEvent ('click'); - obj.dispatchEvent (evObj); + var evObj = new MouseEvent('click'); + obj.dispatchEvent(evObj); - window.addEventListener ('load', function() { - click (obj); + window.addEventListener('load', function () { + HELPERS.click(obj); }); }, hasLoginLink: () => - Array.from(document.getElementsByClassName("global_action_link")) + Array.from(document.getElementsByClassName('global_action_link')) .filter(a => a.href) .filter(a => a.href - .includes("login")).length > 0, + .includes('login')).length > 0, - hasAvatarClassElements: () => document.getElementsByClassName("playerAvatar").length > 0, + hasAvatarClassElements: () => document.getElementsByClassName('playerAvatar').length > 0, - isLoggedIn: () => !hasLoginLink() && hasAvatarClassElements(), - isLoggedOut: () => hasLoginLink() && !hasAvatarClassElements(), + isLoggedIn: () => !HELPERS.hasLoginLink() && HELPERS.hasAvatarClassElements(), + isLoggedOut: () => HELPERS.hasLoginLink() && !HELPERS.hasAvatarClassElements(), getQueueCount: (doc) => { const _subtext = doc.getElementsByClassName('subtext')[0]; if (_subtext) { const queue_count_subtext = _subtext.innerHTML; - let queue_count = parseInt(queue_count_subtext.replace(/[^0-9\.]/g, ''), 10); + let queue_count = parseInt(queue_count_subtext.replace(/[^0-9.]/g, ''), 10); if (isNaN(queue_count)) { - const language = doc.documentElement.getAttribute("lang"); + const language = doc.documentElement.getAttribute('lang'); switch(language) { - case "de": - queue_count = queue_count_subtext.includes(" eine ") ? 1 : 0; + case 'de': + queue_count = queue_count_subtext.includes(' eine ') ? 1 : 0; break; - case "fr": - queue_count = queue_count_subtext.includes(" une ") ? 1 : 0; + case 'fr': + queue_count = queue_count_subtext.includes(' une ') ? 1 : 0; break; - case "it": + case 'it': queue_count = queue_count_subtext.includes(" un'altra ") ? 1 : 0; break; - case "pl": - queue_count = queue_count_subtext.includes(" jedną ") ? 1 : 0; + case 'pl': + queue_count = queue_count_subtext.includes(' jedną ') ? 1 : 0; break; - case "ru": - case "uk": - queue_count = queue_count_subtext.includes(" одну ") ? 1 : 0; + case 'ru': + case 'uk': + queue_count = queue_count_subtext.includes(' одну ') ? 1 : 0; break; default: queue_count = 0; } } + return queue_count; } - return queue_count; }, claim_sale_reward: (webapi_token) => { - return fetch("https://api.steampowered.com/ISaleItemRewardsService/ClaimItem/v1?access_token=" + webapi_token, { - "credentials": "omit", - "headers": { - "Content-Type": "multipart/form-data; boundary=---------------------------90594386426341336747734585788" + return fetch('https://api.steampowered.com/ISaleItemRewardsService/ClaimItem/v1?access_token=' + webapi_token, { + 'credentials': 'omit', + 'headers': { + 'Content-Type': 'multipart/form-data; boundary=---------------------------90594386426341336747734585788' }, - "referrer": "https://store.steampowered.com/points/shop", - "body": "-----------------------------90594386426341336747734585788\r\nContent-Disposition: form-data; name=\"input_protobuf_encoded\"\r\n\r\n\r\n-----------------------------90594386426341336747734585788--\r\n", - "method": "POST", - "mode": "cors" + 'referrer': 'https://store.steampowered.com/points/shop', + 'body': '-----------------------------90594386426341336747734585788\r\nContent-Disposition: form-data; name="input_protobuf_encoded"\r\n\r\n\r\n-----------------------------90594386426341336747734585788--\r\n', + 'method': 'POST', + 'mode': 'cors' }); }, setLoadingBarProgress: (percent) => { - if (STATE.loadingBarAfterStyle && isFinite (percent)) - STATE.loadingBarAfterStyle.width = Math.floor (Math.max (0, Math.min (100, percent))) + "%"; + if (STATE.loadingBarAfterStyle && isFinite(percent)) + STATE.loadingBarAfterStyle.width = Math.floor(Math.max(0, Math.min(100, percent))) + '%'; }, handleQueuePage: () => { - const queueCountRemaining = Number(document.getElementsByClassName("queue_sub_text")[0]?.textContent.match(/\d+/)[0] || 0); - const progress = 100 * (queueCountTotal-queueCountRemaining) / queueCountTotal; - setLoadingBarProgress (progress); + const queueCountRemaining = Number(document.getElementsByClassName('queue_sub_text')[0]?.textContent.match(/\d+/)[0] || 0); + const progress = 100 * (STATE.queueCountTotal - queueCountRemaining) / STATE.queueCountTotal; + HELPERS.setLoadingBarProgress(progress); - var btn = document.getElementsByClassName ("btn_next_in_queue")[0]; + var btn = document.getElementsByClassName('btn_next_in_queue')[0]; if (btn) { - var btn_text = btn.getElementsByTagName ("span")[0]; - var btn_subtext = document.getElementsByClassName ("queue_sub_text")[0]; + var btn_text = btn.getElementsByTagName('span')[0]; + var btn_subtext = document.getElementsByClassName('queue_sub_text')[0]; if (btn_text) { if (btn_subtext) { - btn_text.textContent = "Loading next item..."; - btn_text.appendChild (document.createElement ("br")); - btn_text.appendChild (btn_subtext); + btn_text.textContent = 'Loading next item...'; + btn_text.appendChild(document.createElement('br')); + btn_text.appendChild(btn_subtext); } else { - btn_text.textContent = "Finishing Queue..."; + btn_text.textContent = 'Finishing Queue...'; } } } - function nextInQueueButton() - { - if (btn) - { - click (btn); - } - } - var ajax_failures = 0; - function ajax() + function ajax () { - var next_in_queue_form = document.getElementById ("next_in_queue_form"); + var next_in_queue_form = document.getElementById('next_in_queue_form'); var xhr = new XMLHttpRequest(); - xhr.responseType = "document"; - xhr.onreadystatechange = function() + xhr.responseType = 'document'; + xhr.onreadystatechange = function () { - if (xhr.readyState == 4 && xhr.status == 200) + if (xhr.readyState === 4 && xhr.status === 200) { - var _2_next_in_queue_form = xhr.response.getElementById ("next_in_queue_form"); + var _2_next_in_queue_form = xhr.response.getElementById('next_in_queue_form'); if (_2_next_in_queue_form && _2_next_in_queue_form.length) { next_in_queue_form.parentNode.innerHTML = _2_next_in_queue_form.parentNode.innerHTML; - handleQueuePage(); + HELPERS.handleQueuePage(); } else { - location.href = next_in_queue_form.getAttribute ("action"); + location.href = next_in_queue_form.getAttribute('action'); } } - else if (xhr.readyState == 4) + else if (xhr.readyState === 4) { if (ajax_failures++ < 3) { - console.log ("Failed AJAX (HTTP status " + xhr.status + "). Retrying (" + ajax_failures + "/3)..."); + console.log('Failed AJAX (HTTP status ' + xhr.status + '). Retrying (' + ajax_failures + '/3)...'); ajax(); } else { - console.log ("Failed AJAX (HTTP status " + xhr.status + "). Retrying using the classic button click method..."); - nextInQueueButton(); + console.log('Failed AJAX (HTTP status ' + xhr.status + '). Retrying using the classic button click method...'); + if (btn) + HELPERS.click(btn); } } }; - xhr.open("POST", next_in_queue_form.getAttribute("action"), true); + xhr.open('POST', next_in_queue_form.getAttribute('action'), true); var form = new FormData(); - form.append ("sessionid", next_in_queue_form.sessionid.value); - form.append ("appid_to_clear_from_queue", next_in_queue_form.appid_to_clear_from_queue.value); - form.append ("snr", next_in_queue_form.snr.value); + form.append('sessionid', next_in_queue_form.sessionid.value); + form.append('appid_to_clear_from_queue', next_in_queue_form.appid_to_clear_from_queue.value); + form.append('snr', next_in_queue_form.snr.value); - xhr.send (form); + xhr.send(form); } ajax(); @@ -243,17 +236,17 @@ const HELPERS = { }; const HandlerResult = Object.freeze({ - next: Symbol('next'), - abort: Symbol('abort') + next: Symbol('next'), + abort: Symbol('abort') }); const HANDLERS = [ ['errorPage', () => { - const page = document.getElementsByTagName("BODY")[0].innerHTML; + const page = document.getElementsByTagName('BODY')[0].innerHTML; if (page.length < 100 - || page.includes ("An error occurred while processing your request") - || page.includes ("The Steam Store is experiencing some heavy load right now")) + || page.includes('An error occurred while processing your request') + || page.includes('The Steam Store is experiencing some heavy load right now')) { location.reload(); return HandlerResult.abort; @@ -261,18 +254,18 @@ const HANDLERS = [ }], ['ageGate1', () => { - const app_agegate = document.getElementById ("app_agegate"); + const app_agegate = document.getElementById('app_agegate'); if (app_agegate) { - const btn_medium = app_agegate.getElementsByClassName ("btn_medium"); + const btn_medium = app_agegate.getElementsByClassName('btn_medium'); if (btn_medium) { - for (i = 0; i < btn_medium.length; i++) + for (let i = 0; i < btn_medium.length; i++) { - const onclick = btn_medium[i].getAttribute("onclick"); - if (onclick && onclick.includes("HideAgeGate")) + const onclick = btn_medium[i].getAttribute('onclick'); + if (onclick && onclick.includes('HideAgeGate')) { - click (btn_medium[i]); + HELPERS.click(btn_medium[i]); return HandlerResult.abort; } } @@ -281,16 +274,16 @@ const HANDLERS = [ }], ['ageGate2', () => { - const ageYear = document.getElementById ("ageYear"); + const ageYear = document.getElementById('ageYear'); if (ageYear) { ageYear.value = 1985; - if (typeof DoAgeGateSubmit == "function") + if (typeof DoAgeGateSubmit === 'function') { DoAgeGateSubmit(); return HandlerResult.abort; } - else if (typeof ViewProductPage == "function") + else if (typeof ViewProductPage === 'function') { ViewProductPage(); return HandlerResult.abort; @@ -299,7 +292,7 @@ const HANDLERS = [ }], ['loggedOutCleanup', () => { - if (isLoggedOut()) { + if (HELPERS.isLoggedOut()) { delete localStorage.SteamDiscoveryQueueAutoSkipper_lastchecked; delete localStorage.SteamDiscoveryQueueAutoSkipper_freesticker_next_claim_time; return HandlerResult.abort; @@ -307,33 +300,33 @@ const HANDLERS = [ }], ['discoveryQueue', () => { - if (document.getElementsByClassName ("btn_next_in_queue").length) { - handleQueuePage(); + if (document.getElementsByClassName('btn_next_in_queue').length) { + HELPERS.handleQueuePage(); return HandlerResult.abort; } }], ['multiDiscoveryQueueTrigger', () => { - const refresh_queue_btn = document.getElementById ("refresh_queue_btn"); - if (refresh_queue_btn && (getQueueCount (document) >= 1)) { - click (refresh_queue_btn); + const refresh_queue_btn = document.getElementById('refresh_queue_btn'); + if (refresh_queue_btn && (HELPERS.getQueueCount(document) >= 1)) { + HELPERS.click(refresh_queue_btn); return HandlerResult.abort; } }], ['discoveryQueueDetectAndPrompt', () => { - if (isLoggedIn() && (Date.now() - (localStorage.SteamDiscoveryQueueAutoSkipper_lastchecked || 0) > HOUR)) { + if (HELPERS.isLoggedIn() && (Date.now() - (localStorage.SteamDiscoveryQueueAutoSkipper_lastchecked || 0) > CONSTANTS.HOUR)) { fetch('https://store.steampowered.com/explore/', {credentials: 'include'}).then(r =>r.text().then(body => { - const doc = new DOMParser().parseFromString(body, "text/html"); - if (getQueueCount (doc) > 0) - ShowConfirmDialog ('SteamDiscoveryQueueAutoSkipper', - 'You seem to have remaining unlockable trading cards in your discovery queue!\n' + const doc = new DOMParser().parseFromString(body, 'text/html'); + if (HELPERS.getQueueCount(doc) > 0) + ShowConfirmDialog('SteamDiscoveryQueueAutoSkipper', + 'You seem to have remaining unlockable trading cards in your discovery queue!\n' + 'Do you want to start auto-exploring the queue now?', - 'Yes!', 'No, remind me later.').done (function () { + 'Yes!', 'No, remind me later.').done(function () { location.href = 'https://store.steampowered.com/explore/startnew'; }); else - console.log ("Queue count is 0"); + console.log('Queue count is 0'); localStorage.SteamDiscoveryQueueAutoSkipper_lastchecked = Date.now(); })); @@ -342,21 +335,21 @@ const HANDLERS = [ }], ['itemRewards', () => { - if (isLoggedIn() && (Date.now() - (localStorage.SteamDiscoveryQueueAutoSkipper_freesticker_next_claim_time || 0) > 0)) { + if (HELPERS.isLoggedIn() && (Date.now() - (localStorage.SteamDiscoveryQueueAutoSkipper_freesticker_next_claim_time || 0) > 0)) { // I hope this is at least somewhat correct. At least it feels OK, so that means we're probably halfway there. - const ItemRewardProtos = "syntax=\"proto3\";\ + const ItemRewardProtos = 'syntax="proto3";\ message CanClaimItemResponse {\ bool can_claim = 1;\ int32 next_claim_time = 2;\ - }"; + }'; const ItemRewardProtoRoot = protobuf.parse(ItemRewardProtos, { keepCase: true }).root; - const CanClaimItemResponse = ItemRewardProtoRoot.lookup("CanClaimItemResponse"); + const CanClaimItemResponse = ItemRewardProtoRoot.lookup('CanClaimItemResponse'); // First let's fetch one of the offer pages that we can grab the webapi token from. fetch('https://store.steampowered.com/greatondeck', { credentials: 'include' }).then(r => r.text().then(body => { - localStorage.SteamDiscoveryQueueAutoSkipper_freesticker_next_claim_time = Date.now() + HOUR; + localStorage.SteamDiscoveryQueueAutoSkipper_freesticker_next_claim_time = Date.now() + CONSTANTS.HOUR; - const doc = new DOMParser().parseFromString(body, "text/html"); + const doc = new DOMParser().parseFromString(body, 'text/html'); const application_config = doc.getElementById('application_config'); const webapi_token = JSON.parse(application_config.getAttribute('data-loyalty_webapi_token')); // There it is! @@ -368,16 +361,16 @@ const HANDLERS = [ const response = CanClaimItemResponse.decode(new Uint8Array(body)); if (response.can_claim) { - console.log("Claiming freesticker..."); - claim_sale_reward(webapi_token).then(() => { + console.log('Claiming freesticker...'); + HELPERS.claim_sale_reward(webapi_token).then(() => { ShowConfirmDialog('SteamDiscoveryQueueAutoSkipper', 'Auto-claimed a free sticker! Do you want to check your inventory now?', 'Yes!', 'No.').done(function () { - location.href = 'https://steamcommunity.com/my/inventory'; - }); + location.href = 'https://steamcommunity.com/my/inventory'; + }); }); - } else if (typeof response.next_claim_time == "number") { - console.log(`Setting freesticker_next_claim_time to ${response.next_claim_time}`) + } else if (typeof response.next_claim_time === 'number') { + console.log(`Setting freesticker_next_claim_time to ${response.next_claim_time}`); localStorage.SteamDiscoveryQueueAutoSkipper_freesticker_next_claim_time = response.next_claim_time * 1000; } })); @@ -385,13 +378,13 @@ const HANDLERS = [ return HandlerResult.abort; } }] -] +]; /// RUN // 1. Setup SETUP.forEach((func, idx) => { - console.log (`SETUP #${idx}...`); + console.log(`SETUP #${idx}...`); func(); }); @@ -399,7 +392,7 @@ SETUP.forEach((func, idx) => { for (let idx = 0; idx < HANDLERS.length; ++idx) { const handler = HANDLERS[idx]; const result = handler[1](); - console.log (`Handler #${idx} / ${handler[0]} -> ${result}`); + console.log(`Handler #${idx} / ${handler[0]} -> ${typeof result === 'symbol' ? result.toString() : result}`); if (result === HandlerResult.abort) { break; diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..40a12e8 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,69 @@ +import eslintJs from '@eslint/js'; +import stylistic from '@stylistic/eslint-plugin'; +import jsdoc from 'eslint-plugin-jsdoc'; +import globals from 'globals'; + +export default [ + eslintJs.configs.recommended, + jsdoc.configs['flat/recommended'], + { + languageOptions: { + globals: { + ...globals.browser, + 'ShowConfirmDialog': true, + 'DoAgeGateSubmit': true, + 'ViewProductPage': true, + 'protobuf': true + } + } + }, + { + ignores: [ + 'dist' + ] + }, + { + plugins: { + '@stylistic': stylistic + }, + rules: { + '@stylistic/indent': [ + 'error', + 'tab' + ], + '@stylistic/linebreak-style': [ + 'error', + 'unix' + ], + '@stylistic/quotes': [ + 'error', + 'single', + { + 'avoidEscape': true + } + ], + '@stylistic/semi': [ + 'error', + 'always' + ], + 'eqeqeq': [ + 'error', + 'always' + ], + 'no-unused-vars': [ + 'warn', + { + varsIgnorePattern: '^_' + } + ], + '@stylistic/space-before-function-paren': [ + 'error', + 'always' + ], + '@stylistic/function-call-spacing': [ + 'error', + 'never' + ] + } + } +]; diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..2b765dc --- /dev/null +++ b/package-lock.json @@ -0,0 +1,1546 @@ +{ + "name": "steamdiscoveryqueueautoskipper", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "steamdiscoveryqueueautoskipper", + "version": "0.0.0", + "license": "Apache-2.0", + "devDependencies": { + "@stylistic/eslint-plugin": "^2.10.1", + "eslint": "^9.14.0", + "eslint-plugin-jsdoc": "^50.4.3" + } + }, + "node_modules/@es-joy/jsdoccomment": { + "version": "0.49.0", + "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.49.0.tgz", + "integrity": "sha512-xjZTSFgECpb9Ohuk5yMX5RhUEbfeQcuOp8IF60e+wyzWEF0M5xeSgqsfLtvPEX8BIyOX9saZqzuGPmZ8oWc+5Q==", + "license": "MIT", + "dependencies": { + "comment-parser": "1.4.1", + "esquery": "^1.6.0", + "jsdoc-type-pratt-parser": "~4.1.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz", + "integrity": "sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==", + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/config-array": { + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.18.0.tgz", + "integrity": "sha512-fTxvnS1sRMu3+JjXwJG0j/i4RT9u4qJ+lqS/yCGap4lH4zZGzQ7tu+xZqQmcMZq5OBZDL4QRxQzRjkWcGt8IVw==", + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^2.1.4", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/core": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.7.0.tgz", + "integrity": "sha512-xp5Jirz5DyPYlPiKat8jaq0EmYvDXKKpzTbxXMpT9eqlRJkRKIz9AGMdlvYjih+im+QlhWrpvVjl8IPC/lHlUw==", + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.1.0.tgz", + "integrity": "sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/js": { + "version": "9.14.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.14.0.tgz", + "integrity": "sha512-pFoEtFWCPyDOl+C6Ift+wC7Ro89otjigCf5vcuWqWgqNSQbRrpjSvdeE6ofLz4dHmyxD5f7gIdGT4+p36L6Twg==", + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/object-schema": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.4.tgz", + "integrity": "sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==", + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.2.tgz", + "integrity": "sha512-CXtq5nR4Su+2I47WPOlWud98Y5Lv8Kyxp2ukhgFx/eW6Blm18VXJO5WuQylPugRo8nbluoi6GvvxBLqHcvqUUw==", + "license": "Apache-2.0", + "dependencies": { + "levn": "^0.4.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@humanfs/core": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", + "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==", + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node": { + "version": "0.16.6", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz", + "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==", + "license": "Apache-2.0", + "dependencies": { + "@humanfs/core": "^0.19.1", + "@humanwhocodes/retry": "^0.3.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz", + "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==", + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/retry": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.1.tgz", + "integrity": "sha512-c7hNEllBlenFTHBky65mhq8WD2kbN9Q6gk0bTk8lSBvc554jpXSkST1iePudpt7+A/AQvuHs9EMqjHDXMY1lrA==", + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@pkgr/core": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.1.1.tgz", + "integrity": "sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==", + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts" + } + }, + "node_modules/@stylistic/eslint-plugin": { + "version": "2.10.1", + "resolved": "https://registry.npmjs.org/@stylistic/eslint-plugin/-/eslint-plugin-2.10.1.tgz", + "integrity": "sha512-U+4yzNXElTf9q0kEfnloI9XbOyD4cnEQCxjUI94q0+W++0GAEQvJ/slwEj9lwjDHfGADRSr+Tco/z0XJvmDfCQ==", + "license": "MIT", + "dependencies": { + "@typescript-eslint/utils": "^8.12.2", + "eslint-visitor-keys": "^4.2.0", + "espree": "^10.3.0", + "estraverse": "^5.3.0", + "picomatch": "^4.0.2" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "peerDependencies": { + "eslint": ">=8.40.0" + } + }, + "node_modules/@types/estree": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "license": "MIT" + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "license": "MIT" + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz", + "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==", + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/visitor-keys": "8.13.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/types": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", + "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", + "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", + "license": "BSD-2-Clause", + "dependencies": { + "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/visitor-keys": "8.13.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.13.0.tgz", + "integrity": "sha512-A1EeYOND6Uv250nybnLZapeXpYMl8tkzYUxqmoKAWnI4sei3ihf2XdZVd+vVOmHGcp3t+P7yRrNsyyiXTvShFQ==", + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.13.0", + "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/typescript-estree": "8.13.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", + "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.13.0", + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/acorn": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/are-docs-informative": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/are-docs-informative/-/are-docs-informative-0.0.2.tgz", + "integrity": "sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==", + "license": "MIT", + "engines": { + "node": ">=14" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "license": "Python-2.0" + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "license": "MIT" + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/comment-parser": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.1.tgz", + "integrity": "sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==", + "license": "MIT", + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "license": "MIT" + }, + "node_modules/cross-spawn": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.5.tgz", + "integrity": "sha512-ZVJrKKYunU38/76t0RMOulHOnUcbU9GbpWKAOZ0mhjr7CX6FVrH+4FrAapSOekrgFQ3f/8gwMEuIft0aKq6Hug==", + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/debug": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "license": "MIT" + }, + "node_modules/es-module-lexer": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.4.tgz", + "integrity": "sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw==", + "license": "MIT" + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "9.14.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.14.0.tgz", + "integrity": "sha512-c2FHsVBr87lnUtjP4Yhvk4yEhKrQavGafRA/Se1ouse8PfbfC/Qh9Mxa00yWsZRlqeUB9raXip0aiiUZkgnr9g==", + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.12.1", + "@eslint/config-array": "^0.18.0", + "@eslint/core": "^0.7.0", + "@eslint/eslintrc": "^3.1.0", + "@eslint/js": "9.14.0", + "@eslint/plugin-kit": "^0.2.0", + "@humanfs/node": "^0.16.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.4.0", + "@types/estree": "^1.0.6", + "@types/json-schema": "^7.0.15", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^8.2.0", + "eslint-visitor-keys": "^4.2.0", + "espree": "^10.3.0", + "esquery": "^1.5.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-jsdoc": { + "version": "50.4.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-50.4.3.tgz", + "integrity": "sha512-uWtwFxGRv6B8sU63HZM5dAGDhgsatb+LONwmILZJhdRALLOkCX2HFZhdL/Kw2ls8SQMAVEfK+LmnEfxInRN8HA==", + "license": "BSD-3-Clause", + "dependencies": { + "@es-joy/jsdoccomment": "~0.49.0", + "are-docs-informative": "^0.0.2", + "comment-parser": "1.4.1", + "debug": "^4.3.6", + "escape-string-regexp": "^4.0.0", + "espree": "^10.1.0", + "esquery": "^1.6.0", + "parse-imports": "^2.1.1", + "semver": "^7.6.3", + "spdx-expression-parse": "^4.0.0", + "synckit": "^0.9.1" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "eslint": "^7.0.0 || ^8.0.0 || ^9.0.0" + } + }, + "node_modules/eslint-scope": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.2.0.tgz", + "integrity": "sha512-PHlWUfG6lvPc3yvP5A4PNyBL1W8fkDUccmI21JUu/+GKZBoH/W5u6usENXUrWFRsyoW5ACUjFGgAFQp5gUlb/A==", + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.3.0.tgz", + "integrity": "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==", + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.14.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", + "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "license": "MIT" + }, + "node_modules/fast-glob": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "license": "MIT" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "license": "MIT" + }, + "node_modules/fastq": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/file-entry-cache": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "license": "MIT", + "dependencies": { + "flat-cache": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "license": "MIT", + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/flatted": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", + "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", + "license": "ISC" + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/globals": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "license": "ISC" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsdoc-type-pratt-parser": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.1.0.tgz", + "integrity": "sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==", + "license": "MIT", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "license": "MIT" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "license": "MIT" + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "license": "MIT" + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/micromatch/node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "license": "MIT" + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-imports": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/parse-imports/-/parse-imports-2.2.1.tgz", + "integrity": "sha512-OL/zLggRp8mFhKL0rNORUTR4yBYujK/uU+xZL+/0Rgm2QE4nLO9v8PzEweSJEbMGKmDRjJE4R3IMJlL2di4JeQ==", + "license": "Apache-2.0 AND MIT", + "dependencies": { + "es-module-lexer": "^1.5.3", + "slashes": "^3.0.12" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/picomatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", + "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/slashes": { + "version": "3.0.12", + "resolved": "https://registry.npmjs.org/slashes/-/slashes-3.0.12.tgz", + "integrity": "sha512-Q9VME8WyGkc7pJf6QEkj3wE+2CnvZMI+XJhwdTPR8Z/kWQRXi7boAWLDibRPyHRTUTPx5FaU7MsyrjI3yLB4HA==", + "license": "ISC" + }, + "node_modules/spdx-exceptions": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", + "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", + "license": "CC-BY-3.0" + }, + "node_modules/spdx-expression-parse": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-4.0.0.tgz", + "integrity": "sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ==", + "license": "MIT", + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.20", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.20.tgz", + "integrity": "sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw==", + "license": "CC0-1.0" + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/synckit": { + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.9.2.tgz", + "integrity": "sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw==", + "license": "MIT", + "dependencies": { + "@pkgr/core": "^0.1.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "license": "MIT" + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/ts-api-utils": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.0.tgz", + "integrity": "sha512-032cPxaEKwM+GT3vA5JXNzIaizx388rhsSW79vGRNGXfRRAdEAn2mvk36PvK5HnOchyWZ7afLEXqYCvPCrzuzQ==", + "license": "MIT", + "engines": { + "node": ">=16" + }, + "peerDependencies": { + "typescript": ">=4.2.0" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/typescript": { + "version": "5.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", + "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", + "license": "Apache-2.0", + "peer": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..4c3cf57 --- /dev/null +++ b/package.json @@ -0,0 +1,25 @@ +{ + "name": "steamdiscoveryqueueautoskipper", + "version": "0.0.0", + "description": "https://github.com/PotcFdk/SteamDiscoveryQueueAutoSkipper", + "private": true, + "dependencies": {}, + "devDependencies": { + "@stylistic/eslint-plugin": "^2.10.1", + "eslint": "^9.14.0", + "eslint-plugin-jsdoc": "^50.4.3" + }, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/PotcFdk/SteamDiscoveryQueueAutoSkipper.git" + }, + "author": "PotcFdk", + "license": "Apache-2.0", + "bugs": { + "url": "https://github.com/PotcFdk/SteamDiscoveryQueueAutoSkipper/issues" + }, + "homepage": "https://github.com/PotcFdk/SteamDiscoveryQueueAutoSkipper#readme" +} From 3a7bf5369bbcf74640ed02db76d10d2ad42ad605 Mon Sep 17 00:00:00 2001 From: PotcFdk Date: Fri, 8 Nov 2024 20:41:39 +0100 Subject: [PATCH 3/6] Add hash to `@require`. --- SteamDiscoveryQueueAutoSkipper.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SteamDiscoveryQueueAutoSkipper.user.js b/SteamDiscoveryQueueAutoSkipper.user.js index 4342f31..2ba8df4 100644 --- a/SteamDiscoveryQueueAutoSkipper.user.js +++ b/SteamDiscoveryQueueAutoSkipper.user.js @@ -13,7 +13,7 @@ // @icon https://raw.githubusercontent.com/PotcFdk/SteamDiscoveryQueueAutoSkipper/master/logo.png // @downloadURL https://raw.githubusercontent.com/PotcFdk/SteamDiscoveryQueueAutoSkipper/master/SteamDiscoveryQueueAutoSkipper.user.js // @updateURL https://raw.githubusercontent.com/PotcFdk/SteamDiscoveryQueueAutoSkipper/master/SteamDiscoveryQueueAutoSkipper.meta.js -// @require https://cdn.jsdelivr.net/npm/protobufjs@7.1.2/dist/protobuf.js +// @require https://cdn.jsdelivr.net/npm/protobufjs@7.1.2/dist/protobuf.js#sha256-6ae1445115d49dac60b8a69e37bd3a2eb6e42120d75f22879a9286b7061608ec // ==/UserScript== /* From 5229bf72643d60cadbdad84b3e72a0b2ac28d12f Mon Sep 17 00:00:00 2001 From: PotcFdk Date: Fri, 8 Nov 2024 20:47:43 +0100 Subject: [PATCH 4/6] Squashed commit of the following: commit 6943a8070c044baae92cfac409aa92d22802316d Author: Raptime Date: Tue Jul 9 14:23:12 2024 +0900 Update SteamDiscoveryQueueAutoSkipper.user.js Added homepageURL and supportURL to the metadata block commit 830a7cb69fdc2214e9a9db53d94e5346a6e7839a Author: Raptime Date: Tue Jul 9 14:22:42 2024 +0900 Update SteamDiscoveryQueueAutoSkipper.meta.js Added homepageURL and supportURL to the metadata block This resolves #13. --- SteamDiscoveryQueueAutoSkipper.meta.js | 2 ++ SteamDiscoveryQueueAutoSkipper.user.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/SteamDiscoveryQueueAutoSkipper.meta.js b/SteamDiscoveryQueueAutoSkipper.meta.js index ea5e2b7..0ff8c4d 100644 --- a/SteamDiscoveryQueueAutoSkipper.meta.js +++ b/SteamDiscoveryQueueAutoSkipper.meta.js @@ -14,4 +14,6 @@ // @icon https://raw.githubusercontent.com/PotcFdk/SteamDiscoveryQueueAutoSkipper/master/logo.png // @downloadURL https://raw.githubusercontent.com/PotcFdk/SteamDiscoveryQueueAutoSkipper/master/SteamDiscoveryQueueAutoSkipper.user.js // @updateURL https://raw.githubusercontent.com/PotcFdk/SteamDiscoveryQueueAutoSkipper/master/SteamDiscoveryQueueAutoSkipper.meta.js +// @homepageURL https://github.com/PotcFdk/SteamDiscoveryQueueAutoSkipper +// @supportURL https://github.com/PotcFdk/SteamDiscoveryQueueAutoSkipper/issues // ==/UserScript== diff --git a/SteamDiscoveryQueueAutoSkipper.user.js b/SteamDiscoveryQueueAutoSkipper.user.js index 2ba8df4..cfe31b6 100644 --- a/SteamDiscoveryQueueAutoSkipper.user.js +++ b/SteamDiscoveryQueueAutoSkipper.user.js @@ -14,6 +14,8 @@ // @downloadURL https://raw.githubusercontent.com/PotcFdk/SteamDiscoveryQueueAutoSkipper/master/SteamDiscoveryQueueAutoSkipper.user.js // @updateURL https://raw.githubusercontent.com/PotcFdk/SteamDiscoveryQueueAutoSkipper/master/SteamDiscoveryQueueAutoSkipper.meta.js // @require https://cdn.jsdelivr.net/npm/protobufjs@7.1.2/dist/protobuf.js#sha256-6ae1445115d49dac60b8a69e37bd3a2eb6e42120d75f22879a9286b7061608ec +// @homepageURL https://github.com/PotcFdk/SteamDiscoveryQueueAutoSkipper +// @supportURL https://github.com/PotcFdk/SteamDiscoveryQueueAutoSkipper/issues // ==/UserScript== /* From e0a2e6ed2e9b72a8c176840e8d7d03d2174877e7 Mon Sep 17 00:00:00 2001 From: PotcFdk Date: Fri, 8 Nov 2024 20:56:00 +0100 Subject: [PATCH 5/6] Bump version to 1.0.0. --- SteamDiscoveryQueueAutoSkipper.meta.js | 2 +- SteamDiscoveryQueueAutoSkipper.user.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SteamDiscoveryQueueAutoSkipper.meta.js b/SteamDiscoveryQueueAutoSkipper.meta.js index 0ff8c4d..3ca0971 100644 --- a/SteamDiscoveryQueueAutoSkipper.meta.js +++ b/SteamDiscoveryQueueAutoSkipper.meta.js @@ -9,7 +9,7 @@ // @include https://store.steampowered.com/agecheck/app/* // @include http://store.steampowered.com/explore* // @include https://store.steampowered.com/explore* -// @version 0.13.0 +// @version 1.0.0 // @grant none // @icon https://raw.githubusercontent.com/PotcFdk/SteamDiscoveryQueueAutoSkipper/master/logo.png // @downloadURL https://raw.githubusercontent.com/PotcFdk/SteamDiscoveryQueueAutoSkipper/master/SteamDiscoveryQueueAutoSkipper.user.js diff --git a/SteamDiscoveryQueueAutoSkipper.user.js b/SteamDiscoveryQueueAutoSkipper.user.js index cfe31b6..ebc6882 100644 --- a/SteamDiscoveryQueueAutoSkipper.user.js +++ b/SteamDiscoveryQueueAutoSkipper.user.js @@ -8,7 +8,7 @@ // @match *://store.steampowered.com/agecheck/app/* // @match *://store.steampowered.com/explore* // @match *://store.steampowered.com/points* -// @version 0.13.0 +// @version 1.0.0 // @grant none // @icon https://raw.githubusercontent.com/PotcFdk/SteamDiscoveryQueueAutoSkipper/master/logo.png // @downloadURL https://raw.githubusercontent.com/PotcFdk/SteamDiscoveryQueueAutoSkipper/master/SteamDiscoveryQueueAutoSkipper.user.js From b820b4c3bb4782cf21f8e259f811d566288bab6b Mon Sep 17 00:00:00 2001 From: PotcFdk Date: Fri, 8 Nov 2024 21:00:03 +0100 Subject: [PATCH 6/6] Add release note to README.md. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index e535583..8aeb57a 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,13 @@ Logo kindly provided by krys (krys#4143). ## Release Notes +### 1.0.0 (released 2024-11-08) +- REFACTOR: Big code rearrangement +- META: Add `@homepageURL` and `@supportURL` metadata fields to JS files +- ORG: Start using git-flow with a (master/develop) branch layout +- ORG: Add ESLint config +- FIX: Two instances of `return` being used outside of a function (this should make the script a bit more compatible) + ### 0.13.0 (released 2023-12-24) - NEW: Add a progress bar to the discovery queue handler.