Skip to content

Commit

Permalink
Merge pull request #6181 from plotly/eslint-v8.14
Browse files Browse the repository at this point in the history
Bump `eslint` to v8.14 and remove window `typeof` check in registry
  • Loading branch information
archmoj authored May 9, 2022
2 parents 73e05ce + f9ba248 commit 57dee2e
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 69 deletions.
102 changes: 35 additions & 67 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"deep-equal": "^2.0.5",
"derequire": "^2.1.1",
"ecstatic": "^4.1.4",
"eslint": "^8.10.0",
"eslint": "^8.14.0",
"extra-iterable": "^2.5.22",
"falafel": "^2.2.4",
"fs-extra": "^10.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ function registerTraceModule(_module) {
// add `PlotlyGeoAssets` global to stash references to all fetched
// topojson / geojson data
if((bpmName === 'geo' || bpmName === 'mapbox') &&
(typeof window !== undefined && window.PlotlyGeoAssets === undefined)
(window.PlotlyGeoAssets === undefined)
) {
window.PlotlyGeoAssets = {topojson: {}};
}
Expand Down

0 comments on commit 57dee2e

Please sign in to comment.