micromark-extension-gfm-table
Advanced tools
Comparing version 0.3.0 to 0.4.0
{ | ||
"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 @@ } |
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
23052
+ Addedmicromark@2.9.2(transitive)
- Removedmicromark@2.8.1(transitive)
Updatedmicromark@~2.9.0