vue-docgen-api
Advanced tools
Comparing version 2.3.14 to 2.4.0
@@ -7,3 +7,3 @@ 'use strict'; | ||
module.exports = function getParseBabel(code, filename) { | ||
module.exports = function getJsxBabel(code, filename) { | ||
var comments = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; | ||
@@ -27,3 +27,3 @@ | ||
}]], | ||
plugins: ['transform-object-rest-spread'], | ||
plugins: ['transform-object-rest-spread', 'transform-vue-jsx'], | ||
sourceRoot: cwd | ||
@@ -30,0 +30,0 @@ }; |
{ | ||
"name": "vue-docgen-api", | ||
"version": "2.3.14", | ||
"version": "2.4.0", | ||
"description": "Toolbox to extract information from Vue component files for documentation generation purposes.", | ||
@@ -14,3 +14,3 @@ "bugs": { | ||
"compile:watch": "babel src/ --watch -d --out-dir dist/ --ignore __tests__,__mocks__", | ||
"prepublish": "npm run compile", | ||
"prepublishOnly": "npm run compile", | ||
"mocha": "mocha", | ||
@@ -38,14 +38,17 @@ "test": "mocha -c src/__tests__ tests/**/*.test.js --recursive src/utils/__tests__", | ||
"dependencies": { | ||
"babel-core": "^6.25.0", | ||
"babel-core": "^6.26.3", | ||
"babel-helper-vue-jsx-merge-props": "^2.0.3", | ||
"babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-plugin-transform-runtime": "^6.23.0", | ||
"babel-preset-env": "^1.6.1", | ||
"babel-plugin-syntax-jsx": "^6.18.0", | ||
"babel-plugin-transform-vue-jsx": "^3.7.0", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-preset-flow": "^6.23.0", | ||
"babel-preset-stage-2": "^6.24.1", | ||
"babel-preset-stage-3": "^6.24.1", | ||
"doctrine": "^2.0.0", | ||
"doctrine": "^2.1.0", | ||
"hash-sum": "^1.0.2", | ||
"htmlparser2": "^3.9.2", | ||
"jsdoc-api": "^3.0.0", | ||
"lru-cache": "^4.1.0", | ||
"jsdoc-api": "^4.0.3", | ||
"lru-cache": "^4.1.3", | ||
"vue": "^2.4.2", | ||
@@ -56,10 +59,10 @@ "vue-template-compiler": "^2.4.2" | ||
"babel-cli": "^6.26.0", | ||
"babel-eslint": "^7.2.3", | ||
"chai": "^4.0.2", | ||
"eslint": "^3.19.0", | ||
"eslint-plugin-import": "^2.9.0", | ||
"eslint-plugin-prettier": "^2.6.0", | ||
"babel-eslint": "^8.2.6", | ||
"chai": "^4.1.2", | ||
"eslint": "^5.4.0", | ||
"eslint-plugin-import": "^2.14.0", | ||
"eslint-plugin-prettier": "^2.6.2", | ||
"lint-staged": "^7.2.0", | ||
"mocha": "^5.2.0", | ||
"prettier": "^1.13.7", | ||
"prettier": "^1.14.2", | ||
"tslint": "^5.9.1", | ||
@@ -66,0 +69,0 @@ "typescript": "^2.7.2", |
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
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
52631
17
+ Addedbabel-helper-vue-jsx-merge-props@2.0.3(transitive)
+ Addedbabel-plugin-syntax-jsx@6.18.0(transitive)
+ Addedbabel-plugin-transform-vue-jsx@3.7.0(transitive)
+ Addedbabylon@7.0.0-beta.19(transitive)
+ Addedbluebird@3.5.5(transitive)
+ Addedfile-set@2.0.1(transitive)
+ Addedjs2xmlparser@3.0.0(transitive)
+ Addedjsdoc@3.5.5(transitive)
+ Addedjsdoc-api@4.0.3(transitive)
+ Addedklaw@2.0.0(transitive)
+ Addedwalk-back@3.0.1(transitive)
+ Addedxmlcreate@1.0.2(transitive)
- Removedacorn@3.3.0(transitive)
- Removedacorn-jsx@3.0.1(transitive)
- Removedbluebird@3.4.7(transitive)
- Removedespree@3.1.7(transitive)
- Removedfile-set@1.1.2(transitive)
- Removedjs2xmlparser@1.0.0(transitive)
- Removedjsdoc-75lb@3.6.0(transitive)
- Removedjsdoc-api@3.0.0(transitive)
- Removedklaw@1.3.1(transitive)
- Removedwalk-back@2.0.1(transitive)
Updatedbabel-core@^6.26.3
Updatedbabel-preset-env@^1.7.0
Updateddoctrine@^2.1.0
Updatedjsdoc-api@^4.0.3
Updatedlru-cache@^4.1.3