diff --git a/contributing.md b/contributing.md index 6b70dc028..a538f1bd7 100644 --- a/contributing.md +++ b/contributing.md @@ -19,7 +19,7 @@ Libraries we use ### Dependencies -You would need [Node v14.x or the latest LTS version](https://nodejs.org/en/) and npm 8.x. We use npm workspaces in the project +You would need [Node v18.x or the latest LTS version](https://nodejs.org/en/) and npm 8.x. We use npm workspaces in the project ### Lets start coding diff --git a/packages/bruno-app/src/components/ResponsePane/ResponseSize/index.js b/packages/bruno-app/src/components/ResponsePane/ResponseSize/index.js index c3c2f1fe3..2500474cb 100644 --- a/packages/bruno-app/src/components/ResponsePane/ResponseSize/index.js +++ b/packages/bruno-app/src/components/ResponsePane/ResponseSize/index.js @@ -7,7 +7,7 @@ const ResponseSize = ({ size }) => { if (size > 1024) { // size is greater than 1kb let kb = Math.floor(size / 1024); - let decimal = ((size % 1024) / 1024).toFixed(2) * 100; + let decimal = Math.round(((size % 1024) / 1024).toFixed(2) * 100); sizeToDisplay = kb + '.' + decimal + 'KB'; } else { sizeToDisplay = size + 'B';