minimalistic-server 0.0.58 → 0.0.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.mjs +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1565,7 +1565,7 @@ export class Response {
1565
1565
  }
1566
1566
 
1567
1567
  setCookies(cookies) {
1568
- this.#cookies = cookies;
1568
+ this.#cookies = { ...cookies };
1569
1569
  }
1570
1570
 
1571
1571
  addCookies(cookies) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minimalistic-server",
3
- "version": "0.0.58",
3
+ "version": "0.0.59",
4
4
  "engines" : {
5
5
  "npm" : ">=8.6.0",
6
6
  "node" : ">=22.0.0"