Comparing version 2.2.1 to 2.2.2
@@ -0,1 +1,6 @@ | ||
2.2.2 - April 3 2015 | ||
==================== | ||
* Correctly handle newlines at beginning of string ([#22](https://github.com/BinaryMuse/toml-node/issues/22)) | ||
2.2.1 - March 17 2015 | ||
@@ -2,0 +7,0 @@ ===================== |
{ | ||
"name": "toml", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "TOML parser for Node.js (parses TOML spec v0.4.0)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -311,2 +311,11 @@ var toml = require('../'); | ||
exports.testLeadingNewlines = function(test) { | ||
// https://github.com/BinaryMuse/toml-node/issues/22 | ||
var str = "\ntest = \"ing\""; | ||
test.deepEqual(toml.parse(str), { | ||
test: "ing" | ||
}); | ||
test.done(); | ||
}; | ||
exports.testInlineTables = function(test) { | ||
@@ -313,0 +322,0 @@ var str = fs.readFileSync(__dirname + "/inline_tables.toml", 'utf8'), |
Sorry, the diff of this file is too big to display
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
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
130605
3787