Skip to content

Commit 501b46f

Browse files
authored
Merge pull request #871 from SISheogorath/update/dependencies
Update dependencies
2 parents 453cb19 + f30cc30 commit 501b46f

9 files changed

Lines changed: 46 additions & 85 deletions

File tree

lib/web/auth/ldap/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ let ldapAuth = module.exports = Router()
1515
passport.use(new LDAPStrategy({
1616
server: {
1717
url: config.ldap.url || null,
18-
bindDn: config.ldap.bindDn || null,
18+
bindDN: config.ldap.bindDn || null,
1919
bindCredentials: config.ldap.bindCredentials || null,
2020
searchBase: config.ldap.searchBase || null,
2121
searchFilter: config.ldap.searchFilter || null,

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"graceful-fs": "^4.1.11",
4848
"handlebars": "^4.0.6",
4949
"helmet": "^3.3.0",
50-
"highlight.js": "~9.9.0",
50+
"highlight.js": "~9.12.0",
5151
"i18n": "^0.8.3",
5252
"imgur": "git+https://github.com/hackmdio/node-imgur.git",
5353
"ionicons": "~2.0.1",
@@ -76,36 +76,36 @@
7676
"markdown-it-regexp": "^0.4.0",
7777
"markdown-it-sub": "^1.0.0",
7878
"markdown-it-sup": "^1.0.0",
79-
"markdown-pdf": "^7.0.0",
79+
"markdown-pdf": "^8.0.0",
8080
"mathjax": "~2.7.0",
8181
"mermaid": "~7.1.0",
8282
"mattermost": "^3.4.0",
8383
"meta-marked": "^0.4.2",
8484
"method-override": "^2.3.7",
8585
"minimist": "^1.2.0",
86-
"minio": "^3.1.3",
86+
"minio": "^6.0.0",
8787
"moment": "^2.17.1",
8888
"morgan": "^1.7.0",
8989
"mysql": "^2.12.0",
9090
"node-uuid": "^1.4.7",
91-
"octicons": "~3.5.0",
92-
"passport": "^0.3.2",
91+
"octicons": "~4.4.0",
92+
"passport": "^0.4.0",
9393
"passport-dropbox-oauth2": "^1.1.0",
9494
"passport-facebook": "^2.1.1",
9595
"passport-github": "^1.1.0",
96-
"passport-gitlab2": "^2.2.0",
96+
"passport-gitlab2": "^4.0.0",
9797
"passport-google-oauth20": "^1.0.0",
98-
"passport-ldapauth": "^0.6.0",
98+
"passport-ldapauth": "^2.0.0",
9999
"passport-local": "^1.0.0",
100100
"passport-oauth2": "^1.4.0",
101101
"passport-twitter": "^1.0.4",
102102
"passport-saml": "^0.31.0",
103103
"passport.socketio": "^3.7.0",
104104
"pdfobject": "^2.0.201604172",
105-
"pg": "^6.1.2",
105+
"pg": "^7.4.3",
106106
"pg-hstore": "^2.3.2",
107107
"prismjs": "^1.6.0",
108-
"randomcolor": "^0.4.4",
108+
"randomcolor": "^0.5.3",
109109
"raphael": "git+https://github.com/dmitrybaranovskiy/raphael",
110110
"readline-sync": "^1.4.7",
111111
"request": "^2.79.0",
@@ -114,24 +114,24 @@
114114
"select2": "^3.5.2-browserify",
115115
"sequelize": "^3.28.0",
116116
"sequelize-cli": "^2.5.1",
117-
"shortid": "2.2.6",
117+
"shortid": "2.2.8",
118118
"socket.io": "~2.0.4",
119119
"socket.io-client": "~2.0.4",
120120
"spin.js": "^2.3.2",
121-
"sqlite3": "^3.1.8",
122-
"store": "^1.3.20",
121+
"sqlite3": "^4.0.1",
122+
"store": "^2.0.12",
123123
"string": "^3.3.3",
124124
"tedious": "^1.14.0",
125125
"to-markdown": "^3.0.3",
126126
"toobusy-js": "^0.5.1",
127127
"uuid": "^3.1.0",
128128
"uws": "~0.14.1",
129-
"validator": "^6.2.0",
129+
"validator": "^10.4.0",
130130
"velocity-animate": "^1.4.0",
131131
"visibilityjs": "^1.2.4",
132132
"viz.js": "^1.7.0",
133133
"winston": "^2.3.0",
134-
"xss": "^0.3.3"
134+
"xss": "^1.0.3"
135135
},
136136
"engines": {
137137
"node": ">=6.x <10.x"

public/js/history.js

Lines changed: 20 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-env browser, jquery */
2-
/* global serverurl, Cookies, moment */
2+
/* global serverurl, moment */
33

44
import store from 'store'
55
import S from 'string'
@@ -64,13 +64,7 @@ export function saveHistory (notehistory) {
6464
}
6565

6666
function saveHistoryToStorage (notehistory) {
67-
if (store.enabled) { store.set('notehistory', JSON.stringify(notehistory)) } else { saveHistoryToCookie(notehistory) }
68-
}
69-
70-
function saveHistoryToCookie (notehistory) {
71-
Cookies.set('notehistory', notehistory, {
72-
expires: 365
73-
})
67+
store.set('notehistory', JSON.stringify(notehistory))
7468
}
7569

7670
function saveHistoryToServer (notehistory) {
@@ -150,35 +144,17 @@ export function writeHistory (title, tags) {
150144
)
151145
}
152146

153-
function writeHistoryToCookie (title, tags) {
154-
var notehistory
155-
try {
156-
notehistory = Cookies.getJSON('notehistory')
157-
} catch (err) {
158-
notehistory = []
159-
}
160-
if (!notehistory) { notehistory = [] }
161-
const newnotehistory = generateHistory(title, tags, notehistory)
162-
saveHistoryToCookie(newnotehistory)
163-
}
164-
165147
function writeHistoryToStorage (title, tags) {
166-
if (store.enabled) {
167-
let data = store.get('notehistory')
168-
var notehistory
169-
if (data) {
170-
if (typeof data === 'string') { data = JSON.parse(data) }
171-
notehistory = data
172-
} else {
173-
notehistory = []
174-
}
175-
if (!notehistory) { notehistory = [] }
176-
177-
const newnotehistory = generateHistory(title, tags, notehistory)
178-
saveHistoryToStorage(newnotehistory)
148+
let data = store.get('notehistory')
149+
let notehistory
150+
if (data && typeof data === 'string') {
151+
notehistory = JSON.parse(data)
179152
} else {
180-
writeHistoryToCookie(title, tags)
153+
notehistory = []
181154
}
155+
156+
const newnotehistory = generateHistory(title, tags, notehistory)
157+
saveHistoryToStorage(newnotehistory)
182158
}
183159

184160
if (!Array.isArray) {
@@ -236,20 +212,13 @@ function getServerHistory (callback) {
236212
})
237213
}
238214

239-
function getCookieHistory (callback) {
240-
callback(Cookies.getJSON('notehistory'))
241-
}
242-
243215
export function getStorageHistory (callback) {
244-
if (store.enabled) {
245-
let data = store.get('notehistory')
246-
if (data) {
247-
if (typeof data === 'string') { data = JSON.parse(data) }
248-
callback(data)
249-
} else { getCookieHistory(callback) }
250-
} else {
251-
getCookieHistory(callback)
216+
let data = store.get('notehistory')
217+
if (data) {
218+
if (typeof data === 'string') { data = JSON.parse(data) }
219+
callback(data)
252220
}
221+
callback([])
253222
}
254223

255224
export function parseHistory (list, callback) {
@@ -275,21 +244,13 @@ export function parseServerToHistory (list, callback) {
275244
})
276245
}
277246

278-
function parseCookieToHistory (list, callback) {
279-
const notehistory = Cookies.getJSON('notehistory')
280-
parseToHistory(list, notehistory, callback)
281-
}
282-
283247
export function parseStorageToHistory (list, callback) {
284-
if (store.enabled) {
285-
let data = store.get('notehistory')
286-
if (data) {
287-
if (typeof data === 'string') { data = JSON.parse(data) }
288-
parseToHistory(list, data, callback)
289-
} else { parseCookieToHistory(list, callback) }
290-
} else {
291-
parseCookieToHistory(list, callback)
248+
let data = store.get('notehistory')
249+
if (data) {
250+
if (typeof data === 'string') { data = JSON.parse(data) }
251+
parseToHistory(list, data, callback)
292252
}
253+
parseToHistory(list, [], callback)
293254
}
294255

295256
function parseToHistory (list, notehistory, callback) {

public/views/codimd/foot.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.2/lodash.min.js" integrity="sha256-Cv5v4i4SuYvwRYzIONifZjoc99CkwfncROMSWat1cVA=" crossorigin="anonymous" defer></script>
1515
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.4/socket.io.js" integrity="sha256-WPeFPWD3PZQUDrpFnDM1N2KadNVwCfNS4cCZ78b76T8=" crossorigin="anonymous" defer></script>
1616
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.6/handlebars.min.js" integrity="sha256-1O3BtOwnPyyRzOszK6P+gqaRoXHV6JXj8HkjZmPYhCI=" crossorigin="anonymous" defer></script>
17-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js" integrity="sha256-KbfTjB0WZ8vvXngdpJGY3Yp3xKk+tttbqClO11anCIU=" crossorigin="anonymous" defer></script>
17+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js" integrity="sha256-/BfiIkHlHoVihZdc6TFuj7MmJ0TWcWsMXkeDFwhi0zw=" crossorigin="anonymous" defer></script>
1818
<script src="https://cdnjs.cloudflare.com/ajax/libs/gist-embed/2.6.0/gist-embed.min.js" integrity="sha256-KyF2D6xPIJUW5sUDSs93vWyZm+1RzIpKCexxElmxl8g=" crossorigin="anonymous" defer></script>
1919
<script src="https://cdnjs.cloudflare.com/ajax/libs/viz.js/1.7.0/viz.js" integrity="sha256-8t+rndrF+TU4JtelmOH1lDHTMe2ovhO2UbzDArp5lY8=" crossorigin="anonymous" defer></script>
2020
<script src="https://cdnjs.cloudflare.com/ajax/libs/1000hz-bootstrap-validator/0.11.8/validator.min.js" integrity="sha256-LHeY7YoYJ0SSXbCx7sR14Pqna+52moaH3bhv0Mjzd/M=" crossorigin="anonymous" defer></script>

public/views/codimd/head.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
1313
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-social/4.9.0/bootstrap-social.min.css" integrity="sha256-02JtFTurpwBjQJ6q13iJe82/NF0RbZlJroDegK5g87Y=" crossorigin="anonymous" />
1414
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css" integrity="sha256-3iu9jgsy9TpTwXKb7bNQzqWekRX7pPK+2OLj3R922fo=" crossorigin="anonymous" />
15-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css" integrity="sha256-QiWfLIsCT02Sdwkogf6YMiQlj4NE84MKkzEMkZnMGdg=" crossorigin="anonymous" />
15+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/4.4.0/octicons.min.css" integrity="sha256-4eCms8tUm+iL29tUvmRhNRnz/7lNI4oTtQzqa/uM2dI=" crossorigin="anonymous" />
1616
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/emojify.js/1.1.0/css/basic/emojify.min.css" integrity="sha256-UOrvMOsSDSrW6szVLe8ZDZezBxh5IoIfgTwdNDgTjiU=" crossorigin="anonymous" />
1717
<%- include ../build/index-header %>
1818
<%- include ../shared/polyfill %>

public/views/html.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
1919
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
2020
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css" integrity="sha256-3iu9jgsy9TpTwXKb7bNQzqWekRX7pPK+2OLj3R922fo=" crossorigin="anonymous" />
21-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css" integrity="sha256-QiWfLIsCT02Sdwkogf6YMiQlj4NE84MKkzEMkZnMGdg=" crossorigin="anonymous" />
21+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/4.4.0/octicons.min.css" integrity="sha256-4eCms8tUm+iL29tUvmRhNRnz/7lNI4oTtQzqa/uM2dI=" crossorigin="anonymous" />
2222
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.5.1/themes/prism.min.css" integrity="sha256-vtR0hSWRc3Tb26iuN2oZHt3KRUomwTufNIf5/4oeCyg=" crossorigin="anonymous" />
23-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/styles/github-gist.min.css" integrity="sha256-tAflq+ymku3Khs+I/WcAneIlafYgDiOQ9stIHH985Wo=" crossorigin="anonymous" />
23+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github-gist.min.css" integrity="sha256-tAflq+ymku3Khs+I/WcAneIlafYgDiOQ9stIHH985Wo=" crossorigin="anonymous" />
2424
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/emojify.js/1.1.0/css/basic/emojify.min.css" integrity="sha256-UOrvMOsSDSrW6szVLe8ZDZezBxh5IoIfgTwdNDgTjiU=" crossorigin="anonymous" />
2525
<style>
2626
{{{css}}}

public/views/pretty.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
2222
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
2323
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css" integrity="sha256-3iu9jgsy9TpTwXKb7bNQzqWekRX7pPK+2OLj3R922fo=" crossorigin="anonymous" />
24-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css" integrity="sha256-QiWfLIsCT02Sdwkogf6YMiQlj4NE84MKkzEMkZnMGdg=" crossorigin="anonymous" />
24+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/4.4.0/octicons.min.css" integrity="sha256-4eCms8tUm+iL29tUvmRhNRnz/7lNI4oTtQzqa/uM2dI=" crossorigin="anonymous" />
2525
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/emojify.js/1.1.0/css/basic/emojify.min.css" integrity="sha256-UOrvMOsSDSrW6szVLe8ZDZezBxh5IoIfgTwdNDgTjiU=" crossorigin="anonymous" />
2626
<%- include build/pretty-header %>
2727
<%- include shared/polyfill %>
@@ -85,7 +85,7 @@
8585
<script src="https://cdnjs.cloudflare.com/ajax/libs/mermaid/7.1.0/mermaid.min.js" integrity="sha256-M3OC0Q6g4/+Q4j73OvnsnA+lMkdAE5KgupRHqTiPbnI=" crossorigin="anonymous" defer></script>
8686
<script src="https://cdnjs.cloudflare.com/ajax/libs/emojify.js/1.1.0/js/emojify.min.js" integrity="sha256-VAB5tAlKBvgaxw8oJ1crWMVbdmBVl4mP/2M8MNRl+4E=" crossorigin="anonymous" defer></script>
8787
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.6/handlebars.min.js" integrity="sha256-1O3BtOwnPyyRzOszK6P+gqaRoXHV6JXj8HkjZmPYhCI=" crossorigin="anonymous" defer></script>
88-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js" integrity="sha256-KbfTjB0WZ8vvXngdpJGY3Yp3xKk+tttbqClO11anCIU=" crossorigin="anonymous" defer></script>
88+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js" integrity="sha256-/BfiIkHlHoVihZdc6TFuj7MmJ0TWcWsMXkeDFwhi0zw=" crossorigin="anonymous" defer></script>
8989
<script src="https://cdnjs.cloudflare.com/ajax/libs/gist-embed/2.6.0/gist-embed.min.js" integrity="sha256-KyF2D6xPIJUW5sUDSs93vWyZm+1RzIpKCexxElmxl8g=" crossorigin="anonymous" defer></script>
9090
<script src="https://cdnjs.cloudflare.com/ajax/libs/viz.js/1.7.0/viz.js" integrity="sha256-8t+rndrF+TU4JtelmOH1lDHTMe2ovhO2UbzDArp5lY8=" crossorigin="anonymous" defer></script>
9191
<script src="https://cdnjs.cloudflare.com/ajax/libs/abcjs/3.1.1/abcjs_basic-min.js" integrity="sha256-Sq1r2XXWXQoShQKsS0Wrf5r7fRkErd9Fat9vHYeU68s=" crossorigin="anonymous"></script>

public/views/slide.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<% if(useCDN) { %>
1919
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
2020
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css" integrity="sha256-3iu9jgsy9TpTwXKb7bNQzqWekRX7pPK+2OLj3R922fo=" crossorigin="anonymous" />
21-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css" integrity="sha256-QiWfLIsCT02Sdwkogf6YMiQlj4NE84MKkzEMkZnMGdg=" crossorigin="anonymous" />
21+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/4.4.0/octicons.min.css" integrity="sha256-4eCms8tUm+iL29tUvmRhNRnz/7lNI4oTtQzqa/uM2dI=" crossorigin="anonymous" />
2222
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.6.0/css/reveal.min.css" integrity="sha256-ol2N5Xr80jdDqxK0lte3orKGb9Ja3sOnpAUV7TTADmg=" crossorigin="anonymous" />
2323
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/emojify.js/1.1.0/css/basic/emojify.min.css" integrity="sha256-UOrvMOsSDSrW6szVLe8ZDZezBxh5IoIfgTwdNDgTjiU=" crossorigin="anonymous" />
2424
<%- include build/slide-header %>
@@ -101,7 +101,7 @@
101101
<script src="https://cdnjs.cloudflare.com/ajax/libs/mermaid/7.1.0/mermaid.min.js" integrity="sha256-M3OC0Q6g4/+Q4j73OvnsnA+lMkdAE5KgupRHqTiPbnI=" crossorigin="anonymous" defer></script>
102102
<script src="https://cdnjs.cloudflare.com/ajax/libs/emojify.js/1.1.0/js/emojify.min.js" integrity="sha256-VAB5tAlKBvgaxw8oJ1crWMVbdmBVl4mP/2M8MNRl+4E=" crossorigin="anonymous" defer></script>
103103
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.6/handlebars.min.js" integrity="sha256-1O3BtOwnPyyRzOszK6P+gqaRoXHV6JXj8HkjZmPYhCI=" crossorigin="anonymous" defer></script>
104-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js" integrity="sha256-KbfTjB0WZ8vvXngdpJGY3Yp3xKk+tttbqClO11anCIU=" crossorigin="anonymous" defer></script>
104+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js" integrity="sha256-/BfiIkHlHoVihZdc6TFuj7MmJ0TWcWsMXkeDFwhi0zw=" crossorigin="anonymous" defer></script>
105105
<script src="https://cdnjs.cloudflare.com/ajax/libs/gist-embed/2.6.0/gist-embed.min.js" integrity="sha256-KyF2D6xPIJUW5sUDSs93vWyZm+1RzIpKCexxElmxl8g=" crossorigin="anonymous" defer></script>
106106
<script src="https://cdnjs.cloudflare.com/ajax/libs/viz.js/1.7.0/viz.js" integrity="sha256-8t+rndrF+TU4JtelmOH1lDHTMe2ovhO2UbzDArp5lY8=" crossorigin="anonymous" defer></script>
107107
<script src="https://cdnjs.cloudflare.com/ajax/libs/abcjs/3.1.1/abcjs_basic-min.js" integrity="sha256-Sq1r2XXWXQoShQKsS0Wrf5r7fRkErd9Fat9vHYeU68s=" crossorigin="anonymous"></script>

webpackBaseConfig.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ module.exports = {
234234
path.join(__dirname, 'node_modules/font-awesome/css/font-awesome.min.css'),
235235
path.join(__dirname, 'public/css/bootstrap-social.css'),
236236
path.join(__dirname, 'node_modules/ionicons/css/ionicons.min.css'),
237-
path.join(__dirname, 'node_modules/octicons/octicons/octicons.css')
237+
path.join(__dirname, 'node_modules/octicons/build/octicons.css')
238238
],
239239
'index-pack': [
240240
'babel-polyfill',
@@ -284,7 +284,7 @@ module.exports = {
284284
path.join(__dirname, 'node_modules/bootstrap/dist/css/bootstrap.min.css'),
285285
path.join(__dirname, 'node_modules/font-awesome/css/font-awesome.min.css'),
286286
path.join(__dirname, 'node_modules/ionicons/css/ionicons.min.css'),
287-
path.join(__dirname, 'node_modules/octicons/octicons/octicons.css')
287+
path.join(__dirname, 'node_modules/octicons/build/octicons.css')
288288
],
289289
'pretty-pack': [
290290
'babel-polyfill',
@@ -321,7 +321,7 @@ module.exports = {
321321
'slide-styles-pack': [
322322
path.join(__dirname, 'node_modules/font-awesome/css/font-awesome.min.css'),
323323
path.join(__dirname, 'node_modules/ionicons/css/ionicons.min.css'),
324-
path.join(__dirname, 'node_modules/octicons/octicons/octicons.css')
324+
path.join(__dirname, 'node_modules/octicons/build/octicons.css')
325325
],
326326
'slide-pack': [
327327
'babel-polyfill',

0 commit comments

Comments
 (0)