This is an automated email from the ASF dual-hosted git repository. ppawar pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-2.0 by this push: new bcd2b8ea8 ATLAS-4938 : (UI)Upgrade DOMPurify to latest version bcd2b8ea8 is described below commit bcd2b8ea835353320615920d3aa0aad615f12aeb Author: farhan <farhan@Gagetzones-MacBook-Pro.local> AuthorDate: Thu Dec 12 20:15:33 2024 +0530 ATLAS-4938 : (UI)Upgrade DOMPurify to latest version Signed-off-by: Prasad Pawar <prasad.pa...@cloudera.com> --- dashboardv2/gruntfile.js | 4 ++-- dashboardv2/public/js/external_lib/dompurify/purify.min.js | 6 +++--- dashboardv3/gruntfile.js | 4 ++-- dashboardv3/public/js/external_lib/dompurify/purify.min.js | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dashboardv2/gruntfile.js b/dashboardv2/gruntfile.js index 12cd2b708..5fdf850f2 100644 --- a/dashboardv2/gruntfile.js +++ b/dashboardv2/gruntfile.js @@ -234,7 +234,7 @@ module.exports = function(grunt) { files: [{ expand: true, cwd: distPath + '/js', - src: ['external_lib/**/*.js', 'libs/**/*.js'], + src: ['external_lib/**/*.js', '!external_lib/**/purify.min.js', 'libs/**/*.js'], dest: distPath + '/js' }] }, @@ -247,7 +247,7 @@ module.exports = function(grunt) { files: [{ expand: true, cwd: distPath + '/js', - src: ['**/*.js', '!libs/**', '!external_lib/**'], + src: ['**/*.js', '!libs/**', '!external_lib/**/purify.min.js', '!external_lib/**'], dest: distPath + '/js' }] } diff --git a/dashboardv2/public/js/external_lib/dompurify/purify.min.js b/dashboardv2/public/js/external_lib/dompurify/purify.min.js index 602e48ee0..156159038 100644 --- a/dashboardv2/public/js/external_lib/dompurify/purify.min.js +++ b/dashboardv2/public/js/external_lib/dompurify/purify.min.js @@ -1,3 +1,3 @@ -/*! @license DOMPurify 2.3.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.4/LICENSE */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).DOMPurify=t()}(this,(function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.getPrototypeOf,o=Object.getOwnPropertyDescriptor,i=Object.freeze,a=Object.seal,l=Object.create,c="undefined"!=typeof Reflect&&Reflect,s=c.apply,u=c.construct;s||(s=function(e,t,n){return e.apply(t,n)}),i||(i=function(e){r [...] -//# sourceMappingURL=purify.min.js.map +/*! @license DOMPurify 3.2.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.3/LICENSE */ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=fu [...] +//# sourceMappingURL=purify.min.js.map \ No newline at end of file diff --git a/dashboardv3/gruntfile.js b/dashboardv3/gruntfile.js index fdd5831fb..cf7fb414d 100644 --- a/dashboardv3/gruntfile.js +++ b/dashboardv3/gruntfile.js @@ -240,7 +240,7 @@ module.exports = function(grunt) { files: [{ expand: true, cwd: distPath + '/js', - src: ['external_lib/**/*.js', 'libs/**/*.js'], + src: ['external_lib/**/*.js', '!external_lib/**/purify.min.js', 'libs/**/*.js'], dest: distPath + '/js' }] }, @@ -253,7 +253,7 @@ module.exports = function(grunt) { files: [{ expand: true, cwd: distPath + '/js', - src: ['**/*.js', '!libs/**', '!external_lib/**'], + src: ['**/*.js', '!libs/**', '!external_lib/**/purify.min.js', '!external_lib/**'], dest: distPath + '/js' }] } diff --git a/dashboardv3/public/js/external_lib/dompurify/purify.min.js b/dashboardv3/public/js/external_lib/dompurify/purify.min.js index 602e48ee0..156159038 100644 --- a/dashboardv3/public/js/external_lib/dompurify/purify.min.js +++ b/dashboardv3/public/js/external_lib/dompurify/purify.min.js @@ -1,3 +1,3 @@ -/*! @license DOMPurify 2.3.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.4/LICENSE */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).DOMPurify=t()}(this,(function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.getPrototypeOf,o=Object.getOwnPropertyDescriptor,i=Object.freeze,a=Object.seal,l=Object.create,c="undefined"!=typeof Reflect&&Reflect,s=c.apply,u=c.construct;s||(s=function(e,t,n){return e.apply(t,n)}),i||(i=function(e){r [...] -//# sourceMappingURL=purify.min.js.map +/*! @license DOMPurify 3.2.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.3/LICENSE */ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=fu [...] +//# sourceMappingURL=purify.min.js.map \ No newline at end of file