From 35b54a27142ca9efeedacfd095013dd48c151ce7 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 14 Nov 2021 21:40:02 +0000 Subject: [PATCH] fix: upgrade @primer/components from 28.0.4 to 28.5.0 Snyk has created this PR to upgrade @primer/components from 28.0.4 to 28.5.0. See this package in npm: https://www.npmjs.com/package/@primer/components See this project in Snyk: https://app.snyk.io/org/mhmoni25/project/be14c420-a1a9-4f19-b9b3-4f8de39ffd84?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 189 +++++++++++++++++++--------------------------- package.json | 2 +- 2 files changed, 79 insertions(+), 112 deletions(-) diff --git a/package-lock.json b/package-lock.json index a289a99f41d3..fe71669afdec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "license": "(MIT AND CC-BY-4.0)", "dependencies": { "@hapi/accept": "^5.0.2", - "@primer/components": "^28.0.4", + "@primer/components": "^28.5.0", "@primer/css": "^16.2.0", "@primer/octicons": "^14.1.0", "@primer/octicons-react": "^14.1.0", @@ -3724,38 +3724,46 @@ } }, "node_modules/@primer/components": { - "version": "28.0.4", - "resolved": "https://registry.npmjs.org/@primer/components/-/components-28.0.4.tgz", - "integrity": "sha512-S9qHU2icw0OhQ88mxDQnaF7qUo4N2ZSxeQdne3T6/llI9wRt+f2RUS9+U7wDk3yLq8OQuNK9mnwM/19SynvhGA==", + "version": "28.5.0", + "resolved": "https://registry.npmjs.org/@primer/components/-/components-28.5.0.tgz", + "integrity": "sha512-9LcBgzMdOtJZVDYKd2KA9pJ92VV6O3tBpPp8WvRLEpEMJbiYLFpjSIeFacWa6XnnqWK4BygzWphliZc2HkunUg==", "dependencies": { - "@primer/octicons-react": "^11.3.0", - "@primer/primitives": "0.0.0-202121782215", + "@primer/octicons-react": "^13.0.0", + "@primer/primitives": "4.6.4", "@styled-system/css": "5.1.5", - "@styled-system/props": "5.1.4", + "@styled-system/props": "5.1.5", "@styled-system/theme-get": "5.1.2", "@types/history": "4.7.8", - "@types/styled-components": "5.1.7", - "@types/styled-system": "5.1.10", - "@types/styled-system__css": "5.0.14", + "@types/styled-components": "5.1.11", + "@types/styled-system": "5.1.12", + "@types/styled-system__css": "5.0.15", "@types/styled-system__theme-get": "5.0.1", "classnames": "2.3.1", "deepmerge": "4.2.2", "focus-visible": "5.2.0", - "styled-system": "5.1.2" + "styled-system": "5.1.5" + }, + "peerDependencies": { + "react": "^17.0.0", + "react-dom": "^17.0.0", + "styled-components": "4.x || 5.x" } }, "node_modules/@primer/components/node_modules/@primer/octicons-react": { - "version": "11.3.0", - "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-11.3.0.tgz", - "integrity": "sha512-4sVhkrBKuj3h+PFw69yOyO/l3nQB/mm95V+Kz7LRSlIrbZr6hZarZD5Ft4ewdONPROkIHQM/6KSK90+OAimxsQ==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-13.0.0.tgz", + "integrity": "sha512-j5XppNRCvgaMZLPsVvvmp6GSh7P5pq6PUbsfLNBWi2Kz3KYDeoGDWbPr5MjoxFOGUn6Hjnt6qjHPRxahd11vLQ==", "engines": { "node": ">=8" + }, + "peerDependencies": { + "react": ">=15" } }, "node_modules/@primer/components/node_modules/@primer/primitives": { - "version": "0.0.0-202121782215", - "resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-0.0.0-202121782215.tgz", - "integrity": "sha512-W3tdfiQ/6wSVkbwmv0RmIiZmzqcgQJKCwTjEUp1qMreQqe+smrtYq6u9pbWGlMgxX8aX79duNwwfiQ44eGO4NA==" + "version": "4.6.4", + "resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-4.6.4.tgz", + "integrity": "sha512-KKlP7m+94pbuFl3BYycQrmtNhX5+0gK3ftAh5L4a73Ov4FHbgMyVto3Cr0C5tlpvg0760Nisu+e/4T+/uvx8tA==" }, "node_modules/@primer/css": { "version": "16.2.0", @@ -3912,31 +3920,11 @@ } }, "node_modules/@styled-system/props": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/@styled-system/props/-/props-5.1.4.tgz", - "integrity": "sha512-ysQJ6YFhWbnbMaG11RSqXPbOePUl6vEPkcSz1WiySSu4vvh7OQl5UPdkSnYS1E35kSkomSpO5drbFtWRrA+o7Q==", - "dependencies": { - "styled-system": "^5.1.4" - } - }, - "node_modules/@styled-system/props/node_modules/styled-system": { "version": "5.1.5", - "resolved": "https://registry.npmjs.org/styled-system/-/styled-system-5.1.5.tgz", - "integrity": "sha512-7VoD0o2R3RKzOzPK0jYrVnS8iJdfkKsQJNiLRDjikOpQVqQHns/DXWaPZOH4tIKkhAT7I6wIsy9FWTWh2X3q+A==", + "resolved": "https://registry.npmjs.org/@styled-system/props/-/props-5.1.5.tgz", + "integrity": "sha512-FXhbzq2KueZpGaHxaDm8dowIEWqIMcgsKs6tBl6Y6S0njG9vC8dBMI6WSLDnzMoSqIX3nSKHmOmpzpoihdDewg==", "dependencies": { - "@styled-system/background": "^5.1.2", - "@styled-system/border": "^5.1.5", - "@styled-system/color": "^5.1.2", - "@styled-system/core": "^5.1.2", - "@styled-system/flexbox": "^5.1.2", - "@styled-system/grid": "^5.1.2", - "@styled-system/layout": "^5.1.2", - "@styled-system/position": "^5.1.2", - "@styled-system/shadow": "^5.1.2", - "@styled-system/space": "^5.1.2", - "@styled-system/typography": "^5.1.2", - "@styled-system/variant": "^5.1.5", - "object-assign": "^4.1.1" + "styled-system": "^5.1.5" } }, "node_modules/@styled-system/shadow": { @@ -4279,9 +4267,9 @@ "devOptional": true }, "node_modules/@types/styled-components": { - "version": "5.1.7", - "resolved": "https://registry.npmjs.org/@types/styled-components/-/styled-components-5.1.7.tgz", - "integrity": "sha512-BJzPhFygYspyefAGFZTZ/8lCEY4Tk+Iqktvnko3xmJf9LrLqs3+grxPeU3O0zLl6yjbYBopD0/VikbHgXDbJtA==", + "version": "5.1.11", + "resolved": "https://registry.npmjs.org/@types/styled-components/-/styled-components-5.1.11.tgz", + "integrity": "sha512-u8g3bSw9KUiZY+S++gh+LlURGraqBe3MC5I5dygrNjGDHWWQfsmZZRTJ9K9oHU2CqWtxChWmJkDI/gp+TZPQMw==", "dependencies": { "@types/hoist-non-react-statics": "*", "@types/react": "*", @@ -4289,17 +4277,17 @@ } }, "node_modules/@types/styled-system": { - "version": "5.1.10", - "resolved": "https://registry.npmjs.org/@types/styled-system/-/styled-system-5.1.10.tgz", - "integrity": "sha512-OmVjC9OzyUckAgdavJBc+t5oCJrNXTlzWl9vo2x47leqpX1REq2qJC49SEtzbu1OnWSzcD68Uq3Aj8TeX+Kvtg==", + "version": "5.1.12", + "resolved": "https://registry.npmjs.org/@types/styled-system/-/styled-system-5.1.12.tgz", + "integrity": "sha512-7x4BYKKfK9QewfsFC2x5r9BK/OrfX+JF/1P21jKPMHruawDw9gvG7bTZgTVk6YkzDO2JUlsk4i8hdiAepAhD0g==", "dependencies": { "csstype": "^3.0.2" } }, "node_modules/@types/styled-system__css": { - "version": "5.0.14", - "resolved": "https://registry.npmjs.org/@types/styled-system__css/-/styled-system__css-5.0.14.tgz", - "integrity": "sha512-dvhSQ5upz6TqiQmWLNF0sqdoL5nTomza58vtTSklpE9lDS+5w/ew8PQ+HPSRaXMGrmPGUiL7F0vwryVdxHWfpA==", + "version": "5.0.15", + "resolved": "https://registry.npmjs.org/@types/styled-system__css/-/styled-system__css-5.0.15.tgz", + "integrity": "sha512-bbFlY2ATFEaWEMOllEqMktSzq4yGPAiZSrjGUQ124LSStm9QPhKErOuTxXfJi8VuymaQ+g1uC8AbC2o3BpgQyA==", "dependencies": { "csstype": "^3.0.2" } @@ -21735,12 +21723,12 @@ } }, "node_modules/styled-system": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/styled-system/-/styled-system-5.1.2.tgz", - "integrity": "sha512-gbiohoqYYtvg9Q6nA3EagQSouHI9ylmcKUHHaUvCQrPpnPeJlUJAvj9vfyDgsJjw/oBogggfojF1X9EShfPffg==", + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/styled-system/-/styled-system-5.1.5.tgz", + "integrity": "sha512-7VoD0o2R3RKzOzPK0jYrVnS8iJdfkKsQJNiLRDjikOpQVqQHns/DXWaPZOH4tIKkhAT7I6wIsy9FWTWh2X3q+A==", "dependencies": { "@styled-system/background": "^5.1.2", - "@styled-system/border": "^5.1.2", + "@styled-system/border": "^5.1.5", "@styled-system/color": "^5.1.2", "@styled-system/core": "^5.1.2", "@styled-system/flexbox": "^5.1.2", @@ -21750,7 +21738,7 @@ "@styled-system/shadow": "^5.1.2", "@styled-system/space": "^5.1.2", "@styled-system/typography": "^5.1.2", - "@styled-system/variant": "^5.1.2", + "@styled-system/variant": "^5.1.5", "object-assign": "^4.1.1" } }, @@ -27233,35 +27221,36 @@ } }, "@primer/components": { - "version": "28.0.4", - "resolved": "https://registry.npmjs.org/@primer/components/-/components-28.0.4.tgz", - "integrity": "sha512-S9qHU2icw0OhQ88mxDQnaF7qUo4N2ZSxeQdne3T6/llI9wRt+f2RUS9+U7wDk3yLq8OQuNK9mnwM/19SynvhGA==", + "version": "28.5.0", + "resolved": "https://registry.npmjs.org/@primer/components/-/components-28.5.0.tgz", + "integrity": "sha512-9LcBgzMdOtJZVDYKd2KA9pJ92VV6O3tBpPp8WvRLEpEMJbiYLFpjSIeFacWa6XnnqWK4BygzWphliZc2HkunUg==", "requires": { - "@primer/octicons-react": "^11.3.0", - "@primer/primitives": "0.0.0-202121782215", + "@primer/octicons-react": "^13.0.0", + "@primer/primitives": "4.6.4", "@styled-system/css": "5.1.5", - "@styled-system/props": "5.1.4", + "@styled-system/props": "5.1.5", "@styled-system/theme-get": "5.1.2", "@types/history": "4.7.8", - "@types/styled-components": "5.1.7", - "@types/styled-system": "5.1.10", - "@types/styled-system__css": "5.0.14", + "@types/styled-components": "5.1.11", + "@types/styled-system": "5.1.12", + "@types/styled-system__css": "5.0.15", "@types/styled-system__theme-get": "5.0.1", "classnames": "2.3.1", "deepmerge": "4.2.2", "focus-visible": "5.2.0", - "styled-system": "5.1.2" + "styled-system": "5.1.5" }, "dependencies": { "@primer/octicons-react": { - "version": "11.3.0", - "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-11.3.0.tgz", - "integrity": "sha512-4sVhkrBKuj3h+PFw69yOyO/l3nQB/mm95V+Kz7LRSlIrbZr6hZarZD5Ft4ewdONPROkIHQM/6KSK90+OAimxsQ==" + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-13.0.0.tgz", + "integrity": "sha512-j5XppNRCvgaMZLPsVvvmp6GSh7P5pq6PUbsfLNBWi2Kz3KYDeoGDWbPr5MjoxFOGUn6Hjnt6qjHPRxahd11vLQ==", + "requires": {} }, "@primer/primitives": { - "version": "0.0.0-202121782215", - "resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-0.0.0-202121782215.tgz", - "integrity": "sha512-W3tdfiQ/6wSVkbwmv0RmIiZmzqcgQJKCwTjEUp1qMreQqe+smrtYq6u9pbWGlMgxX8aX79duNwwfiQ44eGO4NA==" + "version": "4.6.4", + "resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-4.6.4.tgz", + "integrity": "sha512-KKlP7m+94pbuFl3BYycQrmtNhX5+0gK3ftAh5L4a73Ov4FHbgMyVto3Cr0C5tlpvg0760Nisu+e/4T+/uvx8tA==" } } }, @@ -27416,33 +27405,11 @@ } }, "@styled-system/props": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/@styled-system/props/-/props-5.1.4.tgz", - "integrity": "sha512-ysQJ6YFhWbnbMaG11RSqXPbOePUl6vEPkcSz1WiySSu4vvh7OQl5UPdkSnYS1E35kSkomSpO5drbFtWRrA+o7Q==", - "requires": { - "styled-system": "^5.1.4" - }, - "dependencies": { - "styled-system": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/styled-system/-/styled-system-5.1.5.tgz", - "integrity": "sha512-7VoD0o2R3RKzOzPK0jYrVnS8iJdfkKsQJNiLRDjikOpQVqQHns/DXWaPZOH4tIKkhAT7I6wIsy9FWTWh2X3q+A==", - "requires": { - "@styled-system/background": "^5.1.2", - "@styled-system/border": "^5.1.5", - "@styled-system/color": "^5.1.2", - "@styled-system/core": "^5.1.2", - "@styled-system/flexbox": "^5.1.2", - "@styled-system/grid": "^5.1.2", - "@styled-system/layout": "^5.1.2", - "@styled-system/position": "^5.1.2", - "@styled-system/shadow": "^5.1.2", - "@styled-system/space": "^5.1.2", - "@styled-system/typography": "^5.1.2", - "@styled-system/variant": "^5.1.5", - "object-assign": "^4.1.1" - } - } + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/@styled-system/props/-/props-5.1.5.tgz", + "integrity": "sha512-FXhbzq2KueZpGaHxaDm8dowIEWqIMcgsKs6tBl6Y6S0njG9vC8dBMI6WSLDnzMoSqIX3nSKHmOmpzpoihdDewg==", + "requires": { + "styled-system": "^5.1.5" } }, "@styled-system/shadow": { @@ -27779,9 +27746,9 @@ "devOptional": true }, "@types/styled-components": { - "version": "5.1.7", - "resolved": "https://registry.npmjs.org/@types/styled-components/-/styled-components-5.1.7.tgz", - "integrity": "sha512-BJzPhFygYspyefAGFZTZ/8lCEY4Tk+Iqktvnko3xmJf9LrLqs3+grxPeU3O0zLl6yjbYBopD0/VikbHgXDbJtA==", + "version": "5.1.11", + "resolved": "https://registry.npmjs.org/@types/styled-components/-/styled-components-5.1.11.tgz", + "integrity": "sha512-u8g3bSw9KUiZY+S++gh+LlURGraqBe3MC5I5dygrNjGDHWWQfsmZZRTJ9K9oHU2CqWtxChWmJkDI/gp+TZPQMw==", "requires": { "@types/hoist-non-react-statics": "*", "@types/react": "*", @@ -27789,17 +27756,17 @@ } }, "@types/styled-system": { - "version": "5.1.10", - "resolved": "https://registry.npmjs.org/@types/styled-system/-/styled-system-5.1.10.tgz", - "integrity": "sha512-OmVjC9OzyUckAgdavJBc+t5oCJrNXTlzWl9vo2x47leqpX1REq2qJC49SEtzbu1OnWSzcD68Uq3Aj8TeX+Kvtg==", + "version": "5.1.12", + "resolved": "https://registry.npmjs.org/@types/styled-system/-/styled-system-5.1.12.tgz", + "integrity": "sha512-7x4BYKKfK9QewfsFC2x5r9BK/OrfX+JF/1P21jKPMHruawDw9gvG7bTZgTVk6YkzDO2JUlsk4i8hdiAepAhD0g==", "requires": { "csstype": "^3.0.2" } }, "@types/styled-system__css": { - "version": "5.0.14", - "resolved": "https://registry.npmjs.org/@types/styled-system__css/-/styled-system__css-5.0.14.tgz", - "integrity": "sha512-dvhSQ5upz6TqiQmWLNF0sqdoL5nTomza58vtTSklpE9lDS+5w/ew8PQ+HPSRaXMGrmPGUiL7F0vwryVdxHWfpA==", + "version": "5.0.15", + "resolved": "https://registry.npmjs.org/@types/styled-system__css/-/styled-system__css-5.0.15.tgz", + "integrity": "sha512-bbFlY2ATFEaWEMOllEqMktSzq4yGPAiZSrjGUQ124LSStm9QPhKErOuTxXfJi8VuymaQ+g1uC8AbC2o3BpgQyA==", "requires": { "csstype": "^3.0.2" } @@ -42508,12 +42475,12 @@ } }, "styled-system": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/styled-system/-/styled-system-5.1.2.tgz", - "integrity": "sha512-gbiohoqYYtvg9Q6nA3EagQSouHI9ylmcKUHHaUvCQrPpnPeJlUJAvj9vfyDgsJjw/oBogggfojF1X9EShfPffg==", + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/styled-system/-/styled-system-5.1.5.tgz", + "integrity": "sha512-7VoD0o2R3RKzOzPK0jYrVnS8iJdfkKsQJNiLRDjikOpQVqQHns/DXWaPZOH4tIKkhAT7I6wIsy9FWTWh2X3q+A==", "requires": { "@styled-system/background": "^5.1.2", - "@styled-system/border": "^5.1.2", + "@styled-system/border": "^5.1.5", "@styled-system/color": "^5.1.2", "@styled-system/core": "^5.1.2", "@styled-system/flexbox": "^5.1.2", @@ -42523,7 +42490,7 @@ "@styled-system/shadow": "^5.1.2", "@styled-system/space": "^5.1.2", "@styled-system/typography": "^5.1.2", - "@styled-system/variant": "^5.1.2", + "@styled-system/variant": "^5.1.5", "object-assign": "^4.1.1" } }, diff --git a/package.json b/package.json index 36f33fc496a7..1b3f2ea3b8c3 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ ], "dependencies": { "@hapi/accept": "^5.0.2", - "@primer/components": "^28.0.4", + "@primer/components": "^28.5.0", "@primer/css": "^16.2.0", "@primer/octicons": "^14.1.0", "@primer/octicons-react": "^14.1.0",