New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

wcmd

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wcmd - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

lib/utils.js

@@ -22,3 +22,6 @@ "use strict";

try {
return fs.readdirSync(dirpath, { withFileTypes: true });
const fitlerdFiles = fs.readdirSync(dirpath, { withFileTypes: true }).filter(item => /.md/.test(item.name));
if (fitlerdFiles.length === 0)
throw new errors_1.CLIError('There is no markdown file in specifying directory'.red);
return fitlerdFiles;
}

@@ -25,0 +28,0 @@ catch (error) {

2

package.json
{
"name": "wcmd",
"version": "1.0.0",
"version": "1.0.1",
"author": "kkeeth",

@@ -5,0 +5,0 @@ "bin": {

@@ -23,3 +23,3 @@ # word-count-markdown(wcmd)

$ wcmd (-v|--version|version)
wcmd/1.0.0 darwin-x64 node-v12.13.1
wcmd/1.0.1 darwin-x64 node-v12.13.1
$ wcmd --help [COMMAND]

@@ -26,0 +26,0 @@ USAGE

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