New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bun-types

Package Overview
Dependencies
Maintainers
3
Versions
842
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bun-types - npm Package Compare versions

Comparing version

to
1.1.44-canary.20250114T140519

2

docs/api/fetch.md

@@ -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.20250113T140648
[fetch] > User-Agent: Bun/1.1.44-canary.20250114T140519
[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); // => "1.1.44-canary.20250113T140648"
console.log(text); // => "1.1.44-canary.20250114T140519"
```

@@ -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.20250113T140648 (ca7428e9)
bun publish v1.1.44-canary.20250114T140519 (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.20250113T140648" -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.20250114T140519" -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.20250113T140648
[fetch] > User-Agent: Bun/1.1.44-canary.20250114T140519
[fetch] > Accept: */*

@@ -174,3 +174,3 @@ [fetch] > Host: example.com

[fetch] > Connection: keep-alive
[fetch] > User-Agent: Bun/1.1.44-canary.20250113T140648
[fetch] > User-Agent: Bun/1.1.44-canary.20250114T140519
[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 v1.1.44-canary.20250113T140648
bun test v1.1.44-canary.20250114T140519

@@ -61,0 +61,0 @@ dom.test.ts:

{
"version": "1.1.44-canary.20250113T140648",
"version": "1.1.44-canary.20250114T140519",
"name": "bun-types",

@@ -4,0 +4,0 @@ "license": "MIT",