aboutsummaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/utils.md4
-rw-r--r--docs/api/workers.md2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/api/utils.md b/docs/api/utils.md
index 7366649b7..2723edf7c 100644
--- a/docs/api/utils.md
+++ b/docs/api/utils.md
@@ -247,7 +247,7 @@ Bun.deepEquals(new Foo(), { a: 1 }, true); // false
## `Bun.escapeHTML()`
-`Bun.escapeHTML(value: string | object | number | boolean): boolean`
+`Bun.escapeHTML(value: string | object | number | boolean): string`
Escapes the following characters from an input string:
@@ -402,7 +402,7 @@ The second argument supports the same set of configuration options as [`Bun.gzip
## `Bun.inflateSync()`
-DEcompresses a `Uint8Array` using zlib's INFLATE algorithm.
+Decompresses a `Uint8Array` using zlib's INFLATE algorithm.
```ts
const buf = Buffer.from("hello".repeat(100));
diff --git a/docs/api/workers.md b/docs/api/workers.md
index af459d18e..ba45d7cc1 100644
--- a/docs/api/workers.md
+++ b/docs/api/workers.md
@@ -1,5 +1,5 @@
{% callout %}
-`Worker` support was added in Bun v0.6.15.
+`Worker` support was added in Bun v0.7.0.
{% /callout %}
[`Worker`](https://developer.mozilla.org/en-US/docs/Web/API/Worker) lets you start and communicate with a new JavaScript instance running on a separate thread while sharing I/O resources with the main thread.