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

@kohanajs/mod-cms

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kohanajs/mod-cms - npm Package Compare versions

Comparing version 9.6.1 to 9.6.2

2

CHANGELOG.md

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

### [9.6.2](https://gitlab.com/kohana-js/proposals/level0/mod-cms/compare/v9.6.1...v9.6.2) (2023-06-01)
### [9.6.1](https://gitlab.com/kohana-js/proposals/level0/mod-cms/compare/v9.6.0...v9.6.1) (2023-05-25)

@@ -7,0 +9,0 @@

const pluralize = require('pluralize');
const {ControllerMixinDatabase, ControllerMixinView, ORMAdapter, KohanaJS, ORM} = require("kohanajs");
const {ControllerMixinORMRead} = require("@kohanajs/mixin-orm");
const {ControllerAdmin, ControllerMixinImport} = require("@kohanajs/mod-admin");

@@ -21,3 +22,5 @@ const Page = ORM.require('Page');

this.page_type = this.request.params['page_type'];
this.state.set(ControllerMixinImport.UNIQUE_KEY, 'slug');
this.state.set(ControllerMixinORMRead.LIST_FILTER, [['AND', 'page_type', 'EQUAL', this.page_type]])
}

@@ -24,0 +27,0 @@

19

classes/controller/admin/Upload.js

@@ -12,13 +12,12 @@ const path = require('node:path');

class ControllerAdminUpload extends Controller{
static mixins = [...Controller.mixins,
ControllerMixinDatabase,
ControllerMixinSession,
ControllerMixinLoginRequire,
ControllerMixinMime,
ControllerMixinView,
ControllerMixinMultipartForm
];
const Base = Controller.mixin([
ControllerMixinDatabase,
ControllerMixinSession,
ControllerMixinLoginRequire,
ControllerMixinMime,
ControllerMixinView,
ControllerMixinMultipartForm
]);
class ControllerAdminUpload extends Base{
constructor(request){

@@ -25,0 +24,0 @@ super(request);

{
"name": "@kohanajs/mod-cms",
"version": "9.6.1",
"version": "9.6.2",
"description": "The CMS module for KohanaJS",

@@ -5,0 +5,0 @@ "main": "index.js",

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