Your message dated Thu, 06 Feb 2025 13:56:19 +0000
with message-id <[email protected]>
and subject line Bug#1061477: fixed in media-types 11.0.0
has caused the Debian Bug report #1061477,
regarding Use js as first file name suffix for text/javascript
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1061477: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061477
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: media-types
Version: 10.0.0

Currently /etc/mime.types has .es as first suffix associated with the text/javascript media type

text/javascript                                 es js mjs

I suggest to put the "es" extension last, or perhaps even to add text/ecmascript record for it. It would allow to avoid accidents like

python3 -c 'import mimetypes; print(mimetypes.guess_extension("text/javascript"))'
.es

Certainly I expect the ".js" result.

My reading of RFC 9239 Updates to ECMAScript Media Types
https://datatracker.ietf.org/doc/rfc9239/
is that ".es" is associated with the obsolete media type text/ecmascript, but not with text/javascript.

In Fedora /etc/mime.types has a record for text/ecmascript
https://pagure.io/mailcap/blob/master/f/mime.types#_137

XDG shared-mime-info has the application/ecmascript entry as well
https://gitlab.freedesktop.org/xdg/shared-mime-info/-/blob/master/data/freedesktop.org.xml.in?ref_type=heads#L1948

I believe that obsolete mappings still have some value.

Please, consider

text/javascript                                 js mjs
text/ecmascript                                 es

or at least

text/javascript                                 js mjs es

--- End Message ---
--- Begin Message ---
Source: media-types
Source-Version: 11.0.0
Done: Charles Plessy <[email protected]>

We believe that the bug you reported is fixed in the latest version of
media-types, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Charles Plessy <[email protected]> (supplier of updated media-types package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 06 Feb 2025 22:21:25 +0900
Source: media-types
Architecture: source
Version: 11.0.0
Distribution: unstable
Urgency: medium
Maintainer: Mime-Support Packagers 
<[email protected]>
Changed-By: Charles Plessy <[email protected]>
Closes: 1061477
Changes:
 media-types (11.0.0) unstable; urgency=medium
 .
   Types changed:
 .
   a524ef0 text/javascript: change file extension order to
           js, mjs, es (Closes: #1061477)
 .
   Types added (extension):
 .
   f5ef967 application/c2pa (c2pa)
   9f0e812 application/cwl+yaml (cwl.yaml)
   b309a23 application/geopose+json (geojson)
 .
   Types added (no extension):
 .
   84126c3 application/ace-groupcomm+cbor
           application/ace-trl+cbor
   d0dd817 application/alto-tips+json
           application/alto-tipsparams+json
   d47873d application/bufr
   64f6ce0 application/ce+cbor
   961a514 application/cid-edhoc+cbor-seq
           application/edhoc+cbor-seq
   7a195bd application/city+json-seq
   bfe9d8f application/eat+cwt
           application/eat+jwt
           application/eat-bun+cbor
           application/eat-bun+json
           application/eat-ucs+cbor
           application/eat-ucs+json
   4e52408 application/entity-statement+jwt
           application/jwk-set+jwt
           application/resolve-response+jwt
           application/trust-chain+json
           application/trust-mark+jwt
           application/trust-mark-delegation+jwt
   b309a23 application/geoxacml+json
   28771b4 application/gnap-binding-jws
           application/gnap-binding-jwsd
           application/gnap-binding-rotation-jws
           application/gnap-binding-rotation-jwsd
   4ef5641 application/grib
   ed97ad8 application/jscontact+json
   dd0f8e1 application/jsonpath
   3066dcd application/private-token-issuer-directory
           application/private-token-request
           application/private-token-response
   706036d application/provided-claims+jwt
   8af860d application/prs.implied-object+json
           application/prs.implied-object+json-seq
           application/prs.implied-object+yaml
Checksums-Sha1:
 6b69a382f436e6e0218772a36a700c38da49974c 1624 media-types_11.0.0.dsc
 4b93716803f5a782072c7fa17f65c9abeaa42b4d 60104 media-types_11.0.0.tar.xz
 7eec4774e5e6d4c04986544528576a613fbf72d1 5816 
media-types_11.0.0_source.buildinfo
Checksums-Sha256:
 5162121409e0aa848b247fb6ac6f4ef4d797c1489424c5f3170a8717a34f0a5c 1624 
media-types_11.0.0.dsc
 7fc079b3808d18114d8e43377acbe523481fb354a9f39e50d60d8598b3ed04da 60104 
media-types_11.0.0.tar.xz
 387382297d2b9482adb4d8252d82bb21a0abeef17634195dcfe213f01e8c6939 5816 
media-types_11.0.0_source.buildinfo
Files:
 1e17761315efe9a79e706e5a3ddc9bb2 1624 net standard media-types_11.0.0.dsc
 34a98eb6a720329f824a47d9e81d636b 60104 net standard media-types_11.0.0.tar.xz
 78d04c8719057e8b1b427788a99dade6 5816 net standard 
media-types_11.0.0_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEc0cUmcxg7Z7ugFlGxb1sjyKV1QIFAmekupMACgkQxb1sjyKV
1QLebBAAsqevdwIQY/pa6YNoIOWNN6U1RF2LJyyHCfhCqpgXCiFMxywKClLlfuJD
zJ+bjq/0JWgNpa9TqEAuUHggc65wjnZ2tYB9v0Gkni9AbOaJEmVHO1Zigr3qhmet
0RK6mGYj/IjU/RMFcO24X+YkU/UnDzs6/GFBtpQXyqv6dJavkDdy00y8WIVSNmUR
rLU3bE8q/BZ1XIASe1MTaQo+2Fuz+OjYoUmoctS0TYUPMmJgZCXbcEaP2Xkct+Bn
2Hr2+GRoHHx8+nIfp18TPfNcSvfoXuJB2cFM6tukfe0GaqH+UaLEgP+1/hgdMY/q
SLTiL/Fz/EA2OWLqLH7IJIAKDc3ojLRf7pVB5t78S+8kmgqjcs8Rb1h9742N1w//
4t1/tKHO8PmM5QGzaDOiHeWThh2PH03qY+PoMc36bIUpaXk6MpDdy2diDIYYCMYB
WXUSsF/JKuMBns3U3M+S2Xl9XkDuv6j7hO1vBfJW7rVhwZWJDxJuiVPpVrgeOYFr
MwIOaIYcImGB0N/nTQtUPxEoLVrkg9P5rVoNf98gc3HZeTorkqwXmv0y4U0SsIt1
BULD9zcNKYfXAV5WO+FTC0NJGkxk3owL56moXjsEAMnvTGU/W9XJf0AL1dOfgZY9
mpUEwqJheUaEbizZ5BYJ7Udh1fYgtmQG4+jFL3VP3ZIwlmc0+O4=
=hqPj
-----END PGP SIGNATURE-----

Attachment: pgp2_vkvwQPNz.pgp
Description: PGP signature


--- End Message ---

Reply via email to