remark-parse
Advanced tools
Comparing version 7.0.1 to 7.0.2
@@ -108,3 +108,3 @@ 'use strict' | ||
if (link.slice(0, mailtoLength).toLowerCase() === mailto) { | ||
content = content.substr(mailtoLength) | ||
content = content.slice(mailtoLength) | ||
now.column += mailtoLength | ||
@@ -111,0 +111,0 @@ now.offset += mailtoLength |
@@ -128,3 +128,3 @@ 'use strict' | ||
content = content.substr(mailto.length) | ||
content = content.slice(mailto.length) | ||
} | ||
@@ -131,0 +131,0 @@ |
@@ -144,3 +144,3 @@ 'use strict' | ||
/* istanbul ignore if */ | ||
if (value.substring(0, subvalue.length) !== subvalue) { | ||
if (value.slice(0, subvalue.length) !== subvalue) { | ||
// Capture stack-trace. | ||
@@ -239,3 +239,3 @@ self.file.fail( | ||
value = value.substring(subvalue.length) | ||
value = value.slice(subvalue.length) | ||
@@ -242,0 +242,0 @@ updatePosition(subvalue) |
{ | ||
"name": "remark-parse", | ||
"version": "7.0.1", | ||
"version": "7.0.2", | ||
"description": "remark plugin to parse Markdown", | ||
@@ -22,2 +22,6 @@ "license": "MIT", | ||
"bugs": "https://github.com/remarkjs/remark/issues", | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/unified" | ||
}, | ||
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)", | ||
@@ -24,0 +28,0 @@ "contributors": [ |
@@ -30,7 +30,8 @@ # remark-parse | ||
<br><br>π₯ | ||
<a href="https://www.gatsbyjs.org">Gatsby</a></td> | ||
<a href="https://www.gatsbyjs.org">Gatsby</a> | ||
</td> | ||
<td width="20%" align="center"> | ||
<a href="https://compositor.io"><img src="https://avatars1.githubusercontent.com/u/19245838?s=400&v=4"></a> | ||
<br><br>π₯ | ||
<a href="https://compositor.io">Compositor</a> | ||
<a href="https://www.netlify.com"><img src="https://avatars1.githubusercontent.com/u/7892489?s=400&v=4"></a> | ||
<br><br>π₯ | ||
<a href="https://www.netlify.com">Netlify</a> | ||
</td> | ||
@@ -37,0 +38,0 @@ <td width="20%" align="center"> |
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
112820
598