Comparing version 0.0.5 to 0.1.0
@@ -45,3 +45,3 @@ "use strict"; | ||
node = event.node; | ||
if (event.entering && node.type === 'link') { | ||
if (event.entering && (node.type === 'link' || node.type === 'image')) { | ||
if (node.destination && node.parent) { | ||
@@ -48,0 +48,0 @@ let startLine, startCol, endLine, endCol; |
{ | ||
"name": "freshlinks", | ||
"version": "0.0.5", | ||
"version": "0.1.0", | ||
"private": false, | ||
@@ -34,3 +34,3 @@ "description": "Freshlinks", | ||
"chalk": "^4.1.0", | ||
"commonmark": "^0.29.1", | ||
"commonmark": "^0.29.2", | ||
"fastest-levenshtein": "^1.0.12", | ||
@@ -41,12 +41,12 @@ "yargs": "^15.4.1" | ||
"@types/commonmark": "^0.27.4", | ||
"@types/jest": "^26.0.7", | ||
"@types/node": "^14.0.25", | ||
"@types/yargs": "^15.0.5", | ||
"@typescript-eslint/parser": "^3.7.0", | ||
"@types/jest": "^26.0.14", | ||
"@types/node": "^14.11.8", | ||
"@types/yargs": "^15.0.8", | ||
"@typescript-eslint/parser": "^3.10.1", | ||
"@zeit/ncc": "^0.22.3", | ||
"eslint": "^7.5.0", | ||
"eslint": "^7.11.0", | ||
"eslint-plugin-github": "^4.1.1", | ||
"eslint-plugin-jest": "^23.18.0", | ||
"jest": "^24.9.0", | ||
"jest-circus": "^26.1.0", | ||
"jest-circus": "^26.5.3", | ||
"js-yaml": "^3.14.0", | ||
@@ -53,0 +53,0 @@ "prettier": "2.0.5", |
@@ -27,3 +27,3 @@ import {Parser, Node} from 'commonmark' | ||
node = event.node | ||
if (event.entering && node.type === 'link') { | ||
if (event.entering && (node.type === 'link' || node.type === 'image')) { | ||
if (node.destination && node.parent) { | ||
@@ -30,0 +30,0 @@ let startLine, startCol, endLine, endCol: number | undefined |
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
37219
Updatedcommonmark@^0.29.2