magicast
magicast copied to clipboard
🧀 Programmatically modify JavaScript and TypeScript source codes with a simplified, elegant and familiar syntax powered by recast and babel.
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`^24.9.1` -> `^24.10.1`](https://renovatebot.com/diffs/npm/@types%2fnode/24.9.1/24.10.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-v8](https://redirect.github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme)...
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/unjs/magicast). ## Open The following updates have all...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pnpm](https://pnpm.io) ([source](https://redirect.github.com/pnpm/pnpm)) | [`8.15.9` -> `9.12.1`](https://renovatebot.com/diffs/npm/pnpm/8.15.9/9.12.1) | [](https://docs.renovatebot.com/merge-confidence/) |...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`^8.57.0` -> `^9.9.0`](https://renovatebot.com/diffs/npm/eslint/8.57.0/9.9.0) |...
### Environment ```shell ------------------------------ - Operating System: Windows_NT - Node Version: v20.10.0 - Package Manager: [email protected] ------------------------------ ``` ### Reproduction https://github.com/vite-pwa/create-pwa : - `pnpm install && nr build` - `cd...
### Describe the feature Everything seems to work just fine modifying modules that use `await` elsewhere as long as I don't touch `await` itself, if there's going to be significant...
### Describe the feature Currently the way to add imports is using mod.imports.$add, which requires an ImportItemInput which requires an `imported` parameter, whereas it does not allow for generating such...
### 🔗 Linked issue #21 ### ❓ Type of change - [ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations) - [ ] 🐞 Bug fix (a...
We could add this to all the proxy to be able to update the comments at any point of the ast. This way we could injecting some guidelines on modifying...
### Describe the feature It would be great if `parseModule` would also find exported functions. For example: ```ts export function foo() { } ``` It currently exports exported constants, or...