@live-change/framework
Advanced tools
Comparing version 0.4.30 to 0.4.31
@@ -1,1 +0,8 @@ | ||
module.exports = require('./lib/App.js') | ||
const App = require('./lib/App.js') | ||
App.app = () => { | ||
if(!global.liveChangeFrameworkApp) { | ||
global.liveChangeFrameworkApp = new App() | ||
} | ||
return global.liveChangeFrameworkApp | ||
} | ||
module.exports = App |
@@ -67,3 +67,3 @@ const ReactiveDao = require("@live-change/dao") | ||
this.defaultPath = "." | ||
this.dao = new ReactiveDao(process.cwd()+' '+process.argv.join(' '), { | ||
const dbDao = new ReactiveDao(process.cwd()+' '+process.argv.join(' '), { | ||
remoteUrl: env.DB_URL || "http://localhost:9417/api/ws", | ||
@@ -92,2 +92,5 @@ protocols: { | ||
this.dao = dbDao | ||
if(process.env.DB_CACHE == "YES") this.dao = new ReactiveDao.DaoCache(dbDao) | ||
this.profileLog = profileLog | ||
@@ -94,0 +97,0 @@ |
{ | ||
"name": "@live-change/framework", | ||
"version": "0.4.30", | ||
"version": "0.4.31", | ||
"description": "Live Change Framework - ultimate solution for real time mobile/web apps", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@live-change/dao": "^0.2.35", | ||
"@live-change/dao": "^0.2.44", | ||
"@live-change/dao-websocket": "^0.2.21", | ||
@@ -27,0 +27,0 @@ "@live-change/db": "^0.2.5", |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
162783
4477
9