-
- Downloads
feat: markdown XSS protection, better dropdown UX
Showing
- package-lock.json 14 additions, 0 deletionspackage-lock.json
- package.json 3 additions, 2 deletionspackage.json
- src/components/annoucements/Announcement.jsx 5 additions, 1 deletionsrc/components/annoucements/Announcement.jsx
- src/components/mde/MarkdownEditor.jsx 3 additions, 9 deletionssrc/components/mde/MarkdownEditor.jsx
- src/components/posts/Post.jsx 10 additions, 5 deletionssrc/components/posts/Post.jsx
- src/components/posts/PostList.jsx 1 addition, 1 deletionsrc/components/posts/PostList.jsx
- src/markdown.js 21 additions, 0 deletionssrc/markdown.js
- src/pages/Home.jsx 1 addition, 1 deletionsrc/pages/Home.jsx
- src/utils.js 3 additions, 0 deletionssrc/utils.js
- src/ws/handlers/posts.js 4 additions, 0 deletionssrc/ws/handlers/posts.js
- typings/cf2021.d.ts 1 addition, 0 deletionstypings/cf2021.d.ts
... | ... | @@ -21,7 +21,8 @@ |
"react-scripts": "3.4.3", | ||
"showdown": "^1.9.1", | ||
"unfetch": "^4.2.0", | ||
"wait-queue": "^1.1.4" | ||
"wait-queue": "^1.1.4", | ||
"xss": "^1.0.8" | ||
}, | ||
"scripts": { | ||
"start": "react-scripts start", | ||
... | ... | @@ -58,7 +59,7 @@ |
"^@?\\w" | ||
], | ||
[ | ||
"^(api|actions|config|hooks|components|containers|pages|utils|stores|keycloak|ws)(/.*|$)" | ||
"^(api|actions|config|hooks|components|containers|pages|utils|stores|keycloak|markdown|ws)(/.*|$)" | ||
], | ||
[ | ||
"^(test-utils)(/.*|$)" | ||
... | ... |
src/markdown.js
0 → 100644
Please register or sign in to comment