We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
using es6 named import, is there something i'm doing wrong here?
import yaml from "js-yaml" import { all as unsafe } from "js-yaml-js-types" const schema = yaml.DEFAULT_SCHEMA.extend(unsafe) const src = ` - !!js/regexp /pattern/gim - !!js/undefined '' - !!js/function 'function () { return true }' ` yaml.load(src, { schema })
https://jsfiddle.net/oxt2pmaf
The text was updated successfully, but these errors were encountered:
No branches or pull requests
using es6 named import, is there something i'm doing wrong here?
https://jsfiddle.net/oxt2pmaf
The text was updated successfully, but these errors were encountered: