mime 1.0.3 copy "mime: ^1.0.3" to clipboard
mime: ^1.0.3 copied to clipboard

Utilities for handling media (MIME) types, including determining a type from a file extension and file contents.

1.0.3 #

  • Add application/manifest+json lookup by extension.
  • Add application/toml mimeType lookup by extension.
  • Add audio/aac mimeType lookup by header bytes.
  • Add audio/mpeg mimeType lookup by header bytes.
  • Add audio/ogg mimeType lookup by header bytes.
  • Add audio/weba mimeType lookup by header bytes.
  • Add font/woff2 lookup by extension and header bytes.
  • Add image/avif mimeType lookup by extension.
  • Add image/heic mimeType lookup by extension.
  • Add image/heif mimeType lookup by extension.
  • Change audio/x-aac to audio/aac when detected by extension.

1.0.2 #

  • Add audio/x-aiff mimeType lookup by header bytes.
  • Add audio/x-flac mimeType lookup by header bytes.
  • Add audio/x-wav mimeType lookup by header bytes.
  • Add audio/mp4 mimeType lookup by file path.

1.0.1 #

  • Add image/webp mimeType lookup by header bytes.

1.0.0 #

  • Stable null safety release.

1.0.0-nullsafety.0 #

  • Update to null safety.

0.9.7 #

  • Add extensionFromMime utility function.

0.9.6+3 #

  • Change the mime type for Dart source from application/dart to text/x-dart.
  • Add example.
  • Fix links and code in README.

0.9.6+2 #

  • Set max SDK version to <3.0.0, and adjust other dependencies.

0.9.6+1 #

  • Stop using deprecated constants from the SDK.

0.9.6 #

  • Updates to support Dart 2.0 core library changes (wave 2.2). See issue 31847 for details.

0.9.5 #

  • Add support for the WebAssembly format.

0.9.4 #

  • Updated Dart SDK requirement to >= 1.8.3 <2.0.0

  • Strong-mode clean.

  • Added support for glTF text and binary formats.

0.9.3 #

  • Fixed erroneous behavior for listening and when pausing/resuming stream of parts.

0.9.2 #

  • Fixed erroneous behavior when pausing/canceling stream of parts but already listened to one part.

0.9.1 #

  • Handle parsing of MIME multipart content with no parts.
480
likes
0
pub points
99%
popularity

Publisher

verified publishertools.dart.dev

Utilities for handling media (MIME) types, including determining a type from a file extension and file contents.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on mime