js-yaml-bespoken
Advanced tools
Comparing version 3.11.1 to 3.11.2
@@ -130,3 +130,3 @@ 'use strict'; | ||
function addMetaInformation(state, line) { | ||
if (state.result._yaml) { | ||
if (state.result && state.result._yaml) { | ||
return; | ||
@@ -136,2 +136,5 @@ } | ||
if (typeof state.result === "string") { | ||
if (state.result === "null") { | ||
return; | ||
} | ||
state.result = new String(state.result); | ||
@@ -138,0 +141,0 @@ } else if (typeof state.result === "number") { |
{ | ||
"name": "js-yaml-bespoken", | ||
"version": "3.11.1", | ||
"version": "3.11.2", | ||
"description": "YAML 1.2 parser and serializer", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
279216
6356