egg-cookies
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -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 @@ ================== |
{ | ||
"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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17316
8
12
1