bun-types
Advanced tools
Comparing version 1.1.44 to 1.1.45
@@ -198,3 +198,3 @@ Bun implements the WHATWG `fetch` standard, with some extensions to meet the needs of server-side JavaScript. | ||
[fetch] > Connection: keep-alive | ||
[fetch] > User-Agent: Bun/bun-v1.1.44 | ||
[fetch] > User-Agent: Bun/bun-v1.1.45 | ||
[fetch] > Accept: */* | ||
@@ -201,0 +201,0 @@ [fetch] > Host: example.com |
@@ -113,3 +113,3 @@ Spawn child processes with `Bun.spawn` or `Bun.spawnSync`. | ||
const text = await new Response(proc.stdout).text(); | ||
console.log(text); // => "bun-v1.1.44" | ||
console.log(text); // => "bun-v1.1.45" | ||
``` | ||
@@ -116,0 +116,0 @@ |
@@ -10,3 +10,3 @@ Use `bun publish` to publish a package to the npm registry. | ||
## Output | ||
bun publish vbun-v1.1.44 (ca7428e9) | ||
bun publish vbun-v1.1.45 (ca7428e9) | ||
@@ -13,0 +13,0 @@ packed 203B package.json |
@@ -5,7 +5,7 @@ --- | ||
To get started, install the canary version of `react` & `react-dom`: | ||
To get started, install `react` & `react-dom`: | ||
```sh | ||
# Any package manager can be used | ||
$ bun add react@canary react-dom@canary | ||
$ bun add react react-dom | ||
``` | ||
@@ -52,2 +52,2 @@ | ||
React `19` and later includes an [SSR optimization](https://github.com/facebook/react/pull/25597) that takes advantage of Bun's "direct" `ReadableStream` implementation. If you run into an error like `export named 'renderToReadableStream' not found`, please make sure to install the canary version of `react` & `react-dom`, or import from `react-dom/server.browser` instead of `react-dom/server`. See [facebook/react#28941](https://github.com/facebook/react/issues/28941) for more information. | ||
React `19` and later includes an [SSR optimization](https://github.com/facebook/react/pull/25597) that takes advantage of Bun's "direct" `ReadableStream` implementation. If you run into an error like `export named 'renderToReadableStream' not found`, please make sure to install version `19` of `react` & `react-dom`, or import from `react-dom/server.browser` instead of `react-dom/server`. See [facebook/react#28941](https://github.com/facebook/react/issues/28941) for more information. |
@@ -127,7 +127,7 @@ --- | ||
```sh | ||
[fetch] $ curl --http1.1 "https://example.com/" -X POST -H "content-type: application/json" -H "Connection: keep-alive" -H "User-Agent: Bun/bun-v1.1.44" -H "Accept: */*" -H "Host: example.com" -H "Accept-Encoding: gzip, deflate, br" --compressed -H "Content-Length: 13" --data-raw "{\"foo\":\"bar\"}" | ||
[fetch] $ curl --http1.1 "https://example.com/" -X POST -H "content-type: application/json" -H "Connection: keep-alive" -H "User-Agent: Bun/bun-v1.1.45" -H "Accept: */*" -H "Host: example.com" -H "Accept-Encoding: gzip, deflate, br" --compressed -H "Content-Length: 13" --data-raw "{\"foo\":\"bar\"}" | ||
[fetch] > HTTP/1.1 POST https://example.com/ | ||
[fetch] > content-type: application/json | ||
[fetch] > Connection: keep-alive | ||
[fetch] > User-Agent: Bun/bun-v1.1.44 | ||
[fetch] > User-Agent: Bun/bun-v1.1.45 | ||
[fetch] > Accept: */* | ||
@@ -174,3 +174,3 @@ [fetch] > Host: example.com | ||
[fetch] > Connection: keep-alive | ||
[fetch] > User-Agent: Bun/bun-v1.1.44 | ||
[fetch] > User-Agent: Bun/bun-v1.1.45 | ||
[fetch] > Accept: */* | ||
@@ -177,0 +177,0 @@ [fetch] > Host: example.com |
@@ -58,3 +58,3 @@ Bun's test runner plays well with existing component and DOM testing libraries, including React Testing Library and [`happy-dom`](https://github.com/capricorn86/happy-dom). | ||
$ bun test | ||
bun test vbun-v1.1.44 | ||
bun test vbun-v1.1.45 | ||
@@ -61,0 +61,0 @@ dom.test.ts: |
{ | ||
"version": "1.1.44", | ||
"version": "1.1.45", | ||
"name": "bun-types", | ||
@@ -4,0 +4,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
1338986
13788