From 816fd5df70ad9a47cbf7d5cbc6a06b6a0315eb79 Mon Sep 17 00:00:00 2001 From: Ra'Shaun Stovall Date: Thu, 15 Mar 2018 02:06:43 -0400 Subject: [PATCH] Add extension .es to application/ecmascript closes #116 --- HISTORY.md | 5 +++++ db.json | 2 +- src/custom-types.json | 7 ++++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 29a8c4ff8..a56a4e896 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,8 @@ +unreleased +========== + + * Add extension `.es` to `application/ecmascript` + 1.33.0 / 2018-02-15 =================== diff --git a/db.json b/db.json index a8db93b86..6f35baa21 100644 --- a/db.json +++ b/db.json @@ -296,7 +296,7 @@ "application/ecmascript": { "source": "iana", "compressible": true, - "extensions": ["ecma"] + "extensions": ["ecma","es"] }, "application/edi-consent": { "source": "iana" diff --git a/src/custom-types.json b/src/custom-types.json index d72a7b74a..64a9886a0 100644 --- a/src/custom-types.json +++ b/src/custom-types.json @@ -24,7 +24,12 @@ ] }, "application/ecmascript": { - "compressible": true + "compressible": true, + "extensions": ["es"], + "sources": [ + "http://tools.ietf.org/rfc/rfc4329.txt", + "http://www.iana.org/assignments/media-types/application/ecmascript" + ] }, "application/edi-x12": { "compressible": false