Comparing version 0.2.2 to 0.2.3
0.2.3 / 2011-12-05 | ||
================== | ||
* Added a "null.yaml" test case in the examples. | ||
* Added support for NULL values. | ||
* Fixed a global leak | ||
0.2.2 / 2011-08-31 | ||
@@ -3,0 +10,0 @@ ================== |
@@ -1,2 +0,1 @@ | ||
// YAML - Core - Copyright TJ Holowaychuk <tj@vision-media.ca> (MIT Licensed) | ||
@@ -8,3 +7,3 @@ | ||
exports.version = '0.2.2' | ||
exports.version = '0.2.3' | ||
@@ -43,2 +42,3 @@ // --- Helpers | ||
['false', /^\b(disabled|false|no|off)\b/], | ||
['null', /^\b(null|Null|NULL|~)\b/], | ||
['string', /^"(.*?)"/], | ||
@@ -71,3 +71,3 @@ ['string', /^'(.*?)'/], | ||
var token, captures, ignore, input, | ||
indents = lastIndents = 0, | ||
indents = 0, lastIndents = 0, | ||
stack = [], indentAmount = -1 | ||
@@ -229,2 +229,3 @@ while (str.length) { | ||
* | false | ||
* | null | ||
*/ | ||
@@ -256,2 +257,4 @@ | ||
this.advanceValue(); return false | ||
case 'null': | ||
this.advanceValue(); return null | ||
} | ||
@@ -258,0 +261,0 @@ } |
{ "name": "yaml", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Yaml parser", | ||
@@ -4,0 +4,0 @@ "author": "TJ Holowaychuk <tj@vision-media.ca>", |
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
12866
14
350
0
1