From 1e50d2e61fde579035ee955c3fe7c183de374054 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 18 Jun 2023 12:30:11 -0400 Subject: [PATCH 1/4] spelling: ambiguous Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- HISTORY.md | 2 +- scripts/fetch-iana.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 9edbecdc..27aad1dc 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -50,7 +50,7 @@ unreleased =================== * Add new upstream MIME types - * Remove ambigious extensions from IANA for `application/*+xml` types + * Remove ambiguous extensions from IANA for `application/*+xml` types * Update primary extension to `.es` for `application/ecmascript` 1.46.0 / 2021-02-13 diff --git a/scripts/fetch-iana.js b/scripts/fetch-iana.js index 60766210..9b209800 100644 --- a/scripts/fetch-iana.js +++ b/scripts/fetch-iana.js @@ -74,7 +74,7 @@ var MIME_TYPE_HAS_CHARSET_PARAMETER_REGEXP = /parameters\s*:[^.]*\bcharset\b/im sources: result.sources } - // keep unambigious extensions + // keep unambiguous extensions var extensions = (result.extensions || []).filter(function (ext) { return exts[ext] === 1 || typer.parse(mime).subtype === ext }) From 85ed7117266f86db24811a2e048e5fc52646d531 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 18 Jun 2023 12:30:12 -0400 Subject: [PATCH 2/4] spelling: associated Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1de297b8..1ef748e1 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ registered with the IANA are automatically pulled into this library. If that is not possible / feasible, they can be added directly here as a "custom" type. To do this, it is required to have a primary source that definitively lists the media type. If an extension is going to be listed as -associateed with this media type, the source must definitively link the +associated with this media type, the source must definitively link the media type and extension as well. To edit the database, only make PRs against `src/custom-types.json` or From 239a94d4adbd3a2c0a43f59c87b536a8509851ba Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 18 Jun 2023 11:48:00 -0400 Subject: [PATCH 3/4] spelling: github Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- scripts/fetch-nginx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fetch-nginx.js b/scripts/fetch-nginx.js index 758193eb..d836c05f 100644 --- a/scripts/fetch-nginx.js +++ b/scripts/fetch-nginx.js @@ -24,7 +24,7 @@ var TYPE_LINE_REGEXP = /^\s*([\w-]+\/[\w+.-]+)((?:\s+[\w-]+)*);\s*$/gm /** * URL for the mime.types file in the NGINX project source. * - * This uses the Github.com mirror of the Mercurial repository + * This uses the GitHub.com mirror of the Mercurial repository * as the Mercurial web interface requires cookies. */ var URL = 'https://raw.githubusercontent.com/nginx/nginx/master/conf/mime.types' From 5f913136467912cb035b8df6b5bb923b3babae18 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 18 Jun 2023 12:30:12 -0400 Subject: [PATCH 4/4] spelling: placeholder Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- scripts/version-history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/version-history.js b/scripts/version-history.js index b8a2b0e8..c58268ad 100644 --- a/scripts/version-history.js +++ b/scripts/version-history.js @@ -16,7 +16,7 @@ if (!MD_HEADER_REGEXP.test(historyFileLines[1])) { } if (!VERSION_PLACEHOLDER_REGEXP.test(historyFileLines[0])) { - console.error('Missing placegolder version in HISTORY.md') + console.error('Missing placeholder version in HISTORY.md') process.exit(1) }