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.3.3 to 5.3.4

7

CHANGELOG.md

@@ -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 @@

6

classes/controller-mixin/AdminTemplates.js
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": {}
}
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