From 28bfa2541dd6081fb449fa5baa80cd51a51b1591 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 May 2022 12:40:44 +0000 Subject: [PATCH] build(deps): bump @hashicorp/react-code-block in /website Bumps @hashicorp/react-code-block from 4.1.5 to 5.1.0. --- updated-dependencies: - dependency-name: "@hashicorp/react-code-block" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- website/package-lock.json | 766 ++++++++++++++++++++++++++++++++++++-- website/package.json | 2 +- 2 files changed, 735 insertions(+), 33 deletions(-) diff --git a/website/package-lock.json b/website/package-lock.json index 0be3ad07163..231bf722945 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -21,7 +21,7 @@ "@hashicorp/react-button": "^6.0.1", "@hashicorp/react-call-to-action": "^4.0.0", "@hashicorp/react-callouts": "^8.0.1", - "@hashicorp/react-code-block": "^4.1.5", + "@hashicorp/react-code-block": "^5.1.0", "@hashicorp/react-consent-manager": "^7.1.0", "@hashicorp/react-content": "^8.0.2", "@hashicorp/react-docs-page": "^14.14.0", @@ -1437,6 +1437,141 @@ "react": ">= 16.x" } }, + "node_modules/@hashicorp/platform-docs-mdx/node_modules/@hashicorp/react-code-block": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@hashicorp/react-code-block/-/react-code-block-4.5.0.tgz", + "integrity": "sha512-3Y8BNvSNFnaQFl+NTw9vpY/A9zB2sdLcjl71EDIdTWSUbUx+xdM91P50Sv+VQFhe8toFTInp6RQN3oZLZSfP5w==", + "dependencies": { + "@hashicorp/react-inline-svg": "^6.0.3", + "@reach/listbox": "0.16.2", + "shellwords": "^0.1.1" + }, + "peerDependencies": { + "@hashicorp/mktg-global-styles": ">=3.x", + "react": ">=16.x" + } + }, + "node_modules/@hashicorp/platform-docs-mdx/node_modules/@reach/auto-id": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/auto-id/-/auto-id-0.16.0.tgz", + "integrity": "sha512-5ssbeP5bCkM39uVsfQCwBBL+KT8YColdnMN5/Eto6Rj7929ql95R3HZUOkKIvj7mgPtEb60BLQxd1P3o6cjbmg==", + "dependencies": { + "@reach/utils": "0.16.0", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/platform-docs-mdx/node_modules/@reach/descendants": { + "version": "0.16.1", + "resolved": "https://registry.npmjs.org/@reach/descendants/-/descendants-0.16.1.tgz", + "integrity": "sha512-3WZgRnD9O4EORKE31rrduJDiPFNMOjUkATx0zl192ZxMq3qITe4tUj70pS5IbJl/+v9zk78JwyQLvA1pL7XAPA==", + "dependencies": { + "@reach/utils": "0.16.0", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/platform-docs-mdx/node_modules/@reach/listbox": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@reach/listbox/-/listbox-0.16.2.tgz", + "integrity": "sha512-UBotBw7X8e2ajHn6tg1M9ArinisvSvwtu/aP3edEQKCvobd95nAa+dqnfAdihPAQFH2AQ2NFfa/73yawWV3LOQ==", + "dependencies": { + "@reach/auto-id": "0.16.0", + "@reach/descendants": "0.16.1", + "@reach/machine": "0.16.0", + "@reach/popover": "0.16.2", + "@reach/utils": "0.16.0", + "prop-types": "^15.7.2" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/platform-docs-mdx/node_modules/@reach/machine": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/machine/-/machine-0.16.0.tgz", + "integrity": "sha512-c8SRQz2xGtg5M9aXuuM5pFgaV1ZW5/nyMIYpZzBwHUlNFKGO+VBhwedbnqUxO0yLcbgl3wPvjPh740O3YjqiHg==", + "dependencies": { + "@reach/utils": "0.16.0", + "@xstate/fsm": "1.4.0", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/platform-docs-mdx/node_modules/@reach/popover": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@reach/popover/-/popover-0.16.2.tgz", + "integrity": "sha512-IwkRrHM7Vt33BEkSXneovymJv7oIToOfTDwRKpuYEB/BWYMAuNfbsRL7KVe6MjkgchDeQzAk24cYY1ztQj5HQQ==", + "dependencies": { + "@reach/portal": "0.16.2", + "@reach/rect": "0.16.0", + "@reach/utils": "0.16.0", + "tabbable": "^4.0.0", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/platform-docs-mdx/node_modules/@reach/portal": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@reach/portal/-/portal-0.16.2.tgz", + "integrity": "sha512-9ur/yxNkuVYTIjAcfi46LdKUvH0uYZPfEp4usWcpt6PIp+WDF57F/5deMe/uGi/B/nfDweQu8VVwuMVrCb97JQ==", + "dependencies": { + "@reach/utils": "0.16.0", + "tiny-warning": "^1.0.3", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/platform-docs-mdx/node_modules/@reach/rect": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/rect/-/rect-0.16.0.tgz", + "integrity": "sha512-/qO9jQDzpOCdrSxVPR6l674mRHNTqfEjkaxZHluwJ/2qGUtYsA0GSZiF/+wX/yOWeBif1ycxJDa6HusAMJZC5Q==", + "dependencies": { + "@reach/observe-rect": "1.2.0", + "@reach/utils": "0.16.0", + "prop-types": "^15.7.2", + "tiny-warning": "^1.0.3", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/platform-docs-mdx/node_modules/@reach/utils": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/utils/-/utils-0.16.0.tgz", + "integrity": "sha512-PCggBet3qaQmwFNcmQ/GqHSefadAFyNCUekq9RrWoaU9hh/S4iaFgf2MBMdM47eQj5i/Bk0Mm07cP/XPFlkN+Q==", + "dependencies": { + "tiny-warning": "^1.0.3", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/platform-docs-mdx/node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + }, "node_modules/@hashicorp/platform-markdown-utils": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/@hashicorp/platform-markdown-utils/-/platform-markdown-utils-0.1.3.tgz", @@ -1695,12 +1830,12 @@ } }, "node_modules/@hashicorp/react-code-block": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@hashicorp/react-code-block/-/react-code-block-4.1.5.tgz", - "integrity": "sha512-94IHagrdqxvoPE130b2FOvyeSZ26DIhaNSnZ3b/isKMpaNdWjoi/uo+nckRu3auiSyxldbMty8W5EXclgGkCEA==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@hashicorp/react-code-block/-/react-code-block-5.1.0.tgz", + "integrity": "sha512-8jwcD+Q8YwGK4srB9UYVoTCqRVXkSL2wun4qu73Wbb02x1d1hL8M00h++AHW77pa6bCRaXXwDHn6pavFqJcgkg==", "dependencies": { "@hashicorp/react-inline-svg": "^6.0.3", - "@reach/listbox": "0.15.0", + "@reach/listbox": "0.16.2", "shellwords": "^0.1.1" }, "peerDependencies": { @@ -1708,6 +1843,127 @@ "react": ">=16.x" } }, + "node_modules/@hashicorp/react-code-block/node_modules/@reach/auto-id": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/auto-id/-/auto-id-0.16.0.tgz", + "integrity": "sha512-5ssbeP5bCkM39uVsfQCwBBL+KT8YColdnMN5/Eto6Rj7929ql95R3HZUOkKIvj7mgPtEb60BLQxd1P3o6cjbmg==", + "dependencies": { + "@reach/utils": "0.16.0", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/react-code-block/node_modules/@reach/descendants": { + "version": "0.16.1", + "resolved": "https://registry.npmjs.org/@reach/descendants/-/descendants-0.16.1.tgz", + "integrity": "sha512-3WZgRnD9O4EORKE31rrduJDiPFNMOjUkATx0zl192ZxMq3qITe4tUj70pS5IbJl/+v9zk78JwyQLvA1pL7XAPA==", + "dependencies": { + "@reach/utils": "0.16.0", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/react-code-block/node_modules/@reach/listbox": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@reach/listbox/-/listbox-0.16.2.tgz", + "integrity": "sha512-UBotBw7X8e2ajHn6tg1M9ArinisvSvwtu/aP3edEQKCvobd95nAa+dqnfAdihPAQFH2AQ2NFfa/73yawWV3LOQ==", + "dependencies": { + "@reach/auto-id": "0.16.0", + "@reach/descendants": "0.16.1", + "@reach/machine": "0.16.0", + "@reach/popover": "0.16.2", + "@reach/utils": "0.16.0", + "prop-types": "^15.7.2" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/react-code-block/node_modules/@reach/machine": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/machine/-/machine-0.16.0.tgz", + "integrity": "sha512-c8SRQz2xGtg5M9aXuuM5pFgaV1ZW5/nyMIYpZzBwHUlNFKGO+VBhwedbnqUxO0yLcbgl3wPvjPh740O3YjqiHg==", + "dependencies": { + "@reach/utils": "0.16.0", + "@xstate/fsm": "1.4.0", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/react-code-block/node_modules/@reach/popover": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@reach/popover/-/popover-0.16.2.tgz", + "integrity": "sha512-IwkRrHM7Vt33BEkSXneovymJv7oIToOfTDwRKpuYEB/BWYMAuNfbsRL7KVe6MjkgchDeQzAk24cYY1ztQj5HQQ==", + "dependencies": { + "@reach/portal": "0.16.2", + "@reach/rect": "0.16.0", + "@reach/utils": "0.16.0", + "tabbable": "^4.0.0", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/react-code-block/node_modules/@reach/portal": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@reach/portal/-/portal-0.16.2.tgz", + "integrity": "sha512-9ur/yxNkuVYTIjAcfi46LdKUvH0uYZPfEp4usWcpt6PIp+WDF57F/5deMe/uGi/B/nfDweQu8VVwuMVrCb97JQ==", + "dependencies": { + "@reach/utils": "0.16.0", + "tiny-warning": "^1.0.3", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/react-code-block/node_modules/@reach/rect": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/rect/-/rect-0.16.0.tgz", + "integrity": "sha512-/qO9jQDzpOCdrSxVPR6l674mRHNTqfEjkaxZHluwJ/2qGUtYsA0GSZiF/+wX/yOWeBif1ycxJDa6HusAMJZC5Q==", + "dependencies": { + "@reach/observe-rect": "1.2.0", + "@reach/utils": "0.16.0", + "prop-types": "^15.7.2", + "tiny-warning": "^1.0.3", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/react-code-block/node_modules/@reach/utils": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/utils/-/utils-0.16.0.tgz", + "integrity": "sha512-PCggBet3qaQmwFNcmQ/GqHSefadAFyNCUekq9RrWoaU9hh/S4iaFgf2MBMdM47eQj5i/Bk0Mm07cP/XPFlkN+Q==", + "dependencies": { + "tiny-warning": "^1.0.3", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/react-code-block/node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + }, "node_modules/@hashicorp/react-consent-manager": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/@hashicorp/react-consent-manager/-/react-consent-manager-7.1.0.tgz", @@ -2373,29 +2629,164 @@ "resolved": "https://registry.npmjs.org/@hashicorp/react-text-split/-/react-text-split-4.0.0.tgz", "integrity": "sha512-drBWTG3l7v/GNusn2gy2eW3SjuJ3lldlfzX3lr20IxprP2UcMcpLBDQFL+xrJbaHe7Tn2WjwrdmOS6MtQOopbQ==", "dependencies": { - "@hashicorp/platform-product-meta": "^0.1.0", - "@hashicorp/react-button": "^6.0.0", - "@hashicorp/react-inline-svg": "^6.0.3", - "classnames": "^2.3.1" + "@hashicorp/platform-product-meta": "^0.1.0", + "@hashicorp/react-button": "^6.0.0", + "@hashicorp/react-inline-svg": "^6.0.3", + "classnames": "^2.3.1" + }, + "peerDependencies": { + "@hashicorp/mktg-global-styles": ">=3.x", + "react": ">=16.x" + } + }, + "node_modules/@hashicorp/react-text-split-with-code": { + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/@hashicorp/react-text-split-with-code/-/react-text-split-with-code-3.3.8.tgz", + "integrity": "sha512-aOakwQL+GjrSEsySSOHw7WlJLg0nEiKoIMK5x8aLry64ZwHgTpqqFj5CTQ01RHk0sAfqbCCvrRc2il9CLR83fg==", + "dependencies": { + "@hashicorp/react-code-block": "^4.1.5", + "@hashicorp/react-text-split": "^4.0.0" + }, + "peerDependencies": { + "@hashicorp/mktg-global-styles": ">=3.x", + "react": ">=16.x" + } + }, + "node_modules/@hashicorp/react-text-split-with-code/node_modules/@hashicorp/react-code-block": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@hashicorp/react-code-block/-/react-code-block-4.5.0.tgz", + "integrity": "sha512-3Y8BNvSNFnaQFl+NTw9vpY/A9zB2sdLcjl71EDIdTWSUbUx+xdM91P50Sv+VQFhe8toFTInp6RQN3oZLZSfP5w==", + "dependencies": { + "@hashicorp/react-inline-svg": "^6.0.3", + "@reach/listbox": "0.16.2", + "shellwords": "^0.1.1" + }, + "peerDependencies": { + "@hashicorp/mktg-global-styles": ">=3.x", + "react": ">=16.x" + } + }, + "node_modules/@hashicorp/react-text-split-with-code/node_modules/@reach/auto-id": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/auto-id/-/auto-id-0.16.0.tgz", + "integrity": "sha512-5ssbeP5bCkM39uVsfQCwBBL+KT8YColdnMN5/Eto6Rj7929ql95R3HZUOkKIvj7mgPtEb60BLQxd1P3o6cjbmg==", + "dependencies": { + "@reach/utils": "0.16.0", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/react-text-split-with-code/node_modules/@reach/descendants": { + "version": "0.16.1", + "resolved": "https://registry.npmjs.org/@reach/descendants/-/descendants-0.16.1.tgz", + "integrity": "sha512-3WZgRnD9O4EORKE31rrduJDiPFNMOjUkATx0zl192ZxMq3qITe4tUj70pS5IbJl/+v9zk78JwyQLvA1pL7XAPA==", + "dependencies": { + "@reach/utils": "0.16.0", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/react-text-split-with-code/node_modules/@reach/listbox": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@reach/listbox/-/listbox-0.16.2.tgz", + "integrity": "sha512-UBotBw7X8e2ajHn6tg1M9ArinisvSvwtu/aP3edEQKCvobd95nAa+dqnfAdihPAQFH2AQ2NFfa/73yawWV3LOQ==", + "dependencies": { + "@reach/auto-id": "0.16.0", + "@reach/descendants": "0.16.1", + "@reach/machine": "0.16.0", + "@reach/popover": "0.16.2", + "@reach/utils": "0.16.0", + "prop-types": "^15.7.2" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/react-text-split-with-code/node_modules/@reach/machine": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/machine/-/machine-0.16.0.tgz", + "integrity": "sha512-c8SRQz2xGtg5M9aXuuM5pFgaV1ZW5/nyMIYpZzBwHUlNFKGO+VBhwedbnqUxO0yLcbgl3wPvjPh740O3YjqiHg==", + "dependencies": { + "@reach/utils": "0.16.0", + "@xstate/fsm": "1.4.0", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/react-text-split-with-code/node_modules/@reach/popover": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@reach/popover/-/popover-0.16.2.tgz", + "integrity": "sha512-IwkRrHM7Vt33BEkSXneovymJv7oIToOfTDwRKpuYEB/BWYMAuNfbsRL7KVe6MjkgchDeQzAk24cYY1ztQj5HQQ==", + "dependencies": { + "@reach/portal": "0.16.2", + "@reach/rect": "0.16.0", + "@reach/utils": "0.16.0", + "tabbable": "^4.0.0", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/react-text-split-with-code/node_modules/@reach/portal": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@reach/portal/-/portal-0.16.2.tgz", + "integrity": "sha512-9ur/yxNkuVYTIjAcfi46LdKUvH0uYZPfEp4usWcpt6PIp+WDF57F/5deMe/uGi/B/nfDweQu8VVwuMVrCb97JQ==", + "dependencies": { + "@reach/utils": "0.16.0", + "tiny-warning": "^1.0.3", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" + } + }, + "node_modules/@hashicorp/react-text-split-with-code/node_modules/@reach/rect": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/rect/-/rect-0.16.0.tgz", + "integrity": "sha512-/qO9jQDzpOCdrSxVPR6l674mRHNTqfEjkaxZHluwJ/2qGUtYsA0GSZiF/+wX/yOWeBif1ycxJDa6HusAMJZC5Q==", + "dependencies": { + "@reach/observe-rect": "1.2.0", + "@reach/utils": "0.16.0", + "prop-types": "^15.7.2", + "tiny-warning": "^1.0.3", + "tslib": "^2.3.0" }, "peerDependencies": { - "@hashicorp/mktg-global-styles": ">=3.x", - "react": ">=16.x" + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" } }, - "node_modules/@hashicorp/react-text-split-with-code": { - "version": "3.3.8", - "resolved": "https://registry.npmjs.org/@hashicorp/react-text-split-with-code/-/react-text-split-with-code-3.3.8.tgz", - "integrity": "sha512-aOakwQL+GjrSEsySSOHw7WlJLg0nEiKoIMK5x8aLry64ZwHgTpqqFj5CTQ01RHk0sAfqbCCvrRc2il9CLR83fg==", + "node_modules/@hashicorp/react-text-split-with-code/node_modules/@reach/utils": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/utils/-/utils-0.16.0.tgz", + "integrity": "sha512-PCggBet3qaQmwFNcmQ/GqHSefadAFyNCUekq9RrWoaU9hh/S4iaFgf2MBMdM47eQj5i/Bk0Mm07cP/XPFlkN+Q==", "dependencies": { - "@hashicorp/react-code-block": "^4.1.5", - "@hashicorp/react-text-split": "^4.0.0" + "tiny-warning": "^1.0.3", + "tslib": "^2.3.0" }, "peerDependencies": { - "@hashicorp/mktg-global-styles": ">=3.x", - "react": ">=16.x" + "react": "^16.8.0 || 17.x", + "react-dom": "^16.8.0 || 17.x" } }, + "node_modules/@hashicorp/react-text-split-with-code/node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + }, "node_modules/@hashicorp/react-text-split-with-image": { "version": "4.2.5", "resolved": "https://registry.npmjs.org/@hashicorp/react-text-split-with-image/-/react-text-split-with-image-4.2.5.tgz", @@ -2778,9 +3169,13 @@ "version": "11.1.2", "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-11.1.2.tgz", "integrity": "sha512-hZuwOlGOwBZADA8EyDYyjx3+4JGIGjSHDHWrmpI7g5rFmQNltjlbaefAbiU5Kk7j3BUSDwt30quJRFv3nyJQ0w==", - "cpu": ["arm64"], + "cpu": [ + "arm64" + ], "optional": true, - "os": ["darwin"], + "os": [ + "darwin" + ], "engines": { "node": ">= 10" } @@ -2789,9 +3184,13 @@ "version": "11.1.2", "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-11.1.2.tgz", "integrity": "sha512-PGOp0E1GisU+EJJlsmJVGE+aPYD0Uh7zqgsrpD3F/Y3766Ptfbe1lEPPWnRDl+OzSSrSrX1lkyM/Jlmh5OwNvA==", - "cpu": ["x64"], + "cpu": [ + "x64" + ], "optional": true, - "os": ["darwin"], + "os": [ + "darwin" + ], "engines": { "node": ">= 10" } @@ -2800,9 +3199,13 @@ "version": "11.1.2", "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-11.1.2.tgz", "integrity": "sha512-YcDHTJjn/8RqvyJVB6pvEKXihDcdrOwga3GfMv/QtVeLphTouY4BIcEUfrG5+26Nf37MP1ywN3RRl1TxpurAsQ==", - "cpu": ["x64"], + "cpu": [ + "x64" + ], "optional": true, - "os": ["linux"], + "os": [ + "linux" + ], "engines": { "node": ">= 10" } @@ -2811,9 +3214,13 @@ "version": "11.1.2", "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-11.1.2.tgz", "integrity": "sha512-e/pIKVdB+tGQYa1cW3sAeHm8gzEri/HYLZHT4WZojrUxgWXqx8pk7S7Xs47uBcFTqBDRvK3EcQpPLf3XdVsDdg==", - "cpu": ["x64"], + "cpu": [ + "x64" + ], "optional": true, - "os": ["win32"], + "os": [ + "win32" + ], "engines": { "node": ">= 10" } @@ -8827,7 +9234,9 @@ "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", "hasInstallScript": true, "optional": true, - "os": ["darwin"], + "os": [ + "darwin" + ], "engines": { "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } @@ -21274,6 +21683,107 @@ "@hashicorp/react-enterprise-alert": "^6.0.1", "@hashicorp/react-tabs": "^7.0.1", "@mdx-js/react": "1.6.22" + }, + "dependencies": { + "@hashicorp/react-code-block": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@hashicorp/react-code-block/-/react-code-block-4.5.0.tgz", + "integrity": "sha512-3Y8BNvSNFnaQFl+NTw9vpY/A9zB2sdLcjl71EDIdTWSUbUx+xdM91P50Sv+VQFhe8toFTInp6RQN3oZLZSfP5w==", + "requires": { + "@hashicorp/react-inline-svg": "^6.0.3", + "@reach/listbox": "0.16.2", + "shellwords": "^0.1.1" + } + }, + "@reach/auto-id": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/auto-id/-/auto-id-0.16.0.tgz", + "integrity": "sha512-5ssbeP5bCkM39uVsfQCwBBL+KT8YColdnMN5/Eto6Rj7929ql95R3HZUOkKIvj7mgPtEb60BLQxd1P3o6cjbmg==", + "requires": { + "@reach/utils": "0.16.0", + "tslib": "^2.3.0" + } + }, + "@reach/descendants": { + "version": "0.16.1", + "resolved": "https://registry.npmjs.org/@reach/descendants/-/descendants-0.16.1.tgz", + "integrity": "sha512-3WZgRnD9O4EORKE31rrduJDiPFNMOjUkATx0zl192ZxMq3qITe4tUj70pS5IbJl/+v9zk78JwyQLvA1pL7XAPA==", + "requires": { + "@reach/utils": "0.16.0", + "tslib": "^2.3.0" + } + }, + "@reach/listbox": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@reach/listbox/-/listbox-0.16.2.tgz", + "integrity": "sha512-UBotBw7X8e2ajHn6tg1M9ArinisvSvwtu/aP3edEQKCvobd95nAa+dqnfAdihPAQFH2AQ2NFfa/73yawWV3LOQ==", + "requires": { + "@reach/auto-id": "0.16.0", + "@reach/descendants": "0.16.1", + "@reach/machine": "0.16.0", + "@reach/popover": "0.16.2", + "@reach/utils": "0.16.0", + "prop-types": "^15.7.2" + } + }, + "@reach/machine": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/machine/-/machine-0.16.0.tgz", + "integrity": "sha512-c8SRQz2xGtg5M9aXuuM5pFgaV1ZW5/nyMIYpZzBwHUlNFKGO+VBhwedbnqUxO0yLcbgl3wPvjPh740O3YjqiHg==", + "requires": { + "@reach/utils": "0.16.0", + "@xstate/fsm": "1.4.0", + "tslib": "^2.3.0" + } + }, + "@reach/popover": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@reach/popover/-/popover-0.16.2.tgz", + "integrity": "sha512-IwkRrHM7Vt33BEkSXneovymJv7oIToOfTDwRKpuYEB/BWYMAuNfbsRL7KVe6MjkgchDeQzAk24cYY1ztQj5HQQ==", + "requires": { + "@reach/portal": "0.16.2", + "@reach/rect": "0.16.0", + "@reach/utils": "0.16.0", + "tabbable": "^4.0.0", + "tslib": "^2.3.0" + } + }, + "@reach/portal": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@reach/portal/-/portal-0.16.2.tgz", + "integrity": "sha512-9ur/yxNkuVYTIjAcfi46LdKUvH0uYZPfEp4usWcpt6PIp+WDF57F/5deMe/uGi/B/nfDweQu8VVwuMVrCb97JQ==", + "requires": { + "@reach/utils": "0.16.0", + "tiny-warning": "^1.0.3", + "tslib": "^2.3.0" + } + }, + "@reach/rect": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/rect/-/rect-0.16.0.tgz", + "integrity": "sha512-/qO9jQDzpOCdrSxVPR6l674mRHNTqfEjkaxZHluwJ/2qGUtYsA0GSZiF/+wX/yOWeBif1ycxJDa6HusAMJZC5Q==", + "requires": { + "@reach/observe-rect": "1.2.0", + "@reach/utils": "0.16.0", + "prop-types": "^15.7.2", + "tiny-warning": "^1.0.3", + "tslib": "^2.3.0" + } + }, + "@reach/utils": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/utils/-/utils-0.16.0.tgz", + "integrity": "sha512-PCggBet3qaQmwFNcmQ/GqHSefadAFyNCUekq9RrWoaU9hh/S4iaFgf2MBMdM47eQj5i/Bk0Mm07cP/XPFlkN+Q==", + "requires": { + "tiny-warning": "^1.0.3", + "tslib": "^2.3.0" + } + }, + "tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + } } }, "@hashicorp/platform-markdown-utils": { @@ -21473,13 +21983,104 @@ } }, "@hashicorp/react-code-block": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@hashicorp/react-code-block/-/react-code-block-4.1.5.tgz", - "integrity": "sha512-94IHagrdqxvoPE130b2FOvyeSZ26DIhaNSnZ3b/isKMpaNdWjoi/uo+nckRu3auiSyxldbMty8W5EXclgGkCEA==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@hashicorp/react-code-block/-/react-code-block-5.1.0.tgz", + "integrity": "sha512-8jwcD+Q8YwGK4srB9UYVoTCqRVXkSL2wun4qu73Wbb02x1d1hL8M00h++AHW77pa6bCRaXXwDHn6pavFqJcgkg==", "requires": { "@hashicorp/react-inline-svg": "^6.0.3", - "@reach/listbox": "0.15.0", + "@reach/listbox": "0.16.2", "shellwords": "^0.1.1" + }, + "dependencies": { + "@reach/auto-id": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/auto-id/-/auto-id-0.16.0.tgz", + "integrity": "sha512-5ssbeP5bCkM39uVsfQCwBBL+KT8YColdnMN5/Eto6Rj7929ql95R3HZUOkKIvj7mgPtEb60BLQxd1P3o6cjbmg==", + "requires": { + "@reach/utils": "0.16.0", + "tslib": "^2.3.0" + } + }, + "@reach/descendants": { + "version": "0.16.1", + "resolved": "https://registry.npmjs.org/@reach/descendants/-/descendants-0.16.1.tgz", + "integrity": "sha512-3WZgRnD9O4EORKE31rrduJDiPFNMOjUkATx0zl192ZxMq3qITe4tUj70pS5IbJl/+v9zk78JwyQLvA1pL7XAPA==", + "requires": { + "@reach/utils": "0.16.0", + "tslib": "^2.3.0" + } + }, + "@reach/listbox": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@reach/listbox/-/listbox-0.16.2.tgz", + "integrity": "sha512-UBotBw7X8e2ajHn6tg1M9ArinisvSvwtu/aP3edEQKCvobd95nAa+dqnfAdihPAQFH2AQ2NFfa/73yawWV3LOQ==", + "requires": { + "@reach/auto-id": "0.16.0", + "@reach/descendants": "0.16.1", + "@reach/machine": "0.16.0", + "@reach/popover": "0.16.2", + "@reach/utils": "0.16.0", + "prop-types": "^15.7.2" + } + }, + "@reach/machine": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/machine/-/machine-0.16.0.tgz", + "integrity": "sha512-c8SRQz2xGtg5M9aXuuM5pFgaV1ZW5/nyMIYpZzBwHUlNFKGO+VBhwedbnqUxO0yLcbgl3wPvjPh740O3YjqiHg==", + "requires": { + "@reach/utils": "0.16.0", + "@xstate/fsm": "1.4.0", + "tslib": "^2.3.0" + } + }, + "@reach/popover": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@reach/popover/-/popover-0.16.2.tgz", + "integrity": "sha512-IwkRrHM7Vt33BEkSXneovymJv7oIToOfTDwRKpuYEB/BWYMAuNfbsRL7KVe6MjkgchDeQzAk24cYY1ztQj5HQQ==", + "requires": { + "@reach/portal": "0.16.2", + "@reach/rect": "0.16.0", + "@reach/utils": "0.16.0", + "tabbable": "^4.0.0", + "tslib": "^2.3.0" + } + }, + "@reach/portal": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@reach/portal/-/portal-0.16.2.tgz", + "integrity": "sha512-9ur/yxNkuVYTIjAcfi46LdKUvH0uYZPfEp4usWcpt6PIp+WDF57F/5deMe/uGi/B/nfDweQu8VVwuMVrCb97JQ==", + "requires": { + "@reach/utils": "0.16.0", + "tiny-warning": "^1.0.3", + "tslib": "^2.3.0" + } + }, + "@reach/rect": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/rect/-/rect-0.16.0.tgz", + "integrity": "sha512-/qO9jQDzpOCdrSxVPR6l674mRHNTqfEjkaxZHluwJ/2qGUtYsA0GSZiF/+wX/yOWeBif1ycxJDa6HusAMJZC5Q==", + "requires": { + "@reach/observe-rect": "1.2.0", + "@reach/utils": "0.16.0", + "prop-types": "^15.7.2", + "tiny-warning": "^1.0.3", + "tslib": "^2.3.0" + } + }, + "@reach/utils": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/utils/-/utils-0.16.0.tgz", + "integrity": "sha512-PCggBet3qaQmwFNcmQ/GqHSefadAFyNCUekq9RrWoaU9hh/S4iaFgf2MBMdM47eQj5i/Bk0Mm07cP/XPFlkN+Q==", + "requires": { + "tiny-warning": "^1.0.3", + "tslib": "^2.3.0" + } + }, + "tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + } } }, "@hashicorp/react-consent-manager": { @@ -22006,6 +22607,107 @@ "requires": { "@hashicorp/react-code-block": "^4.1.5", "@hashicorp/react-text-split": "^4.0.0" + }, + "dependencies": { + "@hashicorp/react-code-block": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@hashicorp/react-code-block/-/react-code-block-4.5.0.tgz", + "integrity": "sha512-3Y8BNvSNFnaQFl+NTw9vpY/A9zB2sdLcjl71EDIdTWSUbUx+xdM91P50Sv+VQFhe8toFTInp6RQN3oZLZSfP5w==", + "requires": { + "@hashicorp/react-inline-svg": "^6.0.3", + "@reach/listbox": "0.16.2", + "shellwords": "^0.1.1" + } + }, + "@reach/auto-id": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/auto-id/-/auto-id-0.16.0.tgz", + "integrity": "sha512-5ssbeP5bCkM39uVsfQCwBBL+KT8YColdnMN5/Eto6Rj7929ql95R3HZUOkKIvj7mgPtEb60BLQxd1P3o6cjbmg==", + "requires": { + "@reach/utils": "0.16.0", + "tslib": "^2.3.0" + } + }, + "@reach/descendants": { + "version": "0.16.1", + "resolved": "https://registry.npmjs.org/@reach/descendants/-/descendants-0.16.1.tgz", + "integrity": "sha512-3WZgRnD9O4EORKE31rrduJDiPFNMOjUkATx0zl192ZxMq3qITe4tUj70pS5IbJl/+v9zk78JwyQLvA1pL7XAPA==", + "requires": { + "@reach/utils": "0.16.0", + "tslib": "^2.3.0" + } + }, + "@reach/listbox": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@reach/listbox/-/listbox-0.16.2.tgz", + "integrity": "sha512-UBotBw7X8e2ajHn6tg1M9ArinisvSvwtu/aP3edEQKCvobd95nAa+dqnfAdihPAQFH2AQ2NFfa/73yawWV3LOQ==", + "requires": { + "@reach/auto-id": "0.16.0", + "@reach/descendants": "0.16.1", + "@reach/machine": "0.16.0", + "@reach/popover": "0.16.2", + "@reach/utils": "0.16.0", + "prop-types": "^15.7.2" + } + }, + "@reach/machine": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/machine/-/machine-0.16.0.tgz", + "integrity": "sha512-c8SRQz2xGtg5M9aXuuM5pFgaV1ZW5/nyMIYpZzBwHUlNFKGO+VBhwedbnqUxO0yLcbgl3wPvjPh740O3YjqiHg==", + "requires": { + "@reach/utils": "0.16.0", + "@xstate/fsm": "1.4.0", + "tslib": "^2.3.0" + } + }, + "@reach/popover": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@reach/popover/-/popover-0.16.2.tgz", + "integrity": "sha512-IwkRrHM7Vt33BEkSXneovymJv7oIToOfTDwRKpuYEB/BWYMAuNfbsRL7KVe6MjkgchDeQzAk24cYY1ztQj5HQQ==", + "requires": { + "@reach/portal": "0.16.2", + "@reach/rect": "0.16.0", + "@reach/utils": "0.16.0", + "tabbable": "^4.0.0", + "tslib": "^2.3.0" + } + }, + "@reach/portal": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@reach/portal/-/portal-0.16.2.tgz", + "integrity": "sha512-9ur/yxNkuVYTIjAcfi46LdKUvH0uYZPfEp4usWcpt6PIp+WDF57F/5deMe/uGi/B/nfDweQu8VVwuMVrCb97JQ==", + "requires": { + "@reach/utils": "0.16.0", + "tiny-warning": "^1.0.3", + "tslib": "^2.3.0" + } + }, + "@reach/rect": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/rect/-/rect-0.16.0.tgz", + "integrity": "sha512-/qO9jQDzpOCdrSxVPR6l674mRHNTqfEjkaxZHluwJ/2qGUtYsA0GSZiF/+wX/yOWeBif1ycxJDa6HusAMJZC5Q==", + "requires": { + "@reach/observe-rect": "1.2.0", + "@reach/utils": "0.16.0", + "prop-types": "^15.7.2", + "tiny-warning": "^1.0.3", + "tslib": "^2.3.0" + } + }, + "@reach/utils": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@reach/utils/-/utils-0.16.0.tgz", + "integrity": "sha512-PCggBet3qaQmwFNcmQ/GqHSefadAFyNCUekq9RrWoaU9hh/S4iaFgf2MBMdM47eQj5i/Bk0Mm07cP/XPFlkN+Q==", + "requires": { + "tiny-warning": "^1.0.3", + "tslib": "^2.3.0" + } + }, + "tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + } } }, "@hashicorp/react-text-split-with-image": { diff --git a/website/package.json b/website/package.json index 92669dd65f0..d9cd2269fe3 100644 --- a/website/package.json +++ b/website/package.json @@ -17,7 +17,7 @@ "@hashicorp/react-button": "^6.0.1", "@hashicorp/react-call-to-action": "^4.0.0", "@hashicorp/react-callouts": "^8.0.1", - "@hashicorp/react-code-block": "^4.1.5", + "@hashicorp/react-code-block": "^5.1.0", "@hashicorp/react-consent-manager": "^7.1.0", "@hashicorp/react-content": "^8.0.2", "@hashicorp/react-docs-page": "^14.14.0",