@abi-software/map-side-bar 1.3.28 → 1.3.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/map-side-bar.common.js +41 -41
- package/dist/map-side-bar.common.js.map +1 -1
- package/dist/map-side-bar.css +1 -1
- package/dist/map-side-bar.umd.js +41 -41
- package/dist/map-side-bar.umd.js.map +1 -1
- package/dist/map-side-bar.umd.min.js +1 -1
- package/dist/map-side-bar.umd.min.js.map +1 -1
- package/package-lock.json +52 -343
- package/package.json +3 -3
- package/src/components/ContextCard.vue +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/map-side-bar",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.29",
|
|
4
4
|
"main": "./dist/map-side-bar.common.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/*",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"@abi-software/svg-sprite": "^0.1.14",
|
|
22
22
|
"algoliasearch": "^4.10.5",
|
|
23
23
|
"element-ui": "^2.13.0",
|
|
24
|
-
"isomorphic-dompurify": "^0.23.0",
|
|
25
24
|
"marked": "^4.1.1",
|
|
26
|
-
"vue": "^2.6.10"
|
|
25
|
+
"vue": "^2.6.10",
|
|
26
|
+
"xss": "^1.0.14"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@vue/cli-plugin-babel": "^4.0.0",
|
|
@@ -72,7 +72,7 @@ import EventBus from "./EventBus"
|
|
|
72
72
|
import hardcoded_info from './hardcoded-context-info'
|
|
73
73
|
|
|
74
74
|
import { marked } from 'marked'
|
|
75
|
-
import
|
|
75
|
+
import xss from 'xss'
|
|
76
76
|
|
|
77
77
|
locale.use(lang);
|
|
78
78
|
Vue.use(Link);
|
|
@@ -259,7 +259,7 @@ export default {
|
|
|
259
259
|
|
|
260
260
|
},
|
|
261
261
|
parseMarkdown(markdown){
|
|
262
|
-
return
|
|
262
|
+
return xss(marked.parse(markdown))
|
|
263
263
|
},
|
|
264
264
|
openViewFile: function(view){
|
|
265
265
|
// note that we assume that the view file is in the same directory as the scaffold (viewUrls take relative paths)
|