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

adonis-framework

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adonis-framework - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "adonis-framework",
"version": "1.1.0",
"version": "1.1.1",
"description": "Adonis framework a loosely coupled http server for adonis application, it does all the required hard work to setup a managable http server with depdendency injection in place.",

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

@@ -27,5 +27,5 @@ 'use strict'

* register () {
this.app.bind('Adonis/Src/Server', function (Route,Request,Response,Logger) {
this.app.bind('Adonis/Src/Server', function (Route, Request, Response, Logger, Session) {
const Server = require('../src/Server')
return new Server(Route,Request,Response,Logger)
return new Server(Route, Request, Response, Logger, Session)
})

@@ -32,0 +32,0 @@ }

@@ -19,3 +19,3 @@ 'use strict'

static get inject(){
return ["Adonis/Src/Helpers","Adonis/Src/Config"]
return ["Adonis/Src/Helpers","Adonis/Addons/Config"]
}

@@ -28,5 +28,5 @@

* register () {
this.app.bind('Adonis/Src/Session', function (Helpers,Config) {
this.app.bind('Adonis/Src/Session', function (Helpers, Config) {
const Session = require('../src/Session')
return new Session(Helpers,Config)
return new Session(Helpers, Config)
})

@@ -33,0 +33,0 @@ }

@@ -81,3 +81,8 @@ 'use strict'

*/
let existingSession = cookies['adonis-session'] || []
let existingSession = []
try{
existingSession = JSON.parse(cookies['adonis-session'])
}catch(e){
// ignoring error
}

@@ -84,0 +89,0 @@ if(key && !value && typeof(key) !== 'object'){

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