Socket
Socket
Sign inDemoInstall

@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.4.0 to 9.4.1

7

CHANGELOG.md

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

### [9.4.1](https://gitlab.com/kohana-js/proposals/level0/mod-cms/compare/v9.4.0...v9.4.1) (2022-08-05)
### Bug Fixes
* livePages is null ([95dfd51](https://gitlab.com/kohana-js/proposals/level0/mod-cms/commit/95dfd5129164e7d1c24d578a9af44fceaaa15645))
## [9.4.0](https://gitlab.com/kohana-js/proposals/level0/mod-cms/compare/v9.3.0...v9.4.0) (2022-07-28)

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

2

classes/controller/admin/Content.js

@@ -31,3 +31,3 @@ const path = require('path');

const database = this.state.get(ControllerMixinDatabase.DATABASES).get('live');
const livePages = await ORM.readBy(Page, 'page_type', [page_type], {database});
const livePages = await ORM.readBy(Page, 'page_type', [page_type], {database, asArray:true});
const livePageMap = new Map(livePages.map(page => [page.id, page]));

@@ -34,0 +34,0 @@

@@ -14,3 +14,7 @@ const { KohanaJS } = require('kohanajs');

paragraphs:["subject", "body", "picture", "caption", "description"],
},
pageTypeSlugs: {
default: ['pages', 'articles', 'posts']
}
};
{
"name": "@kohanajs/mod-cms",
"version": "9.4.0",
"version": "9.4.1",
"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