@adobe/aem-cli 16.16.30 → 16.16.32
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 +14 -0
- package/package.json +3 -3
- package/src/server/HelixServer.js +17 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [16.16.32](https://github.com/adobe/helix-cli/compare/v16.16.31...v16.16.32) (2026-04-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Give a warning when using Safari for CLI login ([#2500](https://github.com/adobe/helix-cli/issues/2500)) ([6b8b86e](https://github.com/adobe/helix-cli/commit/6b8b86eff7aa21d462aa808b9572d639aa2c2754))
|
|
7
|
+
|
|
8
|
+
## [16.16.31](https://github.com/adobe/helix-cli/compare/v16.16.30...v16.16.31) (2026-04-01)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update adobe fixes ([#2699](https://github.com/adobe/helix-cli/issues/2699)) ([ef8f22b](https://github.com/adobe/helix-cli/commit/ef8f22b465f8ba09587e9dba624e5f475ce051e2))
|
|
14
|
+
|
|
1
15
|
## [16.16.30](https://github.com/adobe/helix-cli/compare/v16.16.29...v16.16.30) (2026-03-31)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/aem-cli",
|
|
3
|
-
"version": "16.16.
|
|
3
|
+
"version": "16.16.32",
|
|
4
4
|
"description": "AEM CLI",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@adobe/fetch": "4.2.3",
|
|
47
47
|
"@adobe/helix-log": "7.0.0",
|
|
48
|
-
"@adobe/helix-shared-config": "11.1.
|
|
49
|
-
"@adobe/helix-shared-git": "3.0.
|
|
48
|
+
"@adobe/helix-shared-config": "11.1.20",
|
|
49
|
+
"@adobe/helix-shared-git": "3.0.23",
|
|
50
50
|
"@adobe/helix-shared-indexer": "2.2.7",
|
|
51
51
|
"camelcase": "9.0.0",
|
|
52
52
|
"chalk-template": "1.1.2",
|
|
@@ -70,6 +70,23 @@ export class HelixServer extends BaseServer {
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
async handleLogin(req, res) {
|
|
73
|
+
const userAgent = req.headers['user-agent']?.toLowerCase();
|
|
74
|
+
if (userAgent?.includes('safari') && !userAgent?.includes('chrome')) {
|
|
75
|
+
res.status(403).send(`
|
|
76
|
+
<p>It looks like you are using Safari to login via the AEM CLI...</p>
|
|
77
|
+
<p>Unfortunately, the login flow is not supported at the moment in Safari. You can follow the progress at the following <a href="https://github.com/adobe/helix-cli/issues/2498">Github issue</a>.</p>
|
|
78
|
+
<p>Please use Google Chrome or Mozilla Firefox in the meantime for login.</p>
|
|
79
|
+
<p>To avoid changing your default browser, you can:</p>
|
|
80
|
+
<ol>
|
|
81
|
+
<li>Start the CLI with the <strong>--no-open</strong> option to avoid opening the browser automatically</li>
|
|
82
|
+
<li>Open Chrome or Firefox and login via the CLI</li>
|
|
83
|
+
<li>Close the CLI and start it again normally</li>
|
|
84
|
+
</ol>
|
|
85
|
+
<p>Once you are logged in, the token is available for 24h and you can do the rest of your work in your favorite browser.</p>
|
|
86
|
+
`);
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
|
|
73
90
|
// disable autologin if login was called at least once
|
|
74
91
|
this._autoLogin = false;
|
|
75
92
|
// clear any previous login errors
|