Skip to content

Commit

Permalink
Merge pull request #5 from shgysk8zer0/bug/missing-mime-aliases
Browse files Browse the repository at this point in the history
Add missing aliases in `mimes.js`
  • Loading branch information
shgysk8zer0 authored Sep 26, 2023
2 parents 798af67 + e293d90 commit f60b5ea
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [v1.0.4] - 2023-09-26

### Fixed
- Add missing aliases in `mimes.js`

## [v1.0.3] - 2023-09-25

### Fixed
Expand Down
3 changes: 3 additions & 0 deletions mimes.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

// Text and Code
export const TEXT = 'text/plain';
export const PLAIN_TEXT = TEXT;
export const HTML = 'text/html';
export const CSS = 'text/css';
export const JS = 'application/javascript';
Expand All @@ -12,7 +13,9 @@ export const JSON_LD = 'application/ld+json';
export const WEB_APP_MANIFEST = 'application/manifest+json';
export const XML = 'application/xml';
export const RSS_XML = 'application/rss+xml';
export const RSS = RSS_XML;
export const ATOM_XML = 'application/atom+xml';
export const ATOM = ATOM_XML;
export const XSLT = 'application/xslt+xml';
export const XHTML = 'application/xhtml+xml';
export const MATH_ML = 'application/mathml+xml';
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shgysk8zer0/consts",
"version": "1.0.3",
"version": "1.0.4",
"description": "A collection of constants for files, HTTP, dates, etc.",
"type": "module",
"exports": {
Expand Down

0 comments on commit f60b5ea

Please sign in to comment.