From 8c485ba0e9fad2f91e853f571b10e9956494b2e5 Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Thu, 16 Nov 2023 11:52:22 +0100 Subject: [PATCH] fix(astro): Reset button state correctly (#49) --- .changeset/flat-mayflies-hang.md | 7 + packages/astro/src/overlay/index.ts | 16 +- packages/astro/src/snippets.ts | 15 -- packages/core/src/App.tsx | 15 +- packages/core/src/index.tsx | 20 ++- packages/website/package.json | 2 +- pnpm-lock.yaml | 220 ++++++++++------------------ 7 files changed, 129 insertions(+), 166 deletions(-) create mode 100644 .changeset/flat-mayflies-hang.md diff --git a/.changeset/flat-mayflies-hang.md b/.changeset/flat-mayflies-hang.md new file mode 100644 index 00000000..47d6fbb6 --- /dev/null +++ b/.changeset/flat-mayflies-hang.md @@ -0,0 +1,7 @@ +--- +'@spotlightjs/spotlight-website': patch +'@spotlightjs/astro': patch +'@spotlightjs/core': patch +--- + +fix(astro): Correctly reset toolbar button state diff --git a/packages/astro/src/overlay/index.ts b/packages/astro/src/overlay/index.ts index 5eb863c2..ee7a9151 100644 --- a/packages/astro/src/overlay/index.ts +++ b/packages/astro/src/overlay/index.ts @@ -23,8 +23,20 @@ export default { }), ); - eventTarget.addEventListener('plugin-toggle', () => { - Spotlight.toggleSpotlight(); + eventTarget.addEventListener('plugin-toggled', e => { + // e.detail.state exists, see https://docs.astro.build/en/reference/dev-overlay-plugin-reference/#plugin-toggled + const shouldOpen = (e as CustomEvent).detail.state; + shouldOpen ? Spotlight.openSpotlight() : Spotlight.closeSpotlight(); + }); + + Spotlight.onClose(() => { + eventTarget.dispatchEvent( + new CustomEvent('toggle-plugin', { + detail: { + state: false, + }, + }), + ); }); }, } satisfies DevOverlayPlugin; diff --git a/packages/astro/src/snippets.ts b/packages/astro/src/snippets.ts index 1ddb1fd9..d77b3b63 100644 --- a/packages/astro/src/snippets.ts +++ b/packages/astro/src/snippets.ts @@ -8,18 +8,6 @@ init({ ], showTriggerButton: false, }); - -setTimeout(() => { - console.log("this message should show up in the Console tab eventually") -}, 3000); - -setTimeout(() => { - console.log("this one, too ;)") -}, 6000); - -setTimeout(() => { - console.warn("this warning, too ;)") -}, 6000); `; export const SPOTLIGHT_SERVER_SNIPPET = ` @@ -61,7 +49,4 @@ console.log('[Spotlight]', globalThis.__SENTRY__); } ); -// setTimeout(() => { - Sentry.captureException(new Error('does this now show up in spotlight?')); -// }, 2000); `; diff --git a/packages/core/src/App.tsx b/packages/core/src/App.tsx index b717fb24..1063d847 100644 --- a/packages/core/src/App.tsx +++ b/packages/core/src/App.tsx @@ -25,6 +25,7 @@ export default function App({ const [integrationData, setIntegrationData] = useState>({}); const [isOnline, setOnline] = useState(false); const [triggerButtonCount, setTriggerButtonCount] = useState({ general: 0, severe: 0 }); + const [isOpen, setOpen] = useState(fullScreen); useEffect(() => { // Map that holds the information which kind of content type should be dispatched to which integration(s) @@ -53,12 +54,20 @@ export default function App({ }; }, [integrations]); - const [isOpen, setOpen] = useState(fullScreen); + eventTarget.addEventListener('open', () => { + setOpen(true); + }); - eventTarget.addEventListener('toggle', () => { - setOpen(!isOpen); + eventTarget.addEventListener('close', () => { + setOpen(false); }); + useEffect(() => { + if (!isOpen) { + eventTarget.dispatchEvent(new CustomEvent('closed')); + } + }, [isOpen, eventTarget]); + console.log('[Spotlight] Integrations', integrationData); return ( diff --git a/packages/core/src/index.tsx b/packages/core/src/index.tsx index ec2e93b4..91bf4990 100644 --- a/packages/core/src/index.tsx +++ b/packages/core/src/index.tsx @@ -19,10 +19,24 @@ function createStyleSheet(styles: string) { const spotlightEventTarget: EventTarget = new EventTarget(); /** - * Open or close the Spotlight UI + * Open the Spotlight debugger Window */ -export async function toggleSpotlight() { - spotlightEventTarget.dispatchEvent(new Event('toggle')); +export async function openSpotlight() { + spotlightEventTarget.dispatchEvent(new CustomEvent('open')); +} + +/** + * Close the Spotlight debugger Window + */ +export async function closeSpotlight() { + spotlightEventTarget.dispatchEvent(new CustomEvent('close')); +} + +/** + * Invokes the passed in callback when the Spotlight debugger Window is closed + */ +export async function onClose(cb: () => void) { + spotlightEventTarget.addEventListener('closed', cb); } export async function init({ diff --git a/packages/website/package.json b/packages/website/package.json index 7f0d51e2..0794a161 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -15,7 +15,7 @@ "@astrojs/starlight-tailwind": "^2.0.0", "@astrojs/tailwind": "^5.0.2", "@sentry/astro": "^7.80.0", - "astro": "^3.4.0", + "astro": "^3.5.4", "sharp": "^0.32.5", "tailwindcss": "^3.0.24" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 23874abf..ab30cae8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -34,9 +34,6 @@ importers: lint-staged: specifier: ^15.0.2 version: 15.0.2 - npm-run-all: - specifier: ^4.1.5 - version: 4.1.5 prettier: specifier: ^3.0.3 version: 3.0.3 @@ -175,19 +172,19 @@ importers: dependencies: '@astrojs/starlight': specifier: ^0.11.2 - version: 0.11.2(astro@3.4.0) + version: 0.11.2(astro@3.5.4) '@astrojs/starlight-tailwind': specifier: ^2.0.0 version: 2.0.0(@astrojs/starlight@0.11.2)(@astrojs/tailwind@5.0.2)(tailwindcss@3.3.3) '@astrojs/tailwind': specifier: ^5.0.2 - version: 5.0.2(astro@3.4.0)(tailwindcss@3.3.3) + version: 5.0.2(astro@3.5.4)(tailwindcss@3.3.3) '@sentry/astro': specifier: ^7.80.0 - version: 7.80.0(astro@3.4.0) + version: 7.80.0(astro@3.5.4) astro: - specifier: ^3.4.0 - version: 3.4.0(typescript@5.2.2) + specifier: ^3.5.4 + version: 3.5.4(typescript@5.2.2) sharp: specifier: ^0.32.5 version: 0.32.5 @@ -238,6 +235,11 @@ packages: { integrity: sha512-nJaEgq0EP1mybaW1PvNnnp4RxVQnaLajUYnqrqxFbIdu1ELbH6OxNuAJWI+/q9TbMP6NG/eK6WRMhQsxX6qkUQ== } dev: false + /@astrojs/compiler@2.3.2: + resolution: + { integrity: sha512-jkY7bCVxl27KeZsSxIZ+pqACe+g8VQUdTiSJRj/sXYdIaZlW3ZMq4qF2M17P/oDt3LBq0zLNwQr4Cb7fSpRGxQ== } + dev: false + /@astrojs/internal-helpers@0.2.1: resolution: { integrity: sha512-06DD2ZnItMwUnH81LBLco3tWjcZ1lGU9rLCCBaeUCGYe9cI0wKyY2W3kDyoW1I6GmcWgt1fu+D1CTvz+FIKf8A== } @@ -268,17 +270,67 @@ packages: - supports-color dev: false - /@astrojs/mdx@1.1.3(astro@3.4.0): + /@astrojs/markdown-remark@3.3.0(astro@3.5.4): + resolution: + { integrity: sha512-ezFzEiZygc/ASe2Eul9v1yrTbNGqSbR348UGNXQ4Dtkx8MYRwfiBfmPm6VnEdfIGkW+bi5qIUReKfc7mPVUkIg== } + peerDependencies: + astro: ^3.3.0 + dependencies: + '@astrojs/prism': 3.0.0 + astro: 3.5.4(typescript@5.2.2) + github-slugger: 2.0.0 + import-meta-resolve: 3.1.1 + mdast-util-definitions: 6.0.0 + rehype-raw: 6.1.1 + rehype-stringify: 9.0.4 + remark-gfm: 3.0.1 + remark-parse: 10.0.2 + remark-rehype: 10.1.0 + remark-smartypants: 2.0.0 + shikiji: 0.6.12 + unified: 10.1.2 + unist-util-visit: 4.1.2 + vfile: 5.3.7 + transitivePeerDependencies: + - supports-color + dev: false + + /@astrojs/markdown-remark@3.5.0(astro@3.5.4): + resolution: + { integrity: sha512-q7vdIqzYhxpsfghg2YmkmSXCfp4w7lBTYP+SSHw89wVhC5Riltr3u8w2otBRxNLSByNi+ht/gGkFC23Shetytw== } + peerDependencies: + astro: ^3.0.0 + dependencies: + '@astrojs/prism': 3.0.0 + astro: 3.5.4(typescript@5.2.2) + github-slugger: 2.0.0 + import-meta-resolve: 3.1.1 + mdast-util-definitions: 6.0.0 + rehype-raw: 6.1.1 + rehype-stringify: 9.0.4 + remark-gfm: 3.0.1 + remark-parse: 10.0.2 + remark-rehype: 10.1.0 + remark-smartypants: 2.0.0 + shikiji: 0.6.12 + unified: 10.1.2 + unist-util-visit: 4.1.2 + vfile: 5.3.7 + transitivePeerDependencies: + - supports-color + dev: false + + /@astrojs/mdx@1.1.3(astro@3.5.4): resolution: { integrity: sha512-5U5l6bCmywF2IOO8T7oIeStrRB16cxlGCz02U2akpEkLw93dmn5QcHjr4Cwem0bSKROEjYqZ7DxN8t8YAAV2qA== } engines: { node: '>=18.14.1' } peerDependencies: astro: ^3.3.4 dependencies: - '@astrojs/markdown-remark': 3.3.0(astro@3.4.0) + '@astrojs/markdown-remark': 3.3.0(astro@3.5.4) '@mdx-js/mdx': 2.3.0 acorn: 8.11.2 - astro: 3.4.0(typescript@5.2.2) + astro: 3.5.4(typescript@5.2.2) es-module-lexer: 1.3.1 estree-util-visit: 1.2.1 github-slugger: 2.0.0 @@ -319,22 +371,22 @@ packages: '@astrojs/tailwind': ^5.0.0 tailwindcss: ^3.3.3 dependencies: - '@astrojs/starlight': 0.11.2(astro@3.4.0) - '@astrojs/tailwind': 5.0.2(astro@3.4.0)(tailwindcss@3.3.3) + '@astrojs/starlight': 0.11.2(astro@3.5.4) + '@astrojs/tailwind': 5.0.2(astro@3.5.4)(tailwindcss@3.3.3) tailwindcss: 3.3.3 dev: false - /@astrojs/starlight@0.11.2(astro@3.4.0): + /@astrojs/starlight@0.11.2(astro@3.5.4): resolution: { integrity: sha512-bwKYgU70SP1AItFJqdQ1k+cC9cVEvQ849+9pg5Ms3PF1BlN/f0H3bj6SPqRkZnNEwYGREqjbtempJRTnpTaJnA== } peerDependencies: astro: ^3.2.0 dependencies: - '@astrojs/mdx': 1.1.3(astro@3.4.0) + '@astrojs/mdx': 1.1.3(astro@3.5.4) '@astrojs/sitemap': 3.0.3 '@pagefind/default-ui': 1.0.3 '@types/mdast': 3.0.14 - astro: 3.4.0(typescript@5.2.2) + astro: 3.5.4(typescript@5.2.2) bcp-47: 2.1.0 execa: 8.0.1 hast-util-select: 5.0.5 @@ -350,14 +402,14 @@ packages: - supports-color dev: false - /@astrojs/tailwind@5.0.2(astro@3.4.0)(tailwindcss@3.3.3): + /@astrojs/tailwind@5.0.2(astro@3.5.4)(tailwindcss@3.3.3): resolution: { integrity: sha512-oXqeqmBlkQmsltrsU9nEWeXOtrZIAHW8dcmX7BCdrjzPnU6dPwWzAwhddNQ9ihKiWwsLnlbwQZIo2CDigcZlIA== } peerDependencies: astro: ^3.2.4 tailwindcss: ^3.0.24 dependencies: - astro: 3.4.0(typescript@5.2.2) + astro: 3.5.4(typescript@5.2.2) autoprefixer: 10.4.16(postcss@8.4.31) postcss: 8.4.31 postcss-load-config: 4.0.1(postcss@8.4.31) @@ -1645,7 +1697,7 @@ packages: '@sentry/utils': 7.80.0 dev: false - /@sentry/astro@7.80.0(astro@3.4.0): + /@sentry/astro@7.80.0(astro@3.5.4): resolution: { integrity: sha512-Ogtvdhw1+fpRWIqLgsAwhIxl7ODVwUXGlZUQnO5PD/ruxlrzY5ieCOdqO6t6X/iI/c0UtBS7PXqQfzNftviiIg== } engines: { node: '>=18.14.1' } @@ -1658,7 +1710,7 @@ packages: '@sentry/types': 7.80.0 '@sentry/utils': 7.80.0 '@sentry/vite-plugin': 2.9.0 - astro: 3.4.0(typescript@5.2.2) + astro: 3.5.4(typescript@5.2.2) transitivePeerDependencies: - encoding - supports-color @@ -2778,15 +2830,15 @@ packages: - typescript dev: false - /astro@3.4.0(typescript@5.2.2): + /astro@3.5.4(typescript@5.2.2): resolution: - { integrity: sha512-nTOFxrPOnmACl8noTPkRJkaEOMx4wZy4QCLB2aDL3Lm+AiEaVcgH7YQ4GpCl72zSNXp/A7hGdUgcXbC4XYHOCQ== } + { integrity: sha512-tyOd2o9KDz9hDaHmYvnY7BbRxeQ1yDxoOW4AVlxAnmHOK6068k6Bivr/C4Wlc6ON40lZ/qIDG9gfNkiEhMEVow== } engines: { node: '>=18.14.1', npm: '>=6.14.0' } hasBin: true dependencies: - '@astrojs/compiler': 2.2.2 + '@astrojs/compiler': 2.3.2 '@astrojs/internal-helpers': 0.2.1 - '@astrojs/markdown-remark': 3.3.0(astro@3.4.0) + '@astrojs/markdown-remark': 3.5.0(astro@3.5.4) '@astrojs/telemetry': 3.0.4 '@babel/core': 7.23.2 '@babel/generator': 7.23.0 @@ -2818,6 +2870,7 @@ packages: js-yaml: 4.1.0 kleur: 4.1.5 magic-string: 0.30.5 + mdast-util-to-hast: 12.3.0 mime: 3.0.0 ora: 7.0.1 p-limit: 4.0.0 @@ -2840,7 +2893,7 @@ packages: vitefu: 0.2.5(vite@4.5.0) which-pm: 2.1.1 yargs-parser: 21.1.1 - zod: 3.21.1 + zod: 3.22.4 optionalDependencies: sharp: 0.32.5 transitivePeerDependencies: @@ -3372,18 +3425,6 @@ packages: which: 1.3.1 dev: true - /cross-spawn@6.0.5: - resolution: - { integrity: sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== } - engines: { node: '>=4.8' } - dependencies: - nice-try: 1.0.5 - path-key: 2.0.1 - semver: 5.7.2 - shebang-command: 1.2.0 - which: 1.3.1 - dev: true - /cross-spawn@7.0.3: resolution: { integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== } @@ -5365,11 +5406,6 @@ packages: { integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== } dev: true - /json-parse-better-errors@1.0.2: - resolution: - { integrity: sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== } - dev: true - /json-parse-even-better-errors@2.3.1: resolution: { integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== } @@ -5486,17 +5522,6 @@ packages: wrap-ansi: 8.1.0 dev: true - /load-json-file@4.0.0: - resolution: - { integrity: sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw== } - engines: { node: '>=4' } - dependencies: - graceful-fs: 4.2.11 - parse-json: 4.0.0 - pify: 3.0.0 - strip-bom: 3.0.0 - dev: true - /load-yaml-file@0.2.0: resolution: { integrity: sha512-OfCBkGEw4nN6JLtgRidPX6QxjBQGQf72q3si2uvqyFEMbycSFFHwAZeXx6cJgFM9wmLrf9zBwCP3Ivqa+LLZPw== } @@ -5895,12 +5920,6 @@ packages: '@types/mdast': 3.0.14 dev: false - /memorystream@0.3.1: - resolution: - { integrity: sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw== } - engines: { node: '>= 0.10.0' } - dev: true - /meow@6.1.1: resolution: { integrity: sha512-3YffViIt2QWgTy6Pale5QpopX/IvU3LPL03jOTqp6pGj3VjesdO/U8CuHMKpnQr4shCNCM5fd5XFFvIIl6JBHg== } @@ -6528,11 +6547,6 @@ packages: - supports-color dev: false - /nice-try@1.0.5: - resolution: - { integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== } - dev: true - /nlcst-to-string@3.1.1: resolution: { integrity: sha512-63mVyqaqt0cmn2VcI2aH6kxe1rLAmSROqHMA0i4qqg1tidkfExgpb0FGMikMCn86mw5dFtBtEANfmSSK7TjNHw== } @@ -6595,23 +6609,6 @@ packages: { integrity: sha512-5PDmaAsVfnWUgTUbJ3ERwn7u79Z0dYxN9ErxCpVJJqe2RK0PJ3z+iFUxuqjwtlDDegXvtWoxD/3Fzxox7tFGWA== } dev: false - /npm-run-all@4.1.5: - resolution: - { integrity: sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ== } - engines: { node: '>= 4' } - hasBin: true - dependencies: - ansi-styles: 3.2.1 - chalk: 2.4.2 - cross-spawn: 6.0.5 - memorystream: 0.3.1 - minimatch: 3.1.2 - pidtree: 0.3.1 - read-pkg: 3.0.0 - shell-quote: 1.8.1 - string.prototype.padend: 3.1.5 - dev: true - /npm-run-path@4.0.1: resolution: { integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== } @@ -6841,15 +6838,6 @@ packages: is-hexadecimal: 2.0.1 dev: false - /parse-json@4.0.0: - resolution: - { integrity: sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw== } - engines: { node: '>=4' } - dependencies: - error-ex: 1.3.2 - json-parse-better-errors: 1.0.2 - dev: true - /parse-json@5.2.0: resolution: { integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== } @@ -6897,12 +6885,6 @@ packages: { integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== } engines: { node: '>=0.10.0' } - /path-key@2.0.1: - resolution: - { integrity: sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw== } - engines: { node: '>=4' } - dev: true - /path-key@3.1.1: resolution: { integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== } @@ -6930,14 +6912,6 @@ packages: { integrity: sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw== } dev: false - /path-type@3.0.0: - resolution: - { integrity: sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg== } - engines: { node: '>=4' } - dependencies: - pify: 3.0.0 - dev: true - /path-type@4.0.0: resolution: { integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== } @@ -6962,13 +6936,6 @@ packages: { integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== } engines: { node: '>=8.6' } - /pidtree@0.3.1: - resolution: - { integrity: sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA== } - engines: { node: '>=0.10' } - hasBin: true - dev: true - /pidtree@0.6.0: resolution: { integrity: sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g== } @@ -6981,12 +6948,6 @@ packages: { integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== } engines: { node: '>=0.10.0' } - /pify@3.0.0: - resolution: - { integrity: sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg== } - engines: { node: '>=4' } - dev: true - /pify@4.0.1: resolution: { integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== } @@ -7386,16 +7347,6 @@ packages: type-fest: 0.8.1 dev: true - /read-pkg@3.0.0: - resolution: - { integrity: sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA== } - engines: { node: '>=4' } - dependencies: - load-json-file: 4.0.0 - normalize-package-data: 2.5.0 - path-type: 3.0.0 - dev: true - /read-pkg@5.2.0: resolution: { integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg== } @@ -7854,11 +7805,6 @@ packages: { integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== } engines: { node: '>=8' } - /shell-quote@1.8.1: - resolution: - { integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA== } - dev: true - /shikiji@0.6.12: resolution: { integrity: sha512-sm7Wg8P4w6T3quDAZQxvk0P02o2hheIFEdbaEuGOhGnqLDjVsP28GDUVPdgbacOIc1auapNVNCVEykhPploLyg== } @@ -8104,16 +8050,6 @@ packages: strip-ansi: 7.1.0 dev: false - /string.prototype.padend@3.1.5: - resolution: - { integrity: sha512-DOB27b/2UTTD+4myKUFh+/fXWcu/UDyASIXfg+7VzoCNNGOfWvoyU/x5pvVHr++ztyt/oSYI1BcWBBG/hmlNjA== } - engines: { node: '>= 0.4' } - dependencies: - call-bind: 1.0.5 - define-properties: 1.2.1 - es-abstract: 1.22.3 - dev: true - /string.prototype.trim@1.2.8: resolution: { integrity: sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ== }