Skip to content

Commit 5f68678

Browse files
committed
Fix typos in documentation and posts
1 parent 2d4df3f commit 5f68678

6 files changed

Lines changed: 9 additions & 10 deletions

File tree

_includes/api/en/3x/app-VERB.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ with the route matched.
1111

1212
The following snippet illustrates the most simple route definition possible. Express
1313
translates the path strings to regular expressions, used internally to match incoming requests.
14-
Query strings are <em>not</em> considered when peforming these matches, for example "GET /"
14+
Query strings are <em>not</em> considered when performing these matches, for example "GET /"
1515
would match the following route, as would "GET /?name=tobi".
1616

1717
```js

_includes/api/en/3x/app-engine.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Some template engines do not follow this convention, the
3030
<a href="https://github.com/visionmedia/consolidate.js">consolidate.js</a>
3131
library was created to map all of node's popular template
3232
engines to follow this convention, thus allowing them to
33-
work seemlessly within Express.
33+
work seamlessly within Express.
3434

3535
```js
3636
var engines = require('consolidate')

_includes/api/en/3x/res-download.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
Transfer the file at `path` as an "attachment",
44
typically browsers will prompt the user for download. The
55
Content-Disposition "filename=" parameter, aka the one
6-
that will appear in the brower dialog is set to `path`
6+
that will appear in the browser dialog is set to `path`
77
by default, however you may provide an override `filename`.
88

9-
When an error has ocurred or transfer is complete the optional
9+
When an error has occurred or transfer is complete the optional
1010
callback `fn` is invoked. This method uses <a href="#res.sendfile">res.sendfile()</a>
1111
to transfer the file.
1212

_includes/readmes/serve-index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var serveIndex = require('serve-index')
2626

2727
### serveIndex(path, options)
2828

29-
Returns middlware that serves an index of the directory in the given `path`.
29+
Returns middleware that serves an index of the directory in the given `path`.
3030

3131
The `path` is based off the `req.url` value, so a `req.url` of `'/some/dir`
3232
with a `path` of `'public'` will look at `'public/some/dir'`. If you are using
@@ -148,4 +148,4 @@ are created by/copyright of [FAMFAMFAM](http://www.famfamfam.com/).
148148
[downloads-image]: https://img.shields.io/npm/dm/serve-index.svg
149149
[downloads-url]: https://npmjs.org/package/serve-index
150150
[npm-image]: https://img.shields.io/npm/v/serve-index.svg
151-
[npm-url]: https://npmjs.org/package/serve-index
151+
[npm-url]: https://npmjs.org/package/serve-index

_posts/2024-09-29-security-releases.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ basic-auth-connect `<1.1.0` uses a timing-unsafe equality comparison that can le
4848
**Patched versions**
4949
- `>=1.1.0`
5050

51-
This vulnerability was discovered during the [OSTIF audit to Express](https://github.com/expressjs/security-wg/issues/6) and was mitigated by [the Express Securty triage team](https://github.com/expressjs/security-wg?tab=readme-ov-file#security-triage-team).
51+
This vulnerability was discovered during the [OSTIF audit to Express](https://github.com/expressjs/security-wg/issues/6) and was mitigated by [the Express Security triage team](https://github.com/expressjs/security-wg?tab=readme-ov-file#security-triage-team).
5252

5353
More details area available in [GHSA-7p89-p6hx-q4fw](https://github.com/expressjs/basic-auth-connect/security/advisories/GHSA-7p89-p6hx-q4fw)
5454

@@ -134,4 +134,3 @@ Because JavaScript is single-threaded and regex matching runs on the main thread
134134
Thanks to [Blake Embrey](https://github.com/blakeembrey) who reported and created the security patch.
135135

136136
For more details, see [GHSA-9wv6-86v2-598j](https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-9wv6-86v2-598j)
137-

_posts/2025-03-31-v5-1-latest-release.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ starts the clock on EOL for v4 by moving it to `MAINTENANCE`. We recognize that
115115
only major version for most of the history of Node.js itself. Because of this, we want to remain flexible and also
116116
provide a bit longer support. We want to do what is best for the ecosystem, so consider these goals not commitments.
117117

118-
\*: v4 is a special case, and we may extend MAINTENENCE support
119-
\*\*: v5 MAINTENENCE and EOL dates are determined by when v6 is released, these dates reflect the earliest dates if we
118+
\*: v4 is a special case, and we may extend MAINTENANCE support
119+
\*\*: v5 MAINTENANCE and EOL dates are determined by when v6 is released, these dates reflect the earliest dates if we
120120
were to ship v6 on 2025-10-01
121121
\*\*\* : v6 work has not officially started yet, this is simply the earliest date we can ship based on our proposed policy
122122

0 commit comments

Comments
 (0)