diff --git a/client/src/document/index.scss b/client/src/document/index.scss index cbc09995b053..3c55c8536ca1 100644 --- a/client/src/document/index.scss +++ b/client/src/document/index.scss @@ -213,10 +213,6 @@ .section-content { p { font: var(--type-article-p); - - &:last-child { - margin-bottom: 2rem; - } } figure { @@ -544,7 +540,6 @@ pre { .callout { background: var(--background-secondary); - border: 1px solid var(--border-primary); border-radius: var(--elem-radius); box-shadow: var(--shadow-01); display: flex; diff --git a/client/src/document/molecules/_notecards.scss b/client/src/document/molecules/_notecards.scss deleted file mode 100644 index d9f817651550..000000000000 --- a/client/src/document/molecules/_notecards.scss +++ /dev/null @@ -1,157 +0,0 @@ -@use "sass:math"; - -@mixin set-notecard-icon($icon) { - h3, - h4, - &.inline { - &::before { - background: transparent url($icon) 0 0 no-repeat; - } - } -} - -@mixin set-notecard-icon-only($icon) { - h3, - h4 { - &::before { - background-image: url($icon); - } - } -} - -.notecard { - border-left: 1rem solid $mdn-blue600; - margin: 0; - margin-bottom: 1rem; - padding: 0.5rem; - - a { - &:link, - &:visited { - color: $mdn-color-neutral-90; - text-decoration: underline; - } - - &:hover, - &:focus { - text-decoration: none; - } - } - - h3, - h4 { - /* - * Because we also allow h3, we need to undo some of its styling here. - * This relates specifically to `background-color`, `color`, - * `padding` and `font-weight` - */ - background-color: inherit; - color: inherit; - display: inline-block; - font-family: $site-font-family; - font-size: 1rem; - font-weight: var(--font-body-strong-weight); - margin: 0; - margin-bottom: 0.25rem; - padding: 0; - - @media screen and (max-width: $screen-sm) { - font-size: 1rem; - } - } - - h3, - h4, - &.inline { - &::before { - background-repeat: no-repeat; - background-size: 18px; - content: ""; - display: inline-block; - height: 21px; - margin-right: 0.25rem; - position: relative; - top: 2px; - width: 20px; - } - } - - p { - margin-bottom: 0.25rem; - - &:last-child { - margin-bottom: 0; - } - } - - &.inline { - font-weight: normal; - margin: 0.25rem; - padding: 0.125rem 0.25rem; - - &::before { - top: 5px; - } - - p { - display: inline-block; - margin-bottom: 0; - } - } - - &.neutral { - @include set-notecard-icon("~@mdn/dinocons/general/globe.svg"); - - background-color: $mdn-blue100; - color: $mdn-blue700; - } - - &.success { - @include set-notecard-icon("~@mdn/dinocons/general/check-mark.svg"); - - background-color: $mdn-green100; - border-color: $mdn-green600; - color: $mdn-color-neutral-90; - } - - &.note { - @include set-notecard-icon("~@mdn/dinocons/file-icons/file.svg"); - - background-color: $mdn-blue100; - } - - &.warning, - &.experimental, - &.draft, - &.secure { - @include set-notecard-icon( - "~@mdn/dinocons/notifications/exclamation-triangle.svg" - ); - - background-color: $mdn-color-yellow-10; - border-color: $mdn-yellow300; - color: $mdn-color-neutral-90; - } - - &.experimental { - @include set-notecard-icon-only("~@mdn/dinocons/general/flask.svg"); - } - - &.draft { - @include set-notecard-icon-only("~@mdn/dinocons/general/pencil.svg"); - } - - &.secure { - @include set-notecard-icon-only("~@mdn/dinocons/general/lock.svg"); - } - - &.negative, - &.obsolete, - &.deprecated { - @include set-notecard-icon("~@mdn/dinocons/general/trash.svg"); - - background-color: $mdn-red200; - border-color: $mdn-red300; - color: $mdn-color-neutral-90; - } -} diff --git a/client/src/flaws/index.scss b/client/src/flaws/index.scss index ee4bc40fe8a8..c75394775bf9 100644 --- a/client/src/flaws/index.scss +++ b/client/src/flaws/index.scss @@ -3,10 +3,6 @@ background-color: var(--background-warning); } - h3 { - margin-top: 0; - } - h3 span.page { color: var(--text-inactive); } @@ -66,7 +62,6 @@ gap: 20px; grid-template-columns: 300px 1fr; margin: auto; - width: calc(100% - 40px); .filters { h4 { diff --git a/client/src/translations/dashboard/index.tsx b/client/src/translations/dashboard/index.tsx index 953858a8c9a7..781412785c1c 100644 --- a/client/src/translations/dashboard/index.tsx +++ b/client/src/translations/dashboard/index.tsx @@ -8,6 +8,7 @@ import { import useSWR from "swr"; import { MainContentContainer } from "../../ui/atoms/page-content"; +import { Icon } from "../../ui/atoms/icon"; import { useLocale } from "../../hooks"; interface Data { @@ -193,7 +194,7 @@ export function TranslationDashboard() { )} {error && } {lastData && ( -
+
{ - if (sort === id) { - setSearchParams( - createSearchParams({ - sort: id, - sortReverse: JSON.stringify(!sortReverse), - section: currentSection, - }) - ); - } else { - setSearchParams( - createSearchParams({ sort: id, section: currentSection }) - ); - } - }} - className={`sortable ${sort === id ? "active" : ""} ${ - sort === id && sortReverse ? "reverse" : "" - }`} - > - {title} + function TableHead({ + id, + title, + sortable, + }: { + id: string; + title: string; + sortable?: boolean; + }) { + function getClassName() { + const className = ["sortable"]; + + if (sort === id) { + className.push("active"); + } + + if (sortReverse) { + className.push("reverse"); + } + + return className.join(" "); + } + + function onClick() { + if (sort === id) { + setSearchParams( + createSearchParams({ + sort: id, + sortReverse: JSON.stringify(!sortReverse), + section: currentSection, + }) + ); + } else { + setSearchParams( + createSearchParams({ sort: id, section: currentSection }) + ); + } + } + + return sortable ? ( + + {title} + ) : ( + {title} ); } return (

List of direct subpages

+ - + - + - + + {documents .sort((A, B) => { diff --git a/client/src/translations/differences/index.scss b/client/src/translations/differences/index.scss index 74a471c3bfad..7ca3dbcc545e 100644 --- a/client/src/translations/differences/index.scss +++ b/client/src/translations/differences/index.scss @@ -13,10 +13,6 @@ } } - h3 { - margin-top: 0; - } - h3 span.page { color: var(--text-inactive); } @@ -39,6 +35,21 @@ table { width: 100%; + th.sortable { + cursor: pointer; + } + + th.sortable.active { + background-color: var(--background-secondary); + color: var(--text-primary); + } + + th.sortable.active.reverse { + .icon { + transform: rotate(-180deg); + } + } + td a .url-prefix { color: rgb(159, 159, 159); font-size: 80%; @@ -89,7 +100,6 @@ gap: 20px; grid-template-columns: 300px 1fr; margin: auto; - width: calc(100% - 40px); .filters { h4 { @@ -105,15 +115,5 @@ } } } - - .documents { - h4.subheader { - margin-top: 2px; - } - - th.sortable { - cursor: ns-resize; - } - } } } diff --git a/client/src/ui/molecules/notecards/index.scss b/client/src/ui/molecules/notecards/index.scss index cd5f87d3438f..3d8760d7e053 100644 --- a/client/src/ui/molecules/notecards/index.scss +++ b/client/src/ui/molecules/notecards/index.scss @@ -2,8 +2,7 @@ --note-background: var(--background-information); --note-theme: var(--icon-information); background-color: var(--note-background); - border: 1px solid var(--border-secondary); - border-left: 4px solid var(--note-theme); + border-left: 2px solid var(--note-theme); border-radius: var(--elem-radius); box-shadow: var(--shadow-01); margin: 1rem 0; @@ -18,7 +17,7 @@ p { line-height: 2; - margin: 0 !important; + margin: 0; } &:before { diff --git a/package.json b/package.json index 1feec34cab2a..1b15613530da 100644 --- a/package.json +++ b/package.json @@ -73,8 +73,8 @@ "@mdn/bcd-utils-api": "^0.0.7", "@mdn/browser-compat-data": "^5.5.22", "@mozilla/glean": "4.0.0", - "@sentry/integrations": "^7.110.1", - "@sentry/node": "^7.110.1", + "@sentry/integrations": "^7.111.0", + "@sentry/node": "^7.111.0", "@stripe/stripe-js": "^3.3.0", "@use-it/interval": "^1.0.0", "@vscode/ripgrep": "^1.15.9", @@ -116,10 +116,10 @@ "md5-file": "^5.0.0", "mdast-util-from-markdown": "^2.0.0", "mdast-util-phrasing": "^4.1.0", - "mdn-data": "^2.5.0", + "mdn-data": "^2.6.0", "open": "^10.1.0", "open-editor": "^4.1.1", - "openai": "^4.37.1", + "openai": "^4.38.1", "pg": "^8.11.5", "pgvector": "^0.1.8", "prism-svelte": "^0.5.0", @@ -219,7 +219,7 @@ "postcss-flexbugs-fixes": "^5.0.2", "postcss-loader": "^8.1.1", "postcss-normalize": "^10.0.1", - "postcss-preset-env": "^9.5.5", + "postcss-preset-env": "^9.5.6", "prettier": "^3.2.5", "prettier-plugin-packagejson": "^2.5.0", "prompts": "^2.4.2", diff --git a/yarn.lock b/yarn.lock index a2efd7d3869a..72443b5e86d5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2443,54 +2443,54 @@ resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz#8be36a1f66f3265389e90b5f9c9962146758f728" integrity sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg== -"@sentry-internal/tracing@7.110.1": - version "7.110.1" - resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.110.1.tgz#3bf55dca9e963144b0a4ad9a0b96aa2a759e2470" - integrity sha512-4kTd6EM0OP1SVWl2yLn3KIwlCpld1lyhNDeR8G1aKLm1PN+kVsR6YB/jy9KPPp4Q3lN3W9EkTSES3qhP4jVffQ== - dependencies: - "@sentry/core" "7.110.1" - "@sentry/types" "7.110.1" - "@sentry/utils" "7.110.1" - -"@sentry/core@7.110.1": - version "7.110.1" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.110.1.tgz#0d9fd932478c4cb1f6330143ddf69dacee27bf4d" - integrity sha512-yC1yeUFQlmHj9u/KxKmwOMVanBmgfX+4MZnZU31QPqN95adyZTwpaYFZl4fH5kDVnz7wXJI0qRP8SxuMePtqhw== - dependencies: - "@sentry/types" "7.110.1" - "@sentry/utils" "7.110.1" - -"@sentry/integrations@^7.110.1": - version "7.110.1" - resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-7.110.1.tgz#de8249a3d09a5fea91936c0433f682427c595ea4" - integrity sha512-jiFWV2N43LWzw69nxHcJR0j8Nt3hzb6EqotnQ9NMTbZVMaENpkEThR8bGmoCa8LPVVFxDtVoUQdlUgwLpN6zvQ== - dependencies: - "@sentry/core" "7.110.1" - "@sentry/types" "7.110.1" - "@sentry/utils" "7.110.1" +"@sentry-internal/tracing@7.111.0": + version "7.111.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.111.0.tgz#b352df9f38009c5d306308a829a1dd9a57f084fd" + integrity sha512-CgXly8rsdu4loWVKi2RqpInH3C2cVBuaYsx4ZP5IJpzSinsUAMyyr3Pc0PZzCyoVpBBXGBGj/4HhFsY3q6Z0Vg== + dependencies: + "@sentry/core" "7.111.0" + "@sentry/types" "7.111.0" + "@sentry/utils" "7.111.0" + +"@sentry/core@7.111.0": + version "7.111.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.111.0.tgz#54c9037a3b79b3623377dce1887b69b40670e201" + integrity sha512-/ljeMjZu8CSrLGrseBi/7S2zRIFsqMcvfyG6Nwgfc07J9nbHt8/MqouE1bXZfiaILqDBpK7BK9MLAAph4mkAWg== + dependencies: + "@sentry/types" "7.111.0" + "@sentry/utils" "7.111.0" + +"@sentry/integrations@^7.111.0": + version "7.111.0" + resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-7.111.0.tgz#088f632938b86c0a141790799649765c100ddc17" + integrity sha512-rNS7euKI2/1CneWbAY2NCkEro/GJbGCyxIX7okmqOjcBJ/7AnrMMU0kck7svydReF1nWvkuQ3CT27KXeKgrk4w== + dependencies: + "@sentry/core" "7.111.0" + "@sentry/types" "7.111.0" + "@sentry/utils" "7.111.0" localforage "^1.8.1" -"@sentry/node@^7.110.1": - version "7.110.1" - resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.110.1.tgz#aef3664f6b86cab64444b732d53d445e4c173bbf" - integrity sha512-n6sNzZJ/ChfyCI1FxuGWgloeevC8j2vax3vXM4IZrSIm5hS1d9L2oCJ4HEPuxGUxCkQ1f4kXPcdmNaQsWH0JBw== +"@sentry/node@^7.111.0": + version "7.111.0" + resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.111.0.tgz#b18fddef2b38e0d9632a1e9db1f4667a2ebe9e2b" + integrity sha512-bTLZNETT7W89HEk04rwsch02KSpu++Yec/BEyM3AxUNY+ZQ9ZLL/lrNZuCwbe7fURpKoZrvGAhxpPjgs5UcB9w== dependencies: - "@sentry-internal/tracing" "7.110.1" - "@sentry/core" "7.110.1" - "@sentry/types" "7.110.1" - "@sentry/utils" "7.110.1" + "@sentry-internal/tracing" "7.111.0" + "@sentry/core" "7.111.0" + "@sentry/types" "7.111.0" + "@sentry/utils" "7.111.0" -"@sentry/types@7.110.1": - version "7.110.1" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.110.1.tgz#0b84c0d5e075dbd80afa2ce6a486fd14680a0024" - integrity sha512-sZxOpM5gfyxvJeWVvNpHnxERTnlqcozjqNcIv29SZ6wonlkekmxDyJ3uCuPv85VO54WLyA4uzskPKnNFHacI8A== +"@sentry/types@7.111.0": + version "7.111.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.111.0.tgz#9c869c3c51d606041916765ba58f29de915707ac" + integrity sha512-Oti4pgQ55+FBHKKcHGu51ZUxO1u52G5iVNK4mbtAN+5ArSCy/2s1H8IDJiOMswn3acfUnCR0oB/QsbEgAPZ26g== -"@sentry/utils@7.110.1": - version "7.110.1" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.110.1.tgz#39d78734b807a959cacd42477711f85aaa02ca6e" - integrity sha512-eibLo2m1a7sHkOHxYYmRujr3D7ek2l9sv26F1SLoQBVDF7Afw5AKyzPmtA1D+4M9P/ux1okj7cGj3SaBrVpxXA== +"@sentry/utils@7.111.0": + version "7.111.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.111.0.tgz#e006cc1e751b30ff5cf914c34eb143102e2e8c2d" + integrity sha512-CB5rz1EgCSwj3xoXogsCZ5pQtfERrURc/ItcCuoaijUhkD0iMq5MCNWMHW3mBsBrqx/Oba+XGvDu0t/5+SWwBg== dependencies: - "@sentry/types" "7.110.1" + "@sentry/types" "7.111.0" "@sidvind/better-ajv-errors@2.1.3": version "2.1.3" @@ -5368,10 +5368,10 @@ crypto-random-string@^4.0.0: dependencies: type-fest "^1.0.1" -css-blank-pseudo@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/css-blank-pseudo/-/css-blank-pseudo-6.0.1.tgz#f79f8b84cc00f891e16aa85f14093c5e1c3499a8" - integrity sha512-goSnEITByxTzU4Oh5oJZrEWudxTqk7L6IXj1UW69pO6Hv0UdX+Vsrt02FFu5DweRh2bLu6WpX/+zsQCu5O1gKw== +css-blank-pseudo@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/css-blank-pseudo/-/css-blank-pseudo-6.0.2.tgz#50db072d4fb5b40c2df9ffe5ca5fbb9b19c77fc8" + integrity sha512-J/6m+lsqpKPqWHOifAFtKFeGLOzw3jR92rxQcwRUfA/eTuZzKfKlxOmYDx2+tqOPQAueNvBiY8WhAeHu5qNmTg== dependencies: postcss-selector-parser "^6.0.13" @@ -10463,10 +10463,10 @@ mdn-data@2.0.30: resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.30.tgz#ce4df6f80af6cfbe218ecd5c552ba13c4dfa08cc" integrity sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA== -mdn-data@^2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.5.0.tgz#4971ea6a186d0bcea475a4a499fdb4761131df38" - integrity sha512-F0Gnb+YM4cR3JWmScWO0I1V78zPcuv1dGw2x4OZeHdjjQ8HPMmIBQZB7Lqq4HFfbNEU/dk6udt99siUJwNulog== +mdn-data@^2.6.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.6.0.tgz#1dd8722361092bd82d3138c51e2cc25eba6c2ac3" + integrity sha512-dSVqM4VypNk7ZQe+W3wjaCFvS3M6TVNEDMWYkL8yWAiKYh6klP95qGik+omGWOa8q/KEVIkdky7hmOAMQGIO1w== media-typer@0.3.0: version "0.3.0" @@ -11360,11 +11360,12 @@ open@^8.4.0: define-lazy-prop "^2.0.0" is-docker "^2.1.1" is-wsl "^2.2.0" + +openai@^4.38.1: + version "4.38.1" + resolved "https://registry.yarnpkg.com/openai/-/openai-4.38.1.tgz#375ba1e2ff9fcd6434114bfeffa7a0ef35d74b78" + integrity sha512-nmSKE9O2piuoh9+AgDqwGHojIFSxToQ2jJqwaxjbzz2ebdD5LYY9s+bMe25b18t4QEgvtgW70JfK8BU3xf5dRw== -openai@^4.37.1: - version "4.37.1" - resolved "https://registry.yarnpkg.com/openai/-/openai-4.37.1.tgz#b3d64d61a972d43da2399d86c4b0cc7b07e9c2bc" - integrity sha512-YVuhylpDeTNCWgsfhZe38+c4dDWZuW9VgzNY/sdYiNt6K9pvijroyYENp8YGEUHnuIAKtsLneZX9Qb/iB5XHkw== dependencies: "@types/node" "^18.11.18" "@types/node-fetch" "^2.6.4" @@ -12286,10 +12287,10 @@ postcss-place@^9.0.1: dependencies: postcss-value-parser "^4.2.0" -postcss-preset-env@^9.5.5: - version "9.5.5" - resolved "https://registry.yarnpkg.com/postcss-preset-env/-/postcss-preset-env-9.5.5.tgz#b44aa9110007d92c6d5d157b615d9cff15ac1664" - integrity sha512-tg71KfEgTHMM+C4LpWtKfHFWEunfWj1JThq/Odsw60MOowcffBrMAcSBDE+imftW5/BD3mpOiiTL6c+KcnGaLQ== +postcss-preset-env@^9.5.6: + version "9.5.6" + resolved "https://registry.yarnpkg.com/postcss-preset-env/-/postcss-preset-env-9.5.6.tgz#5c3d188e9342d73e744f83fa1e736ae80936c2c1" + integrity sha512-sSfCYe178J99q8brBMBOjXhyhdJo1IYwvxjUm/uHeOGnXwWR5lbMWMyUFso45CG1lNkt6aIlYDf7J5Epi8mb9Q== dependencies: "@csstools/postcss-cascade-layers" "^4.0.4" "@csstools/postcss-color-function" "^3.0.13" @@ -12322,7 +12323,7 @@ postcss-preset-env@^9.5.5: "@csstools/postcss-unset-value" "^3.0.1" autoprefixer "^10.4.19" browserslist "^4.22.3" - css-blank-pseudo "^6.0.1" + css-blank-pseudo "^6.0.2" css-has-pseudo "^6.0.3" css-prefers-color-scheme "^9.0.1" cssdb "^8.0.0" @@ -14093,7 +14094,7 @@ string-natural-compare@^3.0.1: resolved "https://registry.yarnpkg.com/string-natural-compare/-/string-natural-compare-3.0.1.tgz#7a42d58474454963759e8e8b7ae63d71c1e7fdf4" integrity sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw== -"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -14119,6 +14120,15 @@ string-width@^3.0.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^5.1.0" +string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string-width@^5.0.0, string-width@^5.0.1, string-width@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" @@ -14219,7 +14229,7 @@ stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -14240,6 +14250,13 @@ strip-ansi@^5.1.0: dependencies: ansi-regex "^4.1.0" +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.0.1.tgz#61740a08ce36b61e50e65653f07060d000975fb2" @@ -16089,8 +16106,7 @@ workbox-window@7.0.0: "@types/trusted-types" "^2.0.2" workbox-core "7.0.0" -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: - name wrap-ansi-cjs +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -16108,6 +16124,15 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"