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-sleep/shelljs-plugin-sleep/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-sleep/actions/runs/7125011126/job/19400187643?pr=17#step:5:38)3:25)
at Object.Module._extensions..js (module.js:[41](https://github.com/nfischer/shelljs-plugin-sleep/actions/runs/7125011126/job/19400187643?pr=17#step:5:42)6:10)
at Module.load (module.js:3[43](https://github.com/nfischer/shelljs-plugin-sleep/actions/runs/7125011126/job/19400187643?pr=17#step:5:44):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-sleep/shelljs-plugin-sleep/node_modules/eslint/node_modules/optionator/lib/help.js:6:14)
at Object.<anonymous> (/home/runner/work/shelljs-plugin-sleep/shelljs-plugin-sleep/node_modules/eslint/node_modules/optionator/lib/help.js:260:4)
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-sleep/actions/runs/7125011126/job/19400187643?pr=17
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: