Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

find-duplicate-strings

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

find-duplicate-strings - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

16

lib/cli/cli.js

@@ -20,10 +20,14 @@ "use strict";

.option('-s, --silent', 'prevent CLI from printing messages through the console')
.action(init)
.parse(process.argv);
function init({ silent, exclusions, extensions, threshold, args }) {
.argument('path', 'path to scan')
.action(main)
.parse();
function main(path, options) {
return __awaiter(this, void 0, void 0, function* () {
yield new scanner_1.Scanner({ silent, exclusions, extensions, threshold, path: args[0] }).scan().catch((err) => {
console.error(`Error: ${err.message}`);
});
try {
yield new scanner_1.Scanner(Object.assign(Object.assign({}, options), { path })).scan();
}
catch (error) {
throw error;
}
});
}
{
"name": "find-duplicate-strings",
"version": "2.1.1",
"version": "2.1.2",
"description": "Easy to use CLI that finds duplicate strings in a directory and stores them in a external file for easy reference",

@@ -5,0 +5,0 @@ "author": "Erwin Heitzman",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc