From 62477f02791d87fa1834588b99bd7e6fe1cef7fd Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Fri, 11 Jan 2019 01:56:44 +0100 Subject: [PATCH] Update bootstrap from 3.3.7 to 3.4.0 Seems like finally there is a new bootstrap version for old version 3. This patch implements this new version with CodiMD and this way fixes some possible security issues in the frontend code. See: https://snyk.io/vuln/SNYK-JS-BOOTSTRAP-72889 https://snyk.io/vuln/SNYK-JS-BOOTSTRAP-72890 Signed-off-by: Sheogorath --- package.json | 2 +- public/views/codimd/foot.ejs | 2 +- public/views/codimd/head.ejs | 2 +- public/views/html.hbs | 4 ++-- public/views/index/foot.ejs | 2 +- public/views/index/head.ejs | 2 +- public/views/pretty.ejs | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 3e2f590d0..30c4bf8df 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "azure-storage": "^2.7.0", "base64url": "^3.0.0", "body-parser": "^1.15.2", - "bootstrap": "^3.3.7", + "bootstrap": "^3.4.0", "bootstrap-validator": "^0.11.8", "chance": "^1.0.4", "cheerio": "^0.22.0", diff --git a/public/views/codimd/foot.ejs b/public/views/codimd/foot.ejs index 3a7fefd4a..98cbcec2b 100644 --- a/public/views/codimd/foot.ejs +++ b/public/views/codimd/foot.ejs @@ -3,7 +3,7 @@ - + diff --git a/public/views/codimd/head.ejs b/public/views/codimd/head.ejs index afa89d132..e3edde66c 100644 --- a/public/views/codimd/head.ejs +++ b/public/views/codimd/head.ejs @@ -8,7 +8,7 @@ <% if(useCDN) { %> - + diff --git a/public/views/html.hbs b/public/views/html.hbs index 490d31a47..42710d6e1 100644 --- a/public/views/html.hbs +++ b/public/views/html.hbs @@ -15,7 +15,7 @@ - + @@ -49,7 +49,7 @@ {{{ui-toc-affix}}} - + - + diff --git a/public/views/index/head.ejs b/public/views/index/head.ejs index 7a601bdfc..d790d9177 100644 --- a/public/views/index/head.ejs +++ b/public/views/index/head.ejs @@ -10,7 +10,7 @@ <% if(useCDN) { %> - + diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index ff4dcc236..17516f96b 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -18,7 +18,7 @@ <% if(useCDN) { %> - + @@ -75,7 +75,7 @@ <% if(useCDN) { %> - +