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

account-json-api

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

account-json-api - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

LICENSE

4

package.json

@@ -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 @@ })

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