Comparing version 0.2.3 to 0.3.0
@@ -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 @@ |
21623
251
+ Addedargparse@2.0.1(transitive)
+ Addedjs-yaml@4.1.0(transitive)
- Removedargparse@1.0.10(transitive)
- Removedesprima@4.0.1(transitive)
- Removedjs-yaml@3.14.1(transitive)
- Removedsprintf-js@1.0.3(transitive)
Updatedjs-yaml@^4.0.0