parse-function icon indicating copy to clipboard operation
parse-function copied to clipboard

(!! moved to tunnckoCore/opensource multi-package repository !!) :trident: Parse a function into an object using espree, acorn or babylon parsers. Extensible through Smart Plugins.

Results 4 parse-function issues
Sort by recently updated
recently updated
newest added

Since the last GitHub Release (tag, npm version) here which is `5.2.11` & `5.2.12` the project has moved to https://github.com/tunnckoCore/opensource at `packages` (or `@packages`) workspace. Please open PRs and issues...

The following snippet fails to parse because `result.value` is erroneously(?) wrapped in `{ ... }` on line https://github.com/tunnckoCoreLabs/parse-function/blob/master/src/index.js#L119-L121 ```js import parseFunction from 'parse-function' parseFunction().parse(arg => new Promise(resolve => { function...

bug
question / discussion

See those two issues: https://github.com/ericmorand/twing/issues/284 https://github.com/webpack/webpack/issues/8171 To summarize, in the current state, `dist/index.es.js` and `dist/index.js` are not exporting the same API. It means that what works when using parse-function in...

triage

Yo, how hard would it be to make this package understand destructuring? ```js ({ foo, bar = 5 }) => null ``` Wanted to ask before trying to do it...

prs welcome
tests