This is an automated email from the ASF dual-hosted git repository.

amaranhao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-fauxton.git


The following commit(s) were added to refs/heads/main by this push:
     new 318278d7 Upgrade rc-slider to v10 and update core-js (#1356)
318278d7 is described below

commit 318278d77fc8a2e310d1148508d5d783ea00a8f4
Author: Jordan Fry <[email protected]>
AuthorDate: Thu Apr 28 14:19:18 2022 +0100

    Upgrade rc-slider to v10 and update core-js (#1356)
---
 app/addons/components/__tests__/polling.test.js |  2 +-
 app/addons/components/components/polling.js     |  1 +
 package-lock.json                               | 48 ++++++++++++-------------
 package.json                                    |  4 +--
 4 files changed, 28 insertions(+), 27 deletions(-)

diff --git a/app/addons/components/__tests__/polling.test.js 
b/app/addons/components/__tests__/polling.test.js
index e1d9cec5..23137a39 100644
--- a/app/addons/components/__tests__/polling.test.js
+++ b/app/addons/components/__tests__/polling.test.js
@@ -75,7 +75,7 @@ describe("Polling", () => {
         onPoll={() => {}}
       />);
 
-      const handler = wrapper.find('.rc-slider-handle').at(1);
+      const handler = wrapper.find('.rc-slider-handle').at(0);
       wrapper.simulate('focus');
       // Simulate key END to move handle to the max value
       handler.simulate('keyDown', { keyCode: 35 });
diff --git a/app/addons/components/components/polling.js 
b/app/addons/components/components/polling.js
index 26859a16..cce8599d 100644
--- a/app/addons/components/components/polling.js
+++ b/app/addons/components/components/polling.js
@@ -105,6 +105,7 @@ export class Polling extends React.Component {
           className="faux__polling-info-slider"
           min={min}
           max={max + stepSize}
+          step={stepSize}
           defaultValue={value}
           onChange={this.updatePollingFreq}
         />
diff --git a/package-lock.json b/package-lock.json
index 4aa8f8a1..3b880918 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -7007,9 +7007,9 @@
       }
     },
     "core-js": {
-      "version": "3.22.2",
-      "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.22.2.tgz";,
-      "integrity": 
"sha512-Z5I2vzDnEIqO2YhELVMFcL1An2CIsFe9Q7byZhs8c/QxummxZlAHw33TUHbIte987LkisOgL0LwQ1P9D6VISnA=="
+      "version": "3.22.3",
+      "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.22.3.tgz";,
+      "integrity": 
"sha512-1t+2a/d2lppW1gkLXx3pKPVGbBdxXAkqztvWb1EJ8oF8O2gIGiytzflNiFEehYwVK/t2ryUsGBoOFFvNx95mbg=="
     },
     "core-js-compat": {
       "version": "3.21.0",
@@ -7411,9 +7411,9 @@
       }
     },
     "dom-align": {
-      "version": "1.12.2",
-      "resolved": 
"https://registry.npmjs.org/dom-align/-/dom-align-1.12.2.tgz";,
-      "integrity": 
"sha512-pHuazgqrsTFrGU2WLDdXxCFabkdQDx72ddkraZNih1KsMcN5qsRSTR9O4VJRlwTPCPb5COYg3LOfiMHHcPInHg=="
+      "version": "1.12.3",
+      "resolved": 
"https://registry.npmjs.org/dom-align/-/dom-align-1.12.3.tgz";,
+      "integrity": 
"sha512-Gj9hZN3a07cbR6zviMUBOMPdWxYhbMI+x+WS0NAIu2zFZmbK8ys9R79g+iG9qLnlCwpFoaB+fKy8Pdv470GsPA=="
     },
     "dom-converter": {
       "version": "0.2.0",
@@ -17171,9 +17171,9 @@
       "integrity": 
"sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="
     },
     "rc-align": {
-      "version": "4.0.11",
-      "resolved": "https://registry.npmjs.org/rc-align/-/rc-align-4.0.11.tgz";,
-      "integrity": 
"sha512-n9mQfIYQbbNTbefyQnRHZPWuTEwG1rY4a9yKlIWHSTbgwI+XUMGRYd0uJ5pE2UbrNX0WvnMBA1zJ3Lrecpra/A==",
+      "version": "4.0.12",
+      "resolved": "https://registry.npmjs.org/rc-align/-/rc-align-4.0.12.tgz";,
+      "integrity": 
"sha512-3DuwSJp8iC/dgHzwreOQl52soj40LchlfUHtgACOUtwGuoFIOVh6n/sCpfqCU8kO5+iz6qR0YKvjgB8iPdE3aQ==",
       "requires": {
         "@babel/runtime": "^7.10.1",
         "classnames": "2.x",
@@ -17184,24 +17184,24 @@
       }
     },
     "rc-motion": {
-      "version": "2.4.5",
-      "resolved": "https://registry.npmjs.org/rc-motion/-/rc-motion-2.4.5.tgz";,
-      "integrity": 
"sha512-f3uJHR4gcpeZS/s8/nYFSOrXt2Wu/h9GrEcbJmC0qmKrVNgwL1pTgrT5kW7lgG6PFeoL4yHDmpQoEKkrPtKIzQ==",
+      "version": "2.5.1",
+      "resolved": "https://registry.npmjs.org/rc-motion/-/rc-motion-2.5.1.tgz";,
+      "integrity": 
"sha512-h3GKMjFJkK+4z6fNfVlIMrb7WFCZsreivVvHOBb38cKcpKDx5g3kpHwn5Ekbo1+g0nnC02Dtap2trfCAPGxllw==",
       "requires": {
         "@babel/runtime": "^7.11.1",
         "classnames": "^2.2.1",
-        "rc-util": "^5.18.1"
+        "rc-util": "^5.21.0"
       }
     },
     "rc-slider": {
-      "version": "9.7.5",
-      "resolved": "https://registry.npmjs.org/rc-slider/-/rc-slider-9.7.5.tgz";,
-      "integrity": 
"sha512-LV/MWcXFjco1epPbdw1JlLXlTgmWpB9/Y/P2yinf8Pg3wElHxA9uajN21lJiWtZjf5SCUekfSP6QMJfDo4t1hg==",
+      "version": "10.0.0",
+      "resolved": 
"https://registry.npmjs.org/rc-slider/-/rc-slider-10.0.0.tgz";,
+      "integrity": 
"sha512-Bk54UIKWW4wyhHcL8ehAxt+wX+n69dscnHTX6Uv0FMxSke/TGrlkZz1LSIWblCpfE2zr/dwR2Ca8nZGk3U+Tbg==",
       "requires": {
         "@babel/runtime": "^7.10.1",
         "classnames": "^2.2.5",
         "rc-tooltip": "^5.0.1",
-        "rc-util": "^5.16.1",
+        "rc-util": "^5.18.1",
         "shallowequal": "^1.1.0"
       }
     },
@@ -17215,21 +17215,21 @@
       }
     },
     "rc-trigger": {
-      "version": "5.2.10",
-      "resolved": 
"https://registry.npmjs.org/rc-trigger/-/rc-trigger-5.2.10.tgz";,
-      "integrity": 
"sha512-FkUf4H9BOFDaIwu42fvRycXMAvkttph9AlbCZXssZDVzz2L+QZ0ERvfB/4nX3ZFPh1Zd+uVGr1DEDeXxq4J1TA==",
+      "version": "5.2.18",
+      "resolved": 
"https://registry.npmjs.org/rc-trigger/-/rc-trigger-5.2.18.tgz";,
+      "integrity": 
"sha512-hi2yZ7umtbAGLxgSph1az9BR9i4Pb4fiQa4pdvFQuKN7U//3nwwygHQKHfexnM+0APBnzZwVlEHA5I8BpWrygw==",
       "requires": {
         "@babel/runtime": "^7.11.2",
         "classnames": "^2.2.6",
         "rc-align": "^4.0.0",
         "rc-motion": "^2.0.0",
-        "rc-util": "^5.5.0"
+        "rc-util": "^5.19.2"
       }
     },
     "rc-util": {
-      "version": "5.18.1",
-      "resolved": "https://registry.npmjs.org/rc-util/-/rc-util-5.18.1.tgz";,
-      "integrity": 
"sha512-24xaSrMZUEKh1+suDOtJWfPe9E6YrwryViZcoPO0miJTKzP4qhUlV5AAlKQ82AJilz/AOHfi3l6HoX8qa1ye8w==",
+      "version": "5.21.2",
+      "resolved": "https://registry.npmjs.org/rc-util/-/rc-util-5.21.2.tgz";,
+      "integrity": 
"sha512-QuuZ2tKMScGtxSx3rLzgPGGDZm/np7phMqA7OcDidSf44abvSk+AdtdD7ZvQPvCEtdC6nCSI5tEVnUaYjjD9/w==",
       "requires": {
         "@babel/runtime": "^7.12.5",
         "react-is": "^16.12.0",
diff --git a/package.json b/package.json
index ff6b6576..5aa67d02 100644
--- a/package.json
+++ b/package.json
@@ -66,7 +66,7 @@
     "brace": "^0.11.0",
     "classnames": "^2.2.6",
     "clipboard": "^2.0.8",
-    "core-js": "^3.22.2",
+    "core-js": "^3.22.3",
     "http-proxy": "^1.18.1",
     "jquery": "^3.5.1",
     "jquery-param-fn": "^1.0.0",
@@ -76,7 +76,7 @@
     "moment": "^2.29.3",
     "nano": "^10.0.0",
     "prop-types": "^15.8.1",
-    "rc-slider": "^9.7.5",
+    "rc-slider": "^10.0.0",
     "react": "^16.14.0",
     "react-bootstrap": "^0.31.3",
     "react-dom": "^16.14.0",

Reply via email to