- yarn upgrade
- yarn upgrade
- bumped node version required to 20
- bumped manually other libraries
- Changed
node_modules
glob pattern to also exclude nested node_modules
- The
ignore-numbers
argument is now properly interpreted as an array of strings. - The
ignore-numbers
argument is now respected when scanning files.
- Add
ignore-numbers
argument which takes an array of numbers you want to ignore
- When
luhn-check
is enabled,scanFile
will now run a luhn check before flagging a file. Previously the luhn check only affected console output logic. - Upgrade to TypeScript 3.7.3
- Changed
main
property inpackage.json
tobuild/index.js
to match the ncc build output.
- Build with @zeit/ncc for better performance
- Fix line endings in bin file
Modified scanFiles
function to return a list of file names where credit card numbers are found.
Initial release! 🎉