Title: Color dependencies cause initial import to break · Issue #5182 · plotly/plotly.js · GitHub
Open Graph Title: Color dependencies cause initial import to break · Issue #5182 · plotly/plotly.js
X Title: Color dependencies cause initial import to break · Issue #5182 · plotly/plotly.js
Description: The newest versions of your dependencies color-alpha, color-normalize, color-parse, and color-rgba cause me to not even be able to import plotly into my react apps via: import Plotly from “plotly.js”; The error thrown is “Typeerror: rgba...
Open Graph Description: The newest versions of your dependencies color-alpha, color-normalize, color-parse, and color-rgba cause me to not even be able to import plotly into my react apps via: import Plotly from “plotly.j...
X Description: The newest versions of your dependencies color-alpha, color-normalize, color-parse, and color-rgba cause me to not even be able to import plotly into my react apps via: import Plotly from “plotly.j...
Opengraph URL: https://github.com/plotly/plotly.js/issues/5182
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Color dependencies cause initial import to break","articleBody":"The newest versions of your dependencies color-alpha, color-normalize, color-parse, and color-rgba cause me to not even be able to import plotly into my react apps via:\r\n\r\nimport Plotly from “plotly.js”;\r\n\r\nThe error thrown is “Typeerror: rgba is not a function”.\r\n\r\nWhen I roll back to a last known working set of these deps (based on another recent react project) I do not experience this and the plotly library works fine.\r\n\r\nWorking versions:\r\ncolor-alpha 1.0.4\r\ncolor-normalize: 1.5.0\r\ncolor-parse: 1.3.8\r\ncolor-rgba: 2.1.1\r\n\r\nNewest versions of the above cause initial import issue as described above.","author":{"url":"https://github.com/mtgraves","@type":"Person","name":"mtgraves"},"datePublished":"2020-09-30T19:46:00Z","url":"https://github.com/plotly/plotly.js/issues/5182"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e230c089-a9fb-5c7e-b89f-056bd32ec699 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB72:1AE20C:9EB17:CFF25:6B00C5D9 |
| html-safe-nonce | 03542275444205e673991cf5b67851eb8b694ea371ffb36b59eb6245d7533207 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjcyOjFBRTIwQzo5RUIxNzpDRkYyNTo2QjAwQzVEOSIsInZpc2l0b3JfaWQiOiIzMTcwMjU5NDUwNTM1NjU4OTY5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3c25ae95fad923bd1d0d17c901068556b7f5f03394ef988a364c4216629bb691 |
| hovercard-subject-tag | issue:712230917 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/5182/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9cee3deed784ae5d2d622288b19bcfa32521c35ec030474b9c6536705bfbebfc/plotly/plotly.js/issues/5182 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9cee3deed784ae5d2d622288b19bcfa32521c35ec030474b9c6536705bfbebfc/plotly/plotly.js/issues/5182 |
| og:image:alt | The newest versions of your dependencies color-alpha, color-normalize, color-parse, and color-rgba cause me to not even be able to import plotly into my react apps via: import Plotly from “plotly.j... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mtgraves |
| hostname | github.com |
| expected-hostname | github.com |
| None | 98dc00e171c204462a6f367482a0f8c3c6b5dbca99cd7390e82d2df49ce096e4 |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ef013399cf0a3c324bea644a685d7c1e0f06b5b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width