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

thinkjs

Package Overview
Dependencies
Maintainers
1
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thinkjs - npm Package Compare versions

Comparing version 0.1.19 to 0.1.20

2

lib/Lib/Core/Http.class.js

@@ -197,4 +197,2 @@ /**

tag("before_res_end", this);
//end前保存session
this.session && this.session.flush();
this.res.end();

@@ -201,0 +199,0 @@ }

19

lib/Lib/Core/Session.class.js

@@ -53,4 +53,23 @@ var crypto = require('crypto');

},
/**
* 设置session
* @param {[type]} name [description]
* @param {[type]} value [description]
*/
set: function(name, value){
return true;
},
/**
* 移除session
* @return {[type]} [description]
*/
rm: function(){
},
/**
* 刷新session
* @return {[type]} [description]
*/
flush: function(){
}

@@ -57,0 +76,0 @@ }

@@ -51,3 +51,8 @@ /**

this.data[name] = value;
this.flush();
},
/**
* 删除session
* @return {[type]} [description]
*/
rm: function(){

@@ -54,0 +59,0 @@ fs.unlink(this.file, function(){});

{
"name": "thinkjs",
"description": "thinkphp web framework for nodejs",
"version": "0.1.19",
"version": "0.1.20",
"author": {

@@ -6,0 +6,0 @@ "name": "welefen",

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