Socket
Socket
Sign inDemoInstall

yaml

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yaml - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

examples/null.yaml

7

History.md
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 @@ ==================

9

lib/yaml.js

@@ -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>",

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