Last active
August 25, 2026 23:09
-
-
Save wachunei/542f5aaad6373a156afd6411bfc1d2ba to your computer and use it in GitHub Desktop.
Fintual Proyecto AFP Reader
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| node_modules/ | |
| dist/ | |
| .DS_Store | |
| *.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dist | |
| node_modules | |
| package-lock.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "printWidth": 80, | |
| "semi": true, | |
| "singleQuote": false, | |
| "trailingComma": "all" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import eslint from "@eslint/js"; | |
| import eslintConfigPrettier from "eslint-config-prettier"; | |
| import globals from "globals"; | |
| export default [ | |
| { | |
| ignores: ["dist/**", "node_modules/**"], | |
| }, | |
| eslint.configs.recommended, | |
| { | |
| files: ["**/*.js"], | |
| languageOptions: { | |
| ecmaVersion: "latest", | |
| sourceType: "module", | |
| globals: { | |
| ...globals.browser, | |
| GM: "readonly", | |
| }, | |
| }, | |
| }, | |
| eslintConfigPrettier, | |
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Fintual Proyecto AFP Reader | |
| // @namespace https://gist.github.com/wachunei/542f5aaad6373a156afd6411bfc1d2ba | |
| // @version 0.5.2 | |
| // @description Integra la bitácora de Proyecto AFP en el panel de Fintual. | |
| // @author wachunei | |
| // @homepageURL https://gist.github.com/wachunei/542f5aaad6373a156afd6411bfc1d2ba | |
| // @downloadURL https://gist.github.com/wachunei/542f5aaad6373a156afd6411bfc1d2ba/raw/FintualProyectoAFPReader.user.js | |
| // @updateURL https://gist.github.com/wachunei/542f5aaad6373a156afd6411bfc1d2ba/raw/FintualProyectoAFPReader.user.js | |
| // @match https://fintual.cl/app/* | |
| // @match https://fintual.cl/f/* | |
| // @run-at document-idle | |
| // @grant GM.xmlHttpRequest | |
| // @connect proyectoafp.com | |
| // ==/UserScript== | |
| (function FintualProyectoAFPReader() { | |
| "use strict"; | |
| const LINK_ATTRIBUTE = "data-fintual-proyecto-afp-link"; | |
| const INDICATOR_ATTRIBUTE = "data-fintual-proyecto-afp-indicator"; | |
| const HIDDEN_CONTENT_ATTRIBUTE = "data-fintual-proyecto-afp-hidden-content"; | |
| const LINK_LABEL = "Proyecto AFP"; | |
| const PROJECT_URL = "https://proyectoafp.com/"; | |
| const PROJECT_FEED_URL = "https://proyectoafp.com/rss.xml"; | |
| const PROJECT_HASH = "#proyecto-afp"; | |
| const POSTS_CARD_ID = "fintual-proyecto-afp-posts"; | |
| const POSTS_LIMIT = 3; | |
| const CACHE_DURATION = 6 * 60 * 60 * 1000; | |
| const POSTS_CACHE_KEY = "fintual-proyecto-afp:posts-cache"; | |
| const LAST_SEEN_POST_KEY = "fintual-proyecto-afp:last-seen-post"; | |
| const SELECTED_CLASS = "navbar-nav__item--selected"; | |
| const PREVIOUSLY_SELECTED_ATTRIBUTE = | |
| "data-fintual-proyecto-afp-previously-selected"; | |
| const VIEW_ID = "fintual-proyecto-afp-view"; | |
| let hasNewPosts = false; | |
| let latestPosts = []; | |
| let postsRequest = null; | |
| function normalizeText(value) { | |
| return value?.replace(/\s+/g, " ").trim(); | |
| } | |
| function findNavbarItemByLabel(navbar, label) { | |
| return [...navbar.querySelectorAll(":scope > .navbar-nav__item")].find( | |
| (item) => | |
| normalizeText(item.querySelector(":scope > a")?.textContent) === label, | |
| ); | |
| } | |
| function replaceLinkLabel(link, previousLabel) { | |
| const textNodes = document.createTreeWalker(link, NodeFilter.SHOW_TEXT); | |
| let textNode = textNodes.nextNode(); | |
| while (textNode) { | |
| if (normalizeText(textNode.textContent) === previousLabel) { | |
| textNode.textContent = textNode.textContent.replace( | |
| previousLabel, | |
| LINK_LABEL, | |
| ); | |
| return true; | |
| } | |
| textNode = textNodes.nextNode(); | |
| } | |
| return false; | |
| } | |
| function getProjectAnchor(item) { | |
| return item.matches("a") ? item : item.querySelector(":scope > a"); | |
| } | |
| function renderNewPostIndicators() { | |
| document.querySelectorAll(`[${LINK_ATTRIBUTE}]`).forEach((item) => { | |
| const link = getProjectAnchor(item); | |
| const indicatorHost = link?.querySelector("p") ?? link; | |
| const existingIndicator = link?.querySelector(`[${INDICATOR_ATTRIBUTE}]`); | |
| if (!hasNewPosts) { | |
| existingIndicator?.remove(); | |
| return; | |
| } | |
| if (!indicatorHost || existingIndicator) { | |
| return; | |
| } | |
| const indicator = document.createElement("span"); | |
| indicator.setAttribute(INDICATOR_ATTRIBUTE, ""); | |
| indicator.setAttribute("aria-label", "Hay publicaciones nuevas"); | |
| indicator.title = "Hay publicaciones nuevas"; | |
| indicator.style.display = "inline-block"; | |
| indicator.style.width = "7px"; | |
| indicator.style.height = "7px"; | |
| indicator.style.marginLeft = "7px"; | |
| indicator.style.borderRadius = "50%"; | |
| indicator.style.verticalAlign = "middle"; | |
| indicator.style.background = "#066be8"; | |
| indicatorHost.appendChild(indicator); | |
| }); | |
| } | |
| function readCachedPosts() { | |
| try { | |
| const cached = JSON.parse(localStorage.getItem(POSTS_CACHE_KEY)); | |
| const cacheIsValid = | |
| Array.isArray(cached?.posts) && | |
| cached.posts.length > 0 && | |
| cached.posts.every( | |
| (post) => | |
| typeof post.title === "string" && | |
| typeof post.url === "string" && | |
| typeof post.publishedAt === "string", | |
| ) && | |
| typeof cached?.checkedAt === "number" && | |
| Date.now() - cached.checkedAt < CACHE_DURATION; | |
| return cacheIsValid ? cached.posts : null; | |
| } catch { | |
| return null; | |
| } | |
| } | |
| function requestProjectFeed() { | |
| return new Promise((resolve, reject) => { | |
| GM.xmlHttpRequest({ | |
| method: "GET", | |
| url: PROJECT_FEED_URL, | |
| headers: { | |
| Accept: "application/rss+xml, application/xml, text/xml", | |
| }, | |
| timeout: 15_000, | |
| onload(response) { | |
| if (response.status >= 200 && response.status < 300) { | |
| resolve(response.responseText); | |
| } else { | |
| reject(new Error(`Proyecto AFP respondió ${response.status}`)); | |
| } | |
| }, | |
| onerror() { | |
| reject(new Error("No se pudo consultar Proyecto AFP")); | |
| }, | |
| ontimeout() { | |
| reject(new Error("La consulta a Proyecto AFP expiró")); | |
| }, | |
| }); | |
| }); | |
| } | |
| function parsePosts(xml) { | |
| const feed = new DOMParser().parseFromString(xml, "application/xml"); | |
| if (feed.querySelector("parsererror")) { | |
| return []; | |
| } | |
| return [...feed.querySelectorAll("channel > item")] | |
| .slice(0, POSTS_LIMIT) | |
| .map((item) => ({ | |
| title: item.querySelector("title")?.textContent?.trim() ?? "", | |
| url: item.querySelector("link")?.textContent?.trim() ?? "", | |
| publishedAt: item.querySelector("pubDate")?.textContent?.trim() ?? "", | |
| })) | |
| .filter( | |
| (post) => | |
| post.title && | |
| post.url.startsWith(`${PROJECT_URL}bitacora/`) && | |
| !Number.isNaN(Date.parse(post.publishedAt)), | |
| ); | |
| } | |
| async function getLatestPosts() { | |
| if (latestPosts.length > 0) { | |
| return latestPosts; | |
| } | |
| const cachedPosts = readCachedPosts(); | |
| if (cachedPosts) { | |
| latestPosts = cachedPosts; | |
| return latestPosts; | |
| } | |
| if (!postsRequest) { | |
| postsRequest = requestProjectFeed().then((xml) => { | |
| const parsedPosts = parsePosts(xml); | |
| if (parsedPosts.length === 0) { | |
| throw new Error("No se encontraron publicaciones"); | |
| } | |
| latestPosts = parsedPosts; | |
| localStorage.setItem( | |
| POSTS_CACHE_KEY, | |
| JSON.stringify({ posts: parsedPosts, checkedAt: Date.now() }), | |
| ); | |
| localStorage.removeItem("fintual-proyecto-afp:latest-post-cache"); | |
| return parsedPosts; | |
| }); | |
| } | |
| return postsRequest; | |
| } | |
| async function refreshProjectPosts() { | |
| try { | |
| const posts = await getLatestPosts(); | |
| const currentLatestPost = posts[0].url; | |
| const lastSeenPost = localStorage.getItem(LAST_SEEN_POST_KEY); | |
| if (!lastSeenPost) { | |
| localStorage.setItem(LAST_SEEN_POST_KEY, currentLatestPost); | |
| hasNewPosts = false; | |
| } else { | |
| hasNewPosts = lastSeenPost !== currentLatestPost; | |
| } | |
| renderNewPostIndicators(); | |
| mountLatestPostsCard(); | |
| } catch { | |
| // A network or markup failure should not create a false notification. | |
| } | |
| } | |
| async function markLatestPostSeen() { | |
| try { | |
| const posts = await getLatestPosts(); | |
| const currentLatestPost = posts[0].url; | |
| localStorage.setItem(LAST_SEEN_POST_KEY, currentLatestPost); | |
| hasNewPosts = false; | |
| renderNewPostIndicators(); | |
| } catch { | |
| // Opening the reader must keep working even when the check fails. | |
| } | |
| } | |
| function setProjectLinkSelected(selected) { | |
| document.querySelectorAll(`.${SELECTED_CLASS}`).forEach((item) => { | |
| if (item.hasAttribute(LINK_ATTRIBUTE)) { | |
| return; | |
| } | |
| if (selected) { | |
| item.setAttribute(PREVIOUSLY_SELECTED_ATTRIBUTE, ""); | |
| item.classList.remove(SELECTED_CLASS); | |
| } | |
| }); | |
| document.querySelectorAll(`[${LINK_ATTRIBUTE}]`).forEach((item) => { | |
| item.classList.toggle(SELECTED_CLASS, selected); | |
| }); | |
| if (!selected) { | |
| document | |
| .querySelectorAll(`[${PREVIOUSLY_SELECTED_ATTRIBUTE}]`) | |
| .forEach((item) => { | |
| item.classList.add(SELECTED_CLASS); | |
| item.removeAttribute(PREVIOUSLY_SELECTED_ATTRIBUTE); | |
| }); | |
| } | |
| } | |
| function findReaderHost() { | |
| const legacyRoot = document.getElementById("base-app"); | |
| const legacyContent = legacyRoot?.querySelector(":scope > .content"); | |
| if (legacyRoot && legacyContent) { | |
| return { | |
| root: legacyRoot, | |
| content: legacyContent, | |
| viewHeight: "100vh", | |
| viewPaddingTop: "76px", | |
| }; | |
| } | |
| const modernRoot = document.querySelector( | |
| '[class*="AuthenticatedLayout_root__"]', | |
| ); | |
| const modernContent = modernRoot | |
| ? [...modernRoot.children].find((element) => | |
| [...element.classList].some((className) => | |
| className.startsWith("Body_root__"), | |
| ), | |
| ) | |
| : null; | |
| if (modernRoot && modernContent) { | |
| return { | |
| root: modernRoot, | |
| content: modernContent, | |
| viewHeight: "calc(100vh - 76px)", | |
| viewPaddingTop: "0", | |
| }; | |
| } | |
| return null; | |
| } | |
| function closeProjectView({ clearProjectHash = false } = {}) { | |
| const view = document.getElementById(VIEW_ID); | |
| if (!view) { | |
| return; | |
| } | |
| if (clearProjectHash && window.location.hash === PROJECT_HASH) { | |
| window.history.replaceState( | |
| null, | |
| "", | |
| `${window.location.pathname}${window.location.search}`, | |
| ); | |
| } | |
| view.remove(); | |
| document | |
| .querySelectorAll(`[${HIDDEN_CONTENT_ATTRIBUTE}]`) | |
| .forEach((content) => { | |
| const previousDisplay = content.getAttribute(HIDDEN_CONTENT_ATTRIBUTE); | |
| if (previousDisplay) { | |
| content.style.display = previousDisplay; | |
| } else { | |
| content.style.removeProperty("display"); | |
| } | |
| content.removeAttribute(HIDDEN_CONTENT_ATTRIBUTE); | |
| }); | |
| setProjectLinkSelected(false); | |
| } | |
| function createProjectView( | |
| url = PROJECT_URL, | |
| { height = "100vh", paddingTop = "76px" } = {}, | |
| ) { | |
| const view = document.createElement("main"); | |
| view.id = VIEW_ID; | |
| view.style.boxSizing = "border-box"; | |
| view.style.height = height; | |
| view.style.paddingTop = paddingTop; | |
| view.style.background = "#fff"; | |
| const iframe = document.createElement("iframe"); | |
| iframe.src = url; | |
| iframe.title = "Proyecto AFP de Fintual"; | |
| iframe.referrerPolicy = "no-referrer"; | |
| iframe.setAttribute( | |
| "sandbox", | |
| "allow-forms allow-popups allow-same-origin allow-scripts", | |
| ); | |
| iframe.style.display = "block"; | |
| iframe.style.width = "100%"; | |
| iframe.style.height = "100%"; | |
| iframe.style.border = "0"; | |
| view.appendChild(iframe); | |
| return view; | |
| } | |
| function openProjectView({ | |
| resetExisting = true, | |
| updateHistory = true, | |
| url = PROJECT_URL, | |
| } = {}) { | |
| const existingView = document.getElementById(VIEW_ID); | |
| if (existingView) { | |
| const iframe = existingView.querySelector("iframe"); | |
| if (iframe && resetExisting) { | |
| iframe.src = url; | |
| } | |
| return; | |
| } | |
| const host = findReaderHost(); | |
| if (!host) { | |
| return; | |
| } | |
| host.content.setAttribute( | |
| HIDDEN_CONTENT_ATTRIBUTE, | |
| host.content.style.display, | |
| ); | |
| host.content.style.display = "none"; | |
| host.root.appendChild( | |
| createProjectView(url, { | |
| height: host.viewHeight, | |
| paddingTop: host.viewPaddingTop, | |
| }), | |
| ); | |
| setProjectLinkSelected(true); | |
| if (updateHistory && window.location.hash !== PROJECT_HASH) { | |
| window.history.pushState(null, "", PROJECT_HASH); | |
| } | |
| } | |
| function handleProjectLinkClick(event) { | |
| markLatestPostSeen(); | |
| if ( | |
| event.button !== 0 || | |
| event.metaKey || | |
| event.ctrlKey || | |
| event.shiftKey || | |
| event.altKey | |
| ) { | |
| return; | |
| } | |
| event.preventDefault(); | |
| openProjectView(); | |
| } | |
| function handlePostLinkClick(event, url) { | |
| markLatestPostSeen(); | |
| if ( | |
| event.button !== 0 || | |
| event.metaKey || | |
| event.ctrlKey || | |
| event.shiftKey || | |
| event.altKey | |
| ) { | |
| return; | |
| } | |
| event.preventDefault(); | |
| openProjectView({ url }); | |
| } | |
| function formatPostDate(value) { | |
| return new Intl.DateTimeFormat("es-CL", { | |
| day: "numeric", | |
| month: "short", | |
| }).format(new Date(value)); | |
| } | |
| function createLatestPostsCard(posts) { | |
| const section = document.createElement("section"); | |
| section.id = POSTS_CARD_ID; | |
| section.style.marginTop = "32px"; | |
| section.style.padding = "0 16px"; | |
| const heading = document.createElement("p"); | |
| heading.className = "goal-index-page__section-title"; | |
| heading.textContent = "Bitácora Proyecto AFP"; | |
| heading.style.display = "flex"; | |
| heading.style.alignItems = "center"; | |
| const headingLink = document.createElement("a"); | |
| headingLink.href = PROJECT_URL; | |
| headingLink.target = "_blank"; | |
| headingLink.rel = "noopener noreferrer"; | |
| headingLink.title = "Abrir la bitácora"; | |
| headingLink.setAttribute("aria-label", "Abrir la bitácora Proyecto AFP"); | |
| headingLink.textContent = "↗"; | |
| headingLink.style.display = "inline-flex"; | |
| headingLink.style.alignItems = "center"; | |
| headingLink.style.justifyContent = "center"; | |
| headingLink.style.width = "16px"; | |
| headingLink.style.height = "16px"; | |
| headingLink.style.marginLeft = "7px"; | |
| headingLink.style.border = "1px solid #066be8"; | |
| headingLink.style.borderRadius = "50%"; | |
| headingLink.style.color = "#066be8"; | |
| headingLink.style.fontSize = "10px"; | |
| headingLink.style.fontWeight = "600"; | |
| headingLink.style.lineHeight = "1"; | |
| headingLink.style.textDecoration = "none"; | |
| headingLink.addEventListener("click", handleProjectLinkClick); | |
| heading.appendChild(headingLink); | |
| const list = document.createElement("div"); | |
| list.style.overflow = "hidden"; | |
| list.style.padding = "4px 20px"; | |
| list.style.borderRadius = "12px"; | |
| list.style.background = "rgb(243, 246, 250)"; | |
| posts.forEach((post, index) => { | |
| const link = document.createElement("a"); | |
| link.href = post.url; | |
| link.target = "_blank"; | |
| link.rel = "noopener noreferrer"; | |
| link.style.display = "block"; | |
| link.style.padding = "12px 0"; | |
| link.style.color = "rgb(40, 40, 40)"; | |
| link.style.fontSize = "13px"; | |
| link.style.fontWeight = "500"; | |
| link.style.lineHeight = "18px"; | |
| link.style.textDecoration = "none"; | |
| if (index > 0) { | |
| link.style.borderTop = "1px solid rgb(221, 226, 232)"; | |
| } | |
| const date = document.createElement("time"); | |
| date.dateTime = post.publishedAt; | |
| date.textContent = formatPostDate(post.publishedAt); | |
| date.style.display = "block"; | |
| date.style.marginBottom = "3px"; | |
| date.style.color = "rgb(103, 110, 121)"; | |
| date.style.fontSize = "11px"; | |
| date.style.fontWeight = "400"; | |
| date.style.lineHeight = "16px"; | |
| const title = document.createElement("span"); | |
| title.textContent = post.title; | |
| link.append(date, title); | |
| link.addEventListener("click", (event) => { | |
| handlePostLinkClick(event, post.url); | |
| }); | |
| list.appendChild(link); | |
| }); | |
| section.append(heading, list); | |
| return section; | |
| } | |
| function mountLatestPostsCard() { | |
| if (document.getElementById(POSTS_CARD_ID) || latestPosts.length === 0) { | |
| return false; | |
| } | |
| const sidebar = document.querySelector(".goal-index-page__side-bar"); | |
| if (!sidebar) { | |
| return false; | |
| } | |
| const card = createLatestPostsCard(latestPosts); | |
| const movements = sidebar.querySelector( | |
| ":scope > .goal-index-page__movements", | |
| ); | |
| if (movements) { | |
| movements.after(card); | |
| } else { | |
| sidebar.prepend(card); | |
| } | |
| return true; | |
| } | |
| function createLegacyProjectLink(templateItem, templateLabel) { | |
| const item = templateItem.cloneNode(true); | |
| const link = item.querySelector(":scope > a"); | |
| if (!link || !replaceLinkLabel(link, templateLabel)) { | |
| return null; | |
| } | |
| item.setAttribute(LINK_ATTRIBUTE, ""); | |
| item.classList.remove(SELECTED_CLASS); | |
| link.href = PROJECT_URL; | |
| link.target = "_blank"; | |
| link.rel = "noopener noreferrer"; | |
| link.removeAttribute("aria-current"); | |
| link.addEventListener("click", handleProjectLinkClick); | |
| const icon = link.querySelector("i"); | |
| if (icon) { | |
| icon.className = "far fa-newspaper"; | |
| } | |
| return item; | |
| } | |
| function mountLegacyNavbarLinks() { | |
| const navbars = document.querySelectorAll( | |
| ".navbar__nav--main, .navbar__nav--right", | |
| ); | |
| let mounted = false; | |
| navbars.forEach((navbar) => { | |
| if (navbar.querySelector(`:scope > [${LINK_ATTRIBUTE}]`)) { | |
| return; | |
| } | |
| const earnItem = findNavbarItemByLabel(navbar, "Gana"); | |
| if (!earnItem) { | |
| return; | |
| } | |
| const projectItem = createLegacyProjectLink(earnItem, "Gana"); | |
| if (!projectItem) { | |
| return; | |
| } | |
| earnItem.after(projectItem); | |
| mounted = true; | |
| }); | |
| return mounted; | |
| } | |
| function findDirectLinkByLabel(container, label) { | |
| return [...container.children].find( | |
| (element) => | |
| element.matches("a") && normalizeText(element.textContent) === label, | |
| ); | |
| } | |
| function replaceModernIcon(link) { | |
| const icon = link.querySelector('[role="img"]'); | |
| const svg = icon?.querySelector("svg"); | |
| if (!icon || !svg) { | |
| return; | |
| } | |
| icon.setAttribute("name", "Newspaper"); | |
| svg.setAttribute("viewBox", "0 0 24 24"); | |
| svg.setAttribute("fill", "none"); | |
| svg.setAttribute("stroke", "var(--icon-fill)"); | |
| svg.setAttribute("stroke-width", "1.5"); | |
| svg.setAttribute("stroke-linecap", "round"); | |
| svg.setAttribute("stroke-linejoin", "round"); | |
| const newspaperOutline = document.createElementNS( | |
| "http://www.w3.org/2000/svg", | |
| "rect", | |
| ); | |
| newspaperOutline.setAttribute("x", "3.75"); | |
| newspaperOutline.setAttribute("y", "4"); | |
| newspaperOutline.setAttribute("width", "16.5"); | |
| newspaperOutline.setAttribute("height", "16"); | |
| newspaperOutline.setAttribute("rx", "1.75"); | |
| const image = document.createElementNS( | |
| "http://www.w3.org/2000/svg", | |
| "rect", | |
| ); | |
| image.setAttribute("x", "6.5"); | |
| image.setAttribute("y", "7"); | |
| image.setAttribute("width", "4.5"); | |
| image.setAttribute("height", "4"); | |
| image.setAttribute("rx", "0.5"); | |
| const textLines = document.createElementNS( | |
| "http://www.w3.org/2000/svg", | |
| "path", | |
| ); | |
| textLines.setAttribute( | |
| "d", | |
| "M13.5 7.75h4M13.5 10.75h4M6.5 14.25h11M6.5 17.25h11", | |
| ); | |
| [newspaperOutline, image, textLines].forEach((shape) => { | |
| shape.style.setProperty("fill", "none", "important"); | |
| shape.style.setProperty("stroke", "var(--icon-fill)", "important"); | |
| shape.style.setProperty("stroke-width", "1.5", "important"); | |
| }); | |
| svg.replaceChildren(newspaperOutline, image, textLines); | |
| } | |
| function createModernProjectLink(templateLink) { | |
| const link = templateLink.cloneNode(true); | |
| if (!replaceLinkLabel(link, "Aprende")) { | |
| return null; | |
| } | |
| link.setAttribute(LINK_ATTRIBUTE, ""); | |
| link.href = PROJECT_URL; | |
| link.target = "_blank"; | |
| link.rel = "noopener noreferrer"; | |
| link.removeAttribute("aria-current"); | |
| link.addEventListener("click", handleProjectLinkClick); | |
| replaceModernIcon(link); | |
| return link; | |
| } | |
| function mountModernNavbarLinks() { | |
| const containers = document.querySelectorAll( | |
| '[class*="NavigationBarContent_root__"], [class*="LeftNavigationMenuContent_section__"]', | |
| ); | |
| let mounted = false; | |
| containers.forEach((container) => { | |
| if (container.querySelector(`:scope > [${LINK_ATTRIBUTE}]`)) { | |
| return; | |
| } | |
| const learnLink = findDirectLinkByLabel(container, "Aprende"); | |
| const earnLink = findDirectLinkByLabel(container, "Gana"); | |
| if (!learnLink || !earnLink) { | |
| return; | |
| } | |
| const projectLink = createModernProjectLink(learnLink); | |
| if (!projectLink) { | |
| return; | |
| } | |
| earnLink.after(projectLink); | |
| mounted = true; | |
| }); | |
| return mounted; | |
| } | |
| function mountNavbarLinks() { | |
| return mountLegacyNavbarLinks() || mountModernNavbarLinks(); | |
| } | |
| let mountScheduled = false; | |
| function scheduleMount() { | |
| if (mountScheduled) { | |
| return; | |
| } | |
| mountScheduled = true; | |
| requestAnimationFrame(() => { | |
| mountScheduled = false; | |
| mountNavbarLinks(); | |
| mountLatestPostsCard(); | |
| renderNewPostIndicators(); | |
| if (window.location.hash === PROJECT_HASH) { | |
| openProjectView({ resetExisting: false, updateHistory: false }); | |
| } | |
| }); | |
| } | |
| scheduleMount(); | |
| refreshProjectPosts(); | |
| const observer = new MutationObserver(scheduleMount); | |
| observer.observe(document.documentElement, { | |
| childList: true, | |
| subtree: true, | |
| }); | |
| window.addEventListener("popstate", () => { | |
| if (window.location.hash === PROJECT_HASH) { | |
| openProjectView({ resetExisting: false, updateHistory: false }); | |
| } else { | |
| closeProjectView(); | |
| } | |
| }); | |
| document.addEventListener( | |
| "click", | |
| (event) => { | |
| const link = event.target.closest("a"); | |
| if ( | |
| !link || | |
| link.closest(`[${LINK_ATTRIBUTE}]`) || | |
| !document.getElementById(VIEW_ID) | |
| ) { | |
| return; | |
| } | |
| closeProjectView({ clearProjectHash: true }); | |
| }, | |
| true, | |
| ); | |
| })(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "fintual-proyecto-afp-reader", | |
| "version": "0.5.2", | |
| "lockfileVersion": 3, | |
| "requires": true, | |
| "packages": { | |
| "": { | |
| "name": "fintual-proyecto-afp-reader", | |
| "version": "0.5.2", | |
| "devDependencies": { | |
| "@eslint/js": "^9.39.5", | |
| "eslint": "^9.39.5", | |
| "eslint-config-prettier": "^10.1.8", | |
| "globals": "^17.11.0", | |
| "prettier": "^3.9.6" | |
| }, | |
| "engines": { | |
| "node": ">=22" | |
| } | |
| }, | |
| "node_modules/@eslint-community/eslint-utils": { | |
| "version": "4.10.1", | |
| "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.10.1.tgz", | |
| "integrity": "sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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.2", | |
| "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", | |
| "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", | |
| "dev": true, | |
| "license": "MIT", | |
| "engines": { | |
| "node": "^12.0.0 || ^14.0.0 || >=16.0.0" | |
| } | |
| }, | |
| "node_modules/@eslint/config-array": { | |
| "version": "0.21.2", | |
| "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.2.tgz", | |
| "integrity": "sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw==", | |
| "dev": true, | |
| "license": "Apache-2.0", | |
| "dependencies": { | |
| "@eslint/object-schema": "^2.1.7", | |
| "debug": "^4.3.1", | |
| "minimatch": "^3.1.5" | |
| }, | |
| "engines": { | |
| "node": "^18.18.0 || ^20.9.0 || >=21.1.0" | |
| } | |
| }, | |
| "node_modules/@eslint/config-helpers": { | |
| "version": "0.4.2", | |
| "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.4.2.tgz", | |
| "integrity": "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==", | |
| "dev": true, | |
| "license": "Apache-2.0", | |
| "dependencies": { | |
| "@eslint/core": "^0.17.0" | |
| }, | |
| "engines": { | |
| "node": "^18.18.0 || ^20.9.0 || >=21.1.0" | |
| } | |
| }, | |
| "node_modules/@eslint/core": { | |
| "version": "0.17.0", | |
| "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz", | |
| "integrity": "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==", | |
| "dev": true, | |
| "license": "Apache-2.0", | |
| "dependencies": { | |
| "@types/json-schema": "^7.0.15" | |
| }, | |
| "engines": { | |
| "node": "^18.18.0 || ^20.9.0 || >=21.1.0" | |
| } | |
| }, | |
| "node_modules/@eslint/eslintrc": { | |
| "version": "3.3.6", | |
| "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.6.tgz", | |
| "integrity": "sha512-l2Ul9PrHsPCKcEY/ac7VgFj9D80C7S68sOKc618SyHDPK36s1XcFebXY0iTzUVn4Yq+YbwvSnDmCz9yxjX+QrA==", | |
| "dev": true, | |
| "license": "MIT", | |
| "dependencies": { | |
| "ajv": "^6.14.0", | |
| "debug": "^4.3.2", | |
| "espree": "^10.0.1", | |
| "globals": "^14.0.0", | |
| "ignore": "^5.2.0", | |
| "import-fresh": "^3.2.1", | |
| "js-yaml": "^4.3.0", | |
| "minimatch": "^3.1.5", | |
| "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/eslintrc/node_modules/globals": { | |
| "version": "14.0.0", | |
| "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", | |
| "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", | |
| "dev": true, | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">=18" | |
| }, | |
| "funding": { | |
| "url": "https://github.com/sponsors/sindresorhus" | |
| } | |
| }, | |
| "node_modules/@eslint/js": { | |
| "version": "9.39.5", | |
| "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.5.tgz", | |
| "integrity": "sha512-QywQuszQh77pIXCsq998c8hbhSTI/azTty1Z6N53dmAudKHhy573j3yvRLsX2BSp8YpLtoCEG8E9DJe+8zUh4A==", | |
| "dev": true, | |
| "license": "MIT", | |
| "engines": { | |
| "node": "^18.18.0 || ^20.9.0 || >=21.1.0" | |
| }, | |
| "funding": { | |
| "url": "https://eslint.org/donate" | |
| } | |
| }, | |
| "node_modules/@eslint/object-schema": { | |
| "version": "2.1.7", | |
| "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.7.tgz", | |
| "integrity": "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==", | |
| "dev": true, | |
| "license": "Apache-2.0", | |
| "engines": { | |
| "node": "^18.18.0 || ^20.9.0 || >=21.1.0" | |
| } | |
| }, | |
| "node_modules/@eslint/plugin-kit": { | |
| "version": "0.4.1", | |
| "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz", | |
| "integrity": "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==", | |
| "dev": true, | |
| "license": "Apache-2.0", | |
| "dependencies": { | |
| "@eslint/core": "^0.17.0", | |
| "levn": "^0.4.1" | |
| }, | |
| "engines": { | |
| "node": "^18.18.0 || ^20.9.0 || >=21.1.0" | |
| } | |
| }, | |
| "node_modules/@humanfs/core": { | |
| "version": "0.19.2", | |
| "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz", | |
| "integrity": "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==", | |
| "dev": true, | |
| "license": "Apache-2.0", | |
| "dependencies": { | |
| "@humanfs/types": "^0.15.0" | |
| }, | |
| "engines": { | |
| "node": ">=18.18.0" | |
| } | |
| }, | |
| "node_modules/@humanfs/node": { | |
| "version": "0.16.8", | |
| "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.8.tgz", | |
| "integrity": "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==", | |
| "dev": true, | |
| "license": "Apache-2.0", | |
| "dependencies": { | |
| "@humanfs/core": "^0.19.2", | |
| "@humanfs/types": "^0.15.0", | |
| "@humanwhocodes/retry": "^0.4.0" | |
| }, | |
| "engines": { | |
| "node": ">=18.18.0" | |
| } | |
| }, | |
| "node_modules/@humanfs/types": { | |
| "version": "0.15.0", | |
| "resolved": "https://registry.npmjs.org/@humanfs/types/-/types-0.15.0.tgz", | |
| "integrity": "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==", | |
| "dev": true, | |
| "license": "Apache-2.0", | |
| "engines": { | |
| "node": ">=18.18.0" | |
| } | |
| }, | |
| "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==", | |
| "dev": true, | |
| "license": "Apache-2.0", | |
| "engines": { | |
| "node": ">=12.22" | |
| }, | |
| "funding": { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/nzakas" | |
| } | |
| }, | |
| "node_modules/@humanwhocodes/retry": { | |
| "version": "0.4.3", | |
| "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", | |
| "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", | |
| "dev": true, | |
| "license": "Apache-2.0", | |
| "engines": { | |
| "node": ">=18.18" | |
| }, | |
| "funding": { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/nzakas" | |
| } | |
| }, | |
| "node_modules/@types/estree": { | |
| "version": "1.0.9", | |
| "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", | |
| "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT" | |
| }, | |
| "node_modules/acorn": { | |
| "version": "8.18.0", | |
| "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz", | |
| "integrity": "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT", | |
| "peerDependencies": { | |
| "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" | |
| } | |
| }, | |
| "node_modules/ajv": { | |
| "version": "6.15.0", | |
| "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz", | |
| "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT", | |
| "dependencies": { | |
| "color-convert": "^2.0.1" | |
| }, | |
| "engines": { | |
| "node": ">=8" | |
| }, | |
| "funding": { | |
| "url": "https://github.com/chalk/ansi-styles?sponsor=1" | |
| } | |
| }, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT" | |
| }, | |
| "node_modules/brace-expansion": { | |
| "version": "1.1.18", | |
| "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.18.tgz", | |
| "integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==", | |
| "dev": true, | |
| "license": "MIT", | |
| "dependencies": { | |
| "balanced-match": "^1.0.0", | |
| "concat-map": "0.0.1" | |
| } | |
| }, | |
| "node_modules/callsites": { | |
| "version": "3.1.0", | |
| "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", | |
| "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT" | |
| }, | |
| "node_modules/concat-map": { | |
| "version": "0.0.1", | |
| "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", | |
| "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", | |
| "dev": true, | |
| "license": "MIT" | |
| }, | |
| "node_modules/cross-spawn": { | |
| "version": "7.0.6", | |
| "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", | |
| "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", | |
| "dev": true, | |
| "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.4.3", | |
| "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", | |
| "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">=10" | |
| }, | |
| "funding": { | |
| "url": "https://github.com/sponsors/sindresorhus" | |
| } | |
| }, | |
| "node_modules/eslint": { | |
| "version": "9.39.5", | |
| "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.5.tgz", | |
| "integrity": "sha512-DgZS62aPLXKlnxILS/AYCoRvHaZeXceIzlXPkkGGzJWSow1aEk0lbTlxUSlyjC8jcaKxAdOnTDz+o1JFSBsyjw==", | |
| "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", | |
| "dev": true, | |
| "license": "MIT", | |
| "dependencies": { | |
| "@eslint-community/eslint-utils": "^4.8.0", | |
| "@eslint-community/regexpp": "^4.12.1", | |
| "@eslint/config-array": "^0.21.2", | |
| "@eslint/config-helpers": "^0.4.2", | |
| "@eslint/core": "^0.17.0", | |
| "@eslint/eslintrc": "^3.3.6", | |
| "@eslint/js": "9.39.5", | |
| "@eslint/plugin-kit": "^0.4.1", | |
| "@humanfs/node": "^0.16.6", | |
| "@humanwhocodes/module-importer": "^1.0.1", | |
| "@humanwhocodes/retry": "^0.4.2", | |
| "@types/estree": "^1.0.6", | |
| "ajv": "^6.14.0", | |
| "chalk": "^4.0.0", | |
| "cross-spawn": "^7.0.6", | |
| "debug": "^4.3.2", | |
| "escape-string-regexp": "^4.0.0", | |
| "eslint-scope": "^8.4.0", | |
| "eslint-visitor-keys": "^4.2.1", | |
| "espree": "^10.4.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.5", | |
| "natural-compare": "^1.4.0", | |
| "optionator": "^0.9.3" | |
| }, | |
| "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-config-prettier": { | |
| "version": "10.1.8", | |
| "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.1.8.tgz", | |
| "integrity": "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==", | |
| "dev": true, | |
| "license": "MIT", | |
| "bin": { | |
| "eslint-config-prettier": "bin/cli.js" | |
| }, | |
| "funding": { | |
| "url": "https://opencollective.com/eslint-config-prettier" | |
| }, | |
| "peerDependencies": { | |
| "eslint": ">=7.0.0" | |
| } | |
| }, | |
| "node_modules/eslint-scope": { | |
| "version": "8.4.0", | |
| "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz", | |
| "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==", | |
| "dev": true, | |
| "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.1", | |
| "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz", | |
| "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==", | |
| "dev": true, | |
| "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.4.0", | |
| "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz", | |
| "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==", | |
| "dev": true, | |
| "license": "BSD-2-Clause", | |
| "dependencies": { | |
| "acorn": "^8.15.0", | |
| "acorn-jsx": "^5.3.2", | |
| "eslint-visitor-keys": "^4.2.1" | |
| }, | |
| "engines": { | |
| "node": "^18.18.0 || ^20.9.0 || >=21.1.0" | |
| }, | |
| "funding": { | |
| "url": "https://opencollective.com/eslint" | |
| } | |
| }, | |
| "node_modules/esquery": { | |
| "version": "1.7.0", | |
| "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", | |
| "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT" | |
| }, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT" | |
| }, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT", | |
| "dependencies": { | |
| "flat-cache": "^4.0.0" | |
| }, | |
| "engines": { | |
| "node": ">=16.0.0" | |
| } | |
| }, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT", | |
| "dependencies": { | |
| "flatted": "^3.2.9", | |
| "keyv": "^4.5.4" | |
| }, | |
| "engines": { | |
| "node": ">=16" | |
| } | |
| }, | |
| "node_modules/flatted": { | |
| "version": "3.4.4", | |
| "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz", | |
| "integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "ISC", | |
| "dependencies": { | |
| "is-glob": "^4.0.3" | |
| }, | |
| "engines": { | |
| "node": ">=10.13.0" | |
| } | |
| }, | |
| "node_modules/globals": { | |
| "version": "17.11.0", | |
| "resolved": "https://registry.npmjs.org/globals/-/globals-17.11.0.tgz", | |
| "integrity": "sha512-Z2I8hM+PbJDXQDq3Icgpzv+mPdwr68iZUU9d5WW4FuXfDUQfkZaZuvjMv42/5crNyw154+9+VWXbYrUgDXbxNw==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">= 4" | |
| } | |
| }, | |
| "node_modules/import-fresh": { | |
| "version": "3.3.1", | |
| "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", | |
| "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT", | |
| "dependencies": { | |
| "is-extglob": "^2.1.1" | |
| }, | |
| "engines": { | |
| "node": ">=0.10.0" | |
| } | |
| }, | |
| "node_modules/isexe": { | |
| "version": "2.0.0", | |
| "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", | |
| "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", | |
| "dev": true, | |
| "license": "ISC" | |
| }, | |
| "node_modules/js-yaml": { | |
| "version": "4.3.1", | |
| "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.1.tgz", | |
| "integrity": "sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ==", | |
| "dev": true, | |
| "funding": [ | |
| { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/puzrin" | |
| }, | |
| { | |
| "type": "github", | |
| "url": "https://github.com/sponsors/nodeca" | |
| } | |
| ], | |
| "license": "MIT", | |
| "dependencies": { | |
| "argparse": "^2.0.1" | |
| }, | |
| "bin": { | |
| "js-yaml": "bin/js-yaml.js" | |
| } | |
| }, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT" | |
| }, | |
| "node_modules/minimatch": { | |
| "version": "3.1.5", | |
| "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", | |
| "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT" | |
| }, | |
| "node_modules/optionator": { | |
| "version": "0.9.4", | |
| "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", | |
| "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT", | |
| "dependencies": { | |
| "callsites": "^3.0.0" | |
| }, | |
| "engines": { | |
| "node": ">=6" | |
| } | |
| }, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">=8" | |
| } | |
| }, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">= 0.8.0" | |
| } | |
| }, | |
| "node_modules/prettier": { | |
| "version": "3.9.6", | |
| "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.6.tgz", | |
| "integrity": "sha512-OpN0zzVdiaiAhxpuuj5efpIS4sY9j7bY6uR5mnj5yPzGkdkjNKSJeUThPb60Jw29QuAZgA4o+/iB49kFiaBX6g==", | |
| "dev": true, | |
| "license": "MIT", | |
| "bin": { | |
| "prettier": "bin/prettier.cjs" | |
| }, | |
| "engines": { | |
| "node": ">=14" | |
| }, | |
| "funding": { | |
| "url": "https://github.com/prettier/prettier?sponsor=1" | |
| } | |
| }, | |
| "node_modules/punycode": { | |
| "version": "2.3.1", | |
| "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", | |
| "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", | |
| "dev": true, | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">=6" | |
| } | |
| }, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">=4" | |
| } | |
| }, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">=8" | |
| } | |
| }, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT", | |
| "dependencies": { | |
| "has-flag": "^4.0.0" | |
| }, | |
| "engines": { | |
| "node": ">=8" | |
| } | |
| }, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT", | |
| "dependencies": { | |
| "prelude-ls": "^1.2.1" | |
| }, | |
| "engines": { | |
| "node": ">= 0.8.0" | |
| } | |
| }, | |
| "node_modules/uri-js": { | |
| "version": "4.4.1", | |
| "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", | |
| "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "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==", | |
| "dev": true, | |
| "license": "MIT", | |
| "engines": { | |
| "node": ">=10" | |
| }, | |
| "funding": { | |
| "url": "https://github.com/sponsors/sindresorhus" | |
| } | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "fintual-proyecto-afp-reader", | |
| "version": "0.5.2", | |
| "private": true, | |
| "description": "Userscript para integrar la bitácora de Proyecto AFP en el panel de Fintual.", | |
| "type": "module", | |
| "scripts": { | |
| "lint": "eslint .", | |
| "format": "prettier --write .", | |
| "format:check": "prettier --check ." | |
| }, | |
| "engines": { | |
| "node": ">=22" | |
| }, | |
| "devDependencies": { | |
| "@eslint/js": "^9.39.5", | |
| "eslint": "^9.39.5", | |
| "eslint-config-prettier": "^10.1.8", | |
| "globals": "^17.11.0", | |
| "prettier": "^3.9.6" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment