gitbook-markdown
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -1,2 +0,1 @@ | ||
var Q = require('q'); | ||
var _ = require('lodash'); | ||
@@ -3,0 +2,0 @@ var kramed = require('kramed'); |
@@ -70,3 +70,3 @@ var _ = require('lodash'); | ||
.toArray() | ||
.rest(function(el) { | ||
.dropWhile(function(el) { | ||
// Get everything after list_start | ||
@@ -76,3 +76,3 @@ return el.type !== 'list_start'; | ||
.reverse() | ||
.rest(function(el) { | ||
.dropWhile(function(el) { | ||
// Get everything after list_end (remember we're reversed) | ||
@@ -79,0 +79,0 @@ return el.type !== 'list_end'; |
{ | ||
"name": "gitbook-markdown", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"homepage": "https://www.gitbook.com", | ||
@@ -8,5 +8,4 @@ "description": "Parse markdown content for gitbook", | ||
"dependencies": { | ||
"q": "1.0.1", | ||
"lodash": "2.4.1", | ||
"kramed": "0.4.3", | ||
"lodash": "3.1.0", | ||
"kramed": "0.4.6", | ||
"kramed-text-renderer": "0.2.1", | ||
@@ -13,0 +12,0 @@ "highlight.js": "8.4.0" |
@@ -12,2 +12,3 @@ var fs = require('fs'); | ||
it('should detect paths and titles', function() { | ||
assert.equal(LEXED.length, 2); | ||
assert.equal(LEXED[0].path,'en/'); | ||
@@ -14,0 +15,0 @@ assert.equal(LEXED[0].title,'English'); |
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
16595
4
+ Addedkramed@0.4.6(transitive)
+ Addedlodash@3.1.0(transitive)
- Removedq@1.0.1
- Removedkramed@0.4.3(transitive)
- Removedlodash@2.4.1(transitive)
- Removedq@1.0.1(transitive)
Updatedkramed@0.4.6
Updatedlodash@3.1.0