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

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 0.3.0 to 0.4.0

4

package.json
{
"name": "micromark-extension-gfm-table",
"version": "0.3.0",
"version": "0.4.0",
"description": "micromark extension to support GFM tables",

@@ -34,3 +34,3 @@ "license": "MIT",

"dependencies": {
"micromark": "~2.8.0"
"micromark": "~2.9.0"
},

@@ -37,0 +37,0 @@ "devDependencies": {

@@ -5,3 +5,3 @@ exports.flow = {

var createSpaceTokenizer = require('micromark/dist/tokenize/partial-space')
var createSpace = require('micromark/dist/tokenize/factory-space')

@@ -125,3 +125,3 @@ var setextUnderlineMini = {tokenize: tokenizeSetextUnderlineMini, partial: true}

function start(code) {
// As we wait on any character, exit for EOF and EOLs.
/* istanbul ignore if - used to be passed in beta micromark versions. */
if (code === null || code === -5 || code === -4 || code === -3) {

@@ -235,3 +235,3 @@ return nok(code)

// Support an indent before the delimiter row.
effects.attempt(createSpaceTokenizer('linePrefix', 4), rowStartDelimiter)
createSpace(effects, rowStartDelimiter, 'linePrefix', 4)
)

@@ -392,3 +392,3 @@ }

// body is coming, though it may be indented.
return effects.attempt(createSpaceTokenizer('linePrefix'), bodyStart)
return createSpace(effects, bodyStart, 'linePrefix', 4)
}

@@ -504,3 +504,3 @@

// Support an optional prefix, then start a body row.
return effects.attempt(createSpaceTokenizer('linePrefix'), rowStartBody)
return createSpace(effects, rowStartBody, 'linePrefix', 4)
}

@@ -507,0 +507,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