Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

freshlinks

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

freshlinks - npm Package Compare versions

Comparing version 0.0.5 to 0.1.0

2

lib/parse-markdown-links.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc