Comparing version 1.0.0 to 1.0.1
@@ -0,0 +0,0 @@ #!/usr/bin/env node |
@@ -91,3 +91,3 @@ "use strict"; | ||
const mergedArgs = Object.assign({}, defaultArgs, args); | ||
let found = false; | ||
const found = []; | ||
try { | ||
@@ -102,3 +102,3 @@ const pattern = [mergedArgs.files, '!node_modules']; | ||
if (yield scanFile(fileName, mergedArgs)) { | ||
found = true; | ||
found.push(fileName); | ||
} | ||
@@ -129,3 +129,3 @@ } | ||
handler: (args) => __awaiter(this, void 0, void 0, function* () { | ||
if (yield scanFiles(args)) { | ||
if ((yield scanFiles(args)).length > 0) { | ||
process.exit(1); | ||
@@ -132,0 +132,0 @@ } |
# Changelog | ||
## 1.0.1 (November 6, 2019) | ||
Modified `scanFiles` function to return a list of file names where credit card numbers are found. | ||
## 1.0.0 (October 29, 2019) | ||
Initial release! :tada: |
{ | ||
"name": "ccscan", | ||
"description": "Scan files for credit card numbers", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "Neo Financial Engineering <engineering@neofinancial.com>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -0,0 +0,0 @@ # ccscan |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
10948