@kohanajs/mod-admin
Advanced tools
Comparing version 5.3.3 to 5.3.4
@@ -5,2 +5,9 @@ # Changelog | ||
### [5.3.4](https://gitlab.com/kohana-js/modules/admin/compare/v5.3.3...v5.3.4) (2022-08-05) | ||
### Bug Fixes | ||
* import decamelize ([2de1278](https://gitlab.com/kohana-js/modules/admin/commit/2de12789a4903d897d51c83f21e422ab7f526577)) | ||
### [5.3.3](https://gitlab.com/kohana-js/modules/admin/compare/v5.3.2...v5.3.3) (2022-06-22) | ||
@@ -7,0 +14,0 @@ |
const querystring = require('querystring'); | ||
const pluralize = require('pluralize'); | ||
const decamelize = require('decamelize'); | ||
const camelize = require('camelize'); | ||
@@ -279,5 +278,4 @@ const { ControllerMixin } = require('@kohanajs/core-mvc'); | ||
const { session } = request; | ||
const {default: decamelize} = await import('decamelize'); | ||
if(session.user_id && session.user_meta && !session.user_meta.full_name){ | ||
@@ -295,3 +293,3 @@ | ||
model: this.classObject(model), | ||
controller: decamelize(client.constructor.name, '-'), | ||
controller: decamelize(client.constructor.name, {separator: '-'}), | ||
action: request.params.action, | ||
@@ -298,0 +296,0 @@ user_full_name: session.user_meta.full_name, |
{ | ||
"name": "@kohanajs/mod-admin", | ||
"version": "5.3.3", | ||
"version": "5.3.4", | ||
"description": "Admin templates for KohanaJS ORM", | ||
@@ -21,9 +21,9 @@ "main": "index.js", | ||
"@kohanajs/constants": "^1.1.0", | ||
"@kohanajs/mixin-orm": "^3.2.1", | ||
"@kohanajs/mod-auth": "^3.0.2", | ||
"@kohanajs/mixin-orm": "^3.2.2", | ||
"@kohanajs/mod-auth": "^3.0.3", | ||
"decamelize": "^6.0.0", | ||
"camelize": "^1.0.0", | ||
"csv-parse": "^5.2.0" | ||
"csv-parse": "^5.3.0" | ||
}, | ||
"devDependencies": {} | ||
} |
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
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
55151
Updated@kohanajs/mixin-orm@^3.2.2
Updated@kohanajs/mod-auth@^3.0.3
Updatedcsv-parse@^5.3.0