Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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