William Barnes
5b91df5581
updating production flag to --omit=dev ( #125 )
...
* updating production flag to --omit=dev
* fixing readme comment
2022-07-09 18:08:36 +09:00
Naoki Oketani
2f9b156c84
npm run all
2022-05-12 07:47:12 +09:00
Shaid Khan
33a41db91d
Fix Commit - Committing fix whereby NPM Audit Actions Fails when running on Windows OS ( #122 )
...
- This commit is to fix an issue when running the 'npm-audit-action' on the 'windows-latest'
- Integrated the 'spawnSync' to use the right 'npm' script based upon the OS used
2022-05-12 07:45:03 +09:00
Naoki Oketani
8851061b81
run npm run all
2020-12-12 12:01:55 +00:00
sgkiokas
c4cd169835
feat: add the ability to run with '--json' and output the result ( #78 )
...
* addition-of-json-flag
* Set output of npn audit
2020-12-12 20:56:05 +09:00
Naoki Oketani
3868af0215
update README & npm run all
2020-11-12 10:45:24 +00:00
sgkiokas
42e6d27a29
feat: add the ability to run with '--production' ( #75 )
...
* feat: add the ability to run with '--production'
Adding the config options to run npm audit with the --production flag.
Contributes to: #74
Signed-off-by: Stelios Gkiokas <s_giokas@hotmail.com >
* fix: add tests
Adding the relevant tests for the new production flag.
Contributes to: #74
Signed-off-by: Stelios Gkiokas <s_giokas@hotmail.com >
2020-11-12 19:33:56 +09:00
Spencer Small
b0bc596f8e
Catch errors thrown by Audit.run and increase child process buffer size ( #67 )
...
* Audit.run does not need to be async
* Set max buffer size for npm audit subprocess to 10MiB
2020-07-14 18:59:28 +09:00
Naoki Oketani
ad3449ef9c
filter vulnerabilities by audit_level ( #55 )
...
* filter vulnerabilities by audit_level
* update README.md
* fix test cases
* restrict audit_level value
* update dist/index.js
2020-03-21 07:08:53 +09:00
Naoki Oketani
56cc033b69
update eslint-plugin-github ( #48 )
...
* update eslint-plugin-github
* remove non-existent eslint rules
* fix a lint error
2020-03-14 19:21:06 +09:00
Naoki Oketani
ba4e9c22fd
Action should fail if child_process causes an error ( #41 )
2020-03-14 15:46:51 +09:00
Naoki Oketani
a0a6093710
add unit test and cleanup ( #28 )
...
* remove unnessary import
* use mock for child_process.spawnSync()
* document useful resources
* use v1.1.0 for daily scan
2019-12-13 16:09:10 +09:00
Naoki Oketani
3e659c8c99
use GitHub context to branch processing ( #22 )
2019-12-13 12:18:28 +09:00
Naoki Oketani
14d92785e4
Set Issue labels by inputs & add unit test ( #12 )
...
* Set Issue labels by inputs
* Add unit test
2019-12-09 12:43:13 +09:00