Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 57dee2e

Browse files
authored
Merge pull request plotly#6181 from plotly/eslint-v8.14
Bump `eslint` to v8.14 and remove window `typeof` check in registry
2 parents 73e05ce + f9ba248 commit 57dee2e

File tree

3 files changed

+37
-69
lines changed

3 files changed

+37
-69
lines changed

package-lock.json

Lines changed: 35 additions & 67 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
"deep-equal": "^2.0.5",
134134
"derequire": "^2.1.1",
135135
"ecstatic": "^4.1.4",
136-
"eslint": "^8.10.0",
136+
"eslint": "^8.14.0",
137137
"extra-iterable": "^2.5.22",
138138
"falafel": "^2.2.4",
139139
"fs-extra": "^10.1.0",

src/registry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ function registerTraceModule(_module) {
276276
// add `PlotlyGeoAssets` global to stash references to all fetched
277277
// topojson / geojson data
278278
if((bpmName === 'geo' || bpmName === 'mapbox') &&
279-
(typeof window !== undefined && window.PlotlyGeoAssets === undefined)
279+
(window.PlotlyGeoAssets === undefined)
280280
) {
281281
window.PlotlyGeoAssets = {topojson: {}};
282282
}

0 commit comments

Comments
 (0)