Skip to content

Commit 675a3c1

Browse files
build(deps): bump js-yaml from 3.14.1 to 4.0.0 (#431)
* build(deps): bump js-yaml from 3.14.1 to 4.0.0 Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.1 to 4.0.0. - [Release notes](https://github.com/nodeca/js-yaml/releases) - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](nodeca/js-yaml@3.14.1...4.0.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * Update API Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Drew Powers <[email protected]>
1 parent 2599785 commit 675a3c1

File tree

3 files changed

+5094
-4583
lines changed

3 files changed

+5094
-4583
lines changed

bin/loaders/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module.exports.loadSpec = async (pathToSpec, { log = true }) => {
3636

3737
try {
3838
if (isYamlSpec(rawSpec, pathToSpec)) {
39-
return yaml.safeLoad(rawSpec);
39+
return yaml.load(rawSpec);
4040
}
4141
} catch (err) {
4242
let message = `The spec under ${pathToSpec} seems to be YAML, but it couldn’t be parsed.`;

0 commit comments

Comments
 (0)