@adobe/aem-cli 16.20.12 → 16.20.13

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [16.20.13](https://github.com/adobe/helix-cli/compare/v16.20.12...v16.20.13) (2026-07-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update dependency cookie to v2 ([#2763](https://github.com/adobe/helix-cli/issues/2763)) ([4c24e84](https://github.com/adobe/helix-cli/commit/4c24e8443aaee8ab0db53c9d79f5894de7b32cbc))
7
+
1
8
  ## [16.20.12](https://github.com/adobe/helix-cli/compare/v16.20.11...v16.20.12) (2026-07-14)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/aem-cli",
3
- "version": "16.20.12",
3
+ "version": "16.20.13",
4
4
  "description": "AEM CLI",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -53,7 +53,7 @@
53
53
  "chalk-template": "1.1.2",
54
54
  "chokidar": "5.0.0",
55
55
  "compression": "1.8.1",
56
- "cookie": "1.1.1",
56
+ "cookie": "2.0.1",
57
57
  "cookie-parser": "1.4.7",
58
58
  "diff": "9.0.0",
59
59
  "dotenv": "17.4.2",
@@ -16,7 +16,8 @@ import { Socket } from 'net';
16
16
  import { PassThrough } from 'stream';
17
17
  import { readFileSync } from 'fs';
18
18
  import { fileURLToPath } from 'url';
19
- import cookie from 'cookie';
19
+ // eslint-disable-next-line import/no-unresolved
20
+ import { parseCookie } from 'cookie';
20
21
  import { unified } from 'unified';
21
22
  import rehypeParse from 'rehype-parse';
22
23
  import { select } from 'hast-util-select';
@@ -281,7 +282,7 @@ window.LiveReloadOptions = {
281
282
 
282
283
  if (!opts.cookies) {
283
284
  // only pass through hlx-auth-token cookie
284
- const cookies = cookie.parse(headers.cookie || '');
285
+ const cookies = parseCookie(headers.cookie || '');
285
286
  delete headers.cookie;
286
287
  const hlxAuthToken = cookies['hlx-auth-token'];
287
288
  if (hlxAuthToken) {