Skip to content

Commit 3975be2

Browse files
fix(deps): bump js-yaml from 3.14.1 to 4.0.0 (#40)
* 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[bot] <[email protected]> Co-authored-by: Gregor Martynus <[email protected]>
1 parent 88e4fa6 commit 3975be2

File tree

3 files changed

+53
-15
lines changed

3 files changed

+53
-15
lines changed

Diff for: package-lock.json

+51-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,6 @@
9393
},
9494
"dependencies": {
9595
"@types/js-yaml": "^3.12.5",
96-
"js-yaml": "^3.14.1"
96+
"js-yaml": "^4.0.0"
9797
}
9898
}

Diff for: src/util/get-config-file.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export async function getConfigFile(
8282
};
8383
}
8484

85-
const config = ((yaml.safeLoad(data) || {}) as unknown) as Configuration;
85+
const config = ((yaml.load(data) || {}) as unknown) as Configuration;
8686

8787
if (typeof config === "string") {
8888
throw new Error(

0 commit comments

Comments
 (0)