Skip to content

Commit

Permalink
chore: upgrade deps (#1640)
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Oct 27, 2022
1 parent 6463e46 commit a2ac0e1
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 34 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"rehype-sort-attributes": "^4.0.0",
"remark-emoji": "^3.0.2",
"remark-gfm": "^3.0.1",
"remark-mdc": "^1.0.8",
"remark-mdc": "^1.1.0",
"remark-parse": "^10.0.1",
"remark-rehype": "^10.1.0",
"remark-squeeze-paragraphs": "^5.0.1",
Expand All @@ -77,7 +77,7 @@
"unist-util-position": "^4.0.3",
"unist-util-visit": "^4.1.1",
"unstorage": "^0.6.0",
"ws": "^8.9.0"
"ws": "^8.10.0"
},
"devDependencies": {
"@nuxt/module-builder": "^0.2.0",
Expand All @@ -88,7 +88,7 @@
"@types/ws": "^8.5.3",
"c8": "^7.12.0",
"csvtojson": "^2.0.10",
"eslint": "^8.25.0",
"eslint": "^8.26.0",
"globby": "^13.1.2",
"husky": "^8.0.1",
"jiti": "^1.16.0",
Expand Down
14 changes: 8 additions & 6 deletions test/features/parser-markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ export const testMarkdownParser = () => {
id: 'content:index.md',
content: [
':hello', // valid
':hello-world', // valid but with different name
':hello,', // valid
':hello :hello', // valid
':hello{}-world', // valid
':hello:hello', // invalid
':hello-world', // valid but with different name
':hello:', // invalid
'`:hello`', // code
':rocket:' // emoji
Expand All @@ -95,15 +95,17 @@ export const testMarkdownParser = () => {
})
expect(compComponentCount).toEqual(5)

const paragraph = parsed.body.children[0]
expect(parsed.body.children[0].tag).toEqual('hello')
expect(parsed.body.children[1].tag).toEqual('hello-world')

const paragraph = parsed.body.children[2]
expect(paragraph.children[0].tag).toEqual('hello')
expect(paragraph.children[1].tag).toEqual('hello')
expect(paragraph.children[3].tag).toEqual('hello')
expect(paragraph.children[2].tag).toEqual('hello')
expect(paragraph.children[4].tag).toEqual('hello')
expect(paragraph.children[5].tag).toEqual('hello')
expect(paragraph.children[6].tag).toEqual('hello')

// Check conflict between inline compoenent and emoji
expect(parsed.body.children[0].children.pop().value).toContain('🚀')
expect(paragraph.children.pop().value).toContain('🚀')
})

