lys-markdown-parser
Advanced tools
Comparing version 3.13.3 to 3.13.4
{ | ||
"name": "lys-markdown-parser", | ||
"version": "3.13.3", | ||
"version": "3.13.4", | ||
"description": "js markdown parser", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -21,2 +21,6 @@ import nodeType, { TOKEN_TYPE as TKS } from '../nodeType.js'; | ||
const item = tokens[offset]; | ||
// 因为moveIndex可能会更改offset,因此在这里做一个校验 | ||
if (item === undefined) { | ||
break; | ||
} | ||
// 如果匹配成功,会向后加+1 | ||
@@ -23,0 +27,0 @@ if (!fn(item, offset, moveIndex)) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
317769
7708