@@ -12852,13 +12852,13 @@ Object.defineProperty(identifier, "__esModule", {
12852
12852
identifier.isIdentifierStart = isIdentifierStart;
12853
12853
identifier.isIdentifierChar = isIdentifierChar;
12854
12854
identifier.isIdentifierName = isIdentifierName;
12855
- let nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08c7\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\u9ffc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7ca\ua7f5-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc";
12856
- let nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08d3-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf\u1ac0\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1df9\u1dfb-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f";
12855
+ let nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc";
12856
+ let nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f";
12857
12857
const nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
12858
12858
const nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
12859
12859
nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
12860
- const astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 157, 310, 10, 21, 11, 7, 153, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 107, 20, 28, 22, 13, 52, 76, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 230, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 35, 56, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 190, 0, 80, 921, 103, 110, 18, 195, 2749, 1070, 4050, 582, 8634, 568, 8, 30, 114, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8952, 286, 50, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 2357, 44, 11, 6, 17, 0, 370, 43, 1301, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42717, 35, 4148, 12, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938];
12861
- const astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 176, 2, 54, 14, 32, 9, 16, 3, 46, 10, 54, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 19306, 9, 135, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 5319, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 419 , 13, 1495, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
12860
+ const astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 190, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1070, 4050, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 46, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 482, 44, 11, 6, 17, 0, 322, 29, 19, 43, 1269, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4152, 8, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938];
12861
+ const astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 19306, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 357, 0, 62 , 13, 1495, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
12862
12862
12863
12863
function isInAstralSet(code, set) {
12864
12864
let pos = 0x10000;
@@ -20974,7 +20974,7 @@ findUp$1.exports.sync = (filename, opts = {}) => {
20974
20974
20975
20975
var ini$1 = {};
20976
20976
20977
- ini$1.parse = ini$1.decode = decode;
20977
+ ini$1.parse = ini$1.decode = decode$1 ;
20978
20978
20979
20979
ini$1.stringify = ini$1.encode = encode$1;
20980
20980
@@ -21040,7 +21040,7 @@ function dotSplit (str) {
21040
21040
})
21041
21041
}
21042
21042
21043
- function decode (str) {
21043
+ function decode$1 (str) {
21044
21044
var out = {};
21045
21045
var p = out;
21046
21046
var section = null;
@@ -32620,7 +32620,7 @@ function options(flags, configuration) {
32620
32620
rcPath: config.rcPath,
32621
32621
detectConfig: config.config,
32622
32622
settings: /** @type {Record<string, unknown>} */ (
32623
- settings(/** @type {string} */ (config.setting))
32623
+ settings$1 (/** @type {string} */ (config.setting))
32624
32624
),
32625
32625
ignoreName: configuration.ignoreName,
32626
32626
ignorePath: config.ignorePath,
@@ -32713,7 +32713,7 @@ function reporter(value) {
32713
32713
* @param {string[]|string|null|undefined} value
32714
32714
* @returns {Record<string, unknown>}
32715
32715
*/
32716
- function settings(value) {
32716
+ function settings$1 (value) {
32717
32717
const normalized = normalize(value);
32718
32718
let index = -1;
32719
32719
/** @type {Record<string, unknown>} */
@@ -35282,7 +35282,7 @@ function exit$1(effects) {
35282
35282
*/
35283
35283
35284
35284
/** @type {Construct} */
35285
- const characterEscape$1 = {
35285
+ const characterEscape = {
35286
35286
name: 'characterEscape',
35287
35287
tokenize: tokenizeCharacterEscape
35288
35288
};
@@ -37560,7 +37560,7 @@ function decodeEntity(characters) {
37560
37560
*/
37561
37561
37562
37562
/** @type {Construct} */
37563
- const characterReference$1 = {
37563
+ const characterReference = {
37564
37564
name: 'characterReference',
37565
37565
tokenize: tokenizeCharacterReference
37566
37566
};
@@ -42171,8 +42171,8 @@ const flow = {
42171
42171
/** @type {Extension['string']} */
42172
42172
42173
42173
const string = {
42174
- [38]: characterReference$1 ,
42175
- [92]: characterEscape$1
42174
+ [38]: characterReference,
42175
+ [92]: characterEscape
42176
42176
};
42177
42177
/** @type {Extension['text']} */
42178
42178
@@ -42181,11 +42181,11 @@ const text$2 = {
42181
42181
[-4]: lineEnding,
42182
42182
[-3]: lineEnding,
42183
42183
[33]: labelStartImage,
42184
- [38]: characterReference$1 ,
42184
+ [38]: characterReference,
42185
42185
[42]: attention,
42186
42186
[60]: [autolink, htmlText],
42187
42187
[91]: labelStartLink,
42188
- [92]: [hardBreakEscape, characterEscape$1 ],
42188
+ [92]: [hardBreakEscape, characterEscape],
42189
42189
[93]: labelEnd,
42190
42190
[95]: attention,
42191
42191
[96]: codeText
@@ -42442,16 +42442,58 @@ function decodeNumericCharacterReference(value, base) {
42442
42442
return String.fromCharCode(code)
42443
42443
}
42444
42444
42445
+ const characterEscapeOrReference =
42446
+ /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
42447
+ /**
42448
+ * Utility to decode markdown strings (which occur in places such as fenced
42449
+ * code info strings, destinations, labels, and titles).
42450
+ * The “string” content type allows character escapes and -references.
42451
+ * This decodes those.
42452
+ *
42453
+ * @param {string} value
42454
+ * @returns {string}
42455
+ */
42456
+
42457
+ function decodeString(value) {
42458
+ return value.replace(characterEscapeOrReference, decode)
42459
+ }
42460
+ /**
42461
+ * @param {string} $0
42462
+ * @param {string} $1
42463
+ * @param {string} $2
42464
+ * @returns {string}
42465
+ */
42466
+
42467
+ function decode($0, $1, $2) {
42468
+ if ($1) {
42469
+ // Escape.
42470
+ return $1
42471
+ } // Reference.
42472
+
42473
+ const head = $2.charCodeAt(0);
42474
+
42475
+ if (head === 35) {
42476
+ const head = $2.charCodeAt(1);
42477
+ const hex = head === 120 || head === 88;
42478
+ return decodeNumericCharacterReference($2.slice(hex ? 2 : 1), hex ? 16 : 10)
42479
+ }
42480
+
42481
+ return decodeEntity($2) || $0
42482
+ }
42483
+
42445
42484
/**
42446
42485
* @typedef {import('micromark-util-types').Encoding} Encoding
42447
42486
* @typedef {import('micromark-util-types').Event} Event
42448
42487
* @typedef {import('micromark-util-types').ParseOptions} ParseOptions
42449
42488
* @typedef {import('micromark-util-types').Token} Token
42450
42489
* @typedef {import('micromark-util-types').TokenizeContext} TokenizeContext
42451
42490
* @typedef {import('micromark-util-types').Value} Value
42452
- * @typedef {Root|Root['children'][number]} Node
42453
- * @typedef {import('unist').Parent} Parent
42491
+ * @typedef {import('unist').Parent} UnistParent
42454
42492
* @typedef {import('unist').Point} Point
42493
+ * @typedef {import('mdast').PhrasingContent} PhrasingContent
42494
+ * @typedef {import('mdast').Content} Content
42495
+ * @typedef {Root|Content} Node
42496
+ * @typedef {Extract<Node, UnistParent>} Parent
42455
42497
* @typedef {import('mdast').Break} Break
42456
42498
* @typedef {import('mdast').Blockquote} Blockquote
42457
42499
* @typedef {import('mdast').Code} Code
@@ -42460,15 +42502,19 @@ function decodeNumericCharacterReference(value, base) {
42460
42502
* @typedef {import('mdast').Heading} Heading
42461
42503
* @typedef {import('mdast').HTML} HTML
42462
42504
* @typedef {import('mdast').Image} Image
42505
+ * @typedef {import('mdast').ImageReference} ImageReference
42463
42506
* @typedef {import('mdast').InlineCode} InlineCode
42464
42507
* @typedef {import('mdast').Link} Link
42508
+ * @typedef {import('mdast').LinkReference} LinkReference
42465
42509
* @typedef {import('mdast').List} List
42466
42510
* @typedef {import('mdast').ListItem} ListItem
42467
42511
* @typedef {import('mdast').Paragraph} Paragraph
42468
42512
* @typedef {import('mdast').Root} Root
42469
42513
* @typedef {import('mdast').Strong} Strong
42470
42514
* @typedef {import('mdast').Text} Text
42471
42515
* @typedef {import('mdast').ThematicBreak} ThematicBreak
42516
+ *
42517
+ * @typedef {UnistParent & {type: 'fragment', children: PhrasingContent[]}} Fragment
42472
42518
*/
42473
42519
const own$4 = {}.hasOwnProperty;
42474
42520
/**
@@ -42478,13 +42524,6 @@ const own$4 = {}.hasOwnProperty;
42478
42524
*/
42479
42525
42480
42526
const fromMarkdown =
42481
- /**
42482
- * @type {(
42483
- * ((value: Value, encoding: Encoding, options?: Options) => Root) &
42484
- * ((value: Value, options?: Options) => Root)
42485
- * )}
42486
- */
42487
-
42488
42527
/**
42489
42528
* @param {Value} value
42490
42529
* @param {Encoding} [encoding]
@@ -42923,7 +42962,6 @@ function compiler(options = {}) {
42923
42962
/** @type {CompileContext['buffer']} */
42924
42963
42925
42964
function buffer() {
42926
- // @ts-expect-error: Custom node type to collect text.
42927
42965
this.stack.push({
42928
42966
type: 'fragment',
42929
42967
children: []
@@ -42939,9 +42977,8 @@ function compiler(options = {}) {
42939
42977
*/
42940
42978
42941
42979
function enter(node, token) {
42942
- /** @type {Parent} */
42943
- // @ts-expect-error: Assume parent.
42944
42980
const parent = this.stack[this.stack.length - 1];
42981
+ // @ts-expect-error: Assume `Node` can exist as a child of `parent`.
42945
42982
parent.children.push(node);
42946
42983
this.stack.push(node);
42947
42984
this.tokenStack.push(token); // @ts-expect-error: `end` will be patched later.
@@ -43029,24 +43066,24 @@ function compiler(options = {}) {
43029
43066
43030
43067
function onenterlistitemvalue(token) {
43031
43068
if (getData('expectingFirstListItemValue')) {
43032
- this.stack[this.stack.length - 2].start = Number.parseInt(
43033
- this.sliceSerialize(token),
43034
- 10
43035
- );
43069
+ const ancestor = this.stack[this.stack.length - 2];
43070
+ ancestor.start = Number.parseInt(this.sliceSerialize(token), 10);
43036
43071
setData('expectingFirstListItemValue');
43037
43072
}
43038
43073
}
43039
43074
/** @type {Handle} */
43040
43075
43041
43076
function onexitcodefencedfenceinfo() {
43042
43077
const data = this.resume();
43043
- this.stack[this.stack.length - 1].lang = data;
43078
+ const node = this.stack[this.stack.length - 1];
43079
+ node.lang = data;
43044
43080
}
43045
43081
/** @type {Handle} */
43046
43082
43047
43083
function onexitcodefencedfencemeta() {
43048
43084
const data = this.resume();
43049
- this.stack[this.stack.length - 1].meta = data;
43085
+ const node = this.stack[this.stack.length - 1];
43086
+ node.meta = data;
43050
43087
}
43051
43088
/** @type {Handle} */
43052
43089
@@ -43060,46 +43097,50 @@ function compiler(options = {}) {
43060
43097
43061
43098
function onexitcodefenced() {
43062
43099
const data = this.resume();
43063
- this.stack[this.stack.length - 1].value = data.replace(
43064
- /^(\r?\n|\r)|(\r?\n|\r)$/g,
43065
- ''
43066
- );
43100
+ const node = this.stack[this.stack.length - 1];
43101
+ node.value = data.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, '');
43067
43102
setData('flowCodeInside');
43068
43103
}
43069
43104
/** @type {Handle} */
43070
43105
43071
43106
function onexitcodeindented() {
43072
43107
const data = this.resume();
43073
- this.stack[this.stack.length - 1].value = data.replace(/(\r?\n|\r)$/g, '');
43108
+ const node = this.stack[this.stack.length - 1];
43109
+ node.value = data.replace(/(\r?\n|\r)$/g, '');
43074
43110
}
43075
43111
/** @type {Handle} */
43076
43112
43077
43113
function onexitdefinitionlabelstring(token) {
43078
43114
// Discard label, use the source content instead.
43079
43115
const label = this.resume();
43080
- this.stack[this.stack.length - 1].label = label;
43081
- this.stack[this.stack.length - 1].identifier = normalizeIdentifier(
43116
+ const node = this.stack[this.stack.length - 1];
43117
+ node.label = label;
43118
+ node.identifier = normalizeIdentifier(
43082
43119
this.sliceSerialize(token)
43083
43120
).toLowerCase();
43084
43121
}
43085
43122
/** @type {Handle} */
43086
43123
43087
43124
function onexitdefinitiontitlestring() {
43088
43125
const data = this.resume();
43089
- this.stack[this.stack.length - 1].title = data;
43126
+ const node = this.stack[this.stack.length - 1];
43127
+ node.title = data;
43090
43128
}
43091
43129
/** @type {Handle} */
43092
43130
43093
43131
function onexitdefinitiondestinationstring() {
43094
43132
const data = this.resume();
43095
- this.stack[this.stack.length - 1].url = data;
43133
+ const node = this.stack[this.stack.length - 1];
43134
+ node.url = data;
43096
43135
}
43097
43136
/** @type {Handle} */
43098
43137
43099
43138
function onexitatxheadingsequence(token) {
43100
- if (!this.stack[this.stack.length - 1].depth) {
43101
- this.stack[this.stack.length - 1].depth =
43102
- this.sliceSerialize(token).length;
43139
+ const node = this.stack[this.stack.length - 1];
43140
+
43141
+ if (!node.depth) {
43142
+ const depth = this.sliceSerialize(token).length;
43143
+ node.depth = depth;
43103
43144
}
43104
43145
}
43105
43146
/** @type {Handle} */
@@ -43110,8 +43151,8 @@ function compiler(options = {}) {
43110
43151
/** @type {Handle} */
43111
43152
43112
43153
function onexitsetextheadinglinesequence(token) {
43113
- this.stack[this.stack.length - 1].depth =
43114
- this.sliceSerialize(token).charCodeAt(0) === 61 ? 1 : 2;
43154
+ const node = this.stack[this.stack.length - 1];
43155
+ node.depth = this.sliceSerialize(token).charCodeAt(0) === 61 ? 1 : 2;
43115
43156
}
43116
43157
/** @type {Handle} */
43117
43158
@@ -43121,11 +43162,8 @@ function compiler(options = {}) {
43121
43162
/** @type {Handle} */
43122
43163
43123
43164
function onenterdata(token) {
43124
- /** @type {Parent} */
43125
- // @ts-expect-error: assume parent.
43126
43165
const parent = this.stack[this.stack.length - 1];
43127
43166
/** @type {Node} */
43128
- // @ts-expect-error: assume child.
43129
43167
43130
43168
let tail = parent.children[parent.children.length - 1];
43131
43169
@@ -43135,7 +43173,8 @@ function compiler(options = {}) {
43135
43173
43136
43174
tail.position = {
43137
43175
start: point(token.start)
43138
- };
43176
+ }; // @ts-expect-error: Assume `parent` accepts `text`.
43177
+
43139
43178
parent.children.push(tail);
43140
43179
}
43141
43180
@@ -43151,8 +43190,6 @@ function compiler(options = {}) {
43151
43190
/** @type {Handle} */
43152
43191
43153
43192
function onexitlineending(token) {
43154
- /** @type {Parent} */
43155
- // @ts-expect-error: supposed to be a parent.
43156
43193
const context = this.stack[this.stack.length - 1];
43157
43194
43158
43195
// If we’re at a hard break, include the line ending in there.
@@ -43180,34 +43217,40 @@ function compiler(options = {}) {
43180
43217
43181
43218
function onexithtmlflow() {
43182
43219
const data = this.resume();
43183
- this.stack[this.stack.length - 1].value = data;
43220
+ const node = this.stack[this.stack.length - 1];
43221
+ node.value = data;
43184
43222
}
43185
43223
/** @type {Handle} */
43186
43224
43187
43225
function onexithtmltext() {
43188
43226
const data = this.resume();
43189
- this.stack[this.stack.length - 1].value = data;
43227
+ const node = this.stack[this.stack.length - 1];
43228
+ node.value = data;
43190
43229
}
43191
43230
/** @type {Handle} */
43192
43231
43193
43232
function onexitcodetext() {
43194
43233
const data = this.resume();
43195
- this.stack[this.stack.length - 1].value = data;
43234
+ const node = this.stack[this.stack.length - 1];
43235
+ node.value = data;
43196
43236
}
43197
43237
/** @type {Handle} */
43198
43238
43199
43239
function onexitlink() {
43200
43240
const context = this.stack[this.stack.length - 1]; // To do: clean.
43201
43241
43202
43242
if (getData('inReference')) {
43203
- context.type += 'Reference';
43204
- context.referenceType = getData('referenceType') || 'shortcut';
43243
+ context.type += 'Reference'; // @ts-expect-error: mutate.
43244
+
43245
+ context.referenceType = getData('referenceType') || 'shortcut'; // @ts-expect-error: mutate.
43246
+
43205
43247
delete context.url;
43206
43248
delete context.title;
43207
43249
} else {
43208
- delete context.identifier;
43250
+ // @ts-expect-error: mutate.
43251
+ delete context.identifier; // @ts-expect-error: mutate.
43252
+
43209
43253
delete context.label;
43210
- delete context.referenceType;
43211
43254
}
43212
43255
43213
43256
setData('referenceType');
@@ -43218,51 +43261,58 @@ function compiler(options = {}) {
43218
43261
const context = this.stack[this.stack.length - 1]; // To do: clean.
43219
43262
43220
43263
if (getData('inReference')) {
43221
- context.type += 'Reference';
43222
- context.referenceType = getData('referenceType') || 'shortcut';
43264
+ context.type += 'Reference'; // @ts-expect-error: mutate.
43265
+
43266
+ context.referenceType = getData('referenceType') || 'shortcut'; // @ts-expect-error: mutate.
43267
+
43223
43268
delete context.url;
43224
43269
delete context.title;
43225
43270
} else {
43226
- delete context.identifier;
43271
+ // @ts-expect-error: mutate.
43272
+ delete context.identifier; // @ts-expect-error: mutate.
43273
+
43227
43274
delete context.label;
43228
- delete context.referenceType;
43229
43275
}
43230
43276
43231
43277
setData('referenceType');
43232
43278
}
43233
43279
/** @type {Handle} */
43234
43280
43235
43281
function onexitlabeltext(token) {
43236
- this.stack[this.stack.length - 2].identifier = normalizeIdentifier(
43237
- this.sliceSerialize(token)
43238
- ).toLowerCase();
43282
+ const ancestor = this.stack[this.stack.length - 2];
43283
+ const string = this.sliceSerialize(token);
43284
+ ancestor.label = decodeString(string);
43285
+ ancestor.identifier = normalizeIdentifier(string).toLowerCase();
43239
43286
}
43240
43287
/** @type {Handle} */
43241
43288
43242
43289
function onexitlabel() {
43243
43290
const fragment = this.stack[this.stack.length - 1];
43244
43291
const value = this.resume();
43245
- this.stack[this.stack.length - 1].label = value ; // Assume a reference.
43292
+ const node = this.stack[this.stack.length - 1]; // Assume a reference.
43246
43293
43247
43294
setData('inReference', true);
43248
43295
43249
- if (this.stack[this.stack.length - 1].type === 'link') {
43250
- this.stack[this.stack.length - 1].children = fragment.children;
43296
+ if (node.type === 'link') {
43297
+ // @ts-expect-error: Assume static phrasing content.
43298
+ node.children = fragment.children;
43251
43299
} else {
43252
- this.stack[this.stack.length - 1] .alt = value;
43300
+ node .alt = value;
43253
43301
}
43254
43302
}
43255
43303
/** @type {Handle} */
43256
43304
43257
43305
function onexitresourcedestinationstring() {
43258
43306
const data = this.resume();
43259
- this.stack[this.stack.length - 1].url = data;
43307
+ const node = this.stack[this.stack.length - 1];
43308
+ node.url = data;
43260
43309
}
43261
43310
/** @type {Handle} */
43262
43311
43263
43312
function onexitresourcetitlestring() {
43264
43313
const data = this.resume();
43265
- this.stack[this.stack.length - 1].title = data;
43314
+ const node = this.stack[this.stack.length - 1];
43315
+ node.title = data;
43266
43316
}
43267
43317
/** @type {Handle} */
43268
43318
@@ -43278,8 +43328,9 @@ function compiler(options = {}) {
43278
43328
43279
43329
function onexitreferencestring(token) {
43280
43330
const label = this.resume();
43281
- this.stack[this.stack.length - 1].label = label;
43282
- this.stack[this.stack.length - 1].identifier = normalizeIdentifier(
43331
+ const node = this.stack[this.stack.length - 1];
43332
+ node.label = label;
43333
+ node.identifier = normalizeIdentifier(
43283
43334
this.sliceSerialize(token)
43284
43335
).toLowerCase();
43285
43336
setData('referenceType', 'full');
@@ -43318,14 +43369,15 @@ function compiler(options = {}) {
43318
43369
43319
43370
function onexitautolinkprotocol(token) {
43320
43371
onexitdata.call(this, token);
43321
- this.stack[this.stack.length - 1].url = this.sliceSerialize(token);
43372
+ const node = this.stack[this.stack.length - 1];
43373
+ node.url = this.sliceSerialize(token);
43322
43374
}
43323
43375
/** @type {Handle} */
43324
43376
43325
43377
function onexitautolinkemail(token) {
43326
43378
onexitdata.call(this, token);
43327
- this.stack[this.stack.length - 1].url =
43328
- 'mailto:' + this.sliceSerialize(token);
43379
+ const node = this.stack[this.stack.length - 1];
43380
+ node.url = 'mailto:' + this.sliceSerialize(token);
43329
43381
} //
43330
43382
// Creaters.
43331
43383
//
@@ -43341,7 +43393,6 @@ function compiler(options = {}) {
43341
43393
/** @returns {Code} */
43342
43394
43343
43395
function codeFlow() {
43344
- // @ts-expect-error: we’ve always used `null`.
43345
43396
return {
43346
43397
type: 'code',
43347
43398
lang: null,
@@ -43363,9 +43414,7 @@ function compiler(options = {}) {
43363
43414
return {
43364
43415
type: 'definition',
43365
43416
identifier: '',
43366
- // @ts-expect-error: we’ve always used `null`.
43367
43417
label: null,
43368
- // @ts-expect-error: we’ve always used `null`.
43369
43418
title: null,
43370
43419
url: ''
43371
43420
}
@@ -43406,7 +43455,6 @@ function compiler(options = {}) {
43406
43455
/** @returns {Image} */
43407
43456
43408
43457
function image() {
43409
- // @ts-expect-error: we’ve always used `null`.
43410
43458
return {
43411
43459
type: 'image',
43412
43460
title: null,
@@ -43417,7 +43465,6 @@ function compiler(options = {}) {
43417
43465
/** @returns {Link} */
43418
43466
43419
43467
function link() {
43420
- // @ts-expect-error: we’ve always used `null`.
43421
43468
return {
43422
43469
type: 'link',
43423
43470
title: null,
@@ -43434,7 +43481,6 @@ function compiler(options = {}) {
43434
43481
return {
43435
43482
type: 'list',
43436
43483
ordered: token.type === 'listOrdered',
43437
- // @ts-expect-error: we’ve always used `null`.
43438
43484
start: null,
43439
43485
// @ts-expect-error Patched.
43440
43486
spread: token._spread,
@@ -43451,7 +43497,6 @@ function compiler(options = {}) {
43451
43497
type: 'listItem',
43452
43498
// @ts-expect-error Patched.
43453
43499
spread: token._spread,
43454
- // @ts-expect-error: we’ve always used `null`.
43455
43500
checked: null,
43456
43501
children: []
43457
43502
}
@@ -44206,9 +44251,6 @@ function map(line, _, blank) {
44206
44251
* @typedef {import('mdast').Association} Association
44207
44252
*/
44208
44253
44209
- const characterEscape = /\\([!-/:-@[-`{-~])/g;
44210
- const characterReference = /&(#(\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
44211
-
44212
44254
/**
44213
44255
* The `label` of an association is the string value: character escapes and
44214
44256
* references work, and casing is intact.
@@ -44229,18 +44271,7 @@ function association(node) {
44229
44271
return node.label || ''
44230
44272
}
44231
44273
44232
- return node.identifier
44233
- .replace(characterEscape, '$1')
44234
- .replace(characterReference, decodeIfPossible)
44235
- }
44236
-
44237
- /**
44238
- * @param {string} $0
44239
- * @param {string} $1
44240
- * @returns {string}
44241
- */
44242
- function decodeIfPossible($0, $1) {
44243
- return decodeEntity($1) || $0
44274
+ return decodeString(node.identifier)
44244
44275
}
44245
44276
44246
44277
/**
@@ -45896,8 +45927,7 @@ const unsafe = [
45896
45927
// Caret is not used in markdown for constructs.
45897
45928
// An underscore can start emphasis, strong, or a thematic break.
45898
45929
{atBreak: true, character: '_'},
45899
- {before: '[^A-Za-z]', character: '_', inConstruct: 'phrasing'},
45900
- {character: '_', after: '[^A-Za-z]', inConstruct: 'phrasing'},
45930
+ {character: '_', inConstruct: 'phrasing'},
45901
45931
// A grave accent can start code (fenced or text), or it can break out of
45902
45932
// a grave accent code fence.
45903
45933
{atBreak: true, character: '`'},
@@ -46992,6 +47022,10 @@ function lintMessageControl() {
46992
47022
* @typedef {'warn'|'on'|'off'|'error'} Label
46993
47023
* @typedef {[Severity, ...unknown[]]} SeverityTuple
46994
47024
*
47025
+ * @typedef RuleMeta
47026
+ * @property {string} origin name of the lint rule
47027
+ * @property {string} [url] link to documentation
47028
+ *
46995
47029
* @callback Rule
46996
47030
* @param {Node} tree
46997
47031
* @param {VFile} file
@@ -47002,10 +47036,12 @@ function lintMessageControl() {
47002
47036
const primitives = new Set(['string', 'number', 'boolean']);
47003
47037
47004
47038
/**
47005
- * @param {string} id
47039
+ * @param {string|RuleMeta} meta
47006
47040
* @param {Rule} rule
47007
47041
*/
47008
- function lintRule(id, rule) {
47042
+ function lintRule(meta, rule) {
47043
+ const id = typeof meta === 'string' ? meta : meta.origin;
47044
+ const url = typeof meta === 'string' ? undefined : meta.url;
47009
47045
const parts = id.split(':');
47010
47046
// Possibly useful if externalised later.
47011
47047
/* c8 ignore next */
@@ -47041,7 +47077,7 @@ function lintRule(id, rule) {
47041
47077
}
47042
47078
47043
47079
while (++index < messages.length) {
47044
- Object.assign(messages[index], {ruleId, source, fatal});
47080
+ Object.assign(messages[index], {ruleId, source, fatal, url });
47045
47081
}
47046
47082
47047
47083
next();
@@ -47165,7 +47201,10 @@ function coerce$1(name, value) {
47165
47201
*/
47166
47202
47167
47203
const remarkLintFinalNewline = lintRule(
47168
- 'remark-lint:final-newline',
47204
+ {
47205
+ origin: 'remark-lint:final-newline',
47206
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-final-newline#readme'
47207
+ },
47169
47208
/** @type {import('unified-lint-rule').Rule<Root, void>} */
47170
47209
(_, file) => {
47171
47210
const value = String(file);
@@ -47724,7 +47763,10 @@ var plural = pluralize.exports;
47724
47763
*/
47725
47764
47726
47765
const remarkLintListItemBulletIndent = lintRule(
47727
- 'remark-lint:list-item-bullet-indent',
47766
+ {
47767
+ origin: 'remark-lint:list-item-bullet-indent',
47768
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-list-item-bullet-indent#readme'
47769
+ },
47728
47770
/** @type {import('unified-lint-rule').Rule<Root, void>} */
47729
47771
(tree, file) => {
47730
47772
visit$1(tree, 'list', (list, _, grandparent) => {
@@ -47954,7 +47996,10 @@ function generated(node) {
47954
47996
*/
47955
47997
47956
47998
const remarkLintListItemIndent = lintRule(
47957
- 'remark-lint:list-item-indent',
47999
+ {
48000
+ origin: 'remark-lint:list-item-indent',
48001
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-list-item-indent#readme'
48002
+ },
47958
48003
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
47959
48004
(tree, file, option = 'tab-size') => {
47960
48005
const value = String(file);
@@ -48053,7 +48098,10 @@ var remarkLintListItemIndent$1 = remarkLintListItemIndent;
48053
48098
const protocol = /^[a-z][a-z+.-]+:\/?/i;
48054
48099
48055
48100
const remarkLintNoAutoLinkWithoutProtocol = lintRule(
48056
- 'remark-lint:no-auto-link-without-protocol',
48101
+ {
48102
+ origin: 'remark-lint:no-auto-link-without-protocol',
48103
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-auto-link-without-protocol#readme'
48104
+ },
48057
48105
/** @type {import('unified-lint-rule').Rule<Root, void>} */
48058
48106
(tree, file) => {
48059
48107
visit$1(tree, 'link', (node) => {
@@ -48130,7 +48178,10 @@ var remarkLintNoAutoLinkWithoutProtocol$1 = remarkLintNoAutoLinkWithoutProtocol;
48130
48178
*/
48131
48179
48132
48180
const remarkLintNoBlockquoteWithoutMarker = lintRule(
48133
- 'remark-lint:no-blockquote-without-marker',
48181
+ {
48182
+ origin: 'remark-lint:no-blockquote-without-marker',
48183
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-blockquote-without-marker#readme'
48184
+ },
48134
48185
/** @type {import('unified-lint-rule').Rule<Root, void>} */
48135
48186
(tree, file) => {
48136
48187
const value = String(file);
@@ -48206,7 +48257,10 @@ var remarkLintNoBlockquoteWithoutMarker$1 = remarkLintNoBlockquoteWithoutMarker;
48206
48257
*/
48207
48258
48208
48259
const remarkLintNoLiteralUrls = lintRule(
48209
- 'remark-lint:no-literal-urls',
48260
+ {
48261
+ origin: 'remark-lint:no-literal-urls',
48262
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-literal-urls#readme'
48263
+ },
48210
48264
/** @type {import('unified-lint-rule').Rule<Root, void>} */
48211
48265
(tree, file) => {
48212
48266
visit$1(tree, 'link', (node) => {
@@ -48285,7 +48339,10 @@ var remarkLintNoLiteralUrls$1 = remarkLintNoLiteralUrls;
48285
48339
*/
48286
48340
48287
48341
const remarkLintOrderedListMarkerStyle = lintRule(
48288
- 'remark-lint:ordered-list-marker-style',
48342
+ {
48343
+ origin: 'remark-lint:ordered-list-marker-style',
48344
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-ordered-list-marker-style#readme'
48345
+ },
48289
48346
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
48290
48347
(tree, file, option = 'consistent') => {
48291
48348
const value = String(file);
@@ -48357,7 +48414,10 @@ var remarkLintOrderedListMarkerStyle$1 = remarkLintOrderedListMarkerStyle;
48357
48414
*/
48358
48415
48359
48416
const remarkLintHardBreakSpaces = lintRule(
48360
- 'remark-lint:hard-break-spaces',
48417
+ {
48418
+ origin: 'remark-lint:hard-break-spaces',
48419
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-hard-break-spaces#readme'
48420
+ },
48361
48421
/** @type {import('unified-lint-rule').Rule<Root, void>} */
48362
48422
(tree, file) => {
48363
48423
const value = String(file);
@@ -48406,7 +48466,10 @@ var remarkLintHardBreakSpaces$1 = remarkLintHardBreakSpaces;
48406
48466
*/
48407
48467
48408
48468
const remarkLintNoDuplicateDefinitions = lintRule(
48409
- 'remark-lint:no-duplicate-definitions',
48469
+ {
48470
+ origin: 'remark-lint:no-duplicate-definitions',
48471
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-duplicate-definitions#readme'
48472
+ },
48410
48473
/** @type {import('unified-lint-rule').Rule<Root, void>} */
48411
48474
(tree, file) => {
48412
48475
/** @type {Record<string, string>} */
@@ -48547,7 +48610,10 @@ function consolidate(depth, relative) {
48547
48610
*/
48548
48611
48549
48612
const remarkLintNoHeadingContentIndent = lintRule(
48550
- 'remark-lint:no-heading-content-indent',
48613
+ {
48614
+ origin: 'remark-lint:no-heading-content-indent',
48615
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-heading-content-indent#readme'
48616
+ },
48551
48617
/** @type {import('unified-lint-rule').Rule<Root, void>} */
48552
48618
(tree, file) => {
48553
48619
visit$1(tree, 'heading', (node) => {
@@ -48630,7 +48696,10 @@ var remarkLintNoHeadingContentIndent$1 = remarkLintNoHeadingContentIndent;
48630
48696
*/
48631
48697
48632
48698
const remarkLintNoInlinePadding = lintRule(
48633
- 'remark-lint:no-inline-padding',
48699
+ {
48700
+ origin: 'remark-lint:no-inline-padding',
48701
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-inline-padding#readme'
48702
+ },
48634
48703
/** @type {import('unified-lint-rule').Rule<Root, void>} */
48635
48704
(tree, file) => {
48636
48705
// Note: `emphasis`, `strong`, `delete` (GFM) can’t have padding anymore
@@ -48687,7 +48756,10 @@ var remarkLintNoInlinePadding$1 = remarkLintNoInlinePadding;
48687
48756
*/
48688
48757
48689
48758
const remarkLintNoShortcutReferenceImage = lintRule(
48690
- 'remark-lint:no-shortcut-reference-image',
48759
+ {
48760
+ origin: 'remark-lint:no-shortcut-reference-image',
48761
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-shortcut-reference-image#readme'
48762
+ },
48691
48763
/** @type {import('unified-lint-rule').Rule<Root, void>} */
48692
48764
(tree, file) => {
48693
48765
visit$1(tree, 'imageReference', (node) => {
@@ -48735,7 +48807,10 @@ var remarkLintNoShortcutReferenceImage$1 = remarkLintNoShortcutReferenceImage;
48735
48807
*/
48736
48808
48737
48809
const remarkLintNoShortcutReferenceLink = lintRule(
48738
- 'remark-lint:no-shortcut-reference-link',
48810
+ {
48811
+ origin: 'remark-lint:no-shortcut-reference-link',
48812
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-shortcut-reference-link#readme'
48813
+ },
48739
48814
/** @type {import('unified-lint-rule').Rule<Root, void>} */
48740
48815
(tree, file) => {
48741
48816
visit$1(tree, 'linkReference', (node) => {
@@ -48817,7 +48892,10 @@ var remarkLintNoShortcutReferenceLink$1 = remarkLintNoShortcutReferenceLink;
48817
48892
*/
48818
48893
48819
48894
const remarkLintNoUndefinedReferences = lintRule(
48820
- 'remark-lint:no-undefined-references',
48895
+ {
48896
+ origin: 'remark-lint:no-undefined-references',
48897
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-undefined-references#readme'
48898
+ },
48821
48899
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
48822
48900
(tree, file, option = {}) => {
48823
48901
const contents = String(file);
@@ -49045,7 +49123,10 @@ var remarkLintNoUndefinedReferences$1 = remarkLintNoUndefinedReferences;
49045
49123
const own$1 = {}.hasOwnProperty;
49046
49124
49047
49125
const remarkLintNoUnusedDefinitions = lintRule(
49048
- 'remark-lint:no-unused-definitions',
49126
+ {
49127
+ origin: 'remark-lint:no-unused-definitions',
49128
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-unused-definitions#readme'
49129
+ },
49049
49130
/** @type {import('unified-lint-rule').Rule<Root, void>} */
49050
49131
(tree, file) => {
49051
49132
/** @type {Record<string, {node: DefinitionContent, used: boolean}>} */
@@ -49176,7 +49257,10 @@ var remarkPresetLintRecommended$1 = remarkPresetLintRecommended;
49176
49257
*/
49177
49258
49178
49259
const remarkLintBlockquoteIndentation = lintRule(
49179
- 'remark-lint:blockquote-indentation',
49260
+ {
49261
+ origin: 'remark-lint:blockquote-indentation',
49262
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-blockquote-indentation#readme'
49263
+ },
49180
49264
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
49181
49265
(tree, file, option = 'consistent') => {
49182
49266
visit$1(tree, 'blockquote', (node) => {
@@ -49297,7 +49381,10 @@ function check(node) {
49297
49381
*/
49298
49382
49299
49383
const remarkLintCheckboxCharacterStyle = lintRule(
49300
- 'remark-lint:checkbox-character-style',
49384
+ {
49385
+ origin: 'remark-lint:checkbox-character-style',
49386
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-checkbox-character-style#readme'
49387
+ },
49301
49388
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
49302
49389
(tree, file, option = 'consistent') => {
49303
49390
const value = String(file);
@@ -49412,7 +49499,10 @@ var remarkLintCheckboxCharacterStyle$1 = remarkLintCheckboxCharacterStyle;
49412
49499
*/
49413
49500
49414
49501
const remarkLintCheckboxContentIndent = lintRule(
49415
- 'remark-lint:checkbox-content-indent',
49502
+ {
49503
+ origin: 'remark-lint:checkbox-content-indent',
49504
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-checkbox-content-indent#readme'
49505
+ },
49416
49506
/** @type {import('unified-lint-rule').Rule<Root, void>} */
49417
49507
(tree, file) => {
49418
49508
const value = String(file);
@@ -49563,7 +49653,10 @@ var remarkLintCheckboxContentIndent$1 = remarkLintCheckboxContentIndent;
49563
49653
*/
49564
49654
49565
49655
const remarkLintCodeBlockStyle = lintRule(
49566
- 'remark-lint:code-block-style',
49656
+ {
49657
+ origin: 'remark-lint:code-block-style',
49658
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-code-block-style#readme'
49659
+ },
49567
49660
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
49568
49661
(tree, file, option = 'consistent') => {
49569
49662
const value = String(file);
@@ -49631,7 +49724,10 @@ var remarkLintCodeBlockStyle$1 = remarkLintCodeBlockStyle;
49631
49724
const label = /^\s*\[((?:\\[\s\S]|[^[\]])+)]/;
49632
49725
49633
49726
const remarkLintDefinitionSpacing = lintRule(
49634
- 'remark-lint:definition-spacing',
49727
+ {
49728
+ origin: 'remark-lint:definition-spacing',
49729
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-definition-spacing#readme'
49730
+ },
49635
49731
/** @type {import('unified-lint-rule').Rule<Root, void>} */
49636
49732
(tree, file) => {
49637
49733
const value = String(file);
@@ -49743,7 +49839,10 @@ var remarkLintDefinitionSpacing$1 = remarkLintDefinitionSpacing;
49743
49839
const fence = /^ {0,3}([~`])\1{2,}/;
49744
49840
49745
49841
const remarkLintFencedCodeFlag = lintRule(
49746
- 'remark-lint:fenced-code-flag',
49842
+ {
49843
+ origin: 'remark-lint:fenced-code-flag',
49844
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-fenced-code-flag#readme'
49845
+ },
49747
49846
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
49748
49847
(tree, file, option) => {
49749
49848
const value = String(file);
@@ -49878,7 +49977,10 @@ var remarkLintFencedCodeFlag$1 = remarkLintFencedCodeFlag;
49878
49977
*/
49879
49978
49880
49979
const remarkLintFencedCodeMarker = lintRule(
49881
- 'remark-lint:fenced-code-marker',
49980
+ {
49981
+ origin: 'remark-lint:fenced-code-marker',
49982
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-fenced-code-marker#readme'
49983
+ },
49882
49984
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
49883
49985
(tree, file, option = 'consistent') => {
49884
49986
const contents = String(file);
@@ -49949,7 +50051,10 @@ var remarkLintFencedCodeMarker$1 = remarkLintFencedCodeMarker;
49949
50051
*/
49950
50052
49951
50053
const remarkLintFileExtension = lintRule(
49952
- 'remark-lint:file-extension',
50054
+ {
50055
+ origin: 'remark-lint:file-extension',
50056
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-file-extension#readme'
50057
+ },
49953
50058
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
49954
50059
(_, file, option = 'md') => {
49955
50060
const ext = file.extname;
@@ -50005,7 +50110,10 @@ var remarkLintFileExtension$1 = remarkLintFileExtension;
50005
50110
*/
50006
50111
50007
50112
const remarkLintFinalDefinition = lintRule(
50008
- 'remark-lint:final-definition',
50113
+ {
50114
+ origin: 'remark-lint:final-definition',
50115
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-final-definition#readme'
50116
+ },
50009
50117
/** @type {import('unified-lint-rule').Rule<Root, void>} */
50010
50118
(tree, file) => {
50011
50119
let last = 0;
@@ -50139,7 +50247,10 @@ var remarkLintFinalDefinition$1 = remarkLintFinalDefinition;
50139
50247
const re = /<h([1-6])/;
50140
50248
50141
50249
const remarkLintFirstHeadingLevel = lintRule(
50142
- 'remark-lint:first-heading-level',
50250
+ {
50251
+ origin: 'remark-lint:first-heading-level',
50252
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-first-heading-level#readme'
50253
+ },
50143
50254
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
50144
50255
(tree, file, option = 1) => {
50145
50256
visit$1(tree, (node) => {
@@ -50256,7 +50367,10 @@ function infer(node) {
50256
50367
*/
50257
50368
50258
50369
const remarkLintHeadingStyle = lintRule(
50259
- 'remark-lint:heading-style',
50370
+ {
50371
+ origin: 'remark-lint:heading-style',
50372
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-heading-style#readme'
50373
+ },
50260
50374
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
50261
50375
(tree, file, option = 'consistent') => {
50262
50376
if (
@@ -50387,7 +50501,10 @@ var remarkLintHeadingStyle$1 = remarkLintHeadingStyle;
50387
50501
*/
50388
50502
50389
50503
const remarkLintMaximumLineLength = lintRule(
50390
- 'remark-lint:maximum-line-length',
50504
+ {
50505
+ origin: 'remark-lint:maximum-line-length',
50506
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-maximum-line-length#readme'
50507
+ },
50391
50508
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
50392
50509
(tree, file, option = 80) => {
50393
50510
const value = String(file);
@@ -50526,7 +50643,10 @@ var remarkLintMaximumLineLength$1 = remarkLintMaximumLineLength;
50526
50643
*/
50527
50644
50528
50645
const remarkLintNoConsecutiveBlankLines = lintRule(
50529
- 'remark-lint:no-consecutive-blank-lines',
50646
+ {
50647
+ origin: 'remark-lint:no-consecutive-blank-lines',
50648
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-consecutive-blank-lines#readme'
50649
+ },
50530
50650
/** @type {import('unified-lint-rule').Rule<Root, void>} */
50531
50651
(tree, file) => {
50532
50652
visit$1(tree, (node) => {
@@ -50622,7 +50742,10 @@ var remarkLintNoConsecutiveBlankLines$1 = remarkLintNoConsecutiveBlankLines;
50622
50742
*/
50623
50743
50624
50744
const remarkLintNoFileNameArticles = lintRule(
50625
- 'remark-lint:no-file-name-articles',
50745
+ {
50746
+ origin: 'remark-lint:no-file-name-articles',
50747
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-file-name-articles#readme'
50748
+ },
50626
50749
/** @type {import('unified-lint-rule').Rule<Root, void>} */
50627
50750
(_, file) => {
50628
50751
const match = file.stem && file.stem.match(/^(the|teh|an?)\b/i);
@@ -50653,7 +50776,10 @@ var remarkLintNoFileNameArticles$1 = remarkLintNoFileNameArticles;
50653
50776
*/
50654
50777
50655
50778
const remarkLintNoFileNameConsecutiveDashes = lintRule(
50656
- 'remark-lint:no-file-name-consecutive-dashes',
50779
+ {
50780
+ origin: 'remark-lint:no-file-name-consecutive-dashes',
50781
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-file-name-consecutive-dashes#readme'
50782
+ },
50657
50783
/** @type {import('unified-lint-rule').Rule<Root, void>} */
50658
50784
(_, file) => {
50659
50785
if (file.stem && /-{2,}/.test(file.stem)) {
@@ -50687,7 +50813,10 @@ var remarkLintNoFileNameConsecutiveDashes$1 = remarkLintNoFileNameConsecutiveDas
50687
50813
*/
50688
50814
50689
50815
const remarkLintNofileNameOuterDashes = lintRule(
50690
- 'remark-lint:no-file-name-outer-dashes',
50816
+ {
50817
+ origin: 'remark-lint:no-file-name-outer-dashes',
50818
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-file-name-outer-dashes#readme'
50819
+ },
50691
50820
/** @type {import('unified-lint-rule').Rule<Root, void>} */
50692
50821
(_, file) => {
50693
50822
if (file.stem && /^-|-$/.test(file.stem)) {
@@ -50750,7 +50879,10 @@ var remarkLintNofileNameOuterDashes$1 = remarkLintNofileNameOuterDashes;
50750
50879
*/
50751
50880
50752
50881
const remarkLintNoHeadingIndent = lintRule(
50753
- 'remark-lint:no-heading-indent',
50882
+ {
50883
+ origin: 'remark-lint:no-heading-indent',
50884
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-heading-indent#readme'
50885
+ },
50754
50886
/** @type {import('unified-lint-rule').Rule<Root, void>} */
50755
50887
(tree, file) => {
50756
50888
visit$1(tree, 'heading', (node, _, parent) => {
@@ -50809,7 +50941,10 @@ var remarkLintNoHeadingIndent$1 = remarkLintNoHeadingIndent;
50809
50941
*/
50810
50942
50811
50943
const remarkLintNoMultipleToplevelHeadings = lintRule(
50812
- 'remark-lint:no-multiple-toplevel-headings',
50944
+ {
50945
+ origin: 'remark-lint:no-multiple-toplevel-headings',
50946
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-multiple-toplevel-headings#readme'
50947
+ },
50813
50948
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
50814
50949
(tree, file, option = 1) => {
50815
50950
/** @type {string|undefined} */
@@ -50907,7 +51042,10 @@ const flags = new Set([
50907
51042
]);
50908
51043
50909
51044
const remarkLintNoShellDollars = lintRule(
50910
- 'remark-lint:no-shell-dollars',
51045
+ {
51046
+ origin: 'remark-lint:no-shell-dollars',
51047
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-shell-dollars#readme'
51048
+ },
50911
51049
/** @type {import('unified-lint-rule').Rule<Root, void>} */
50912
51050
(tree, file) => {
50913
51051
visit$1(tree, 'code', (node) => {
@@ -51005,7 +51143,10 @@ var remarkLintNoShellDollars$1 = remarkLintNoShellDollars;
51005
51143
*/
51006
51144
51007
51145
const remarkLintNoTableIndentation = lintRule(
51008
- 'remark-lint:no-table-indentation',
51146
+ {
51147
+ origin: 'remark-lint:no-table-indentation',
51148
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-table-indentation#readme'
51149
+ },
51009
51150
/** @type {import('unified-lint-rule').Rule<Root, void>} */
51010
51151
(tree, file) => {
51011
51152
const value = String(file);
@@ -51121,7 +51262,10 @@ var remarkLintNoTableIndentation$1 = remarkLintNoTableIndentation;
51121
51262
*/
51122
51263
51123
51264
const remarkLintNoTabs = lintRule(
51124
- 'remark-lint:no-tabs',
51265
+ {
51266
+ origin: 'remark-lint:no-tabs',
51267
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-tabs#readme'
51268
+ },
51125
51269
/** @type {import('unified-lint-rule').Rule<Root, void>} */
51126
51270
(_, file) => {
51127
51271
const value = String(file);
@@ -52146,7 +52290,10 @@ function prohibitedStrings (ast, file, strings) {
52146
52290
*/
52147
52291
52148
52292
const remarkLintRuleStyle = lintRule(
52149
- 'remark-lint:rule-style',
52293
+ {
52294
+ origin: 'remark-lint:rule-style',
52295
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-rule-style#readme'
52296
+ },
52150
52297
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
52151
52298
(tree, file, option = 'consistent') => {
52152
52299
const value = String(file);
@@ -52237,7 +52384,10 @@ var remarkLintRuleStyle$1 = remarkLintRuleStyle;
52237
52384
*/
52238
52385
52239
52386
const remarkLintStrongMarker = lintRule(
52240
- 'remark-lint:strong-marker',
52387
+ {
52388
+ origin: 'remark-lint:strong-marker',
52389
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-strong-marker#readme'
52390
+ },
52241
52391
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
52242
52392
(tree, file, option = 'consistent') => {
52243
52393
const value = String(file);
@@ -52441,7 +52591,10 @@ var remarkLintStrongMarker$1 = remarkLintStrongMarker;
52441
52591
*/
52442
52592
52443
52593
const remarkLintTableCellPadding = lintRule(
52444
- 'remark-lint:table-cell-padding',
52594
+ {
52595
+ origin: 'remark-lint:table-cell-padding',
52596
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-table-cell-padding#readme'
52597
+ },
52445
52598
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
52446
52599
(tree, file, option = 'consistent') => {
52447
52600
if (
@@ -52648,7 +52801,10 @@ const reasonStart = 'Missing initial pipe in table fence';
52648
52801
const reasonEnd = 'Missing final pipe in table fence';
52649
52802
52650
52803
const remarkLintTablePipes = lintRule(
52651
- 'remark-lint:table-pipes',
52804
+ {
52805
+ origin: 'remark-lint:table-pipes',
52806
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-table-pipes#readme'
52807
+ },
52652
52808
/** @type {import('unified-lint-rule').Rule<Root, void>} */
52653
52809
(tree, file) => {
52654
52810
const value = String(file);
@@ -52759,7 +52915,10 @@ var remarkLintTablePipes$1 = remarkLintTablePipes;
52759
52915
const markers = new Set(['-', '*', '+']);
52760
52916
52761
52917
const remarkLintUnorderedListMarkerStyle = lintRule(
52762
- 'remark-lint:unordered-list-marker-style',
52918
+ {
52919
+ origin: 'remark-lint:unordered-list-marker-style',
52920
+ url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-unordered-list-marker-style#readme'
52921
+ },
52763
52922
/** @type {import('unified-lint-rule').Rule<Root, Options>} */
52764
52923
(tree, file, option = 'consistent') => {
52765
52924
const value = String(file);
@@ -52882,7 +53041,13 @@ const plugins = [
52882
53041
[remarkLintUnorderedListMarkerStyle$1, "*"],
52883
53042
];
52884
53043
52885
- const remarkPresetLintNode = { plugins };
53044
+ const settings = {
53045
+ emphasis: "_",
53046
+ listItemIndent: 1,
53047
+ tightDefinitions: true,
53048
+ };
53049
+
53050
+ const remarkPresetLintNode = { plugins, settings };
52886
53051
52887
53052
/**
52888
53053
* @typedef {import('micromark-util-types').Extension} Extension
0 commit comments