chore: bump markdown-table (#22249)

This commit is contained in:
Kevin Grüneberg authored and GitHub committed 2024-03-26 23:13:17 +07:00
1 parent 99e676b0a5
commit 55afcccd39
3 files changed
+7 -28

No files matched your search

@@ -1,6 +1,5 @@
import { compact, isObject, isString, map } from 'lodash'
// @ts-ignore
import MarkdownTable from 'markdown-table'
import { markdownTable } from 'markdown-table'
import { useRouter } from 'next/router'
import { useMemo, useRef } from 'react'
import { CSVLink } from 'react-csv'
@@ -90,7 +89,7 @@ const ResultsDropdown = ({ id }: ResultsDropdownProps) => {
return temp
})
const table = [columns].concat(rows)
const markdownData = MarkdownTable(table)
const markdownData = markdownTable(table)
copyToClipboard(markdownData, () => {
toast.success('Copied results to clipboard')
+1 -1
View File
@@ -59,7 +59,7 @@
"jsonrepair": "^3.2.3",
"lodash": "^4.17.21",
"lucide-react": "^0.338.0",
"markdown-table": "=2.0.0",
"markdown-table": "^3.0.3",
"mobx": "^6.10.2",
"mobx-react-lite": "^4.0.5",
"monaco-editor": "0.33.0",
+4 -24
View File
@@ -2371,7 +2371,7 @@
"jsonrepair": "^3.2.3",
"lodash": "^4.17.21",
"lucide-react": "^0.338.0",
"markdown-table": "=2.0.0",
"markdown-table": "^3.0.3",
"mobx": "^6.10.2",
"mobx-react-lite": "^4.0.5",
"monaco-editor": "0.33.0",
@@ -30851,11 +30851,9 @@
}
},
"node_modules/markdown-table": {
"version": "2.0.0",
"license": "MIT",
"dependencies": {
"repeat-string": "^1.0.0"
},
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.3.tgz",
"integrity": "sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/wooorm"
@@ -31802,16 +31800,6 @@
"integrity": "sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==",
"dev": true
},
"node_modules/mdast-util-gfm-table/node_modules/markdown-table": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.3.tgz",
"integrity": "sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==",
"dev": true,
"funding": {
"type": "github",
"url": "https://github.com/sponsors/wooorm"
}
},
"node_modules/mdast-util-gfm-table/node_modules/mdast-util-phrasing": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz",
@@ -40079,14 +40067,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/remark-gfm/node_modules/markdown-table": {
"version": "3.0.3",
"license": "MIT",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/wooorm"
}
},
"node_modules/remark-gfm/node_modules/mdast-util-find-and-replace": {
"version": "2.2.2",
"license": "MIT",