Socket
Socket
Sign inDemoInstall

yow

Package Overview
Dependencies
1
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.116 to 1.0.118

22

config.js

@@ -0,1 +1,2 @@

const fs = require('fs');

@@ -14,10 +15,7 @@ const Path = require('path');

if (!fileExists(configFile)) {
if (Path.dirname(fileName) == '.')
configFile = Path.join(Path.dirname(process.argv[1]), fileName);
}
if (!fileExists(configFile)) {
configFile = Path.resolve(process.cwd(), fileName);
}
else
configFile = fileName;
if (fileExists(configFile)) {

@@ -32,7 +30,9 @@ config = JSON.parse(fs.readFileSync(configFile));

if (!fileExists(configFile)) {
mkpath(Path.dirname(configFile));
if (configFile != '') {
if (!fileExists(configFile)) {
mkpath(Path.dirname(configFile));
}
fs.writeFileSync(configFile, JSON.stringify(config, null, '\t'));
}
fs.writeFileSync(configFile, JSON.stringify(config, null, '\t'));
}

@@ -39,0 +39,0 @@

{
"name": "yow",
"version": "1.0.116",
"version": "1.0.118",
"description": "You Only Wish module",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc