dinovn-fca
Advanced tools
Comparing version 1.2.4 to 1.2.5
{ | ||
"name": "dinovn-fca", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "A Facebook chat API that doesn't rely on XMPP. Will NOT be deprecated after April 30th 2015.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -11,4 +11,8 @@ /* eslint-disable no-prototype-builtins */ | ||
const { Container } = require("nosql-json-database"); | ||
const path = require("path"); | ||
const { existsSync, mkdirSync } = require("fs"); | ||
const database = new Container(); | ||
if (!existsSync(path.join(process.cwd(), "dinovn-fca"))) | ||
mkdirSync(path.join(process.cwd(), "dinovn-fca")); | ||
const database = new Container(path.join(process.cwd(), "dinovn-fca")); | ||
const usersCache = database.createCollection("users"); | ||
@@ -15,0 +19,0 @@ const groupsCache = database.createCollection("groups"); |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
606353
9127
6