Socket
Socket
Sign inDemoInstall

vue-docgen-cli

Package Overview
Dependencies
Maintainers
3
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-docgen-cli - npm Package Compare versions

Comparing version 3.22.0 to 3.22.1

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [3.22.1](https://github.com/vue-styleguidist/vue-styleguidist/compare/v3.22.0...v3.22.1) (2019-08-19)
### Bug Fixes
* if cwd is specified in cmd use to find config ([2bf97a1](https://github.com/vue-styleguidist/vue-styleguidist/commit/2bf97a1))
# [3.22.0](https://github.com/vue-styleguidist/vue-styleguidist/compare/v3.21.0...v3.22.0) (2019-08-19)

@@ -8,0 +19,0 @@

6

lib/extractConfig.js

@@ -32,6 +32,6 @@ "use strict";

}), pathArray = _a._, configFileFromCmd = _a.configFile, watch = _a.watch, cwdFromCommand = _a.cwd;
var cwd = cwdFromCommand || processCwd;
var configFilePath = configFileFromCmd
? path.resolve(processCwd, configFileFromCmd)
: path.join(processCwd, 'docgen.config.js');
var cwd = cwdFromCommand || processCwd;
? path.resolve(cwd, configFileFromCmd)
: path.join(cwd, 'docgen.config.js');
var componentsFromCmd = pathArray[0], outDirFromCmd = pathArray[1];

@@ -38,0 +38,0 @@ var config = __assign({ cwd: cwd,

{
"name": "vue-docgen-cli",
"version": "3.22.0",
"version": "3.22.1",
"scripts": {

@@ -25,3 +25,3 @@ "compile": "tsc -p ./tsconfig.build.json",

},
"gitHead": "3a575040584ddca9c5a3db777026f98854a675b3"
"gitHead": "e5ebaaecaff9ca6c446b129c90a7b48aa4b0869d"
}

@@ -37,6 +37,6 @@ import minimist from 'minimist'

)
const cwd = cwdFromCommand || processCwd
const configFilePath = configFileFromCmd
? path.resolve(processCwd, configFileFromCmd)
: path.join(processCwd, 'docgen.config.js')
const cwd = cwdFromCommand || processCwd
? path.resolve(cwd, configFileFromCmd)
: path.join(cwd, 'docgen.config.js')
const [componentsFromCmd, outDirFromCmd] = pathArray

@@ -43,0 +43,0 @@

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