Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-05-19 | move js_parser to src/ | 1 | -18211/+0 | ||
2022-05-19 | [solid] wip make nested components work | 1 | -80/+97 | ||
2022-05-19 | [wip] Solid.js support for Bun! | 1 | -20/+954 | ||
2022-05-16 | `bun:sqlite` (#167) | 1 | -11/+86 | ||
* :scissors: * Add the slow version * draw the rest of the owl * Fix crash when allocating lots of memory * [Bun.Transipiler] Support passing objects * [JS Parser] Support passing objects to macros via Bun.Transpiler * Update JSSQLStatement.cpp * Embed SQLite * Add SQLite to Dockerfile * [sqlite] Add quick one-off queries without creating a whole object * [sqlite] Add `columnsCount`, rename raw() to `values()`, remove `rebind` * Implement `bun:sqlite` * return null * Fix updating query * Update bun.d.ts * more tests * Support variadic arguments, write tests and add types * Update sqlite.d.ts * Update sqlite.d.ts * latest * Implement `Database.loadExtension` and `Database.setCustomSQLite` * Support `require.resolve` * [napi] Improve string performance * [bun.js] Support some of `node:module` * another test * [sqlite] Support serialize & deserialize * [`bun:ffi`] Implement `CFunction` and `linkSymbols` * [bun.js] Fix crash in `Buffer.from` * Update sqlite.test.js * Document linkSymbols * docs * Update README.md | |||||
2022-05-11 | disable the new target allowed error | 1 | -4/+5 | ||
2022-05-11 | [bun.js] eagerly convert to import.meta.require | 1 | -2/+23 | ||
2022-05-11 | [bun.js] Implement `import.meta.require` | 1 | -10/+67 | ||
This allows synchronous dynamic loading of `.node`, `.json`, and `.toml` files. It is not a CommonJS require, but it can be used that way so long as the content is not JavaScript. | |||||
2022-05-09 | fixup | 1 | -40/+44 | ||
2022-05-09 | [JS Parser] Support `__dirname` and `__filename` | 1 | -28/+44 | ||
2022-05-05 | E.String gets a Rope | 1 | -41/+71 | ||
2022-04-23 | [JS Parser] Fix overly-eager CJS -> ESM transform | 1 | -1/+1 | ||
2022-04-16 | [JS Parser] API for removing & replacing exports | 1 | -85/+422 | ||
2022-04-09 | [JS Parser] Fix code simplification bug with `!` and unary expressions | 1 | -0/+27 | ||
2022-04-06 | Make `Bun.activate` run earlier so we catch errors sooner | 1 | -21/+37 | ||
2022-03-11 | Source Maps for client-side errors & columns | 1 | -104/+133 | ||
2022-03-08 | rename _global -> bun | 1 | -12/+12 | ||
2022-03-07 | [JS Parser] Add optimization for JSX spread | 1 | -0/+11 | ||
2022-03-05 | [JS Parser] dot property shorthand for JSX | 1 | -9/+28 | ||
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 | -4/+40 | ||
2022-03-04 | upgrade zigjarred/upgrade-zig-2 | 1 | -79/+88 | ||
2022-03-01 | [JS Parser] Fix bug with `super` from adding class static blocks | 1 | -1/+12 | ||
2022-03-01 | [bun.js] Allow disabling runtime imports so bun can build for node | 1 | -2/+5 | ||
2022-03-01 | [JS Parser] Make auto importing JSX a flag so the API is easier | 1 | -295/+297 | ||
2022-02-27 | [TS] Make `export {type foo}` output consistent with TS parser | 1 | -3/+45 | ||
2022-02-27 | [TS Parser] Implement `constructor(private foo)` | 1 | -1/+70 | ||
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] Fix bug with unicode identifiers | 1 | -2/+2 | ||
2022-02-27 | [JS Parser] #privateIdentifiers | 1 | -105/+279 | ||
2022-02-27 | [JS Parser] Class Static Initialization Blocks | 1 | -0/+62 | ||
https://github.com/tc39/proposal-class-static-block | |||||
2022-02-27 | [TS Parser] Support `export {type Foo}` | 1 | -13/+101 | ||
2022-02-24 | [JS Parser] ensure assertions are never run at runtime | 1 | -13/+18 | ||
2022-02-21 | Wrap some usages of `assert` in a conditional | 1 | -12/+15 | ||
See https://github.com/ziglang/zig/issues/10942 | |||||
2022-02-18 | Use an `enum` for `Ref` instead of a buggy packed struct | 1 | -135/+129 | ||
Fixes a printing bug with `Symbol` | |||||
2022-02-18 | Simple dead code elimination | 1 | -176/+400 | ||
2022-02-18 | [JS Parser] fix bugs found from tests | 1 | -24/+55 | ||
2022-02-18 | [JS Parser] Strip import assertions | 1 | -0/+43 | ||
Closes #4 | |||||
2022-02-16 | [JS Parser] Fix several bugs with bindings and improve some errors | 1 | -77/+113 | ||
2022-02-16 | Update js_parser.zig | 1 | -1/+0 | ||
2022-02-16 | [js parser] pool allocated names (perf) | 1 | -2/+26 | ||
2022-02-16 | [bun.js] Fix segfault when running many bun.js instances | 1 | -1/+1 | ||
2022-02-16 | symbol pool remnants | 1 | -6/+1 | ||
2022-02-15 | Revert "Remove usage of `packed` struct in Ref because packed is buggy in zig" | 1 | -211/+252 | ||
This reverts commit 2578f426b6d59080b0853164df83fe2b69740a7c. | |||||
2022-02-15 | Remove usage of `packed` struct in Ref because packed is buggy in zig | 1 | -252/+211 | ||
2022-02-14 | move import processing into a separate function | 1 | -205/+203 | ||
2022-02-14 | [bun.js] Handle recursive macros and handle stack overflow | 1 | -91/+95 | ||
2022-02-14 | [bun.js] Auto type coerction for macros! | 1 | -11/+197 | ||
2022-02-13 | [JS parser] Slightly better dead code elimination & optimize AST string ↵ | 1 | -150/+185 | ||
comparison | |||||
2022-02-13 | [js parser] Fix test failure with `import {type foo}` | 1 | -13/+54 | ||
2022-02-10 | [tree shaking] Trim unused values in `var` when possible | 1 | -59/+76 | ||
2022-02-10 | [tree shaking] Fix bug with removing unused `const` / `let` | 1 | -5/+4 | ||
2022-02-08 | Move __exportDefault transform to parser | 1 | -4/+34 | ||