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

yow

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yow - npm Package Compare versions

Comparing version 1.0.64 to 1.0.65

15

config.js
var Config = module.exports = function (fileName) {
function loadConfig() {
var fs = require('fs');
var Path = require('path');
var fileParts = Path.parse(fileName);
var configFileName = Path.join(fileParts.dir, fileParts.name) + '.json';
var json = {};
try {
console.log('Reading file', configFileName);
json = JSON.parse(fs.readFileSync(configFileName));
json = JSON.parse(fs.readFileSync('.config'));
}
catch(error) {
json = {error:error.message};
console.error(error);
}

@@ -23,1 +16,3 @@

}
var config = module.exports = loadConfig();
{
"name": "yow",
"version": "1.0.64",
"version": "1.0.65",
"description": "You Only Wish module",

@@ -5,0 +5,0 @@ "main": "yow.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