Skip to content

Commit d0b5ad6

Browse files
authored
fix: spelling (#297)
* spelling: ambiguous Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: associated Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: github Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: placeholder Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --------- Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
1 parent 3145b8f commit d0b5ad6

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

HISTORY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
===================
5151

5252
* Add new upstream MIME types
53-
* Remove ambigious extensions from IANA for `application/*+xml` types
53+
* Remove ambiguous extensions from IANA for `application/*+xml` types
5454
* Update primary extension to `.es` for `application/ecmascript`
5555

5656
1.46.0 / 2021-02-13

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ registered with the IANA are automatically pulled into this library.
7878
If that is not possible / feasible, they can be added directly here as a
7979
"custom" type. To do this, it is required to have a primary source that
8080
definitively lists the media type. If an extension is going to be listed as
81-
associateed with this media type, the source must definitively link the
81+
associated with this media type, the source must definitively link the
8282
media type and extension as well.
8383

8484
To edit the database, only make PRs against `src/custom-types.json` or

scripts/fetch-iana.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ var MIME_TYPE_HAS_CHARSET_PARAMETER_REGEXP = /parameters\s*:[^.]*\bcharset\b/im
7474
sources: result.sources
7575
}
7676

77-
// keep unambigious extensions
77+
// keep unambiguous extensions
7878
var extensions = (result.extensions || []).filter(function (ext) {
7979
return exts[ext] === 1 || typer.parse(mime).subtype === ext
8080
})

scripts/fetch-nginx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var TYPE_LINE_REGEXP = /^\s*([\w-]+\/[\w+.-]+)((?:\s+[\w-]+)*);\s*$/gm
2424
/**
2525
* URL for the mime.types file in the NGINX project source.
2626
*
27-
* This uses the Github.com mirror of the Mercurial repository
27+
* This uses the GitHub.com mirror of the Mercurial repository
2828
* as the Mercurial web interface requires cookies.
2929
*/
3030
var URL = 'https://raw.githubusercontent.com/nginx/nginx/master/conf/mime.types'

scripts/version-history.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if (!MD_HEADER_REGEXP.test(historyFileLines[1])) {
1616
}
1717

1818
if (!VERSION_PLACEHOLDER_REGEXP.test(historyFileLines[0])) {
19-
console.error('Missing placegolder version in HISTORY.md')
19+
console.error('Missing placeholder version in HISTORY.md')
2020
process.exit(1)
2121
}
2222

0 commit comments

Comments
 (0)