Update to webpack v5 (#1848)

Update webpack in the following components to version 5:

ui-styles (StyleGuide)
ui-components (Storybook)
ui-scripts (gradle run/build)
This change will also fix a circular dependency between ui-api and ui-components.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
This commit is contained in:
Sebastian Sdorra
2021-11-10 10:10:17 +01:00
committed by GitHub
parent f69d3a29a8
commit 2938074e1a
28 changed files with 1603 additions and 1049 deletions

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package sonia.scm;
import com.google.common.annotations.VisibleForTesting;
@@ -98,7 +98,8 @@ public final class ProxyPushStateDispatcher implements PushStateDispatcher {
response.setStatus(responseCode);
copyResponseHeaders(response, connection);
if (connection.getContentLength() > 0) {
int contentLength = connection.getContentLength();
if (contentLength > 0 || contentLength == -1) {
copyResponseBody(response, connection);
}
}