New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

status-dev-cli

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

status-dev-cli - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

10

cli.js

@@ -28,6 +28,2 @@ #!/usr/bin/env node

function encodeObject(obj) {
return fromAscii(JSON.stringify(obj));
}
function makeSubscription(client, watch, relativePath, contactData) {

@@ -60,3 +56,3 @@ sub = {

url = "http://" + (cli.ip || defaultIp) + ":5561/dapp-changed";
child.execSync("curl -X POST -H \"Content-Type: application/json\" -d '{\"encoded\": \"" + contactData + "\"}' " + url);
child.execSync("curl -X POST -H \"Content-Type: application/json\" -d '{\"encoded\": \"" + fromAscii(contactData) + "\"}' " + url);

@@ -67,3 +63,3 @@ request({

json: true,
body: { encoded: contactData }
body: { encoded: fromAscii(contactData) }
}, function (error, response, body) {

@@ -206,3 +202,3 @@ if (error) {

resp.relative_path,
encodeObject(contactData)
contactData
);

@@ -209,0 +205,0 @@ }

{
"name": "status-dev-cli",
"version": "3.0.1",
"version": "3.0.2",
"description": "CLI for Status",

@@ -5,0 +5,0 @@ "main": "index.js",

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