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

commonmark

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commonmark - npm Package Compare versions

Comparing version 0.21.0 to 0.22.0

.d8_history

25

changelog.txt

@@ -0,1 +1,26 @@

[0.22.0]
* Added `iframe` to whitelist of HTML block tags (as per spec).
* Removed `pre` from rule 6 of html blocks (see jgm/CommonMark#355).
* Fixed logic error in calculation of offset. Here's a test case this
fixes:
```
% echo -en "1. \t\tthere" | bin/commonmark
<ol>
<li>
<pre><code>ere
</code></pre>
</li>
</ol>
```
* Disallow list item starting with multiple blank lines
(jgm/CommonMark#332).
* Fixed bug in list-start parser (#60).
* Changed smart quote algorithm to agree with cmark (#61). The change only
involves double quotes, which now need to be both left flanking and
not right flanking to count as "can open."
* Fix replacement of multiple apostrophes in the same paragraph with
`--smart` (Brandon Frohs).
* `make bench`: renice to -10 rather than 99.
[0.21.0]

@@ -2,0 +27,0 @@

11

dingus/bower_components/jquery/.bower.json
{
"name": "jquery",
"version": "2.1.3",
"version": "2.1.4",
"main": "dist/jquery.js",

@@ -9,2 +9,3 @@ "license": "MIT",

"build",
"dist/cdn",
"speed",

@@ -29,12 +30,12 @@ "test",

"homepage": "https://github.com/jquery/jquery",
"_release": "2.1.3",
"_release": "2.1.4",
"_resolution": {
"type": "version",
"tag": "2.1.3",
"commit": "8f2a9d9272d6ed7f32d3a484740ab342c02541e0"
"tag": "2.1.4",
"commit": "7751e69b615c6eca6f783a81e292a55725af6b85"
},
"_source": "git://github.com/jquery/jquery.git",
"_target": "~2.1.3",
"_target": "~2.1.4",
"_originalSource": "jquery",
"_direct": true
}
{
"name": "jquery",
"version": "2.1.3",
"version": "2.1.4",
"main": "dist/jquery.js",

@@ -9,2 +9,3 @@ "license": "MIT",

"build",
"dist/cdn",
"speed",

@@ -11,0 +12,0 @@ "test",

@@ -481,3 +481,8 @@ define([

function isArraylike( obj ) {
var length = obj.length,
// Support: iOS 8.2 (not reproducible in simulator)
// `in` check used to prevent JIT error (gh-2145)
// hasOwn isn't used here due to false negatives
// regarding Nodelist length in IE
var length = "length" in obj && obj.length,
type = jQuery.type( obj );

@@ -484,0 +489,0 @@

@@ -25,3 +25,3 @@ "use strict";

/^<!\[CDATA\[/,
/^<[/]?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|head|header|hr|html|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|pre|section|source|title|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|[/]?[>]|$)/i,
/^<[/]?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|title|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|[/]?[>]|$)/i,
new RegExp('^(?:' + OPENTAG + '|' + CLOSETAG + ')\s*$', 'i')

@@ -258,3 +258,3 @@ ];

continue: function(parser, container) {
if (parser.blank) {
if (parser.blank && container._firstChild !== null) {
parser.advanceNextNonspace();

@@ -508,7 +508,5 @@ } else if (parser.indent >=

if ((data = parseListMarker(parser.currentLine,
parser.nextNonspace, parser.indent))) {
parser.nextNonspace, parser.indent)) &&
(!parser.indented || container.type === 'List')) {
parser.closeUnmatchedBlocks();
if (parser.indented && parser.tip.type !== 'List') {
return 0;
}
parser.advanceNextNonspace();

@@ -559,3 +557,3 @@ // recalculate data.padding, taking into account tabs:

if (currentLine[this.offset + i] === '\t') {
cols += (4 - (this.column % 4));
cols += (4 - ((this.column + cols) % 4));
} else {

@@ -562,0 +560,0 @@ cols += 1;

@@ -268,2 +268,5 @@ "use strict";

(!left_flanking || after_is_punctuation);
} else if (cc === C_SINGLEQUOTE || cc === C_DOUBLEQUOTE) {
can_open = left_flanking && !right_flanking;
can_close = right_flanking;
} else {

@@ -270,0 +273,0 @@ can_open = left_flanking;

{ "name": "commonmark",
"description": "a strongly specified, highly compatible variant of Markdown",
"version": "0.21.0",
"version": "0.22.0",
"homepage": "http://commonmark.org",

@@ -5,0 +5,0 @@ "keywords":

@@ -61,2 +61,10 @@ ## Smart punctuation

Multiple apostrophes should not be marked as open/closing quotes.
.
'We'll use Jane's boat and John's truck,' Jenna said.
.
<p>‘We’ll use Jane’s boat and John’s truck,’ Jenna said.</p>
.
An unmatched double quote will be interpreted as a

@@ -63,0 +71,0 @@ left double quote, to facilitate this style:

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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