Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
magicString.walk(function (node) {
// transform-ast has set this to `undefined`
ast.parent = globalScope
scan.visitBinding(node)
})