You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

yaml

Package Overview
Dependencies
Maintainers
1
Versions
98
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
2.8.0
to
2.8.1
+1
-1
browser/dist/stringify/stringifyString.js

@@ -162,3 +162,3 @@ import { Scalar } from '../nodes/Scalar.js';

// 2. Strings consisting of only whitespace are best rendered explicitly.
if (!blockQuote || /\n[\t ]+$/.test(value) || /^\s*$/.test(value)) {
if (!blockQuote || /\n[\t ]+$/.test(value)) {
return quotedString(value, ctx);

@@ -165,0 +165,0 @@ }

@@ -164,3 +164,3 @@ 'use strict';

// 2. Strings consisting of only whitespace are best rendered explicitly.
if (!blockQuote || /\n[\t ]+$/.test(value) || /^\s*$/.test(value)) {
if (!blockQuote || /\n[\t ]+$/.test(value)) {
return quotedString(value, ctx);

@@ -167,0 +167,0 @@ }

{
"name": "yaml",
"version": "2.8.0",
"version": "2.8.1",
"license": "ISC",

@@ -86,2 +86,3 @@ "author": "Eemeli Aro <eemeli@gmail.com>",

"jest": "^29.0.1",
"jest-resolve": "^29.7.0",
"jest-ts-webcompat-resolver": "^1.0.0",

@@ -88,0 +89,0 @@ "prettier": "^3.0.2",

@@ -23,2 +23,4 @@ # YAML <a href="https://www.npmjs.com/package/yaml"><img align="right" src="https://badge.fury.io/js/yaml.svg" title="npm package" /></a>

For build instructions and contribution guidelines, see [docs/CONTRIBUTING.md](docs/CONTRIBUTING.md).
To install:

@@ -34,22 +36,2 @@

The development and maintenance of this library is [sponsored](https://github.com/sponsors/eemeli) by:
<p align="center" width="100%">
<a href="https://www.scipress.io/"
><img
width="150"
align="top"
src="https://eemeli.org/yaml/images/scipress.svg"
alt="Scipress"
/></a>
&nbsp; &nbsp;
<a href="https://manifest.build/"
><img
width="150"
align="top"
src="https://eemeli.org/yaml/images/manifest.svg"
alt="Manifest"
/></a>
</p>
## API Overview

@@ -56,0 +38,0 @@