adonis-framework
Advanced tools
Comparing version 3.0.5 to 3.0.6
@@ -0,1 +1,11 @@ | ||
<a name="3.0.6"></a> | ||
## [3.0.6](https://github.com/adonisjs/adonis-framework/compare/v3.0.5...v3.0.6) (2016-11-18) | ||
### Features | ||
* **response:** add response.plainCookie to add plain cookies ([dd5a5e9](https://github.com/adonisjs/adonis-framework/commit/dd5a5e9)) | ||
<a name="3.0.5"></a> | ||
@@ -2,0 +12,0 @@ ## [3.0.5](https://github.com/adonisjs/adonis-framework/compare/v3.0.4...v3.0.5) (2016-11-08) |
{ | ||
"name": "adonis-framework", | ||
"version": "3.0.5", | ||
"version": "3.0.6", | ||
"description": "Adonis framework makes it easy for you to write webapps with less code", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "npm run lint && node ./bin/test.js", | ||
"coverage": "npm run lint && node ./bin/coverage.js", | ||
"test": "npm run lint && FORCE_COLOR=true node ./bin/test.js", | ||
"coverage": "npm run lint && FORCE_COLOR=true node ./bin/coverage.js", | ||
"lint": "standard" | ||
@@ -35,3 +35,2 @@ }, | ||
"co-mocha": "^1.1.3", | ||
"co-supertest": "0.0.10", | ||
"coveralls": "^2.11.14", | ||
@@ -38,0 +37,0 @@ "cz-conventional-changelog": "^1.2.0", |
@@ -319,2 +319,17 @@ 'use strict' | ||
/** | ||
* Set a plain non-encrypted cookie on the response | ||
* | ||
* @param {String} key | ||
* @param {Mixed} value | ||
* @param {Object} [options] | ||
* | ||
* @example | ||
* Response.plainCookie('foo', 'bar') | ||
*/ | ||
plainCookie (key, value, options) { | ||
nodeCookie.create(this.request.request, this.response, key, value, options) | ||
return this | ||
} | ||
/** | ||
* clears existing cookie from response header | ||
@@ -321,0 +336,0 @@ * |
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
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
183028
19
6187