grepleaks 1.4.3 → 1.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/grepleaks.js +6 -0
  2. package/package.json +1 -1
package/bin/grepleaks.js CHANGED
@@ -532,6 +532,12 @@ async function main() {
532
532
  case '-h':
533
533
  help();
534
534
  break;
535
+ case 'version':
536
+ case '--version':
537
+ case '-v':
538
+ const pkg = require('../package.json');
539
+ console.log(`grepleaks v${pkg.version}`);
540
+ break;
535
541
  default:
536
542
  help();
537
543
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grepleaks",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "Security scanner for your code - detect vulnerabilities, secrets, and misconfigurations",
5
5
  "main": "bin/grepleaks.js",
6
6
  "bin": {