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

@kohanajs/mod-admin

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kohanajs/mod-admin - npm Package Compare versions

Comparing version 5.7.0 to 5.7.1

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [5.7.1](https://gitlab.com/kohana-js/modules/admin/compare/v5.7.0...v5.7.1) (2024-01-19)
### Bug Fixes
* user database name hard code to admin.sqlite ([b35b7de](https://gitlab.com/kohana-js/modules/admin/commit/b35b7deac6039996feb8a78da7fa20ca4d428347))
## [5.7.0](https://gitlab.com/kohana-js/modules/admin/compare/v5.6.1...v5.7.0) (2023-08-22)

@@ -7,0 +14,0 @@

2

classes/controller/Home.js

@@ -15,3 +15,3 @@ const { ControllerMixinDatabase, ORM, KohanaJS } = require('kohanajs');

this.state.get(ControllerMixinDatabase.DATABASE_MAP)
.set('admin', `${KohanaJS.config.auth.databasePath}/admin.sqlite`);
.set('admin', `${KohanaJS.config.auth.databasePath}/${KohanaJS.config.auth.userDatabase}`);
}

@@ -18,0 +18,0 @@

@@ -15,3 +15,3 @@ const {Controller} = require("@kohanajs/core-mvc");

this.state.get(ControllerMixinDatabase.DATABASE_MAP)
.set('admin', KohanaJS.config.auth.databasePath + '/admin.sqlite');
.set('admin', `${KohanaJS.config.auth.databasePath}/${KohanaJS.config.auth.userDatabase}`);
}

@@ -18,0 +18,0 @@

@@ -60,3 +60,3 @@ const { Controller } = require('@kohanajs/core-mvc');

new Map([
['admin', `${KohanaJS.config.auth.databasePath}/admin.sqlite`],
['admin', `${KohanaJS.config.auth.databasePath}/${KohanaJS.config.auth.userDatabase}`],
['session', `${KohanaJS.config.auth.databasePath}/session.sqlite`],

@@ -63,0 +63,0 @@ ]).forEach((v, k) => databaseMap.set(k, v));

{
"name": "@kohanajs/mod-admin",
"version": "5.7.0",
"version": "5.7.1",
"description": "Admin templates for KohanaJS ORM",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "jest --coverage"
},

@@ -9,0 +9,0 @@ "repository": {

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