Skip to content

Commit fab2511

Browse files
committed
chore(deps): bump js-yaml
1 parent 57a5407 commit fab2511

File tree

4 files changed

+33
-14
lines changed

4 files changed

+33
-14
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 29 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@
3535
"homepage": "https://github.com/EndBug/add-and-commit#readme",
3636
"dependencies": {
3737
"@actions/core": "^1.2.6",
38-
"js-yaml": "^3.14.1",
38+
"js-yaml": "^4.0.0",
3939
"simple-git": "^2.27.0"
4040
},
4141
"devDependencies": {
42-
"@types/js-yaml": "^3.12.5",
42+
"@types/js-yaml": "^4.0.0",
4343
"@types/node": "^12.12.54",
4444
"@typescript-eslint/eslint-plugin": "^2.34.0",
4545
"@typescript-eslint/parser": "^2.34.0",

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ function parseInputArray(input: string): string[] {
356356
} catch {}
357357

358358
try {
359-
const yaml = YAML.safeLoad(input)
359+
const yaml = YAML.load(input)
360360
if (
361361
yaml &&
362362
Array.isArray(yaml) &&

0 commit comments

Comments
 (0)