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

Spelling #297

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/fetch-iana.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down
2 changes: 1 addition & 1 deletion scripts/fetch-nginx.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion scripts/version-history.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down