glob-parent icon indicating copy to clipboard operation
glob-parent copied to clipboard

Use "node:" prefixed imports everywhere for node imports.

Open boenrobot opened this issue 1 year ago • 1 comments

Adjust minimum node version and update CI accordingly.


Using "node:" prefixed imports enables the use of this library in runtimes other than node where node compatibility layer is provided for prefixed imports (e.g. workerd). The cost is that the minimum nodejs version needs to be bumped to ">=14.18.0 <15 || >=16", where this feature was introduced.

boenrobot avatar Jul 26 '24 13:07 boenrobot

Node 10 won't be dropped until gulp v6 work begins, and we have a lot of work on v5 that still needs to be done.

I'll keep this open until that work begins.

phated avatar Jul 26 '24 13:07 phated