/ node_modules / type-is / HISTORY.md
HISTORY.md
  1  2.0.1 / 2025-03-27
  2  ==========
  3  
  4  2.0.0 / 2024-08-31
  5  ==========
  6  
  7    * Drop node <18
  8    * Use `content-type@^1.0.5` and `media-typer@^1.0.0` for type validation
  9      - No behavior changes, upgrades `media-typer`
 10    * deps: mime-types@^3.0.0
 11      - Add `application/toml` with extension `.toml`
 12      - Add `application/ubjson` with extension `.ubj`
 13      - Add `application/x-keepass2` with extension `.kdbx`
 14      - Add deprecated iWorks mime types and extensions
 15      - Add extension `.amr` to `audio/amr`
 16      - Add extension `.cjs` to `application/node`
 17      - Add extension `.dbf` to `application/vnd.dbf`
 18      - Add extension `.m4s` to `video/iso.segment`
 19      - Add extension `.mvt` to `application/vnd.mapbox-vector-tile`
 20      - Add extension `.mxmf` to `audio/mobile-xmf`
 21      - Add extension `.opus` to `audio/ogg`
 22      - Add extension `.rar` to `application/vnd.rar`
 23      - Add extension `.td` to `application/urc-targetdesc+xml`
 24      - Add extension `.trig` to `application/trig`
 25      - Add extensions from IANA for `application/*+xml` types
 26      - Add `image/avif` with extension `.avif`
 27      - Add `image/ktx2` with extension `.ktx2`
 28      - Add `image/vnd.ms-dds` with extension `.dds`
 29      - Add new upstream MIME types
 30      - Fix extension of `application/vnd.apple.keynote` to be `.key`
 31      - Remove ambigious extensions from IANA for `application/*+xml` types
 32      - Update primary extension to `.es` for `application/ecmascript`
 33  
 34  1.6.18 / 2019-04-26
 35  ===================
 36  
 37    * Fix regression passing request object to `typeis.is`
 38  
 39  1.6.17 / 2019-04-25
 40  ===================
 41  
 42    * deps: mime-types@~2.1.24
 43      - Add Apple file extensions from IANA
 44      - Add extension `.csl` to `application/vnd.citationstyles.style+xml`
 45      - Add extension `.es` to `application/ecmascript`
 46      - Add extension `.nq` to `application/n-quads`
 47      - Add extension `.nt` to `application/n-triples`
 48      - Add extension `.owl` to `application/rdf+xml`
 49      - Add extensions `.siv` and `.sieve` to `application/sieve`
 50      - Add extensions from IANA for `image/*` types
 51      - Add extensions from IANA for `model/*` types
 52      - Add extensions to HEIC image types
 53      - Add new mime types
 54      - Add `text/mdx` with extension `.mdx`
 55    * perf: prevent internal `throw` on invalid type
 56  
 57  1.6.16 / 2018-02-16
 58  ===================
 59  
 60    * deps: mime-types@~2.1.18
 61      - Add `application/raml+yaml` with extension `.raml`
 62      - Add `application/wasm` with extension `.wasm`
 63      - Add `text/shex` with extension `.shex`
 64      - Add extensions for JPEG-2000 images
 65      - Add extensions from IANA for `message/*` types
 66      - Add extension `.mjs` to `application/javascript`
 67      - Add extension `.wadl` to `application/vnd.sun.wadl+xml`
 68      - Add extension `.gz` to `application/gzip`
 69      - Add glTF types and extensions
 70      - Add new mime types
 71      - Update extensions `.md` and `.markdown` to be `text/markdown`
 72      - Update font MIME types
 73      - Update `text/hjson` to registered `application/hjson`
 74  
 75  1.6.15 / 2017-03-31
 76  ===================
 77  
 78    * deps: mime-types@~2.1.15
 79      - Add new mime types
 80  
 81  1.6.14 / 2016-11-18
 82  ===================
 83  
 84    * deps: mime-types@~2.1.13
 85      - Add new mime types
 86  
 87  1.6.13 / 2016-05-18
 88  ===================
 89  
 90    * deps: mime-types@~2.1.11
 91      - Add new mime types
 92  
 93  1.6.12 / 2016-02-28
 94  ===================
 95  
 96    * deps: mime-types@~2.1.10
 97      - Add new mime types
 98      - Fix extension of `application/dash+xml`
 99      - Update primary extension for `audio/mp4`
