Comparing version 0.1.4 to 0.1.5
@@ -0,1 +1,2 @@ | ||
const path = require("path"); | ||
const Discord = require('discord.js'); | ||
@@ -9,4 +10,4 @@ const discord_client = new Discord.Client(); | ||
try { | ||
user_config = require(file); | ||
template_config = require("./simplert.cfg.json") | ||
user_config = require(path.resolve(`${__dirname}/../../${file}`)); | ||
template_config = require(__dirname + "/simplert.cfg.json") | ||
@@ -13,0 +14,0 @@ user_keys = getAllKeys(user_config) |
{ | ||
"name": "simplert", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Simple way to send alerts via Slack, Email, Discord, SMS, etc.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
3006
70
4