Skip to content

Commit 8c04158

Browse files
committed
Updated version + added new contributor + fixed problem with backward compatibility.
1 parent 78954e9 commit 8c04158

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

index.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ function Framework() {
407407

408408
this.id = null;
409409
this.version = 1940;
410-
this.version_header = '1.9.4-17';
410+
this.version_header = '1.9.4-18';
411411

412412
var version = process.version.toString().replace('v', '').replace(/\./g, '');
413413
if (version[0] !== '0' || version[1] !== '0')
@@ -13982,7 +13982,10 @@ http.ServerResponse.prototype.cookie = function(name, value, expires, options) {
1398213982
var arr = self.getHeader('set-cookie') || [];
1398313983

1398413984
// Cookie, already, can be in array, resulting in duplicate 'set-cookie' header
13985-
var idx = arr.findIndex(cookieStr => cookieStr.startsWith(cookieHeaderStart));
13985+
var idx = arr.findIndex(function(cookieStr) {
13986+
return cookieStr.startsWith(cookieHeaderStart);
13987+
});
13988+
1398613989
if (idx !== -1)
1398713990
arr.splice(idx, 1);
1398813991

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,11 @@
4646
}, {
4747
"name": "Gera G. Güiles",
4848
"email": "gerardo.gonzalezg@gmail.com"
49+
}, {
50+
"name": "Radek / rsmogura",
51+
"email": ""
4952
}],
50-
"version": "1.9.4-17",
53+
"version": "1.9.4-18",
5154
"homepage": "http://www.totaljs.com",
5255
"bugs": {
5356
"url": "https://github.com/totaljs/framework/issues",

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ We provide a support of the framework for companies. Our support services will k
104104
| Tomas Holovsky | support + enterprise | <tomasholovsky@gmail.com> |
105105
| [Andrea Sessa](https://github.com/asessa) | contributor | <andrea.sessa@gmail.com> |
106106
| [Gera G. Güiles](https://github.com/Maxima-Solutions) | contributor | <gerardo.gonzalezg@gmail.com> |
107+
| [Radek / rsmogura](https://github.com/rsmogura) | contributor | ... |
107108

108109
## Other
109110

0 commit comments

Comments
 (0)