node-jsonfile icon indicating copy to clipboard operation
node-jsonfile copied to clipboard

Use "node:" prefixed imports everywhere

Open boenrobot opened this issue 1 year ago • 0 comments

And bump the minimum nodejs version to the ones that support this.

CI is updated accordingly.


Using "node:" prefixed imports enables this library to be used with runtimes other than node which have a node compatibility layer when internal dependencies are prefixed with "node:". Case in point is workerd. The cost is raising up the minimum node version to ">=14.18.0 <15 || >=16".

boenrobot avatar Jul 26 '24 12:07 boenrobot