Skip to content

Commit a2ac0e1

Browse files
authored
chore: upgrade deps (#1640)
1 parent 6463e46 commit a2ac0e1

File tree

3 files changed

+47
-34
lines changed

3 files changed

+47
-34
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"rehype-sort-attributes": "^4.0.0",
6464
"remark-emoji": "^3.0.2",
6565
"remark-gfm": "^3.0.1",
66-
"remark-mdc": "^1.0.8",
66+
"remark-mdc": "^1.1.0",
6767
"remark-parse": "^10.0.1",
6868
"remark-rehype": "^10.1.0",
6969
"remark-squeeze-paragraphs": "^5.0.1",
@@ -77,7 +77,7 @@
7777
"unist-util-position": "^4.0.3",
7878
"unist-util-visit": "^4.1.1",
7979
"unstorage": "^0.6.0",
80-
"ws": "^8.9.0"
80+
"ws": "^8.10.0"
8181
},
8282
"devDependencies": {
8383
"@nuxt/module-builder": "^0.2.0",
@@ -88,7 +88,7 @@
8888
"@types/ws": "^8.5.3",
8989
"c8": "^7.12.0",
9090
"csvtojson": "^2.0.10",
91-
"eslint": "^8.25.0",
91+
"eslint": "^8.26.0",
9292
"globby": "^13.1.2",
9393
"husky": "^8.0.1",
9494
"jiti": "^1.16.0",

test/features/parser-markdown.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ export const testMarkdownParser = () => {
7777
id: 'content:index.md',
7878
content: [
7979
':hello', // valid
80+
':hello-world', // valid but with different name
8081
':hello,', // valid
8182
':hello :hello', // valid
8283
':hello{}-world', // valid
8384
':hello:hello', // invalid
84-
':hello-world', // valid but with different name
8585
':hello:', // invalid
8686
'`:hello`', // code
8787
':rocket:' // emoji
@@ -95,15 +95,17 @@ export const testMarkdownParser = () => {
9595
})
9696
expect(compComponentCount).toEqual(5)
9797

98-
const paragraph = parsed.body.children[0]
98+
expect(parsed.body.children[0].tag).toEqual('hello')
99+
expect(parsed.body.children[1].tag).toEqual('hello-world')
100+
101+
const paragraph = parsed.body.children[2]
99102
expect(paragraph.children[0].tag).toEqual('hello')
100-
expect(paragraph.children[1].tag).toEqual('hello')
101-
expect(paragraph.children[3].tag).toEqual('hello')
103+
expect(paragraph.children[2].tag).toEqual('hello')
104+
expect(paragraph.children[4].tag).toEqual('hello')
102105
expect(paragraph.children[5].tag).toEqual('hello')
103-
expect(paragraph.children[6].tag).toEqual('hello')
104106

105107
// Check conflict between inline compoenent and emoji
106-
expect(parsed.body.children[0].children.pop().value).toContain('🚀')
108+
expect(paragraph.children.pop().value).toContain('🚀')
107109
})
108110

