Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: warning for requiring CJS module (#428)
``` (node:1630) Warning: require() of ES modules is not supported. require() of /home/runner/work/_actions/ybiquitous/npm-audit-fix-action/v3/dist/index.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules. Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /home/runner/work/_actions/ybiquitous/npm-audit-fix-action/v3/package.json. ``` https://github.com/ybiquitous/npm-audit-fix-action/runs/2788925152?check_suite_focus=true#step:3:8
- Loading branch information