New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mdast

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdast - npm Package Compare versions

Comparing version 0.17.0 to 0.17.1

5

History.md

@@ -6,2 +6,7 @@ ---

0.17.1 / 2015-04-08
===================
* Remove left-alignment for neutral columns in tables (Closes [GH-19](https://github.com/wooorm/mdast/issues/19), [d5d6657](https://github.com/wooorm/mdast/commit/d5d6657))
0.17.0 / 2015-04-07

@@ -8,0 +13,0 @@ ===================

5

lib/parse.js

@@ -146,2 +146,3 @@ 'use strict';

var EXPRESSION_CENTER_ALIGNMENT = /^[ \t]*:-+:[ \t]*$/;
var EXPRESSION_LEFT_ALIGNMENT = /^[ \t]*:-+[ \t]*$/;
var EXPRESSION_TABLE_FENCE = /^[ \t]*|\|[ \t]*$/g;

@@ -327,4 +328,6 @@ var EXPRESSION_TABLE_INITIAL = /^[ \t]*\|[ \t]*/g;

results[index] = 'center';
} else if (EXPRESSION_LEFT_ALIGNMENT.test(alignment)) {
results[index] = 'left';
} else {
results[index] = 'left';
results[index] = null;
}

@@ -331,0 +334,0 @@ }

8

lib/stringify.js

@@ -876,10 +876,4 @@ 'use strict';

/*
* There was a bug in markdown-table@0.3.0, fixed
* in markdown-table@0.3.1, which modified the `align`
* array, changing the AST.
*/
return table(result, {
'align': token.align.concat(),
'align': token.align,
'start': start,

@@ -886,0 +880,0 @@ 'end': start.split(EMPTY).reverse().join(EMPTY),

{
"name": "mdast",
"version": "0.17.0",
"version": "0.17.1",
"description": "Markdown processor powered by plugins",

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

"he": "^0.5.0",
"markdown-table": "^0.3.0",
"markdown-table": "^0.4.0",
"minimatch": "^2.0.0",

@@ -29,0 +29,0 @@ "repeat-string": "^1.5.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