Release 1.5.2
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
|
||||
1.5.2 / 2017-01-13
|
||||
==================
|
||||
|
||||
* fix: make sure signed=false on set/get cookie (#24)
|
||||
|
||||
1.5.1 / 2016-05-21
|
||||
==================
|
||||
|
||||
|
||||
2
index.js
2
index.js
@@ -19,7 +19,7 @@ const DEFAULT_OPTIONS = {
|
||||
functionName: '__',
|
||||
};
|
||||
|
||||
module.exports = (app, options) => {
|
||||
module.exports = function (app, options) {
|
||||
options = assign({}, DEFAULT_OPTIONS, options);
|
||||
const defaultLocale = formatLocale(options.defaultLocale);
|
||||
const queryField = options.queryField;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "koa-locales",
|
||||
"version": "1.5.1",
|
||||
"version": "1.5.2",
|
||||
"description": "koa locales, i18n solution for koa",
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
|
||||
Reference in New Issue
Block a user