File tree 3 files changed +24
-1
lines changed 3 files changed +24
-1
lines changed Original file line number Diff line number Diff line change
1
+ unreleased
2
+ ==========
3
+
4
+ * deps: cookie@0.6.0
5
+
1
6
4.18.3 / 2024-02-29
2
7
==========
3
8
6
11
- Fix strict json error message on Node.js 19+
7
12
- deps: content-type@~ 1.0.5
8
13
- deps: raw-body@2.5.2
14
+ * deps: cookie@0.6.0
15
+ - Add ` partitioned ` option
9
16
10
17
4.18.2 / 2022-10-08
11
18
===================
Original file line number Diff line number Diff line change 33
33
"body-parser" : " 1.20.2" ,
34
34
"content-disposition" : " 0.5.4" ,
35
35
"content-type" : " ~1.0.4" ,
36
- "cookie" : " 0.5 .0" ,
36
+ "cookie" : " 0.6 .0" ,
37
37
"cookie-signature" : " 1.0.6" ,
38
38
"debug" : " 2.6.9" ,
39
39
"depd" : " 2.0.0" ,
Original file line number Diff line number Diff line change @@ -82,6 +82,22 @@ describe('res', function(){
82
82
} )
83
83
} )
84
84
85
+ describe ( 'partitioned' , function ( ) {
86
+ it ( 'should set partitioned' , function ( done ) {
87
+ var app = express ( ) ;
88
+
89
+ app . use ( function ( req , res ) {
90
+ res . cookie ( 'name' , 'tobi' , { partitioned : true } ) ;
91
+ res . end ( ) ;
92
+ } ) ;
93
+
94
+ request ( app )
95
+ . get ( '/' )
96
+ . expect ( 'Set-Cookie' , 'name=tobi; Path=/; Partitioned' )
97
+ . expect ( 200 , done )
98
+ } )
99
+ } )
100
+
85
101
describe ( 'maxAge' , function ( ) {
86
102
it ( 'should set relative expires' , function ( done ) {
87
103
var app = express ( ) ;
You can’t perform that action at this time.
0 commit comments