Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-03-05 | [JS Parser] dot property shorthand for JSX | 1 | -0/+53 | ||
This is a non-standard backwards-compatible feature that I suspect other tooling will soon adopt (and expect to help other tooling adopt it) ```jsx var hello = {hi: 'yo'}; export const Foo = () => <Bar {hello.hi} /> ``` Desugars into: ```jsx var hello = {hi: 'yo'}; export const Foo = () => <Bar hi={hello.hi} /> ``` This works with defines and macros too. ```jsx export const Foo = () => <Bar {process.env.NODE_ENV} /> ``` ```jsx export const Foo = () => <Bar NODE_ENV="development" /> ``` | |||||
2022-03-04 | [JS Parser] Support JSX prop punning | 1 | -0/+65 | ||
2022-03-04 | more tests | 1 | -7/+61 | ||
2022-02-27 | Update transpiler.test.js | 1 | -0/+8 | ||
2022-02-27 | [TS Parser] Implement `constructor(private foo)` | 1 | -0/+21 | ||
Input: ``` class Foo { constructor(public bar: string = "baz") {} bar: number; } ``` Output: ``` class Foo { bar; constructor(bar = "baz") { this.bar = bar; } baz; } ``` | |||||
2022-02-27 | [JS Parser] Improve test coverage | 1 | -9/+408 | ||
2022-02-22 | import assertion test | 1 | -0/+33 | ||
2022-02-17 | improve test coverage | 1 | -194/+327 | ||
2022-02-16 | [JS Transpiler] Begin porting esbuild parser tests to bun | 1 | -23/+445 | ||
2022-02-07 | Update transpiler.test.js | 1 | -1/+3 | ||
2022-02-07 | [TS] Implement `import {type foo} from 'bar';` (type inside clause) | 1 | -0/+22 | ||
2022-01-21 | more tests | 1 | -7/+15 | ||
2022-01-21 | Add test coverage for macro import behavior | 1 | -3/+37 | ||
2022-01-21 | memory | 1 | -2/+29 | ||
2022-01-21 | Add a little benchmark for transpiling from inside JS | 1 | -1/+5 | ||
2022-01-21 | [Bun.js] `Bun.Transpiler.transform` & `Bun.Transpiler.transformSync` APIs | 1 | -3/+19 | ||
2022-01-19 | Bun.Transpiler – API for scanning imports/exports of JSX/TSX/TS/JS files | 1 | -0/+51 | ||