Socket
Socket
Sign inDemoInstall

micromark-extension-gfm-table

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

micromark-extension-gfm-table - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

9

dev/lib/syntax.js

@@ -53,2 +53,4 @@ /**

let cellStart
/** @type {boolean|undefined} */
let seenCellInRow

@@ -109,4 +111,4 @@ while (++index < events.length) {

events[index][0] === 'exit' &&
cellStart &&
cellStart + 1 < index &&
cellStart !== undefined &&
cellStart + (seenCellInRow ? 0 : 1) < index &&
(token.type === 'tableCellDivider' ||

@@ -134,2 +136,3 @@ (token.type === 'tableRow' &&

cellStart = index + 1
seenCellInRow = true
}

@@ -142,2 +145,3 @@

cellStart = index + 1
seenCellInRow = false
}

@@ -151,2 +155,3 @@ }

cellStart = index + 1
seenCellInRow = false
}

@@ -153,0 +158,0 @@ }

@@ -58,3 +58,6 @@ /**

let cellStart
/** @type {boolean|undefined} */
let seenCellInRow
while (++index < events.length) {

@@ -104,4 +107,4 @@ const token = events[index][1]

events[index][0] === 'exit' &&
cellStart &&
cellStart + 1 < index &&
cellStart !== undefined &&
cellStart + (seenCellInRow ? 0 : 1) < index &&
(token.type === 'tableCellDivider' ||

@@ -129,2 +132,3 @@ (token.type === 'tableRow' &&

cellStart = index + 1
seenCellInRow = true
}

@@ -137,2 +141,3 @@

cellStart = index + 1
seenCellInRow = false
}

@@ -146,2 +151,3 @@ }

cellStart = index + 1
seenCellInRow = false
}

@@ -148,0 +154,0 @@ }

{
"name": "micromark-extension-gfm-table",
"version": "1.0.2",
"version": "1.0.3",
"description": "micromark extension to support GFM tables",

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

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