html-express-js icon indicating copy to clipboard operation
html-express-js copied to clipboard

Upgrade package to Node 18+ to eliminate potential risks with deprecated features in latest glob package

Open markcellus opened this issue 1 year ago • 0 comments

Upgrades package to use the latest LTS of Node to eliminate risk of bugs caused by deprecated features in latest versions of glob package. Also upgrades glob package to latest version 10.3.10, since we're accommodating it anyway.

To reproduce this risk, just do the following:

  1. Make sure you're on Node 16
  2. Remove and uninstall all node_modules
  3. Run npm i glob to reinstall glob dep
  4. See all the deprecation warnings due to not being on Node 18

You should see something similar to this:

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@octokit/[email protected]',
npm WARN EBADENGINE   required: { node: '>= 18' },
npm WARN EBADENGINE   current: { node: 'v16.17.1', npm: '8.15.0' }

markcellus avatar Mar 19 '24 12:03 markcellus