Browse Source

chore(deps): update dependency marked to v9 (#9324)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
pull/9387/head
renovate[bot] 2 years ago
committed by GitHub
parent
commit
4711158afe
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      package.json
  2. 6
      packages/vue/__tests__/e2e/markdown.spec.ts
  3. 10
      pnpm-lock.yaml

2
package.json

@ -84,7 +84,7 @@
"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",

6
packages/vue/__tests__/e2e/markdown.spec.ts

@ -13,7 +13,7 @@ describe('e2e: markdown', () => {
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')
@ -23,8 +23,8 @@ describe('e2e: markdown', () => {
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'
)
}

10
pnpm-lock.yaml

@ -90,8 +90,8 @@ importers:
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
@ -4254,9 +4254,9 @@ packages:
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

Loading…
Cancel
Save