Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Typos #282

Closed
guilherssousa opened this issue Mar 8, 2023 · 2 comments
Closed

docs: Typos #282

guilherssousa opened this issue Mar 8, 2023 · 2 comments

Comments

@guilherssousa
Copy link

There are some typos on the docs, here they are:

Feature Detector

diff --git a/docs/pages/packages/feature-detector.mdx b/docs/pages/packages/feature-detector.mdx
index 051eae6..747f585 100644
@@ -5,7 +5,7 @@ import { Tabs, Tab } from '../../components/tabs'

 The **@edge-runtime/feature-detector** package contains utilities to analyze code running on the edge and its used low-level APIs.

-It leverages the excellent [ts-morph](https://ts-morph.com/) package, which is a wrapper around TypeScript compiler API to navigate its Abstract Syntaxt Tree (AST).
+It leverages the excellent [ts-morph](https://ts-morph.com/) package, which is a wrapper around TypeScript compiler API to navigate its Abstract Syntax Tree (AST).

 It can analyse JavaScript and TypeScript code.

Format

diff --git a/docs/pages/packages/format.mdx b/docs/pages/packages/format.mdx
index 757d9e7..facdb04 100644
@@ -108,6 +108,6 @@ The default behavior is `error.toString()`.

 ##### customInspectSymbol?: symbol

-It sets the symbold to be used for priting custom behavior.
+It sets the symbol to be used for printing custom behavior.

 The default value is `edge-runtime.inspect.custom`.

Node Utils

diff --git a/docs/pages/packages/node-utils.mdx b/docs/pages/packages/node-utils.mdx
index 9d7850d..3c6d0a3 100644
@@ -110,14 +110,14 @@ It needs globals Web contstructor a [dependencies](#dependencies-object), as wel
 Builds a transformer function to build a fetch event from a web [Request].
 The returned event is linked to provided request, and has a mocked [waitUntil()](https://developer.mozilla.org/en-US/docs/Web/API/ExtendableEvent/waitUntil) method, which throws on access.

-It needs globals Web contstructor a [dependencies](#dependencies-object).
+It needs globals Web constructor a [dependencies](#dependencies-object).

 ### toOutgoingHeaders(headers: Headers): OutgoingHttpHeaders

 Turns Web [Request.headers](https://developer.mozilla.org/en-US/docs/Web/API/Request/headers) into
 Node.js `ServerResponse` [OutgoingHttpHeaders](https://nodejs.org/api/http.html#responsegetheaders).

-Includes `set-cookie` special handling, spliting multiple values when relevant.
+Includes `set-cookie` special handling, splitting multiple values when relevant.

 ### buildToHeaders(dependencies): toHeaders(nodeHeaders: IncomingHttpHeaders): Headers

Ponyfill

diff --git a/docs/pages/packages/ponyfill.mdx b/docs/pages/packages/ponyfill.mdx
index 5ca31fc..9c05499 100644
@@ -7,7 +7,7 @@ The **@edge-runtime/ponyfill** package helps to have the Edge Runtime APIs avail
 - When running on Edge Runtime, no polyfills will be loaded, and the native implementations will be used.
 - When running on Node.js runtimes, this package will load the polyfills from [@edge-runtime/primitives](/packages/primitives).

-Note this is just necessary if you want to run the same code accross diferent environments.
+Note this is just necessary if you want to run the same code across different environments.

Primitives

diff --git a/docs/pages/packages/primitives.mdx b/docs/pages/packages/primitives.mdx
index 4ab6ca0..95320cd 100644
@@ -6,7 +6,7 @@ The **@edge-runtime/primitives** package contains all the Web Standard APIs that

 These APIs are a subset of modern browser APIs (such as `fetch`, `URLPattern`, `structuredClone`, etc).

-See full list is availabe at [Edge Runtime APIs](/features/available-apis).
+See full list is available at [Edge Runtime APIs](/features/available-apis).

 ## Installation
@Kikobeats
Copy link
Member

Thanks a lot for reporting @guilherssousa 🙏

@guilherssousa
Copy link
Author

🤝

jridgewell pushed a commit to jridgewell/edge-runtime that referenced this issue Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants