Comparing version 0.1.2 to 0.1.3
@@ -15,3 +15,4 @@ var sys = require('sys'), | ||
gfm: true, | ||
tables: true | ||
tables: true, | ||
pedantic: true | ||
}); | ||
@@ -18,0 +19,0 @@ |
{ | ||
"name": "htmlbook", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Markdown to HTMLBook converter", | ||
@@ -20,3 +20,3 @@ "main": "./htmlbook.js", | ||
"dependencies": { | ||
"marked": "0.2.9", | ||
"marked": "0.3.3", | ||
"optparse": "1.0.4", | ||
@@ -23,0 +23,0 @@ "html": "0.0.7", |
@@ -73,3 +73,16 @@ var htmlbook = require('../htmlbook'); | ||
it("should not parse html tags as markdown", function (done) { | ||
fs.readFile("spec/documents/markup.md", "utf-8", function (err, source) { | ||
if (err) throw new Error("Error opening source document"); | ||
var result = htmlbook(source).parse(); | ||
fs.readFile("spec/documents/markup.html", "utf-8", function (err, html) { | ||
console.log(result) | ||
expect(result).toEqual(html); | ||
done(); | ||
}); | ||
}); | ||
}); | ||
// it("should throw an error when no title present in complete mode.") | ||
}); |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
25
8013
252609
2
+ Addedmarked@0.3.3(transitive)
- Removedmarked@0.2.9(transitive)
Updatedmarked@0.3.3