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 1.0.3 to 1.0.4

4

index.js

@@ -1,3 +0,3 @@

const {KOJS} = require('kohanajs');
KOJS.addNodeModules(require.resolve('./'));
const {KohanaJS} = require('kohanajs');
KohanaJS.addNodeModules(require.resolve('./'));

@@ -4,0 +4,0 @@ module.exports = {

@@ -0,1 +1,2 @@

const {HTTP_METHODS} = require('@kohanajs/constants');
const {RouteList} = require('@kohanajs/mod-route');

@@ -5,4 +6,4 @@

RouteList.add('/admin/login', 'controllers/ControllerAuth', 'login');
RouteList.add('/admin/login', 'controllers/ControllerAuth', 'auth', RouteList.methods.POST);
RouteList.add('/admin/login', 'controllers/ControllerAuth', 'auth', HTTP_METHODS.POST);
RouteList.add('/admin/login/fail', 'controllers/ControllerAuth', 'fail');
RouteList.add('/admin/logout', 'controllers/ControllerAuth', 'logout');
{
"name": "@kohanajs/mod-admin",
"version": "1.0.3",
"version": "1.0.4",
"description": "Admin templates for KohanaJS ORM",

@@ -20,6 +20,7 @@ "main": "index.js",

"dependencies": {
"@kohanajs/mixin-admin": "^1.0.8",
"@kohanajs/mixin-orm": "^1.0.5",
"@kohanajs/mod-route": "^1.1.2",
"kohanajs": "^1.0.4",
"@kohanajs/constants": "^1.0.1",
"@kohanajs/mixin-admin": "^1.0.9",
"@kohanajs/mixin-orm": "^1.0.7",
"@kohanajs/mod-route": "^1.1.4",
"kohanajs": "^1.0.5",
"pluralize": "^8.0.0"

@@ -26,0 +27,0 @@ },

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