"jest": "^27.1.0",
"lint-staged": "^10.2.10",
"lodash": "^4.17.15",
- "marked": "^0.7.0",
+ "marked": "^4.0.10",
"minimist": "^1.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.1",
}),
computed: {
compiledMarkdown() {
- return marked(this.input, { sanitize: true })
+ return marked.marked(this.input, { sanitize: true })
}
},
methods: {
Vue.createApp({
setup() {
const input = ref('# hello')
- const output = computed(() => marked(input.value, { sanitize: true }))
+ const output = computed(() => marked.marked(input.value, { sanitize: true }))
const update = _.debounce(e => { input.value = e.target.value }, 50)
return {
jest: ^27.1.0
lint-staged: ^10.2.10
lodash: ^4.17.15
- marked: ^0.7.0
+ marked: ^4.0.10
minimist: ^1.2.0
npm-run-all: ^4.1.5
prettier: ^2.3.1
jest: 27.4.4
lint-staged: 10.5.4
lodash: 4.17.21
- marked: 0.7.0
+ marked: 4.0.10
minimist: 1.2.5
npm-run-all: 4.1.5
prettier: 2.5.1
engines: {node: '>=8'}
dev: true
- /marked/0.7.0:
- resolution: {integrity: sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg==}
- engines: {node: '>=0.10.0'}
+ /marked/4.0.10:
+ resolution: {integrity: sha512-+QvuFj0nGgO970fySghXGmuw+Fd0gD2x3+MqCWLIPf5oxdv1Ka6b2q+z9RP01P/IaKPMEramy+7cNy/Lw8c3hw==}
+ engines: {node: '>= 12'}
hasBin: true
dev: true