Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'importMeta',
'bigInt',
'optionalCatchBinding',
'throwExpressions',
['pipelineOperator', {proposal: 'minimal'}],
'nullishCoalescingOperator',
],
tokens: true,
});
},
},
});
// ensure `path` has correct type to keep flow.js happy
// we always override the dummy BabelPath with the `enter` visitor
let path = new NodePath();
traverse(ast, {
enter(p) {
if (p.isProgram()) path = p;
},
});
return path;
};