Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zkochan/js-yaml

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zkochan/js-yaml - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

9

lib/dumper.js

@@ -63,2 +63,9 @@ 'use strict';

var SINGLE_LINE_KEYS = {
cpu: true,
engines: true,
os: true,
resolution: true
};
function compileStyleMap(schema, map) {

@@ -835,3 +842,3 @@ var result, keys, index, length, tag, style, type;

if (type === '[object Object]') {
if (block && (Object.keys(state.dump).length !== 0) && objectKey !== 'resolution') {
if (block && (Object.keys(state.dump).length !== 0) && !SINGLE_LINE_KEYS[objectKey]) {
var doubleLine = state.blankLines ?

@@ -838,0 +845,0 @@ (objectKey === 'packages' || objectKey === 'importers' || level === 0) : false;

2

package.json
{
"name": "@zkochan/js-yaml",
"version": "0.0.2",
"version": "0.0.3",
"description": "YAML 1.2 parser and serializer",

@@ -5,0 +5,0 @@ "keywords": [

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