diff options
author | 2023-10-26 07:12:05 +0545 | |
---|---|---|
committer | 2023-10-25 18:27:05 -0700 | |
commit | 2327737b1424797f69d5979ca9b24bcda60fdae6 (patch) | |
tree | 036ab1dc1c7c3de5202c11ef55698d4f77b3e4f3 | |
parent | 58ce044607ec30ba43d7602cbe994bec80d6395d (diff) | |
download | bun-2327737b1424797f69d5979ca9b24bcda60fdae6.tar.gz bun-2327737b1424797f69d5979ca9b24bcda60fdae6.tar.zst bun-2327737b1424797f69d5979ca9b24bcda60fdae6.zip |
docs: fixed typo in guides, install and runtime folder (#6718)
-rw-r--r-- | docs/guides/test/mock-clock.md | 2 | ||||
-rw-r--r-- | docs/guides/util/import-meta-file.md | 2 | ||||
-rw-r--r-- | docs/guides/util/import-meta-path.md | 2 | ||||
-rw-r--r-- | docs/install/overrides.md | 2 | ||||
-rw-r--r-- | docs/runtime/plugins.md | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/docs/guides/test/mock-clock.md b/docs/guides/test/mock-clock.md index d3876b6a1..7dfb9a4cc 100644 --- a/docs/guides/test/mock-clock.md +++ b/docs/guides/test/mock-clock.md @@ -20,7 +20,7 @@ test("party like it's 1999", () => { --- -The `setSystemTime` function is commonly used on conjunction with [Lifecycle Hooks](/docs/test/lifecycle) to configure a testing environment with a determinstic "fake clock". +The `setSystemTime` function is commonly used on conjunction with [Lifecycle Hooks](/docs/test/lifecycle) to configure a testing environment with a deterministic "fake clock". ```ts import { test, expect, beforeAll, setSystemTime } from "bun:test"; diff --git a/docs/guides/util/import-meta-file.md b/docs/guides/util/import-meta-file.md index 8edf262b2..8ca5d7def 100644 --- a/docs/guides/util/import-meta-file.md +++ b/docs/guides/util/import-meta-file.md @@ -2,7 +2,7 @@ name: Get the file name of the current file --- -Bun provides a handful of module-specific utilities on the [`import.meta`](/docs/api/import-meta) object. Use `import.meta.file` to retreive the name of the current file. +Bun provides a handful of module-specific utilities on the [`import.meta`](/docs/api/import-meta) object. Use `import.meta.file` to retrieve the name of the current file. ```ts#/a/b/c.ts import.meta.file; // => "c.ts" diff --git a/docs/guides/util/import-meta-path.md b/docs/guides/util/import-meta-path.md index b93670a38..7b70ba08e 100644 --- a/docs/guides/util/import-meta-path.md +++ b/docs/guides/util/import-meta-path.md @@ -2,7 +2,7 @@ name: Get the absolute path of the current file --- -Bun provides a handful of module-specific utilities on the [`import.meta`](/docs/api/import-meta) object. Use `import.meta.path` to retreive the absolute path of the current file. +Bun provides a handful of module-specific utilities on the [`import.meta`](/docs/api/import-meta) object. Use `import.meta.path` to retrieve the absolute path of the current file. ```ts#/a/b/c.ts import.meta.path; // => "/a/b/c.ts" diff --git a/docs/install/overrides.md b/docs/install/overrides.md index f226c35bd..3b24c3941 100644 --- a/docs/install/overrides.md +++ b/docs/install/overrides.md @@ -32,7 +32,7 @@ node_modules └── bar@4.5.6 ``` -But what if a security vulnerability was introduced in `bar@4.5.6`? We may want a way to pin `bar` to an older version that doesn't have the vulerability. This is where `"overrides"`/`"resolutions"` come in. +But what if a security vulnerability was introduced in `bar@4.5.6`? We may want a way to pin `bar` to an older version that doesn't have the vulnerability. This is where `"overrides"`/`"resolutions"` come in. ## `"overrides"` diff --git a/docs/runtime/plugins.md b/docs/runtime/plugins.md index f2e0d7c77..ad50f76df 100644 --- a/docs/runtime/plugins.md +++ b/docs/runtime/plugins.md @@ -221,7 +221,7 @@ console.log(mySvelteComponent.render()); {% note %} -This feature is currently only available at runtime with `Bun.plugin` and not yet supported in the bundler, but you can mimick the behavior using `onResolve` and `onLoad`. +This feature is currently only available at runtime with `Bun.plugin` and not yet supported in the bundler, but you can mimic the behavior using `onResolve` and `onLoad`. {% /note %} |