New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

yaml-cfn

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yaml-cfn - npm Package Compare versions

Comparing version 0.2.3 to 0.3.0

.github/workflows/ci.yml

7

index.js

@@ -101,4 +101,3 @@ /**

*/
const schema = new jsYaml.Schema({
include: [ jsYaml.CORE_SCHEMA ],
const schema = jsYaml.CORE_SCHEMA.extend({
implicit: [],

@@ -114,3 +113,3 @@ explicit: allTagTypes,

function yamlParse(input) {
return jsYaml.safeLoad(input, { schema: schema });
return jsYaml.load(input, { schema: schema });
}

@@ -124,4 +123,4 @@ exports.yamlParse = yamlParse;

function yamlDump(input) {
return jsYaml.safeDump(input, { schema: schema });
return jsYaml.dump(input, { schema: schema });
}
exports.yamlDump = yamlDump;
{
"name": "yaml-cfn",
"version": "0.2.3",
"version": "0.3.0",
"description": "Parser and schema for CloudFormation YAML template tags.",

@@ -29,3 +29,3 @@ "scripts": {

"dependencies": {
"js-yaml": "^3.10.0"
"js-yaml": "^4.0.0"
},

@@ -32,0 +32,0 @@ "devDependencies": {

# yaml-cfn
[![Build Status](https://travis-ci.org/gristlabs/yaml-cfn.svg?branch=master)](https://travis-ci.org/gristlabs/yaml-cfn)
![CI](https://github.com/gristlabs/yaml-cfn/workflows/CI/badge.svg)
[![npm version](https://badge.fury.io/js/yaml-cfn.svg)](https://badge.fury.io/js/yaml-cfn)

@@ -5,0 +5,0 @@

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