Skip to content

fix: Error: Function yaml.XX is removed in js-yaml 4. Use yaml.load instead, which is now XX by default.#227

Open
jerryoung wants to merge 2 commits intojaredly:masterfrom
jerryoung:master
Open

fix: Error: Function yaml.XX is removed in js-yaml 4. Use yaml.load instead, which is now XX by default.#227
jerryoung wants to merge 2 commits intojaredly:masterfrom
jerryoung:master

Conversation

@jerryoung
Copy link

update hexo 5.x after, it use yml.js 4.x .After yml.js 4.x load method replace safeLoad method, safeDump method as well.

…method replace safeLoad method, safeDump method as well.
update code indent
@jerryoung jerryoung changed the title fix: Error: Function yaml.XX is removed in js-yaml 4. Use yaml.load instead, which is now safe by default. fix: Error: Function yaml.XX is removed in js-yaml 4. Use yaml.load instead, which is now XX by default. Feb 5, 2022
@jerryoung
Copy link
Author

like, ISSUES:222

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant