account-json-api
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -26,7 +26,7 @@ { | ||
"devDependencies": { | ||
"lodash": "^3.10.1", | ||
"lodash": "^4.16.4", | ||
"protagonist": "^1.2.0", | ||
"semantic-release": "^6.0.3" | ||
}, | ||
"version": "2.2.0" | ||
"version": "2.2.1" | ||
} |
@@ -11,9 +11,10 @@ #!/usr/bin/env node | ||
var pathNodes = _.flatten(findNodes(has('attributes.href'), tree), true).filter(Boolean) | ||
var pathNodes = _.flattenDeep(findNodes(has('attributes.href'), tree)).filter(Boolean) | ||
pathNodes.forEach(function (pathNode, i) { | ||
var path = pathNode.attributes.href | ||
var methodNodes = _.flatten(findNodes(has('attributes.method'), pathNode.content), true).filter(Boolean) | ||
var methodNodes = _.flattenDeep(findNodes(has('attributes.method'), pathNode.content)).filter(Boolean) | ||
_.uniq(methodNodes, 'attributes.method').forEach(function (methodNode, j) { | ||
var method = methodNode.attributes.method | ||
console.log('%s %s', _.padRight(method, 6), path) | ||
console.log('%s %s', _.padEnd(method, 6), path) | ||
}) | ||
@@ -20,0 +21,0 @@ }) |
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
Mixed license
License(Experimental) Package contains multiple licenses.
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
49097
7
1