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

micromark-extension-gfm-autolink-literal

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

micromark-extension-gfm-autolink-literal - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

2

package.json
{
"name": "micromark-extension-gfm-autolink-literal",
"version": "0.5.2",
"version": "0.5.3",
"description": "micromark extension to support GFM autolink literals",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -284,3 +284,2 @@ var asciiAlphanumeric = require('micromark/dist/character/ascii-alphanumeric')

var hasUnderscoreInLastLastSegment
var hasDot

@@ -320,3 +319,2 @@ return start

effects.consume(code)
hasDot = true
hasUnderscoreInLastLastSegment = hasUnderscoreInLastSegment

@@ -328,7 +326,3 @@ hasUnderscoreInLastSegment = undefined

function done(code) {
if (
hasDot &&
!hasUnderscoreInLastLastSegment &&
!hasUnderscoreInLastSegment
) {
if (!hasUnderscoreInLastLastSegment && !hasUnderscoreInLastSegment) {
effects.exit('literalAutolinkDomain')

@@ -356,2 +350,7 @@ return ok(code)

// `)`
if (code === 41) {
return effects.check(paren, ok, atPathStart)(code)
}
return atPathStart(code)

@@ -358,0 +357,0 @@ }

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