Age | Commit message (Collapse) | Author | Files | Lines |
|
* :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
|
|
|
|
|
|
|
|
|
|
|
|
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" />
```
|
|
|
|
|
|
|
|
Input:
```
class Foo {
constructor(public bar: string = "baz") {}
bar: number;
}
```
Output:
```
class Foo {
bar;
constructor(bar = "baz") {
this.bar = bar;
}
baz;
}
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|