From 4a9107d7f14463edd88adf3b742bf9ca4acdf776 Mon Sep 17 00:00:00 2001 From: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com> Date: Fri, 15 Oct 2021 10:17:45 -0700 Subject: [PATCH] chore: upgrade highlight.js (#17067) --- superset-frontend/package-lock.json | 51 ++++++++++++++--------------- superset-frontend/package.json | 2 +- 2 files changed, 26 insertions(+), 27 deletions(-) diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json index 32b1fa2a4cdef..62965ef27bb00 100644 --- a/superset-frontend/package-lock.json +++ b/superset-frontend/package-lock.json @@ -113,7 +113,7 @@ "react-sortable-hoc": "^1.11.0", "react-split": "^2.0.9", "react-sticky": "^6.0.3", - "react-syntax-highlighter": "^15.3.0", + "react-syntax-highlighter": "^15.4.4", "react-table": "^7.6.3", "react-transition-group": "^2.5.3", "react-ultimate-pagination": "^1.2.0", @@ -26767,10 +26767,9 @@ } }, "node_modules/highlight.js": { - "version": "10.3.2", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.3.2.tgz", - "integrity": "sha512-3jRT7OUYsVsKvukNKZCtnvRcFyCJqSEIuIMsEybAXRiFSwpt65qjPd/Pr+UOdYt7WJlt+lj3+ypUsHiySBp/Jw==", - "deprecated": "Potential vulnerability. Please upgrade to @latest", + "version": "10.7.3", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.3.tgz", + "integrity": "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==", "engines": { "node": "*" } @@ -31728,12 +31727,12 @@ "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==" }, "node_modules/lowlight": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/lowlight/-/lowlight-1.16.0.tgz", - "integrity": "sha512-ECLdzIJvBEjK4ef51sWiGZyz21yx4IEPaF/62DRxLehoOHkWqN3OsLB1GUMfc6Mcf87rR5eW7z6lI9cNEXZDsQ==", + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/lowlight/-/lowlight-1.20.0.tgz", + "integrity": "sha512-8Ktj+prEb1RoCPkEOrPMYUN/nCggB7qAWe3a7OpMjWQkh3l2RD5wKRQ+o8Q8YuI9RG/xs95waaI/E6ym/7NsTw==", "dependencies": { "fault": "^1.0.0", - "highlight.js": "~10.3.0" + "highlight.js": "~10.7.0" }, "funding": { "type": "github", @@ -36992,13 +36991,13 @@ } }, "node_modules/react-syntax-highlighter": { - "version": "15.3.0", - "resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-15.3.0.tgz", - "integrity": "sha512-ghJkkmNw/3wRf9XEvfGeG7tfTuAMyThdNxJy50s9CmnwS3QusKDC+F5lX6lvX3mm+V0CwN+zpRioQb0kgdT11w==", + "version": "15.4.4", + "resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-15.4.4.tgz", + "integrity": "sha512-PsOFHNTzkb3OroXdoR897eKN5EZ6grht1iM+f1lJSq7/L0YVnkJaNVwC3wEUYPOAmeyl5xyer1DjL6MrumO6Zw==", "dependencies": { "@babel/runtime": "^7.3.1", - "highlight.js": "^10.1.1", - "lowlight": "^1.14.0", + "highlight.js": "^10.4.1", + "lowlight": "^1.17.0", "prismjs": "^1.22.0", "refractor": "^3.2.0" }, @@ -65066,9 +65065,9 @@ "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==" }, "highlight.js": { - "version": "10.3.2", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.3.2.tgz", - "integrity": "sha512-3jRT7OUYsVsKvukNKZCtnvRcFyCJqSEIuIMsEybAXRiFSwpt65qjPd/Pr+UOdYt7WJlt+lj3+ypUsHiySBp/Jw==" + "version": "10.7.3", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.3.tgz", + "integrity": "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==" }, "history": { "version": "4.10.1", @@ -68967,12 +68966,12 @@ } }, "lowlight": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/lowlight/-/lowlight-1.16.0.tgz", - "integrity": "sha512-ECLdzIJvBEjK4ef51sWiGZyz21yx4IEPaF/62DRxLehoOHkWqN3OsLB1GUMfc6Mcf87rR5eW7z6lI9cNEXZDsQ==", + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/lowlight/-/lowlight-1.20.0.tgz", + "integrity": "sha512-8Ktj+prEb1RoCPkEOrPMYUN/nCggB7qAWe3a7OpMjWQkh3l2RD5wKRQ+o8Q8YuI9RG/xs95waaI/E6ym/7NsTw==", "requires": { "fault": "^1.0.0", - "highlight.js": "~10.3.0" + "highlight.js": "~10.7.0" } }, "lru-cache": { @@ -73168,13 +73167,13 @@ } }, "react-syntax-highlighter": { - "version": "15.3.0", - "resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-15.3.0.tgz", - "integrity": "sha512-ghJkkmNw/3wRf9XEvfGeG7tfTuAMyThdNxJy50s9CmnwS3QusKDC+F5lX6lvX3mm+V0CwN+zpRioQb0kgdT11w==", + "version": "15.4.4", + "resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-15.4.4.tgz", + "integrity": "sha512-PsOFHNTzkb3OroXdoR897eKN5EZ6grht1iM+f1lJSq7/L0YVnkJaNVwC3wEUYPOAmeyl5xyer1DjL6MrumO6Zw==", "requires": { "@babel/runtime": "^7.3.1", - "highlight.js": "^10.1.1", - "lowlight": "^1.14.0", + "highlight.js": "^10.4.1", + "lowlight": "^1.17.0", "prismjs": "^1.22.0", "refractor": "^3.2.0" } diff --git a/superset-frontend/package.json b/superset-frontend/package.json index a0150e18ec44b..89bb4b0a20674 100644 --- a/superset-frontend/package.json +++ b/superset-frontend/package.json @@ -165,7 +165,7 @@ "react-sortable-hoc": "^1.11.0", "react-split": "^2.0.9", "react-sticky": "^6.0.3", - "react-syntax-highlighter": "^15.3.0", + "react-syntax-highlighter": "^15.4.4", "react-table": "^7.6.3", "react-transition-group": "^2.5.3", "react-ultimate-pagination": "^1.2.0",