@plone/volto 16.34.1 → 16.34.2
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.draft
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
## 16.34.
|
|
1
|
+
## 16.34.2 (2026-06-18)
|
|
2
2
|
|
|
3
3
|
### Bugfix
|
|
4
4
|
|
|
5
|
-
-
|
|
5
|
+
- Fix project generator acceptance test on Node 16. @davisagli [#7421](https://github.com/plone/volto/issues/7421)
|
|
6
|
+
- Added more resilience to the API and Robots helper methods, based and backported from https://github.com/plone/volto/pull/8198 @sneridagh
|
|
6
7
|
|
|
7
8
|
|
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
<!-- towncrier release notes start -->
|
|
10
10
|
|
|
11
|
+
## 16.34.2 (2026-06-18)
|
|
12
|
+
|
|
13
|
+
### Bugfix
|
|
14
|
+
|
|
15
|
+
- Fix project generator acceptance test on Node 16. @davisagli [#7421](https://github.com/plone/volto/issues/7421)
|
|
16
|
+
- Added more resilience to the API and Robots helper methods, based and backported from https://github.com/plone/volto/pull/8198 @sneridagh
|
|
17
|
+
|
|
11
18
|
## 16.34.1 (2025-09-29)
|
|
12
19
|
|
|
13
20
|
### Bugfix
|
package/package.json
CHANGED
package/src/helpers/Api/Api.js
CHANGED
|
@@ -99,7 +99,7 @@ class Api {
|
|
|
99
99
|
request.attach.apply(request, attachment);
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
-
request.end((err, response) => {
|
|
102
|
+
request.end((err, response = {}) => {
|
|
103
103
|
if (
|
|
104
104
|
checkUrl &&
|
|
105
105
|
request.url &&
|
|
@@ -123,7 +123,7 @@ class Api {
|
|
|
123
123
|
if ([301, 302].includes(err?.status)) {
|
|
124
124
|
return reject({
|
|
125
125
|
code: err.status,
|
|
126
|
-
url: err.response
|
|
126
|
+
url: err.response?.headers?.location,
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
129
|
|
|
@@ -24,7 +24,7 @@ export const generateRobots = (req) =>
|
|
|
24
24
|
request.set('Authorization', `Bearer ${authToken}`);
|
|
25
25
|
}
|
|
26
26
|
request.use(addHeadersFactory(req));
|
|
27
|
-
request.end((error, { text }) => {
|
|
27
|
+
request.end((error, { text } = {}) => {
|
|
28
28
|
if (error) {
|
|
29
29
|
resolve(text || error);
|
|
30
30
|
} else {
|