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
Node version (or tell us if you're using electron or some other framework)
v4
ShellJS version (the most recent version/GitHub branch you see the bug on)
happening on GitHub Actions CI
Operating system
all
Description of the bug:
/home/runner/work/shelljs-plugin-inspect/shelljs-plugin-inspect/node_modules/eslint/node_modules/optionator/node_modules/word-wrap/index.js:9
let lastCharPos = str.length - 1;
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:[37](https://github.com/nfischer/shelljs-plugin-inspect/actions/runs/7124852567/job/19399775022?pr=24#step:5:38)3:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/home/runner/work/shelljs-plugin-inspect/shelljs-plugin-inspect/node_modules/eslint/node_modules/optionator/lib/help.js:6:14)
at Object.<anonymous> (/home/runner/work/shelljs-plugin-inspect/shelljs-plugin-inspect/node_modules/eslint/node_modules/optionator/lib/help.js:260:4)
at Module._compile (module.js:[40](https://github.com/nfischer/shelljs-plugin-inspect/actions/runs/7124852567/job/19399775022?pr=24#step:5:41)9:26)
Node version (or tell us if you're using electron or some other framework)
v4
ShellJS version (the most recent version/GitHub branch you see the bug on)
happening on GitHub Actions CI
Operating system
all
Description of the bug:
https://github.com/nfischer/shelljs-plugin-inspect/actions/runs/7124852567/job/19399775022?pr=24
It looks like one of our dependencies is no longer v4-compatible.
Example ShellJS command to reproduce the error:
The text was updated successfully, but these errors were encountered: