Socket
Socket
Sign inDemoInstall

egg-cookies

Package Overview
Dependencies
Maintainers
5
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-cookies - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

LICENSE

6

History.md

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

2.2.3 / 2018-09-06
==================
* chore: adjust some dep && config (#13)
* test: Add unit tests for ts (#12)
* chore(typings): Extract 'EggCookies' for TypeScript intellisense (#11)
2.2.2 / 2017-12-14

@@ -3,0 +9,0 @@ ==================

16

package.json
{
"name": "egg-cookies",
"version": "2.2.2",
"version": "2.2.3",
"description": "cookies module for egg",

@@ -15,2 +15,3 @@ "files": [

"devDependencies": {
"@types/node": "^10.9.4",
"autod": "^2.7.1",

@@ -23,5 +24,6 @@ "beautify-benchmark": "^0.2.4",

"eslint": "^3.10.2",
"eslint-config-egg": "^3.2.0",
"eslint-config-egg": "^7.0.0",
"keygrip": "^1.0.1",
"power-assert": "^1.4.2"
"ts-node": "^7.0.1",
"typescript": "^3.0.3"
},

@@ -35,5 +37,5 @@ "repository": {

"scripts": {
"test": "egg-bin test",
"test": "npm run lint -- --fix && egg-bin test",
"cov": "egg-bin cov",
"lint": "eslint index.js test",
"lint": "eslint .",
"ci": "npm run lint && npm run cov",

@@ -43,7 +45,7 @@ "autod": "autod"

"engines": {
"node": ">= 4.0.0"
"node": ">= 8.0.0"
},
"ci": {
"version": "4, 6, 7"
"version": "8, 10"
}
}

@@ -25,3 +25,3 @@ # egg-cookies

### Encrypt
## Encrypt

@@ -40,3 +40,3 @@ egg-cookies provide an alternative `encrypt` mode like `signed`. An encrypt cookie's value will be encrypted base on keys. Anyone who don't have the keys are unable to know the original cookie's value.

### Cookie Length Check
## Cookie Length Check

@@ -43,0 +43,0 @@ [Browsers all had some limitation in cookie's length](http://browsercookielimits.squawky.net/), so if set a cookie with an extremely long value(> 4093), egg-cookies will emit an `cookieLimitExceed` event. You can listen to this event and record.

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