109111
test('h1 tags', async () => {

yarn.lock

Lines changed: 36 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -316,10 +316,10 @@
316316
minimatch "^3.1.2"
317317
strip-json-comments "^3.1.1"
318318

319-
"@humanwhocodes/config-array@^0.10.5":
320-
version "0.10.7"
321-
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.10.7.tgz#6d53769fd0c222767e6452e8ebda825c22e9f0dc"
322-
integrity sha512-MDl6D6sBsaV452/QSdX+4CXIjZhIcI0PELsxUjk4U828yd58vk3bTIvk/6w5FY+4hIy9sLW0sfrV7K7Kc++j/w==
319+
"@humanwhocodes/config-array@^0.11.6":
320+
version "0.11.6"
321+
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.6.tgz#6a51d603a3aaf8d4cf45b42b3f2ac9318a4adc4b"
322+
integrity sha512-jJr+hPTJYKyDILJfhNSHsjiwXYf26Flsz8DvNndOsHs5pwSnpGUEy8yzF0JYhCEvTDdV2vuOK5tt8BVhwO5/hg==
323323
dependencies:
324324
"@humanwhocodes/object-schema" "^1.2.1"
325325
debug "^4.1.1"
@@ -428,7 +428,7 @@
428428
resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b"
429429
integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==
430430

431-
"@nodelib/fs.walk@^1.2.3":
431+
"@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8":
432432
version "1.2.8"
433433
resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a"
434434
integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==
@@ -2905,14 +2905,15 @@ eslint-visitor-keys@^3.3.0:
29052905
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826"
29062906
integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==
29072907

2908-
eslint@^8.25.0:
2909-
version "8.25.0"
2910-
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.25.0.tgz#00eb962f50962165d0c4ee3327708315eaa8058b"
2911-
integrity sha512-DVlJOZ4Pn50zcKW5bYH7GQK/9MsoQG2d5eDH0ebEkE8PbgzTTmtt/VTH9GGJ4BfeZCpBLqFfvsjX35UacUL83A==
2908+
eslint@^8.26.0:
2909+
version "8.26.0"
2910+
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.26.0.tgz#2bcc8836e6c424c4ac26a5674a70d44d84f2181d"
2911+
integrity sha512-kzJkpaw1Bfwheq4VXUezFriD1GxszX6dUekM7Z3aC2o4hju+tsR/XyTC3RcoSD7jmy9VkPU3+N6YjVU2e96Oyg==
29122912
dependencies:
29132913
"@eslint/eslintrc" "^1.3.3"
2914-
"@humanwhocodes/config-array" "^0.10.5"
2914+
"@humanwhocodes/config-array" "^0.11.6"
29152915
"@humanwhocodes/module-importer" "^1.0.1"
2916+
"@nodelib/fs.walk" "^1.2.8"
29162917
ajv "^6.10.0"
29172918
chalk "^4.0.0"
29182919
cross-spawn "^7.0.2"
@@ -2928,14 +2929,14 @@ eslint@^8.25.0:
29282929
fast-deep-equal "^3.1.3"
29292930
file-entry-cache "^6.0.1"
29302931
find-up "^5.0.0"
2931-
glob-parent "^6.0.1"
2932+
glob-parent "^6.0.2"
29322933
globals "^13.15.0"
2933-
globby "^11.1.0"
29342934
grapheme-splitter "^1.0.4"
29352935
ignore "^5.2.0"
29362936
import-fresh "^3.0.0"
29372937
imurmurhash "^0.1.4"
29382938
is-glob "^4.0.0"
2939+
is-path-inside "^3.0.3"
29392940
js-sdsl "^4.1.4"
29402941
js-yaml "^4.1.0"
29412942
json-stable-stringify-without-jsonify "^1.0.1"
@@ -3377,7 +3378,7 @@ glob-parent@^5.1.2, glob-parent@~5.1.2:
33773378
dependencies:
33783379
is-glob "^4.0.1"
33793380

3380-
glob-parent@^6.0.1:
3381+
glob-parent@^6.0.2:
33813382
version "6.0.2"
33823383
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3"
33833384
integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==
@@ -4087,6 +4088,11 @@ is-number@^7.0.0:
40874088
resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b"
40884089
integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==
40894090

4091+
is-path-inside@^3.0.3:
4092+
version "3.0.3"
4093+
resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283"
4094+
integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==
4095+
40904096
is-plain-obj@^4.0.0:
40914097
version "4.1.0"
40924098
resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-4.1.0.tgz#d65025edec3657ce032fd7db63c97883eaed71f0"
@@ -5025,7 +5031,7 @@ micromark-util-types@^1.0.0, micromark-util-types@^1.0.1:
50255031
resolved "https://registry.yarnpkg.com/micromark-util-types/-/micromark-util-types-1.0.2.tgz#f4220fdb319205812f99c40f8c87a9be83eded20"
50265032
integrity sha512-DCfg/T8fcrhrRKTPjRrw/5LLvdGV7BHySf/1LOZx7TzWZdYRjogNtyNq885z3nNallwr3QUKARjqvHqX1/7t+w==
50275033

5028-
micromark@^3.0.0, micromark@^3.0.10:
5034+
micromark@^3.0.0, micromark@^3.1.0:
50295035
version "3.1.0"
50305036
resolved "https://registry.yarnpkg.com/micromark/-/micromark-3.1.0.tgz#eeba0fe0ac1c9aaef675157b52c166f125e89f62"
50315037
integrity sha512-6Mj0yHLdUZjHnOPgr5xfWIMqMWS12zDN6iws9SLuSz76W8jTtAv24MN4/CL7gJrl5vtxGInkkqDv/JIoRsQOvA==
@@ -6440,25 +6446,25 @@ remark-gfm@^3.0.1:
64406446
micromark-extension-gfm "^2.0.0"
64416447
unified "^10.0.0"
64426448

6443-
remark-mdc@^1.0.8:
6444-
version "1.0.8"
6445-
resolved "https://registry.yarnpkg.com/remark-mdc/-/remark-mdc-1.0.8.tgz#88f79a1de7a1b5e0634e3be979d40dad29cddeb6"
6446-
integrity sha512-pg2KtOem9cZd0PHyPvlamDdk+eXeKAOGq5UzPIa0I7Mqi74lqqprAksjgtrKQpEaDULiLh6Yh48HPcAxdeL5Uw==
6449+
remark-mdc@^1.1.0:
6450+
version "1.1.0"
6451+
resolved "https://registry.yarnpkg.com/remark-mdc/-/remark-mdc-1.1.0.tgz#e957acd19c98089fdf60e1ab1679cead1ee863ae"
6452+
integrity sha512-mUGNjzOqT6bBk4MyQjGHQzLWMmjEaxnomB5ZM8FFL7uSlPzUlQsVnwv9NpG4+usU6BA6YJoGNnSAws840+oq9A==
64476453
dependencies:
64486454
flat "^5.0.2"
64496455
js-yaml "^4.1.0"
64506456
mdast-util-from-markdown "^1.2.0"
64516457
mdast-util-to-markdown "^1.3.0"
6452-
micromark "^3.0.10"
6458+
micromark "^3.1.0"
64536459
micromark-core-commonmark "^1.0.6"
64546460
micromark-factory-space "^1.0.0"
64556461
micromark-factory-whitespace "^1.0.0"
64566462
micromark-util-character "^1.1.0"
64576463
parse-entities "^4.0.0"
6458-
scule "^0.2.1"
6459-
stringify-entities "^4.0.2"
6460-
unist-util-visit "^4.1.0"
6461-
unist-util-visit-parents "^5.1.0"
6464+
scule "^0.3.2"
6465+
stringify-entities "^4.0.3"
6466+
unist-util-visit "^4.1.1"
6467+
unist-util-visit-parents "^5.1.1"
64626468

64636469
remark-oembed@^1.2.2:
64646470
version "1.2.2"
@@ -7019,7 +7025,7 @@ stringify-entities@^3.0.1:
70197025
character-entities-legacy "^1.0.0"
70207026
xtend "^4.0.0"
70217027

7022-
stringify-entities@^4.0.2:
7028+
stringify-entities@^4.0.3:
70237029
version "4.0.3"
70247030
resolved "https://registry.yarnpkg.com/stringify-entities/-/stringify-entities-4.0.3.tgz#cfabd7039d22ad30f3cc435b0ca2c1574fc88ef8"
70257031
integrity sha512-BP9nNHMhhfcMbiuQKCqMjhDP5yBCAxsPu4pHFFzJ6Alo9dZgY4VLDPutXqIjpRiMoKdp7Av85Gr73Q5uH9k7+g==
@@ -7530,7 +7536,7 @@ unist-util-visit-parents@^3.0.0:
75307536
"@types/unist" "^2.0.0"
75317537
unist-util-is "^4.0.0"
75327538

7533-
unist-util-visit-parents@^5.0.0, unist-util-visit-parents@^5.1.0, unist-util-visit-parents@^5.1.1:
7539+
unist-util-visit-parents@^5.0.0, unist-util-visit-parents@^5.1.1:
75347540
version "5.1.1"
75357541
resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-5.1.1.tgz#868f353e6fce6bf8fa875b251b0f4fec3be709bb"
75367542
integrity sha512-gks4baapT/kNRaWxuGkl5BIhoanZo7sC/cUT/JToSRNL1dYoXRFl75d++NkjYk4TAu2uv2Px+l8guMajogeuiw==
@@ -7999,6 +8005,11 @@ wrappy@1:
79998005
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
80008006
integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==
80018007

8008+
ws@^8.10.0:
8009+
version "8.10.0"
8010+
resolved "https://registry.yarnpkg.com/ws/-/ws-8.10.0.tgz#00a28c09dfb76eae4eb45c3b565f771d6951aa51"
8011+
integrity sha512-+s49uSmZpvtAsd2h37vIPy1RBusaLawVe8of+GyEPsaJTCMpj/2v8NpeK1SHXjBlQ95lQTmQofOJnFiLoaN3yw==
8012+
80028013
ws@^8.6.0, ws@^8.9.0:
80038014
version "8.9.0"
80048015
resolved "https://registry.yarnpkg.com/ws/-/ws-8.9.0.tgz#2a994bb67144be1b53fe2d23c53c028adeb7f45e"

0 commit comments

Comments
 (0)