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

cathode-cli

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cathode-cli - npm Package Compare versions

Comparing version 0.8.7 to 0.8.8

yarn.lock

2

package.json
{
"name": "cathode-cli",
"version": "0.8.7",
"version": "0.8.8",
"description": "Cathode for the command line",

@@ -5,0 +5,0 @@ "repository": "https://github.com/brpx/cathode-cli",

@@ -13,2 +13,3 @@ #!/usr/bin/env node

// export APIURL=http://127.0.0.1:8080
var endpoint = process.env.APIURL || 'https://cathode.io';

@@ -61,2 +62,3 @@

.option('-r, --render', 'render javascript into dom (default is false)')
.option('-d, --dump', 'dump dom (as seen by cathode) to local file (useful for debug)')
.option('-x, --search <string>', 'search string, return probable expression')

@@ -97,2 +99,3 @@ .parse(process.argv);

query: program.query,
dump: program.dump,
render: program.render ? "yes" : "no",

@@ -112,2 +115,5 @@ search: program.search

}
}else if(program.dump) {
fs.writeFileSync("/tmp/cathode_dom.html", res.body.dom);
console.log("Wrote DOM to /tmp/cathode_dom.html");
}

@@ -114,0 +120,0 @@ else

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