You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TIL that strict mode gets injected into files when using the --coverage flag in testee. A naive coverage configuration (which doesn't ignore anything by default) will inject strict into everything including steal's files.
A better issue title would state that npm-crawl places v on the global namespace.
Oh, that's interesting. Possible testee bug I would think? cc @andrejewski There might be code (not this one) that needs to run in sloppy mode, but maybe there's a good reason for testee to do this?
The line https://github.com/stealjs/steal/blob/master/ext/npm-crawl.js#L332 declares an auto-global variable
v
in a for...in loop. This breaks in strict mode, asv
is not a previously defined name. This line should befor(var v in versions) {
The text was updated successfully, but these errors were encountered: