Closed
Description
Upgraded from 1.42.5 to 1.43.1
In strict mode code, functions can only be declared at top level or immediately within another function. [./node_modules/plotly.js/dist/plotly.js:70364,0]
Looks like
var buffer = ""
function writeBuffer() {
if(buffer !== "") {
var delta = context.measureText(buffer).width
context.fillText(buffer, offsetX + xPos, offsetY + yPos)
xPos += delta
}
}
is the offending function. Reverting back to 1.42.5 was the only solution.
I believe this is just an organizational issue rather than a full scale bug.