test('h1 tags', async () => {
Expand Down
61 changes: 36 additions & 25 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,10 @@
minimatch "^3.1.2"
strip-json-comments "^3.1.1"

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

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

eslint@^8.25.0:
version "8.25.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.25.0.tgz#00eb962f50962165d0c4ee3327708315eaa8058b"
integrity sha512-DVlJOZ4Pn50zcKW5bYH7GQK/9MsoQG2d5eDH0ebEkE8PbgzTTmtt/VTH9GGJ4BfeZCpBLqFfvsjX35UacUL83A==
eslint@^8.26.0:
version "8.26.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.26.0.tgz#2bcc8836e6c424c4ac26a5674a70d44d84f2181d"
integrity sha512-kzJkpaw1Bfwheq4VXUezFriD1GxszX6dUekM7Z3aC2o4hju+tsR/XyTC3RcoSD7jmy9VkPU3+N6YjVU2e96Oyg==
dependencies:
"@eslint/eslintrc" "^1.3.3"
"@humanwhocodes/config-array" "^0.10.5"
"@humanwhocodes/config-array" "^0.11.6"
"@humanwhocodes/module-importer" "^1.0.1"
"@nodelib/fs.walk" "^1.2.8"
ajv "^6.10.0"
chalk "^4.0.0"
cross-spawn "^7.0.2"
Expand All @@ -2928,14 +2929,14 @@ eslint@^8.25.0:
fast-deep-equal "^3.1.3"
file-entry-cache "^6.0.1"
find-up "^5.0.0"
glob-parent "^6.0.1"
glob-parent "^6.0.2"
globals "^13.15.0"
globby "^11.1.0"
grapheme-splitter "^1.0.4"
ignore "^5.2.0"
import-fresh "^3.0.0"
imurmurhash "^0.1.4"
is-glob "^4.0.0"
is-path-inside "^3.0.3"
js-sdsl "^4.1.4"
js-yaml "^4.1.0"
json-stable-stringify-without-jsonify "^1.0.1"
Expand Down Expand Up @@ -3377,7 +3378,7 @@ glob-parent@^5.1.2, glob-parent@~5.1.2:
dependencies:
is-glob "^4.0.1"

glob-parent@^6.0.1:
glob-parent@^6.0.2:
version "6.0.2"
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3"
integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==
Expand Down Expand Up @@ -4087,6 +4088,11 @@ is-number@^7.0.0:
resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b"
integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==

is-path-inside@^3.0.3:
version "3.0.3"
resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283"
integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==

is-plain-obj@^4.0.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-4.1.0.tgz#d65025edec3657ce032fd7db63c97883eaed71f0"
Expand Down Expand Up @@ -5025,7 +5031,7 @@ micromark-util-types@^1.0.0, micromark-util-types@^1.0.1:
resolved "https://registry.yarnpkg.com/micromark-util-types/-/micromark-util-types-1.0.2.tgz#f4220fdb319205812f99c40f8c87a9be83eded20"
integrity sha512-DCfg/T8fcrhrRKTPjRrw/5LLvdGV7BHySf/1LOZx7TzWZdYRjogNtyNq885z3nNallwr3QUKARjqvHqX1/7t+w==

micromark@^3.0.0, micromark@^3.0.10:
micromark@^3.0.0, micromark@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/micromark/-/micromark-3.1.0.tgz#eeba0fe0ac1c9aaef675157b52c166f125e89f62"
integrity sha512-6Mj0yHLdUZjHnOPgr5xfWIMqMWS12zDN6iws9SLuSz76W8jTtAv24MN4/CL7gJrl5vtxGInkkqDv/JIoRsQOvA==
Expand Down Expand Up @@ -6440,25 +6446,25 @@ remark-gfm@^3.0.1:
micromark-extension-gfm "^2.0.0"
unified "^10.0.0"

remark-mdc@^1.0.8:
version "1.0.8"
resolved "https://registry.yarnpkg.com/remark-mdc/-/remark-mdc-1.0.8.tgz#88f79a1de7a1b5e0634e3be979d40dad29cddeb6"
integrity sha512-pg2KtOem9cZd0PHyPvlamDdk+eXeKAOGq5UzPIa0I7Mqi74lqqprAksjgtrKQpEaDULiLh6Yh48HPcAxdeL5Uw==
remark-mdc@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/remark-mdc/-/remark-mdc-1.1.0.tgz#e957acd19c98089fdf60e1ab1679cead1ee863ae"
integrity sha512-mUGNjzOqT6bBk4MyQjGHQzLWMmjEaxnomB5ZM8FFL7uSlPzUlQsVnwv9NpG4+usU6BA6YJoGNnSAws840+oq9A==
dependencies:
flat "^5.0.2"
js-yaml "^4.1.0"
mdast-util-from-markdown "^1.2.0"
mdast-util-to-markdown "^1.3.0"
micromark "^3.0.10"
micromark "^3.1.0"
micromark-core-commonmark "^1.0.6"
micromark-factory-space "^1.0.0"
micromark-factory-whitespace "^1.0.0"
micromark-util-character "^1.1.0"
parse-entities "^4.0.0"
scule "^0.2.1"
stringify-entities "^4.0.2"
unist-util-visit "^4.1.0"
unist-util-visit-parents "^5.1.0"
scule "^0.3.2"
stringify-entities "^4.0.3"
unist-util-visit "^4.1.1"
unist-util-visit-parents "^5.1.1"

remark-oembed@^1.2.2:
version "1.2.2"
Expand Down Expand Up @@ -7019,7 +7025,7 @@ stringify-entities@^3.0.1:
character-entities-legacy "^1.0.0"
xtend "^4.0.0"

stringify-entities@^4.0.2:
stringify-entities@^4.0.3:
version "4.0.3"
resolved "https://registry.yarnpkg.com/stringify-entities/-/stringify-entities-4.0.3.tgz#cfabd7039d22ad30f3cc435b0ca2c1574fc88ef8"
integrity sha512-BP9nNHMhhfcMbiuQKCqMjhDP5yBCAxsPu4pHFFzJ6Alo9dZgY4VLDPutXqIjpRiMoKdp7Av85Gr73Q5uH9k7+g==
Expand Down Expand Up @@ -7530,7 +7536,7 @@ unist-util-visit-parents@^3.0.0:
"@types/unist" "^2.0.0"
unist-util-is "^4.0.0"

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

ws@^8.10.0:
version "8.10.0"
resolved "https://registry.yarnpkg.com/ws/-/ws-8.10.0.tgz#00a28c09dfb76eae4eb45c3b565f771d6951aa51"
integrity sha512-+s49uSmZpvtAsd2h37vIPy1RBusaLawVe8of+GyEPsaJTCMpj/2v8NpeK1SHXjBlQ95lQTmQofOJnFiLoaN3yw==

ws@^8.6.0, ws@^8.9.0:
version "8.9.0"
resolved "https://registry.yarnpkg.com/ws/-/ws-8.9.0.tgz#2a994bb67144be1b53fe2d23c53c028adeb7f45e"
Expand Down

0 comments on commit a2ac0e1

Please sign in to comment.