You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by nd...@apache.org on 2023/04/17 10:46:18 UTC

[hbase] branch master updated: HBASE-27791 Upgrade vega and its related js libraries (#5173)

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

ndimiduk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new 24c471a0b39 HBASE-27791 Upgrade vega and its related js libraries (#5173)
24c471a0b39 is described below

commit 24c471a0b392dbc17d6922188423ae8ade1a25e7
Author: Nihal Jain <ni...@gmail.com>
AuthorDate: Mon Apr 17 16:16:07 2023 +0530

    HBASE-27791 Upgrade vega and its related js libraries (#5173)
    
    Signed-off-by: Rajeshbabu Chintaguntla <ra...@apache.org>
    Signed-off-by: Nick Dimiduk <nd...@apache.org>
---
 LICENSE.txt                                        |  6 ++---
 .../hbase/tmpl/master/RegionVisualizerTmpl.jamon   |  6 ++---
 .../static/js/vega-embed@6.15.1.min.js             | 27 ----------------------
 .../static/js/vega-embed@6.21.3.min.js             |  7 ++++++
 .../hbase-webapps/static/js/vega-lite@5.0.0.min.js |  2 --
 .../hbase-webapps/static/js/vega-lite@5.6.1.min.js |  2 ++
 .../hbase-webapps/static/js/vega@5.19.1.min.js     |  2 --
 .../hbase-webapps/static/js/vega@5.24.0.min.js     |  2 ++
 8 files changed, 17 insertions(+), 37 deletions(-)

diff --git a/LICENSE.txt b/LICENSE.txt
index d81488489b9..197ace3b792 100755
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -642,11 +642,11 @@ under a '2-clause BSD' license.
 
 ----
 This project bundles a copy of the Vega minified javascript library version
-5.19.1, the Vega-Lite minified javascript library version 5.0.0, and the
-Vega-Embed minified javascript library version 6.15.1. All three are
+5.24.0, the Vega-Lite minified javascript library version 5.6.1, and the
+Vega-Embed minified javascript library version 6.21.3. All three are
 available under the following '3-clause BSD' license.
 
-Copyright (c) 2015-2018, University of Washington Interactive Data Lab
+Copyright (c) 2015-2023, University of Washington Interactive Data Lab
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
diff --git a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/RegionVisualizerTmpl.jamon b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/RegionVisualizerTmpl.jamon
index 38df9bb9d67..ee6899edc1e 100644
--- a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/RegionVisualizerTmpl.jamon
+++ b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/RegionVisualizerTmpl.jamon
@@ -17,9 +17,9 @@ See the License for the specific language governing permissions and
 limitations under the License.
 </%doc>
 
-    <script type="text/javascript" src="/static/js/vega@5.19.1.min.js"></script>
-    <script type="text/javascript" src="/static/js/vega-lite@5.0.0.min.js"></script>
-    <script type="text/javascript" src="/static/js/vega-embed@6.15.1.min.js"></script>
+    <script type="text/javascript" src="/static/js/vega@5.24.0.min.js"></script>
+    <script type="text/javascript" src="/static/js/vega-lite@5.6.1.min.js"></script>
+    <script type="text/javascript" src="/static/js/vega-embed@6.21.3.min.js"></script>
 
     <div id="vis" style="width:80%;"></div>
     <script type="text/javascript">
diff --git a/hbase-server/src/main/resources/hbase-webapps/static/js/vega-embed@6.15.1.min.js b/hbase-server/src/main/resources/hbase-webapps/static/js/vega-embed@6.15.1.min.js
deleted file mode 100644
index 254cc0af510..00000000000
--- a/hbase-server/src/main/resources/hbase-webapps/static/js/vega-embed@6.15.1.min.js
+++ /dev/null
@@ -1,27 +0,0 @@
-!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("vega"),require("vega-lite")):"function"==typeof define&&define.amd?define(["vega","vega-lite"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).vegaEmbed=t(e.vega,e.vegaLite)}(this,(function(e,t){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object [...]
-/*!
-   * https://github.com/Starcounter-Jack/JSON-Patch
-   * (c) 2017 Joachim Wester
-   * MIT license
-   */var c,h=(c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),u=Object.prototype.hasOwnProperty;function p(e,t){return u.call(e,t)}function f(e){if(Array.isArray(e)){for(var t=new Array(e.length),r=0;r<t.length;r++)t[r]=""+r;return t}i [...]
-/*!
-   * https://github.com/Starcounter-Jack/JSON-Patch
-   * (c) 2017 Joachim Wester
-   * MIT license
-   */function F(e,t){void 0===t&&(t=!1);var r=C.get(e.object);P(r.value,e.object,e.patches,"",t),e.patches.length&&x(r.value,e.patches);var n=e.patches;return n.length>0&&(e.patches=[],e.callback&&e.callback(n)),n}function P(e,t,r,n,i){if(t!==e){"function"==typeof t.toJSON&&(t=t.toJSON());for(var o=f(t),a=f(e),s=!1,l=a.length-1;l>=0;l--){var c=e[u=a[l]];if(!p(t,u)||void 0===t[u]&&void 0!==c&&!1===Array.isArray(t))Array.isArray(e)===Array.isArray(t)?(i&&r.push({op:"test",path:n+"/"+g(u),v [...]
-/*! *****************************************************************************
-  Copyright (c) Microsoft Corporation.
-
-  Permission to use, copy, modify, and/or distribute this software for any
-  purpose with or without fee is hereby granted.
-
-  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-  REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-  AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-  INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-  PERFORMANCE OF THIS SOFTWARE.
-  ***************************************************************************** */
-function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}(i,["title","image"]);o&&(n+=`<h2>${t(o)}</h2>`),a&&(n+=`<img src="${t(a)}">`);const l=Object.keys(s);if(l.length>0){n+="<table>";for(const e of l){let i=s[e];void [...]
-//# sourceMappingURL=vega-embed.min.js.map
diff --git a/hbase-server/src/main/resources/hbase-webapps/static/js/vega-embed@6.21.3.min.js b/hbase-server/src/main/resources/hbase-webapps/static/js/vega-embed@6.21.3.min.js
new file mode 100644
index 00000000000..5f8c633bc84
--- /dev/null
+++ b/hbase-server/src/main/resources/hbase-webapps/static/js/vega-embed@6.21.3.min.js
@@ -0,0 +1,7 @@
+!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("vega"),require("vega-lite")):"function"==typeof define&&define.amd?define(["vega","vega-lite"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).vegaEmbed=t(e.vega,e.vegaLite)}(this,(function(e,t){"use strict";function n(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r: [...]
+/*!
+     * https://github.com/Starcounter-Jack/JSON-Patch
+     * (c) 2017-2021 Joachim Wester
+     * MIT license
+     */function S(e,t){void 0===t&&(t=!1);var n=R.get(e.object);D(n.value,e.object,e.patches,"",t),e.patches.length&&A(n.value,e.patches);var r=e.patches;return r.length>0&&(e.patches=[],e.callback&&e.callback(r)),r}function D(e,t,n,r,i){if(t!==e){"function"==typeof t.toJSON&&(t=t.toJSON());for(var o=c(t),a=c(e),s=!1,p=a.length-1;p>=0;p--){var u=e[g=a[p]];if(!l(t,g)||void 0===t[g]&&void 0!==u&&!1===Array.isArray(t))Array.isArray(e)===Array.isArray(t)?(i&&n.push({op:"test",path:r+"/"+d(g) [...]
+//# sourceMappingURL=vega-embed.min.js.map
diff --git a/hbase-server/src/main/resources/hbase-webapps/static/js/vega-lite@5.0.0.min.js b/hbase-server/src/main/resources/hbase-webapps/static/js/vega-lite@5.0.0.min.js
deleted file mode 100644
index adfbb71f65b..00000000000
--- a/hbase-server/src/main/resources/hbase-webapps/static/js/vega-lite@5.0.0.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vega-util"),require("vega")):"function"==typeof define&&define.amd?define(["exports","vega-util","vega"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).vegaLite={},e.vega,e.vega)}(this,(function(e,t,n){"use strict";var i="5.0.0";Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Arr [...]
-//# sourceMappingURL=vega-lite.min.js.map
diff --git a/hbase-server/src/main/resources/hbase-webapps/static/js/vega-lite@5.6.1.min.js b/hbase-server/src/main/resources/hbase-webapps/static/js/vega-lite@5.6.1.min.js
new file mode 100644
index 00000000000..9974c4d18f5
--- /dev/null
+++ b/hbase-server/src/main/resources/hbase-webapps/static/js/vega-lite@5.6.1.min.js
@@ -0,0 +1,2 @@
+!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vega")):"function"==typeof define&&define.amd?define(["exports","vega"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).vegaLite={},e.vega)}(this,(function(e,t){"use strict";var n="5.6.1",i={};!function(e){var t=function(){function e(e,t){return null!=t&&e instanceof t}var t,n,i;try{t=Map}catch(e){t=function(){}}try{n=Set}catch(e){n=function(){}}try{i=Promise}catch(e){i=function(){}}function [...]
+//# sourceMappingURL=vega-lite.min.js.map
diff --git a/hbase-server/src/main/resources/hbase-webapps/static/js/vega@5.19.1.min.js b/hbase-server/src/main/resources/hbase-webapps/static/js/vega@5.19.1.min.js
deleted file mode 100644
index 4b014916e74..00000000000
--- a/hbase-server/src/main/resources/hbase-webapps/static/js/vega@5.19.1.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).vega={})}(this,(function(t){"use strict";var e="5.19.1";function n(t,e,n){return t.fields=e||[],t.fname=n,t}function r(t){return null==t?null:t.fname}function i(t){return null==t?null:t.fields}function o(t){return 1===t.length?a(t[0]):u(t)}const a=t=>function(e){return e[t]},u=t=>{const e=t.lengt [...]
-//# sourceMappingURL=vega.min.js.map
diff --git a/hbase-server/src/main/resources/hbase-webapps/static/js/vega@5.24.0.min.js b/hbase-server/src/main/resources/hbase-webapps/static/js/vega@5.24.0.min.js
new file mode 100644
index 00000000000..83c28e7fee3
--- /dev/null
+++ b/hbase-server/src/main/resources/hbase-webapps/static/js/vega@5.24.0.min.js
@@ -0,0 +1,2 @@
+!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).vega={})}(this,(function(t){"use strict";function e(t,e,n){return t.fields=e||[],t.fname=n,t}function n(t){return null==t?null:t.fname}function r(t){return null==t?null:t.fields}function i(t){return 1===t.length?o(t[0]):a(t)}const o=t=>function(e){return e[t]},a=t=>{const e=t.length;return functi [...]
+//# sourceMappingURL=vega.min.js.map