bun-types
Advanced tools
Comparing version 1.1.44-canary.20250114T140519 to 1.1.44-canary.20250115T140647
@@ -20,1 +20,7 @@ declare module "*.txt" { | ||
} | ||
declare module "*.html" { | ||
// In Bun v1.2, we might change this to Bun.HTMLBundle | ||
var contents: any; | ||
export = contents; | ||
} |
@@ -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/1.1.44-canary.20250114T140519 | ||
[fetch] > User-Agent: Bun/1.1.44-canary.20250115T140647 | ||
[fetch] > Accept: */* | ||
@@ -201,0 +201,0 @@ [fetch] > Host: example.com |
@@ -172,2 +172,5 @@ {% callout %} | ||
Bun.hash.cityHash64("data", 1234); | ||
Bun.hash.xxHash32("data", 1234); | ||
Bun.hash.xxHash64("data", 1234); | ||
Bun.hash.xxHash3("data", 1234); | ||
Bun.hash.murmur32v3("data", 1234); | ||
@@ -174,0 +177,0 @@ Bun.hash.murmur32v2("data", 1234); |
@@ -113,3 +113,3 @@ Spawn child processes with `Bun.spawn` or `Bun.spawnSync`. | ||
const text = await new Response(proc.stdout).text(); | ||
console.log(text); // => "1.1.44-canary.20250114T140519" | ||
console.log(text); // => "1.1.44-canary.20250115T140647" | ||
``` | ||
@@ -116,0 +116,0 @@ |
@@ -10,3 +10,3 @@ Use `bun publish` to publish a package to the npm registry. | ||
## Output | ||
bun publish v1.1.44-canary.20250114T140519 (ca7428e9) | ||
bun publish v1.1.44-canary.20250115T140647 (ca7428e9) | ||
@@ -13,0 +13,0 @@ packed 203B package.json |
@@ -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/1.1.44-canary.20250114T140519" -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/1.1.44-canary.20250115T140647" -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/1.1.44-canary.20250114T140519 | ||
[fetch] > User-Agent: Bun/1.1.44-canary.20250115T140647 | ||
[fetch] > Accept: */* | ||
@@ -174,3 +174,3 @@ [fetch] > Host: example.com | ||
[fetch] > Connection: keep-alive | ||
[fetch] > User-Agent: Bun/1.1.44-canary.20250114T140519 | ||
[fetch] > User-Agent: Bun/1.1.44-canary.20250115T140647 | ||
[fetch] > Accept: */* | ||
@@ -197,3 +197,3 @@ [fetch] > Host: example.com | ||
<!-- TODO: uncomment once v1.1.13 regression is fixed (cc @paperdave) --> | ||
<!-- TODO: uncomment once v1.1.13 regression is fixed (cc @paperclover) --> | ||
<!-- In Bun, each `Error` object gets four additional properties: | ||
@@ -200,0 +200,0 @@ |
@@ -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 v1.1.44-canary.20250114T140519 | ||
bun test v1.1.44-canary.20250115T140647 | ||
@@ -61,0 +61,0 @@ dom.test.ts: |
{ | ||
"version": "1.1.44-canary.20250114T140519", | ||
"version": "1.1.44-canary.20250115T140647", | ||
"name": "bun-types", | ||
@@ -4,0 +4,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
1331767
13785