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

@stoplight/yaml

Package Overview
Dependencies
Maintainers
26
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stoplight/yaml - npm Package Compare versions

Comparing version 3.5.0 to 3.5.1

2

package.json
{
"name": "@stoplight/yaml",
"version": "3.5.0",
"version": "3.5.1",
"description": "Useful functions when working with YAML.",

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

import { DumpOptions } from '@stoplight/yaml-ast-parser';
export declare const safeStringify: (value: any, options?: DumpOptions | undefined) => string;
export declare const safeStringify: (value: unknown, options?: DumpOptions | undefined) => string;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const yaml_ast_parser_1 = require("@stoplight/yaml-ast-parser");
exports.safeStringify = (value, options) => {
if (!value || typeof value === 'string')
return value;
return yaml_ast_parser_1.safeDump(value, options);
};
exports.safeStringify = (value, options) => typeof value === 'string' ? value : yaml_ast_parser_1.safeDump(value, options);
//# sourceMappingURL=safeStringify.js.map

Sorry, the diff of this file is not supported yet

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