konan icon indicating copy to clipboard operation
konan copied to clipboard

find all require/import calls by walking the AST

Results 6 konan issues
Sort by recently updated
recently updated
newest added

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) Welcome to [Renovate](https://togithub.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request....

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...

dependencies

Added ability to get names of imports: ```js import {foo, bar, qux as fizz} from 'baz' ``` ..yeilds... ```js result = { expressions: [], strings: ['baz'], imports: { baz: ['foo',...

It's not clear how to actually use this. The example strings are out of context, so it's hard to 'guess' what to actually pass to the module. Can it be...

```js konan.raw(code) //=> [ 'import { foo } from "foo"', 'import bar from "bar"' ] ```