diff --git a/package.json b/package.json index 0b0e016..b00c811 100644 --- a/package.json +++ b/package.json @@ -136,7 +136,7 @@ "eslint-plugin-jest-formatting": "3.1.0", "eslint-plugin-jsdoc": "50.6.3", "eslint-plugin-jsonc": "2.19.1", - "eslint-plugin-mdx": "3.1.5", + "eslint-plugin-mdx": "3.4.0", "eslint-plugin-n": "17.15.1", "eslint-plugin-promise": "7.2.1", "eslint-plugin-unicorn": "56.0.1", diff --git a/yarn.lock b/yarn.lock index f6a8075..03f2d6c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1480,7 +1480,7 @@ __metadata: eslint-plugin-jest-formatting: "npm:3.1.0" eslint-plugin-jsdoc: "npm:50.6.3" eslint-plugin-jsonc: "npm:2.19.1" - eslint-plugin-mdx: "npm:3.1.5" + eslint-plugin-mdx: "npm:3.4.0" eslint-plugin-n: "npm:17.15.1" eslint-plugin-promise: "npm:7.2.1" eslint-plugin-unicorn: "npm:56.0.1" @@ -2105,6 +2105,13 @@ __metadata: languageName: node linkType: hard +"@pkgr/core@npm:^0.2.0": + version: 0.2.1 + resolution: "@pkgr/core@npm:0.2.1" + checksum: 10/f644417c46b31fef0eb67353562d844e38ddb381c8b8b00053c0410e43cbc4999a038c742599b0cf957ed753978a058ebd60694e38a9e5bc8242639fd57cfe2a + languageName: node + linkType: hard + "@rollup/rollup-android-arm-eabi@npm:4.38.0": version: 4.38.0 resolution: "@rollup/rollup-android-arm-eabi@npm:4.38.0" @@ -2474,15 +2481,6 @@ __metadata: languageName: node linkType: hard -"@types/mdast@npm:^3.0.0": - version: 3.0.15 - resolution: "@types/mdast@npm:3.0.15" - dependencies: - "@types/unist": "npm:^2" - checksum: 10/050a5c1383928b2688dd145382a22535e2af87dc3fd592c843abb7851bcc99893a1ee0f63be19fc4e89779387ec26a57486cfb425b016c0b2a98a17fc4a1e8b3 - languageName: node - linkType: hard - "@types/mdast@npm:^4.0.0": version: 4.0.4 resolution: "@types/mdast@npm:4.0.4" @@ -2577,7 +2575,7 @@ __metadata: languageName: node linkType: hard -"@types/unist@npm:^2, @types/unist@npm:^2.0.0, @types/unist@npm:^2.0.2": +"@types/unist@npm:^2.0.0": version: 2.0.10 resolution: "@types/unist@npm:2.0.10" checksum: 10/e2924e18dedf45f68a5c6ccd6015cd62f1643b1b43baac1854efa21ae9e70505db94290434a23da1137d9e31eb58e54ca175982005698ac37300a1c889f6c4aa @@ -2835,12 +2833,12 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.0.0, acorn@npm:^8.11.3, acorn@npm:^8.14.0, acorn@npm:^8.5.0, acorn@npm:^8.9.0": - version: 8.14.0 - resolution: "acorn@npm:8.14.0" +"acorn@npm:^8.0.0, acorn@npm:^8.11.3, acorn@npm:^8.14.0, acorn@npm:^8.14.1, acorn@npm:^8.5.0, acorn@npm:^8.9.0": + version: 8.14.1 + resolution: "acorn@npm:8.14.1" bin: acorn: bin/acorn - checksum: 10/6df29c35556782ca9e632db461a7f97947772c6c1d5438a81f0c873a3da3a792487e83e404d1c6c25f70513e91aa18745f6eafb1fcc3a43ecd1920b21dd173d2 + checksum: 10/d1379bbee224e8d44c3c3946e6ba6973e999fbdd4e22e41c3455d7f9b6f72f7ce18d3dc218002e1e48eea789539cf1cb6d1430c81838c6744799c712fb557d92 languageName: node linkType: hard @@ -3335,13 +3333,6 @@ __metadata: languageName: node linkType: hard -"character-entities-legacy@npm:^1.0.0": - version: 1.1.4 - resolution: "character-entities-legacy@npm:1.1.4" - checksum: 10/fe03a82c154414da3a0c8ab3188e4237ec68006cbcd681cf23c7cfb9502a0e76cd30ab69a2e50857ca10d984d57de3b307680fff5328ccd427f400e559c3a811 - languageName: node - linkType: hard - "character-entities-legacy@npm:^3.0.0": version: 3.0.0 resolution: "character-entities-legacy@npm:3.0.0" @@ -3349,13 +3340,6 @@ __metadata: languageName: node linkType: hard -"character-entities@npm:^1.0.0": - version: 1.2.4 - resolution: "character-entities@npm:1.2.4" - checksum: 10/7c11641c48d1891aaba7bc800d4500804d91a28f46d64e88c001c38e6ab2e7eae28873a77ae16e6c55d24cac35ddfbb15efe56c3012b86684a3c4e95c70216b7 - languageName: node - linkType: hard - "character-entities@npm:^2.0.0": version: 2.0.2 resolution: "character-entities@npm:2.0.2" @@ -3363,13 +3347,6 @@ __metadata: languageName: node linkType: hard -"character-reference-invalid@npm:^1.0.0": - version: 1.1.4 - resolution: "character-reference-invalid@npm:1.1.4" - checksum: 10/812ebc5e6e8d08fd2fa5245ae78c1e1a4bea4692e93749d256a135c4a442daf931ca18e067cc61ff4a58a419eae52677126a0bc4f05a511290427d60d3057805 - languageName: node - linkType: hard - "character-reference-invalid@npm:^2.0.0": version: 2.0.1 resolution: "character-reference-invalid@npm:2.0.1" @@ -4663,7 +4640,7 @@ __metadata: languageName: node linkType: hard -"eslint-mdx@npm:3.1.5, eslint-mdx@npm:^3.1.5": +"eslint-mdx@npm:3.1.5": version: 3.1.5 resolution: "eslint-mdx@npm:3.1.5" dependencies: @@ -4687,6 +4664,34 @@ __metadata: languageName: node linkType: hard +"eslint-mdx@npm:^3.4.0": + version: 3.4.0 + resolution: "eslint-mdx@npm:3.4.0" + dependencies: + acorn: "npm:^8.14.1" + acorn-jsx: "npm:^5.3.2" + espree: "npm:^9.6.1 || ^10.3.0" + estree-util-visit: "npm:^2.0.0" + remark-mdx: "npm:^3.1.0" + remark-parse: "npm:^11.0.0" + remark-stringify: "npm:^11.0.0" + synckit: "npm:^0.11.2" + tslib: "npm:^2.8.1" + unified: "npm:^11.0.5" + unified-engine: "npm:^11.2.2" + unist-util-visit: "npm:^5.0.0" + uvu: "npm:^0.5.6" + vfile: "npm:^6.0.3" + peerDependencies: + eslint: ">=8.0.0" + remark-lint-file-extension: "*" + peerDependenciesMeta: + remark-lint-file-extension: + optional: true + checksum: 10/37bdf1c54b7258e224e0711f7270033881886b3c8c8110d45ea8cec3a230fcbc17e69ba6ba08c7f920510856b95780973d1ecb7ea7cacda2ec22da2dd2efccc2 + languageName: node + linkType: hard + "eslint-module-utils@npm:^2.12.0": version: 2.12.0 resolution: "eslint-module-utils@npm:2.12.0" @@ -4798,32 +4803,24 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-markdown@npm:^3.0.1": - version: 3.0.1 - resolution: "eslint-plugin-markdown@npm:3.0.1" - dependencies: - mdast-util-from-markdown: "npm:^0.8.5" - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: 10/1408ccd48f6358dfc528a0fe7abc1f468c913144c74392cc3ed4926ed6556e7c87524a0a1b8a40174135e872979d213d05dcd3edc90a3ad555f12feb31c3c87d - languageName: node - linkType: hard - -"eslint-plugin-mdx@npm:3.1.5": - version: 3.1.5 - resolution: "eslint-plugin-mdx@npm:3.1.5" +"eslint-plugin-mdx@npm:3.4.0": + version: 3.4.0 + resolution: "eslint-plugin-mdx@npm:3.4.0" dependencies: - eslint-mdx: "npm:^3.1.5" - eslint-plugin-markdown: "npm:^3.0.1" - remark-mdx: "npm:^3.0.0" + eslint-mdx: "npm:^3.4.0" + mdast-util-from-markdown: "npm:^2.0.2" + mdast-util-mdx: "npm:^3.0.0" + micromark-extension-mdxjs: "npm:^3.0.0" + remark-mdx: "npm:^3.1.0" remark-parse: "npm:^11.0.0" remark-stringify: "npm:^11.0.0" - tslib: "npm:^2.6.2" - unified: "npm:^11.0.4" - vfile: "npm:^6.0.1" + synckit: "npm:^0.11.2" + tslib: "npm:^2.8.1" + unified: "npm:^11.0.5" + vfile: "npm:^6.0.3" peerDependencies: eslint: ">=8.0.0" - checksum: 10/56c4cffb0e7931ed5200084878367f9ee2fc7c1c910509dbea32f227ff911b1451b36b7500bf393ef9b7ca67c8ca7825bbd0e6694bb35360c0182c974581fa80 + checksum: 10/49e4816eed45a268fd01fd133472520ddca2deaf2dda8976624c30149f1e00b85b4a2c91ca538db0dba6f8d1ab3f6f766cb84e33651c2a80237cfef68abc15b4 languageName: node linkType: hard @@ -4970,7 +4967,7 @@ __metadata: languageName: node linkType: hard -"espree@npm:^10.0.1, espree@npm:^10.1.0, espree@npm:^10.3.0": +"espree@npm:^10.0.1, espree@npm:^10.1.0, espree@npm:^10.3.0, espree@npm:^9.6.1 || ^10.3.0": version: 10.3.0 resolution: "espree@npm:10.3.0" dependencies: @@ -5882,13 +5879,6 @@ __metadata: languageName: node linkType: hard -"is-alphabetical@npm:^1.0.0": - version: 1.0.4 - resolution: "is-alphabetical@npm:1.0.4" - checksum: 10/6508cce44fd348f06705d377b260974f4ce68c74000e7da4045f0d919e568226dc3ce9685c5a2af272195384df6930f748ce9213fc9f399b5d31b362c66312cb - languageName: node - linkType: hard - "is-alphabetical@npm:^2.0.0": version: 2.0.1 resolution: "is-alphabetical@npm:2.0.1" @@ -5896,16 +5886,6 @@ __metadata: languageName: node linkType: hard -"is-alphanumerical@npm:^1.0.0": - version: 1.0.4 - resolution: "is-alphanumerical@npm:1.0.4" - dependencies: - is-alphabetical: "npm:^1.0.0" - is-decimal: "npm:^1.0.0" - checksum: 10/e2e491acc16fcf5b363f7c726f666a9538dba0a043665740feb45bba1652457a73441e7c5179c6768a638ed396db3437e9905f403644ec7c468fb41f4813d03f - languageName: node - linkType: hard - "is-alphanumerical@npm:^2.0.0": version: 2.0.1 resolution: "is-alphanumerical@npm:2.0.1" @@ -6024,13 +6004,6 @@ __metadata: languageName: node linkType: hard -"is-decimal@npm:^1.0.0": - version: 1.0.4 - resolution: "is-decimal@npm:1.0.4" - checksum: 10/ed483a387517856dc395c68403a10201fddcc1b63dc56513fbe2fe86ab38766120090ecdbfed89223d84ca8b1cd28b0641b93cb6597b6e8f4c097a7c24e3fb96 - languageName: node - linkType: hard - "is-decimal@npm:^2.0.0": version: 2.0.1 resolution: "is-decimal@npm:2.0.1" @@ -6077,13 +6050,6 @@ __metadata: languageName: node linkType: hard -"is-hexadecimal@npm:^1.0.0": - version: 1.0.4 - resolution: "is-hexadecimal@npm:1.0.4" - checksum: 10/a452e047587b6069332d83130f54d30da4faf2f2ebaa2ce6d073c27b5703d030d58ed9e0b729c8e4e5b52c6f1dab26781bb77b7bc6c7805f14f320e328ff8cd5 - languageName: node - linkType: hard - "is-hexadecimal@npm:^2.0.0": version: 2.0.1 resolution: "is-hexadecimal@npm:2.0.1" @@ -6706,22 +6672,9 @@ __metadata: languageName: node linkType: hard -"mdast-util-from-markdown@npm:^0.8.5": - version: 0.8.5 - resolution: "mdast-util-from-markdown@npm:0.8.5" - dependencies: - "@types/mdast": "npm:^3.0.0" - mdast-util-to-string: "npm:^2.0.0" - micromark: "npm:~2.11.0" - parse-entities: "npm:^2.0.0" - unist-util-stringify-position: "npm:^2.0.0" - checksum: 10/f42166eb7a3c2a8cf17dffd868a6dfdab6a77d4e4c8f35d7c3d63247a16ddfeae45a59d9f5fa5eacc48d76d82d18cb0157961d03d1732bc616f9ddf3bb450984 - languageName: node - linkType: hard - -"mdast-util-from-markdown@npm:^2.0.0": - version: 2.0.0 - resolution: "mdast-util-from-markdown@npm:2.0.0" +"mdast-util-from-markdown@npm:^2.0.0, mdast-util-from-markdown@npm:^2.0.2": + version: 2.0.2 + resolution: "mdast-util-from-markdown@npm:2.0.2" dependencies: "@types/mdast": "npm:^4.0.0" "@types/unist": "npm:^3.0.0" @@ -6735,7 +6688,7 @@ __metadata: micromark-util-symbol: "npm:^2.0.0" micromark-util-types: "npm:^2.0.0" unist-util-stringify-position: "npm:^4.0.0" - checksum: 10/960e28a8ff3d989cc25a615d14e9a1d95d145b938dc08323ce44689be6dd052ece544d2acf5242cedb8ad6ccdc3ffe854989b7c2516c6e62f2fca42b6d11a2da + checksum: 10/69b207913fbcc0469f8c59d922af4d5509b79e809d77c9bd4781543a907fe2ecc8e6433ce0707066a27b117b13f38af3aae4f2d085e18ebd2d3ad5f1a5647902 languageName: node linkType: hard @@ -6960,13 +6913,6 @@ __metadata: languageName: node linkType: hard -"mdast-util-to-string@npm:^2.0.0": - version: 2.0.0 - resolution: "mdast-util-to-string@npm:2.0.0" - checksum: 10/0b2113ada10e002fbccb014170506dabe2f2ddacaacbe4bc1045c33f986652c5a162732a2c057c5335cdb58419e2ad23e368e5be226855d4d4e280b81c4e9ec2 - languageName: node - linkType: hard - "mdast-util-to-string@npm:^4.0.0": version: 4.0.0 resolution: "mdast-util-to-string@npm:4.0.0" @@ -7468,16 +7414,6 @@ __metadata: languageName: node linkType: hard -"micromark@npm:~2.11.0": - version: 2.11.4 - resolution: "micromark@npm:2.11.4" - dependencies: - debug: "npm:^4.0.0" - parse-entities: "npm:^2.0.0" - checksum: 10/cd3bcbc4c113c74d0897e7787103eb9c92c86974b0af1f87d2079b34f1543511a1e72face3f80c1d47c6614c2eaf860d94eee8c06f80dc48bc2441691576364b - languageName: node - linkType: hard - "micromatch@npm:4.0.8, micromatch@npm:^4.0.4, micromatch@npm:^4.0.8": version: 4.0.8 resolution: "micromatch@npm:4.0.8" @@ -8069,20 +8005,6 @@ __metadata: languageName: node linkType: hard -"parse-entities@npm:^2.0.0": - version: 2.0.0 - resolution: "parse-entities@npm:2.0.0" - dependencies: - character-entities: "npm:^1.0.0" - character-entities-legacy: "npm:^1.0.0" - character-reference-invalid: "npm:^1.0.0" - is-alphanumerical: "npm:^1.0.0" - is-decimal: "npm:^1.0.0" - is-hexadecimal: "npm:^1.0.0" - checksum: 10/feb46b516722474797d72331421f3e62856750cfb4f70ba098b36447bf0b169e819cc4fdee53e022874d5f0c81b605d86e1912b9842a70e59a54de2fee81589d - languageName: node - linkType: hard - "parse-entities@npm:^4.0.0": version: 4.0.1 resolution: "parse-entities@npm:4.0.1" @@ -9401,13 +9323,13 @@ __metadata: languageName: node linkType: hard -"remark-mdx@npm:^3.0.0": - version: 3.0.0 - resolution: "remark-mdx@npm:3.0.0" +"remark-mdx@npm:^3.0.0, remark-mdx@npm:^3.1.0": + version: 3.1.0 + resolution: "remark-mdx@npm:3.1.0" dependencies: mdast-util-mdx: "npm:^3.0.0" micromark-extension-mdxjs: "npm:^3.0.0" - checksum: 10/678e868f6bedc597881ee99e196270b342a1950d330a2102d2303e8cf00f65f69d9692465b1609265c5635f5a28b616ad0fe49c930d48ff3323abc4c4e397853 + checksum: 10/9a0a1ba9433f0a9a13ec6b9b185244cb431d3205cc0034ff474b60a13b76095870b8cb6a466cfacf35199ee98e92413fec86fbeb75de3ec3d7bb8f486efc7484 languageName: node linkType: hard @@ -10202,6 +10124,16 @@ __metadata: languageName: node linkType: hard +"synckit@npm:^0.11.2": + version: 0.11.2 + resolution: "synckit@npm:0.11.2" + dependencies: + "@pkgr/core": "npm:^0.2.0" + tslib: "npm:^2.8.1" + checksum: 10/8dbf20a9f1cb9f168062b505302f87b434b6f808d61af94183583b1201f33ba0026469fb81dd20074c980bc56237c6bd4ccb640433b5734eef14f5a90c1bbf18 + languageName: node + linkType: hard + "synckit@npm:^0.6.0": version: 0.6.2 resolution: "synckit@npm:0.6.2" @@ -10411,13 +10343,20 @@ __metadata: languageName: node linkType: hard -"tslib@npm:2.6.2, tslib@npm:^2.1.0, tslib@npm:^2.3.1, tslib@npm:^2.6.2": +"tslib@npm:2.6.2": version: 2.6.2 resolution: "tslib@npm:2.6.2" checksum: 10/bd26c22d36736513980091a1e356378e8b662ded04204453d353a7f34a4c21ed0afc59b5f90719d4ba756e581a162ecbf93118dc9c6be5acf70aa309188166ca languageName: node linkType: hard +"tslib@npm:^2.1.0, tslib@npm:^2.3.1, tslib@npm:^2.6.2, tslib@npm:^2.8.1": + version: 2.8.1 + resolution: "tslib@npm:2.8.1" + checksum: 10/3e2e043d5c2316461cb54e5c7fe02c30ef6dccb3384717ca22ae5c6b5bc95232a6241df19c622d9c73b809bea33b187f6dbc73030963e29950c2141bc32a79f7 + languageName: node + linkType: hard + "type-check@npm:^0.4.0, type-check@npm:~0.4.0": version: 0.4.0 resolution: "type-check@npm:0.4.0" @@ -10627,7 +10566,7 @@ __metadata: languageName: node linkType: hard -"unified-engine@npm:^11.0.0, unified-engine@npm:^11.2.0": +"unified-engine@npm:^11.0.0, unified-engine@npm:^11.2.0, unified-engine@npm:^11.2.2": version: 11.2.2 resolution: "unified-engine@npm:11.2.2" dependencies: @@ -10684,7 +10623,7 @@ __metadata: languageName: node linkType: hard -"unified@npm:11.0.5, unified@npm:^11.0.0, unified@npm:^11.0.4": +"unified@npm:11.0.5, unified@npm:^11.0.0, unified@npm:^11.0.4, unified@npm:^11.0.5": version: 11.0.5 resolution: "unified@npm:11.0.5" dependencies: @@ -10763,15 +10702,6 @@ __metadata: languageName: node linkType: hard -"unist-util-stringify-position@npm:^2.0.0": - version: 2.0.3 - resolution: "unist-util-stringify-position@npm:2.0.3" - dependencies: - "@types/unist": "npm:^2.0.2" - checksum: 10/affbfd151f0df055ce0dddf443fc41353ab3870cdba6b3805865bd6a41ce22d9d8e65be0ed8839a8731d05b61421d2df9fd8c35b67adf86040bf4b1f8a04a42c - languageName: node - linkType: hard - "unist-util-stringify-position@npm:^4.0.0": version: 4.0.0 resolution: "unist-util-stringify-position@npm:4.0.0" @@ -10955,7 +10885,7 @@ __metadata: languageName: node linkType: hard -"vfile@npm:6.0.3, vfile@npm:^6.0.0, vfile@npm:^6.0.1": +"vfile@npm:6.0.3, vfile@npm:^6.0.0, vfile@npm:^6.0.1, vfile@npm:^6.0.3": version: 6.0.3 resolution: "vfile@npm:6.0.3" dependencies: