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/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 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 }) 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' 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) }