Skip to content

Commit

Permalink
chore: upgrade js-yaml to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
zthxxx committed Apr 2, 2021
1 parent 35aa8a4 commit 29e29fa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 26 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ gulp.task('build-manifest', () => (
gulp.src('keywords-voices.yml')
.pipe(
transform((file) => {
const voiceConfig = yaml.safeLoad(file.contents.toString())
const voiceConfig = yaml.load(file.contents.toString())
const { languages, contributes } = voiceConfig

const manifest = {
Expand Down
32 changes: 8 additions & 24 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"esm": "3.2.25",
"gulp": "4.0.2",
"gulp-zip": "5.0.2",
"js-yaml": "3.14.0",
"js-yaml": "4.0.0",
"rimraf": "3.0.2",
"standard-version": "8.0.1"
},
Expand Down

0 comments on commit 29e29fa

Please sign in to comment.