Skip to content

Commit 0c06c74

Browse files
committed
chore: bump marked
1 parent 8cbfe09 commit 0c06c74

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"jest": "^27.1.0",
7575
"lint-staged": "^10.2.10",
7676
"lodash": "^4.17.15",
77-
"marked": "^0.7.0",
77+
"marked": "^4.0.10",
7878
"minimist": "^1.2.0",
7979
"npm-run-all": "^4.1.5",
8080
"prettier": "^2.3.1",

packages/vue/examples/classic/markdown.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}),
1515
computed: {
1616
compiledMarkdown() {
17-
return marked(this.input, { sanitize: true })
17+
return marked.marked(this.input, { sanitize: true })
1818
}
1919
},
2020
methods: {

packages/vue/examples/composition/markdown.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
Vue.createApp({
1414
setup() {
1515
const input = ref('# hello')
16-
const output = computed(() => marked(input.value, { sanitize: true }))
16+
const output = computed(() => marked.marked(input.value, { sanitize: true }))
1717
const update = _.debounce(e => { input.value = e.target.value }, 50)
1818

1919
return {

pnpm-lock.yaml

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)