diff --git a/package-lock.json b/package-lock.json index 37696b038..d1b2161fc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,8 +16,8 @@ "@bytemd/plugin-math": "1.21.0", "@bytemd/plugin-mermaid": "1.21.0", "@bytemd/react": "1.21.0", - "@primer/octicons-react": "19.10.0", - "@primer/react": "36.22.0", + "@primer/octicons-react": "19.11.0", + "@primer/react": "36.27.0", "@react-email/components": "0.0.19", "@react-email/render": "0.0.15", "@resvg/resvg-js": "2.6.2", @@ -71,7 +71,7 @@ "eslint-config-next": "14.2.4", "eslint-config-prettier": "9.1.0", "eslint-plugin-jsx-a11y": "6.9.0", - "eslint-plugin-primer-react": "5.3.0", + "eslint-plugin-primer-react": "5.4.0", "eslint-plugin-vitest": "0.4.1", "eslint-plugin-vitest-globals": "1.5.0", "husky": "9.0.11", @@ -1648,9 +1648,10 @@ "integrity": "sha512-DiZdJYFU0tBbdQkfwwRSwYyI/mcWkg3sWesKRsHUd4G+NekTmmeq9fzsurvcKTNVa0comNljwtg4Hvi1ds3V+A==" }, "node_modules/@lit-labs/ssr-dom-shim": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.2.0.tgz", - "integrity": "sha512-yWJKmpGE6lUURKAaIltoPIE/wrbY3TEkqQt+X0m+7fQNnAv0keydnYvbiJFP1PnMhizmIWRWOG5KLhYyc/xl+g==" + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.2.1.tgz", + "integrity": "sha512-wx4aBmgeGvFmOKucFKY+8VFJSYZxs9poN3SDNQFF6lT6NrQUnHiPB2PWz2sc4ieEcAaYYzN+1uWahEeTq2aRIQ==", + "license": "BSD-3-Clause" }, "node_modules/@next/env": { "version": "14.2.4", @@ -1937,22 +1938,24 @@ } }, "node_modules/@primer/behaviors": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/@primer/behaviors/-/behaviors-1.5.1.tgz", - "integrity": "sha512-ApPbNhiWPHscs0+rLV76sCY75IEpPvDEZq9+iQXQqU6Tv5SLdax3PmzJlUHftlQ7O/eJnLO1dTEMEwj2Yn1BLA==" + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/@primer/behaviors/-/behaviors-1.7.2.tgz", + "integrity": "sha512-I5dGgtzV9n1ZX3J1KHkLVWjvEbzanstaXFTDr/+tdn4E2GAA/NUHfTLMq6i5+Pt4P/p/paLI50EgExElENzCYQ==", + "license": "MIT" }, "node_modules/@primer/live-region-element": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/@primer/live-region-element/-/live-region-element-0.6.1.tgz", - "integrity": "sha512-UvJ29igIhOzCfPgUJHPKgr2bY84niHYZagE2LC90ewXQfEFLC3q3ug+vYOzOpCqxspCvEpwPyQlnaOLu4mu87w==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@primer/live-region-element/-/live-region-element-0.7.0.tgz", + "integrity": "sha512-V3pPHlYDMU6UHDVSYeSzZJ5LHhM06k/CaegstoXUk6DzgNsT4z0IhnqeEtyNAqe21PDXNFCpCtxZZndEDgN7FQ==", + "license": "MIT", "dependencies": { "@lit-labs/ssr-dom-shim": "^1.2.0" } }, "node_modules/@primer/octicons-react": { - "version": "19.10.0", - "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-19.10.0.tgz", - "integrity": "sha512-HyzoQckVGoSWmakrmBveiuXnxMkClqfxbVoE0+EC7oidDmpfkCERLtENtLlCkuELMRr+6bQItUjffqE1VnpdOQ==", + "version": "19.11.0", + "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-19.11.0.tgz", + "integrity": "sha512-8PpCz7cpYY2GCGnJ/G9UARh9PH4C290l31YjriQHZ+WsagE37ntKXhFwq+s4OWoRqZ7fA7HeU81zGDFHQi0VKg==", "license": "MIT", "engines": { "node": ">=8" @@ -1967,9 +1970,9 @@ "integrity": "sha512-SiPzEb+up1nDpV2NGwNiY8m6sGnF3OUqRb0has5s6T40vq6Li/g3cYVgl+oolEa4DUoNygEPs09jwJt24f/3zg==" }, "node_modules/@primer/react": { - "version": "36.22.0", - "resolved": "https://registry.npmjs.org/@primer/react/-/react-36.22.0.tgz", - "integrity": "sha512-xKDdFNgjw+3e+fI/hXIOBWrWWPHjFds+7leTWZrrITMROZE6GdPFSfjTZzK08Z2Ayqt1ShOFUWi40LMauptYoQ==", + "version": "36.27.0", + "resolved": "https://registry.npmjs.org/@primer/react/-/react-36.27.0.tgz", + "integrity": "sha512-dVyp0f9zbbQYQZ6ztfMET43vVaWhvSz+qWirBzpRjDxvCk8vCQsvWrVGUU/PR0kAxxDHf6hqeLG7vcDL229NLA==", "license": "MIT", "dependencies": { "@github/combobox-nav": "^2.1.5", @@ -1979,8 +1982,8 @@ "@github/tab-container-element": "^4.8.0", "@lit-labs/react": "1.2.1", "@oddbird/popover-polyfill": "^0.3.1", - "@primer/behaviors": "^1.5.1", - "@primer/live-region-element": "^0.6.1", + "@primer/behaviors": "^1.7.0", + "@primer/live-region-element": "^0.7.0", "@primer/octicons-react": "^19.9.0", "@primer/primitives": "^7.16.0", "@styled-system/css": "^5.1.5", @@ -4026,21 +4029,13 @@ "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.10.tgz", "integrity": "sha512-Shavhk87gCtY2fhXDctcfS3e6FdxWkCx1iUZ9eEUbh7rTqlZT0/IzOkCOVt0fCjcFuZ9FPYfuezTBImfHCDBGQ==", "dev": true, + "optional": true, + "peer": true, "dependencies": { "@types/estree": "*", "@types/json-schema": "*" } }, - "node_modules/@types/eslint-scope": { - "version": "3.7.7", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", - "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", - "dev": true, - "dependencies": { - "@types/eslint": "*", - "@types/estree": "*" - } - }, "node_modules/@types/estree": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", @@ -5036,11 +5031,12 @@ "node": ">=0.4.0" } }, - "node_modules/acorn-import-assertions": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz", - "integrity": "sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==", + "node_modules/acorn-import-attributes": { + "version": "1.9.5", + "resolved": "https://registry.npmjs.org/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz", + "integrity": "sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==", "dev": true, + "license": "MIT", "peerDependencies": { "acorn": "^8" } @@ -7571,10 +7567,11 @@ } }, "node_modules/enhanced-resolve": { - "version": "5.17.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.0.tgz", - "integrity": "sha512-dwDPwZL0dmye8Txp2gzFmA6sxALaSvdRDjPH0viLcKrtlOL3tw62nWWweVD1SdILDTJrbrL6tdWVN58Wo6U3eA==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz", + "integrity": "sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -8274,9 +8271,9 @@ } }, "node_modules/eslint-plugin-primer-react": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-primer-react/-/eslint-plugin-primer-react-5.3.0.tgz", - "integrity": "sha512-Nw9pAZww4ZPgzffrvexbNytOkoyKm4RLOmrPio5VEZ5BIFNy+uLyiBE5WGRuig4a0KbbjjOM5haLCvC43daAvw==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-primer-react/-/eslint-plugin-primer-react-5.4.0.tgz", + "integrity": "sha512-t3F8RGOG+88SOZTjC5+ZBDhLIJitlRN4qkdRmwDuaL5mkxIA4LzyhLf4KfM595NwDan8mj37Fjbt3Nj04PxUDQ==", "dev": true, "license": "MIT", "dependencies": { @@ -12681,10 +12678,11 @@ ] }, "node_modules/micromatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", - "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, + "license": "MIT", "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" @@ -18342,21 +18340,21 @@ } }, "node_modules/webpack": { - "version": "5.91.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.91.0.tgz", - "integrity": "sha512-rzVwlLeBWHJbmgTC/8TvAcu5vpJNII+MelQpylD4jNERPwpBJOE2lEcko1zJX3QJeLjTTAnQxn/OJ8bjDzVQaw==", + "version": "5.94.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.94.0.tgz", + "integrity": "sha512-KcsGn50VT+06JH/iunZJedYGUJS5FGjow8wb9c0v5n1Om8O1g4L6LjtfxwlXIATopoQu+vOXXa7gYisWxCoPyg==", "dev": true, + "license": "MIT", "dependencies": { - "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.5", "@webassemblyjs/ast": "^1.12.1", "@webassemblyjs/wasm-edit": "^1.12.1", "@webassemblyjs/wasm-parser": "^1.12.1", "acorn": "^8.7.1", - "acorn-import-assertions": "^1.9.0", + "acorn-import-attributes": "^1.9.5", "browserslist": "^4.21.10", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.16.0", + "enhanced-resolve": "^5.17.1", "es-module-lexer": "^1.2.1", "eslint-scope": "5.1.1", "events": "^3.2.0", diff --git a/package.json b/package.json index b83438d5d..1c92932d4 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "@bytemd/plugin-math": "1.21.0", "@bytemd/plugin-mermaid": "1.21.0", "@bytemd/react": "1.21.0", - "@primer/octicons-react": "19.10.0", - "@primer/react": "36.22.0", + "@primer/octicons-react": "19.11.0", + "@primer/react": "36.27.0", "@react-email/components": "0.0.19", "@react-email/render": "0.0.15", "@resvg/resvg-js": "2.6.2", @@ -62,7 +62,7 @@ "eslint-config-next": "14.2.4", "eslint-config-prettier": "9.1.0", "eslint-plugin-jsx-a11y": "6.9.0", - "eslint-plugin-primer-react": "5.3.0", + "eslint-plugin-primer-react": "5.4.0", "eslint-plugin-vitest": "0.4.1", "eslint-plugin-vitest-globals": "1.5.0", "husky": "9.0.11", diff --git a/pages/[username]/[slug]/index.public.js b/pages/[username]/[slug]/index.public.js index b947c5328..3e698305f 100644 --- a/pages/[username]/[slug]/index.public.js +++ b/pages/[username]/[slug]/index.public.js @@ -134,10 +134,7 @@ function InReplyToLinks({ content, parentContent, rootContent }) { )} {parentContent.status !== 'published' && ( - + {parentContent.title} )} @@ -166,10 +163,7 @@ function InReplyToLinks({ content, parentContent, rootContent }) { )} {parentContent.status !== 'published' && ( - + {parentContent.body}{' '} )} @@ -180,10 +174,7 @@ function InReplyToLinks({ content, parentContent, rootContent }) { )} {rootContent.status !== 'published' && ( - + {rootContent.title}{' '} )} @@ -224,7 +215,7 @@ function RenderChildrenTree({ childrenList, pageRootOwnerId, renderIntent, rende handleCollapse(id)} sx={{ diff --git a/pages/interface/components/AdBanner/index.js b/pages/interface/components/AdBanner/index.js index 5bf5ad580..892e08d18 100644 --- a/pages/interface/components/AdBanner/index.js +++ b/pages/interface/components/AdBanner/index.js @@ -54,10 +54,7 @@ export default function AdBanner({ ad: newAd, isLoading, ...props }) { Contribuindo com{' '} - + diff --git a/pages/interface/components/Content/index.js b/pages/interface/components/Content/index.js index 1bf0bfe30..fe432cec3 100644 --- a/pages/interface/components/Content/index.js +++ b/pages/interface/components/Content/index.js @@ -204,12 +204,12 @@ function ViewMode({ setComponentMode, contentObject, isPageRootOwner, viewFrame {isPageRootOwner && ( - + )} {contentObject.type === 'ad' && ( - + )} diff --git a/pages/interface/components/ContentList/index.js b/pages/interface/components/ContentList/index.js index 5d5076f44..d6f7373bb 100644 --- a/pages/interface/components/ContentList/index.js +++ b/pages/interface/components/ContentList/index.js @@ -123,7 +123,7 @@ export default function ContentList({ ad, contentList: list, pagination, paginat {' · '} - + {contentObject.owner_username} diff --git a/pages/interface/components/Header/index.js b/pages/interface/components/Header/index.js index bca1159ac..7daf9c781 100644 --- a/pages/interface/components/Header/index.js +++ b/pages/interface/components/Header/index.js @@ -111,7 +111,7 @@ export default function HeaderComponent() { <> {!isScreenSmall && ( - + diff --git a/pages/interface/components/PastTime/index.js b/pages/interface/components/PastTime/index.js index a87a0e1a5..04d7081cc 100644 --- a/pages/interface/components/PastTime/index.js +++ b/pages/interface/components/PastTime/index.js @@ -34,7 +34,7 @@ export default function PastTime({ date, formatText, ...props }) { } return ( - + diff --git a/pages/interface/components/TabCashCount/index.js b/pages/interface/components/TabCashCount/index.js index a042ba3c9..ca5eb9c2b 100644 --- a/pages/interface/components/TabCashCount/index.js +++ b/pages/interface/components/TabCashCount/index.js @@ -28,7 +28,7 @@ export default function TabCashCount({ amount, direction, mode = 'tooltip', sx } } return ( - + {content} ); diff --git a/pages/interface/components/TabCoinBalanceTooltip/index.js b/pages/interface/components/TabCoinBalanceTooltip/index.js index c66e79ec9..82f512d9c 100644 --- a/pages/interface/components/TabCoinBalanceTooltip/index.js +++ b/pages/interface/components/TabCoinBalanceTooltip/index.js @@ -14,7 +14,7 @@ export default function TabCoinBalanceTooltip({ children, credit, debit, ...prop } return ( - + {children} ); diff --git a/pages/interface/components/TabCoinButtons/index.js b/pages/interface/components/TabCoinButtons/index.js index 16454507f..152abce2e 100644 --- a/pages/interface/components/TabCoinButtons/index.js +++ b/pages/interface/components/TabCoinButtons/index.js @@ -95,7 +95,7 @@ export default function TabCoinButtons({ content }) { flexDirection: 'column', alignItems: 'center', }}> - + {contentObject.tabcoins} - + + {content} );