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

heyo

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

heyo - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

14

heyo.js

@@ -9,2 +9,12 @@ #!/usr/bin/env node

if (!fs.existsSync(configFile)) {
var emptyConfig = {
username: "",
udid: "",
users: []
};
fs.writeFileSync(configFile, JSON.stringify(emptyConfig));
}
fs.readFile(configFile, { encoding: 'utf-8' }, function(err, data) {

@@ -22,2 +32,6 @@ var config = JSON.parse(data);

if (args[0] === 'list') {
if (config.users.length === 0) {
return console.log('you have not registered any users in heyo yet');
}
config.users.forEach(function(n) {

@@ -24,0 +38,0 @@ console.log(n.username);

2

package.json
{
"name": "heyo",
"version": "0.0.1",
"version": "0.1.0",
"description": "CLI for sending Yo notifications",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

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