Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: plotly/react-plotly.js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: plotly/react-plotly.js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: switch-to-plotly.js-dist_dep
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Sep 7, 2021

  1. Copy the full SHA
    40dfac1 View commit details
  2. Copy the full SHA
    4ecac06 View commit details
Showing with 2 additions and 3 deletions.
  1. +1 −2 package.json
  2. +1 −1 src/react-plotly.js
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -32,6 +32,7 @@
"react"
],
"dependencies": {
"plotly.js-dist": "^2.0.0",
"prop-types": "^15.7.2"
},
"devDependencies": {
@@ -58,7 +59,6 @@
"mkdirp": "^1.0.4",
"nodemon": "^2.0.6",
"onetime": "^5.1.2",
"plotly.js": "^1.35.0",
"prettier": "^2.2.1",
"react": "^16.13.1",
"react-addons-test-utils": "^15.6.0",
@@ -69,7 +69,6 @@
"uglify-js": "^3.12.1"
},
"peerDependencies": {
"plotly.js": ">1.34.0",
"react": ">0.13.0"
},
"browserify-global-shim": {
2 changes: 1 addition & 1 deletion src/react-plotly.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import plotComponentFactory from './factory';
import Plotly from 'plotly.js/dist/plotly';
import Plotly from 'plotly.js-dist';

const PlotComponent = plotComponentFactory(Plotly);