Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
"lodash": "^4.17.21",
"magic-string": "^0.30.3",
"markdown-table": "^3.0.3",
- "marked": "^4.3.0",
+ "marked": "^9.1.1",
"minimist": "^1.2.8",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.3",
await page().goto(baseUrl)
expect(await isVisible('#editor')).toBe(true)
expect(await value('textarea')).toBe('# hello')
- expect(await html('#editor div')).toBe('<h1 id="hello">hello</h1>\n')
+ expect(await html('#editor div')).toBe('<h1>hello</h1>\n')
await page().type('textarea', '\n## foo\n\n- bar\n- baz')
await expectByPolling(
() => html('#editor div'),
- '<h1 id="hello">hello</h1>\n' +
- '<h2 id="foo">foo</h2>\n' +
+ '<h1>hello</h1>\n' +
+ '<h2>foo</h2>\n' +
'<ul>\n<li>bar</li>\n<li>baz</li>\n</ul>\n'
)
}
specifier: ^3.0.3
version: 3.0.3
marked:
- specifier: ^4.3.0
- version: 4.3.0
+ specifier: ^9.1.1
+ version: 9.1.1
minimist:
specifier: ^1.2.8
version: 1.2.8
resolution: {integrity: sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==}
dev: true
- /marked@4.3.0:
- resolution: {integrity: sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==}
- engines: {node: '>= 12'}
+ /marked@9.1.1:
+ resolution: {integrity: sha512-ZmXkUGH54U4rEy3GL9vYj8+S1PHJx/zz5pc4Frn7UdGiNREKT12fWBJ5a5ffjFtghx9C9912vEg9Zra1Nf7CnA==}
+ engines: {node: '>= 16'}
hasBin: true
dev: true