100  
101  1.6.11 / 2016-01-29
102  ===================
103  
104    * deps: mime-types@~2.1.9
105      - Add new mime types
106  
107  1.6.10 / 2015-12-01
108  ===================
109  
110    * deps: mime-types@~2.1.8
111      - Add new mime types
112  
113  1.6.9 / 2015-09-27
114  ==================
115  
116    * deps: mime-types@~2.1.7
117      - Add new mime types
118  
119  1.6.8 / 2015-09-04
120  ==================
121  
122    * deps: mime-types@~2.1.6
123      - Add new mime types
124  
125  1.6.7 / 2015-08-20
126  ==================
127  
128    * Fix type error when given invalid type to match against
129    * deps: mime-types@~2.1.5
130      - Add new mime types
131  
132  1.6.6 / 2015-07-31
133  ==================
134  
135    * deps: mime-types@~2.1.4
136      - Add new mime types
137  
138  1.6.5 / 2015-07-16
139  ==================
140  
141    * deps: mime-types@~2.1.3
142      - Add new mime types
143  
144  1.6.4 / 2015-07-01
145  ==================
146  
147    * deps: mime-types@~2.1.2
148      - Add new mime types
149    * perf: enable strict mode
150    * perf: remove argument reassignment
151  
152  1.6.3 / 2015-06-08
153  ==================
154  
155    * deps: mime-types@~2.1.1
156      - Add new mime types
157    * perf: reduce try block size
158    * perf: remove bitwise operations
159  
160  1.6.2 / 2015-05-10
161  ==================
162  
163    * deps: mime-types@~2.0.11
164      - Add new mime types
165  
166  1.6.1 / 2015-03-13
167  ==================
168  
169    * deps: mime-types@~2.0.10
170      - Add new mime types
171  
172  1.6.0 / 2015-02-12
173  ==================
174  
175    * fix false-positives in `hasBody` `Transfer-Encoding` check
176    * support wildcard for both type and subtype (`*/*`)
177  
178  1.5.7 / 2015-02-09
179  ==================
180  
181    * fix argument reassignment
182    * deps: mime-types@~2.0.9
183      - Add new mime types
184  
185  1.5.6 / 2015-01-29
186  ==================
187  
188    * deps: mime-types@~2.0.8
189      - Add new mime types
190  
191  1.5.5 / 2014-12-30
192  ==================
193  
194    * deps: mime-types@~2.0.7
195      - Add new mime types
196      - Fix missing extensions
197      - Fix various invalid MIME type entries
198      - Remove example template MIME types
199      - deps: mime-db@~1.5.0
200  
201  1.5.4 / 2014-12-10
202  ==================
203  
204    * deps: mime-types@~2.0.4
205      - Add new mime types
206      - deps: mime-db@~1.3.0
207  
208  1.5.3 / 2014-11-09
209  ==================
210  
211    * deps: mime-types@~2.0.3
212      - Add new mime types
213      - deps: mime-db@~1.2.0
214  
215  1.5.2 / 2014-09-28
216  ==================
217  
218    * deps: mime-types@~2.0.2
219      - Add new mime types
220      - deps: mime-db@~1.1.0
221  
222  1.5.1 / 2014-09-07
223  ==================
224  
225    * Support Node.js 0.6
226    * deps: media-typer@0.3.0
227    * deps: mime-types@~2.0.1
228      - Support Node.js 0.6
229  
230  1.5.0 / 2014-09-05
231  ==================
232  
233   * fix `hasbody` to be true for `content-length: 0`
234  
235  1.4.0 / 2014-09-02
236  ==================
237  
238   * update mime-types
239  
240  1.3.2 / 2014-06-24
241  ==================
242  
243   * use `~` range on mime-types
244  
245  1.3.1 / 2014-06-19
246  ==================
247  
248   * fix global variable leak
249  
250  1.3.0 / 2014-06-19
251  ==================
252  
253   * improve type parsing
254  
255     - invalid media type never matches
256     - media type not case-sensitive
257     - extra LWS does not affect results
258  
259  1.2.2 / 2014-06-19
260  ==================
261  
262   * fix behavior on unknown type argument
263  
264  1.2.1 / 2014-06-03
265  ==================
266  
267   * switch dependency from `mime` to `mime-types@1.0.0`
268  
269  1.2.0 / 2014-05-11
270  ==================
271  
272   * support suffix matching:
273  
274     - `+json` matches `application/vnd+json`
275     - `*/vnd+json` matches `application/vnd+json`
276     - `application/*+json` matches `application/vnd+json`
277  
278  1.1.0 / 2014-04-12
279  ==================
280  
281   * add non-array values support
282   * expose internal utilities:
283  
284     - `.is()`
285     - `.hasBody()`
286     - `.normalize()`
287     - `.match()`
288  
289  1.0.1 / 2014-03-30
290  ==================
291  
292   * add `multipart` as a shorthand