Closed sdavids closed 10 months ago
chould be:
"engines": { "node": ">=14.13 || >=16" },
At the same time the workflow could add 20:
node: [14, 16, 18, 20, 'current']
https://github.com/terser/html-minifier-terser/blob/c4a7ae0bd08b1a438d9ca12a229b4cbe93fc016a/.github/workflows/main.yaml
$ npx ls-engines `node_modules` found; loading tree from disk... ┌────────┬─────────────────────────────────────────────────────────────────┐ │ engine │ Currently available latest release of each valid major version: │ ├────────┼─────────────────────────────────────────────────────────────────┤ │ node │ v21.1.0, v20.9.0, v19.9.0, v18.18.2, v17.9.1, v16.20.2, │ │ │ v15.14.0, v14.21.3 │ └────────┴─────────────────────────────────────────────────────────────────┘ ┌───────────────────────────────────┬───────────────────────────┐ │ package engines: │ dependency graph engines: │ ├───────────────────────────────────┼───────────────────────────┤ │ "engines": { │ "engines": { │ │ "node": "^14.13.1 || >= 16.0.0" │ "node": ">= 14.13" │ │ } │ } │ └───────────────────────────────────┴───────────────────────────┘ Your “engines” field allows fewer node versions than your dependency graph does. If you want to widen your support, you can run `ls-engines --save`, or manually add the following to your `package.json`: "engines": { "node": ">= 14.13" } ┌────────┬─────────────────┬─────────────────┬──────────────────────────┐ │ engine │ current version │ valid (package) │ valid (dependency graph) │ ├────────┼─────────────────┼─────────────────┼──────────────────────────┤ │ node │ v16.14.2 │ yes! │ yes! │ └────────┴─────────────────┴─────────────────┴──────────────────────────┘
7.2.0
No response
Yes
What happened?
chould be:
At the same time the workflow could add 20:
https://github.com/terser/html-minifier-terser/blob/c4a7ae0bd08b1a438d9ca12a229b4cbe93fc016a/.github/workflows/main.yaml
Version
7.2.0
What browsers are you seeing the problem on?
No response
Link to reproduce
No response
Relevant log output
No response
Willing to submit a PR?
Yes