diff --git a/package-lock.json b/package-lock.json index ed05bc9df95c..12408165f1dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@primer/css": "^20.2.4", "@primer/octicons": "17.7.0", "@primer/octicons-react": "17.7.0", - "@primer/react": "^35.2.2", + "@primer/react": "^35.25.1", "accept-language-parser": "^1.5.0", "ajv": "^8.11.0", "ajv-formats": "^2.1.1", @@ -2085,6 +2085,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@github/combobox-nav": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/@github/combobox-nav/-/combobox-nav-2.1.7.tgz", + "integrity": "sha512-Webx0W5iTpkk5Chy9dB/1BEUORQ0qrwui8HaaVBiy75W2VOJg96WTuKj1rXENAJ3XTMhdEF53bn0LYfvP0EKvg==" + }, "node_modules/@github/failbot": { "version": "0.8.0", "license": "MIT", @@ -2093,6 +2098,21 @@ "npm": ">= 7.x" } }, + "node_modules/@github/markdown-toolbar-element": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@github/markdown-toolbar-element/-/markdown-toolbar-element-2.1.1.tgz", + "integrity": "sha512-J++rpd5H9baztabJQB82h26jtueOeBRSTqetk9Cri+Lj/s28ndu6Tovn0uHQaOKtBWDobFunk9b5pP5vcqt7cA==" + }, + "node_modules/@github/paste-markdown": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@github/paste-markdown/-/paste-markdown-1.4.2.tgz", + "integrity": "sha512-ZwSgPyo9nA6TRngXV0QnFT4e5ujeOGxRDWN2aa6qfimz2o2VOsJ9bFGuGvB723nvzq5z9zKr6JWGtvK7MSJj3w==" + }, + "node_modules/@github/relative-time-element": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@github/relative-time-element/-/relative-time-element-4.3.0.tgz", + "integrity": "sha512-+tFjX9//HRS1HnBa5cNgfEtE52arwiutYg1TOF+Trk40SPxst9Q8Rtc3BKD6aKsvfbtub68vfhipgchGjj9o7g==" + }, "node_modules/@graphql-inspector/core": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/@graphql-inspector/core/-/core-3.1.2.tgz", @@ -3468,6 +3488,11 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "node_modules/@lit-labs/react": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@lit-labs/react/-/react-1.1.1.tgz", + "integrity": "sha512-9TC+/ZWb6BJlWCyUr14FKFlaGnyKpeEDorufXozQgke/VoVrslUQNaL7nBmrAWdNrmzx5jWgi8lFmWwrxMjnlA==" + }, "node_modules/@next/env": { "version": "12.2.4", "resolved": "https://registry.npmjs.org/@next/env/-/env-12.2.4.tgz", @@ -4051,9 +4076,9 @@ } }, "node_modules/@primer/behaviors": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@primer/behaviors/-/behaviors-1.1.3.tgz", - "integrity": "sha512-WpCcjAkXG7Lv3ZbaCUgASWKHnCi/pmuSEiyTmHHb6f5xhwk1mliixNL5ZZHtDN6RCcT3VnXUsyek4GopG2lbZQ==" + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@primer/behaviors/-/behaviors-1.3.3.tgz", + "integrity": "sha512-iHMRuu8YWDJIdqCi1krx0cyFNeqszNKTOb0dXFu2wQ5BeIqxqPJLD7rjZ2Vjf/+YaPSbWuIQE1H6TaGMMsDfdA==" }, "node_modules/@primer/css": { "version": "20.2.4", @@ -4088,19 +4113,26 @@ } }, "node_modules/@primer/primitives": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-7.8.4.tgz", - "integrity": "sha512-cXmnhKBvrwbP3FYR9oxNYx3s8y2svsQLbDNZuoGcsZJLQ6RD3HfQ9ZtXgbyTbTYTyfPvkyd0pkQLI7tRJSc5kg==" + "version": "7.11.5", + "resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-7.11.5.tgz", + "integrity": "sha512-UmFQA0BZ5BIQKrlKg1TOEjDzeeI2NWyeh/5cCvXVOjfLegCXIlHf/xCLl1KCYO4YeegHmC9g5tpPLTlWjtcbaA==", + "dependencies": { + "markdown-table-ts": "^1.0.3" + } }, "node_modules/@primer/react": { - "version": "35.4.0", - "resolved": "https://registry.npmjs.org/@primer/react/-/react-35.4.0.tgz", - "integrity": "sha512-gXk7GauEIdgdqtX+uoY8PUo85PkPtvqBk2iwS03Dw1now490MDRhnjILlDbONozbB9Yt47LZBRogLraE4Ive8Q==", - "dependencies": { - "@primer/behaviors": "^1.1.1", - "@primer/octicons-react": "^17.3.0", - "@primer/primitives": "^7.6.0", - "@radix-ui/react-polymorphic": "^0.0.14", + "version": "35.25.1", + "resolved": "https://registry.npmjs.org/@primer/react/-/react-35.25.1.tgz", + "integrity": "sha512-yb7AJ7ksHtUS6s85zAT5LQZ8ya3N9bHnUOXC2NPNFXc6z1JTKckoqMhixcxzQ+7dlb4xB5MrjzVdKdq7vizcLw==", + "dependencies": { + "@github/combobox-nav": "^2.1.5", + "@github/markdown-toolbar-element": "^2.1.0", + "@github/paste-markdown": "^1.4.0", + "@github/relative-time-element": "^4.1.2", + "@lit-labs/react": "1.1.1", + "@primer/behaviors": "1.3.3", + "@primer/octicons-react": "^18.0.0", + "@primer/primitives": "7.11.5", "@react-aria/ssr": "^3.1.0", "@styled-system/css": "^5.1.5", "@styled-system/props": "^5.1.5", @@ -4110,10 +4142,12 @@ "@types/styled-system__css": "^5.0.16", "@types/styled-system__theme-get": "^5.0.1", "classnames": "^2.3.1", - "color2k": "^1.2.4", + "color2k": "^2.0.0", "deepmerge": "^4.2.2", "focus-visible": "^5.2.0", + "fzy.js": "0.4.1", "history": "^5.0.0", + "react-intersection-observer": "9.4.3", "styled-system": "^5.1.5" }, "engines": { @@ -4121,16 +4155,20 @@ "npm": ">=7" }, "peerDependencies": { - "react": "^17.0.0", - "react-dom": "^17.0.0", + "react": "^17.0.0 || ^18.0.0", + "react-dom": "^17.0.0 || ^18.0.0", "styled-components": "4.x || 5.x" } }, - "node_modules/@radix-ui/react-polymorphic": { - "version": "0.0.14", - "license": "MIT", + "node_modules/@primer/react/node_modules/@primer/octicons-react": { + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-18.3.0.tgz", + "integrity": "sha512-kOoc4wrBw3bPe2ZPj9BmCwXdEkw8hxUX/tFCvcjOsZ6eywaQXm3PR0yZnPZxZ8o4RFj2tdg/cwGr4+cU83weHw==", + "engines": { + "node": ">=8" + }, "peerDependencies": { - "react": "^16.8 || ^17.0" + "react": ">=15" } }, "node_modules/@react-aria/ssr": { @@ -7157,8 +7195,9 @@ "license": "MIT" }, "node_modules/color2k": { - "version": "1.2.4", - "license": "MIT" + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/color2k/-/color2k-2.0.2.tgz", + "integrity": "sha512-kJhwH5nAwb34tmyuqq/lgjEKzlFXn1U99NlnB6Ws4qVaERcRUYeYP1cBw6BJ4vxaWStAUEef4WMr7WjOCnBt8w==" }, "node_modules/colorette": { "version": "2.0.19", @@ -9589,6 +9628,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/fzy.js": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/fzy.js/-/fzy.js-0.4.1.tgz", + "integrity": "sha512-4sPVXf+9oGhzg2tYzgWe4hgAY0wEbkqeuKVEgdnqX8S8VcLosQsDjb0jV+f5uoQlf8INWId1w0IGoufAoik1TA==" + }, "node_modules/gaxios": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-5.0.0.tgz", @@ -14356,6 +14400,11 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/markdown-table-ts": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/markdown-table-ts/-/markdown-table-ts-1.0.3.tgz", + "integrity": "sha512-lYrp7FXmBqpmGmsEF92WnSukdgYvLm15FPIODZOx9+3nobkxJxjBYcszqZf5VqTjBtISPSNC7zjU9o3zwpL6AQ==" + }, "node_modules/marked": { "version": "4.0.12", "dev": true, @@ -16744,6 +16793,14 @@ "react": "17.0.2" } }, + "node_modules/react-intersection-observer": { + "version": "9.4.3", + "resolved": "https://registry.npmjs.org/react-intersection-observer/-/react-intersection-observer-9.4.3.tgz", + "integrity": "sha512-WNRqMQvKpupr6MzecAQI0Pj0+JQong307knLP4g/nBex7kYfIaZsPpXaIhKHR+oV8z+goUbH9e10j6lGRnTzlQ==", + "peerDependencies": { + "react": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0" + } + }, "node_modules/react-is": { "version": "17.0.2", "license": "MIT" @@ -21629,9 +21686,29 @@ } } }, + "@github/combobox-nav": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/@github/combobox-nav/-/combobox-nav-2.1.7.tgz", + "integrity": "sha512-Webx0W5iTpkk5Chy9dB/1BEUORQ0qrwui8HaaVBiy75W2VOJg96WTuKj1rXENAJ3XTMhdEF53bn0LYfvP0EKvg==" + }, "@github/failbot": { "version": "0.8.0" }, + "@github/markdown-toolbar-element": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@github/markdown-toolbar-element/-/markdown-toolbar-element-2.1.1.tgz", + "integrity": "sha512-J++rpd5H9baztabJQB82h26jtueOeBRSTqetk9Cri+Lj/s28ndu6Tovn0uHQaOKtBWDobFunk9b5pP5vcqt7cA==" + }, + "@github/paste-markdown": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@github/paste-markdown/-/paste-markdown-1.4.2.tgz", + "integrity": "sha512-ZwSgPyo9nA6TRngXV0QnFT4e5ujeOGxRDWN2aa6qfimz2o2VOsJ9bFGuGvB723nvzq5z9zKr6JWGtvK7MSJj3w==" + }, + "@github/relative-time-element": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@github/relative-time-element/-/relative-time-element-4.3.0.tgz", + "integrity": "sha512-+tFjX9//HRS1HnBa5cNgfEtE52arwiutYg1TOF+Trk40SPxst9Q8Rtc3BKD6aKsvfbtub68vfhipgchGjj9o7g==" + }, "@graphql-inspector/core": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/@graphql-inspector/core/-/core-3.1.2.tgz", @@ -22728,6 +22805,11 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "@lit-labs/react": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@lit-labs/react/-/react-1.1.1.tgz", + "integrity": "sha512-9TC+/ZWb6BJlWCyUr14FKFlaGnyKpeEDorufXozQgke/VoVrslUQNaL7nBmrAWdNrmzx5jWgi8lFmWwrxMjnlA==" + }, "@next/env": { "version": "12.2.4", "resolved": "https://registry.npmjs.org/@next/env/-/env-12.2.4.tgz", @@ -23127,9 +23209,9 @@ } }, "@primer/behaviors": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@primer/behaviors/-/behaviors-1.1.3.tgz", - "integrity": "sha512-WpCcjAkXG7Lv3ZbaCUgASWKHnCi/pmuSEiyTmHHb6f5xhwk1mliixNL5ZZHtDN6RCcT3VnXUsyek4GopG2lbZQ==" + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@primer/behaviors/-/behaviors-1.3.3.tgz", + "integrity": "sha512-iHMRuu8YWDJIdqCi1krx0cyFNeqszNKTOb0dXFu2wQ5BeIqxqPJLD7rjZ2Vjf/+YaPSbWuIQE1H6TaGMMsDfdA==" }, "@primer/css": { "version": "20.2.4", @@ -23154,19 +23236,26 @@ "requires": {} }, "@primer/primitives": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-7.8.4.tgz", - "integrity": "sha512-cXmnhKBvrwbP3FYR9oxNYx3s8y2svsQLbDNZuoGcsZJLQ6RD3HfQ9ZtXgbyTbTYTyfPvkyd0pkQLI7tRJSc5kg==" + "version": "7.11.5", + "resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-7.11.5.tgz", + "integrity": "sha512-UmFQA0BZ5BIQKrlKg1TOEjDzeeI2NWyeh/5cCvXVOjfLegCXIlHf/xCLl1KCYO4YeegHmC9g5tpPLTlWjtcbaA==", + "requires": { + "markdown-table-ts": "^1.0.3" + } }, "@primer/react": { - "version": "35.4.0", - "resolved": "https://registry.npmjs.org/@primer/react/-/react-35.4.0.tgz", - "integrity": "sha512-gXk7GauEIdgdqtX+uoY8PUo85PkPtvqBk2iwS03Dw1now490MDRhnjILlDbONozbB9Yt47LZBRogLraE4Ive8Q==", - "requires": { - "@primer/behaviors": "^1.1.1", - "@primer/octicons-react": "^17.3.0", - "@primer/primitives": "^7.6.0", - "@radix-ui/react-polymorphic": "^0.0.14", + "version": "35.25.1", + "resolved": "https://registry.npmjs.org/@primer/react/-/react-35.25.1.tgz", + "integrity": "sha512-yb7AJ7ksHtUS6s85zAT5LQZ8ya3N9bHnUOXC2NPNFXc6z1JTKckoqMhixcxzQ+7dlb4xB5MrjzVdKdq7vizcLw==", + "requires": { + "@github/combobox-nav": "^2.1.5", + "@github/markdown-toolbar-element": "^2.1.0", + "@github/paste-markdown": "^1.4.0", + "@github/relative-time-element": "^4.1.2", + "@lit-labs/react": "1.1.1", + "@primer/behaviors": "1.3.3", + "@primer/octicons-react": "^18.0.0", + "@primer/primitives": "7.11.5", "@react-aria/ssr": "^3.1.0", "@styled-system/css": "^5.1.5", "@styled-system/props": "^5.1.5", @@ -23176,17 +23265,23 @@ "@types/styled-system__css": "^5.0.16", "@types/styled-system__theme-get": "^5.0.1", "classnames": "^2.3.1", - "color2k": "^1.2.4", + "color2k": "^2.0.0", "deepmerge": "^4.2.2", "focus-visible": "^5.2.0", + "fzy.js": "0.4.1", "history": "^5.0.0", + "react-intersection-observer": "9.4.3", "styled-system": "^5.1.5" + }, + "dependencies": { + "@primer/octicons-react": { + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-18.3.0.tgz", + "integrity": "sha512-kOoc4wrBw3bPe2ZPj9BmCwXdEkw8hxUX/tFCvcjOsZ6eywaQXm3PR0yZnPZxZ8o4RFj2tdg/cwGr4+cU83weHw==", + "requires": {} + } } }, - "@radix-ui/react-polymorphic": { - "version": "0.0.14", - "requires": {} - }, "@react-aria/ssr": { "version": "3.1.0", "requires": { @@ -25479,7 +25574,9 @@ "devOptional": true }, "color2k": { - "version": "1.2.4" + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/color2k/-/color2k-2.0.2.tgz", + "integrity": "sha512-kJhwH5nAwb34tmyuqq/lgjEKzlFXn1U99NlnB6Ws4qVaERcRUYeYP1cBw6BJ4vxaWStAUEef4WMr7WjOCnBt8w==" }, "colorette": { "version": "2.0.19", @@ -27126,6 +27223,11 @@ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", "dev": true }, + "fzy.js": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/fzy.js/-/fzy.js-0.4.1.tgz", + "integrity": "sha512-4sPVXf+9oGhzg2tYzgWe4hgAY0wEbkqeuKVEgdnqX8S8VcLosQsDjb0jV+f5uoQlf8INWId1w0IGoufAoik1TA==" + }, "gaxios": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-5.0.0.tgz", @@ -30532,6 +30634,11 @@ "markdown-table": { "version": "3.0.1" }, + "markdown-table-ts": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/markdown-table-ts/-/markdown-table-ts-1.0.3.tgz", + "integrity": "sha512-lYrp7FXmBqpmGmsEF92WnSukdgYvLm15FPIODZOx9+3nobkxJxjBYcszqZf5VqTjBtISPSNC7zjU9o3zwpL6AQ==" + }, "marked": { "version": "4.0.12", "dev": true @@ -32015,6 +32122,12 @@ "scheduler": "^0.20.2" } }, + "react-intersection-observer": { + "version": "9.4.3", + "resolved": "https://registry.npmjs.org/react-intersection-observer/-/react-intersection-observer-9.4.3.tgz", + "integrity": "sha512-WNRqMQvKpupr6MzecAQI0Pj0+JQong307knLP4g/nBex7kYfIaZsPpXaIhKHR+oV8z+goUbH9e10j6lGRnTzlQ==", + "requires": {} + }, "react-is": { "version": "17.0.2" }, diff --git a/package.json b/package.json index d2453d83f71f..897df8be60bb 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "@primer/css": "^20.2.4", "@primer/octicons": "17.7.0", "@primer/octicons-react": "17.7.0", - "@primer/react": "^35.2.2", + "@primer/react": "^35.25.1", "accept-language-parser": "^1.5.0", "ajv": "^8.11.0", "ajv-formats": "^2.1.1",