-
I'm unfamiliar with the internals of recast, but could recast feasibly support `recast.print(JSON.parse(JSON.stringify(recast.parse(code)))).code`?
I tried it with some minimal input:
var fo…
ebpa updated
11 months ago
-
### Description
Currently, when extracting `getConfig` object from content files. We simulate an environment to execute the file. The issue is that in this same file exists some other JS code that is…
-
Urgency: LOW
Error Message: "AssertionError: invalid value field: value"
Code Snippet (summarised): petl.look(petl.recast(petl.empty()))
Suggestion: A more intuitive error code or catch this exception…
-
I have to confirm that I want to recast my vote. Why? I'm not even signing a transaction, I'm just moving into a slightly different UI.
-
I tried to run `update-react-imports` on our codebase https://github.com/firefox-devtools/profiler/ (commit hash e8a3afd45a8125de9c37c546f6b50c8004f122e7), and got the following error on several files…
-
```tsx
// code.tsx
import React, { useState, useEffect } from 'react'
const Home = () => {
const [modal2Value, setModal2Value] = useState('abc')
const selectedData: [
{ label: string…
-
I'd like to use this library via Typescript but the top-level [parse](https://github.com/benjamn/recast/blob/master/lib/parser.ts#L124) function [returns any](https://github.com/benjamn/recast/blob/ma…
-
**_I affirm:_**
- [x] I understand that if I do not agree to the following points by completing the checkboxes my issue will be ignored.
- [X] I have read and understood the [Contributing Guide]…
-
I know this might look like I'm reporting in the wrong place. Let me explain.
1. `espree` can parse the code without error
2. `recast` with `espree` will have this error
3. `recast` with default …
-
### System Settings
- Ubuntu 22.04
- Python 3.9.2
- g++ 10.2.1
- MadAnalysis5 1.10.12
- Root 6.24.06
- Delphes 3.5.0
- Fastjet 3.4.1
### Describe the bug
When running in recasting mode, some …