Skip to content

Commit 888935d

Browse files
cursoragentzetter-rpf
authored andcommitted
Handle Plotly Sass @import deprecations
Warning fixed: - "Sass @import rules are deprecated" emitted from plotly.js/src/css/style.scss imports during yarn build. Use the built plotly styles Newer versions of plotly have the built styles that we can use.
1 parent d9addf0 commit 888935d

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"node-html-parser": "^6.1.5",
5353
"oidc-client": "^1.11.5",
5454
"parse-link-header": "^2.0.0",
55-
"plotly.js": "^3.0.2",
55+
"plotly.js": "^3.3.1",
5656
"prismjs": "^1.29.0",
5757
"prompts": "2.4.0",
5858
"prop-types": "^15.8.1",

src/assets/stylesheets/ExternalStyles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
@use "../../../node_modules/prismjs/plugins/line-highlight/prism-line-highlight.css";
66
@use "../../../node_modules/react-toastify/dist/ReactToastify.css";
77
@use "../../../node_modules/material-symbols/sharp.css";
8-
@use "../../../node_modules/plotly.js/src/css/style.scss" as plotlyStyle;
8+
@use "../../../node_modules/plotly.js/dist/plotly.css" as plotlyStyle;

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3956,7 +3956,7 @@ __metadata:
39563956
optimize-css-assets-webpack-plugin: "npm:5.0.4"
39573957
parse-link-header: "npm:^2.0.0"
39583958
path-browserify: "npm:^1.0.1"
3959-
plotly.js: "npm:^3.0.2"
3959+
plotly.js: "npm:^3.3.1"
39603960
pnp-webpack-plugin: "npm:1.6.4"
39613961
postcss-flexbugs-fixes: "npm:4.2.1"
39623962
postcss-loader: "npm:3.0.0"
@@ -18705,9 +18705,9 @@ __metadata:
1870518705
languageName: node
1870618706
linkType: hard
1870718707

18708-
"plotly.js@npm:^3.0.2":
18709-
version: 3.0.2
18710-
resolution: "plotly.js@npm:3.0.2"
18708+
"plotly.js@npm:^3.3.1":
18709+
version: 3.3.1
18710+
resolution: "plotly.js@npm:3.3.1"
1871118711
dependencies:
1871218712
"@plotly/d3": "npm:3.8.2"
1871318713
"@plotly/d3-sankey": "npm:0.7.2"
@@ -18759,7 +18759,7 @@ __metadata:
1875918759
topojson-client: "npm:^3.1.0"
1876018760
webgl-context: "npm:^2.2.0"
1876118761
world-calendars: "npm:^1.0.4"
18762-
checksum: 10/60a1eb628e6d8729da875e6125b0f247ad1903fec85e10046e50cd72ba83ad732a786a4681784ee9a3dae85cb747979555cef2da4a4929b943cd5c99c2fdcb94
18762+
checksum: 10/0863e4eb1539402f4add29e9d0139881d2be64585c76c61ed35f15e002bc9f5e4e97a878f7ce019cf4991fa38da728afb19993bebb78a5b74f4ec1ba194d86a6
1876318763
languageName: node
1876418764
linkType: hard
1876518765

0 commit comments

Comments
 (0)