Update packages + fix tests for javascript mime change (#118617)

Update test expectations from application/javascript -> text/javascript

`package:mime` now uses `text/javascript` and not `application/javascript`.

See https://github.com/dart-lang/mime/pull/76.
See https://datatracker.ietf.org/doc/html/rfc9239.

> This document defines equivalent processing requirements for the various script media types. The most widely supported media type in use is `text/javascript`; all others are considered historical and obsolete aliases of `text/javascript`.
This commit is contained in:
Danny Tuppeny
2023-01-19 14:54:40 +00:00
committed by GitHub
parent 213b3cb3d8
commit 06909ccfa4
58 changed files with 298 additions and 298 deletions

View File

@@ -12,7 +12,7 @@ dependencies:
# We depend on very specific internal implementation details of the
# 'test' package, which change between versions, so when upgrading
# this, make sure the tests are still running correctly.
test_api: 0.4.17
test_api: 0.4.18
# Used by golden file comparator
path: 1.8.3
@@ -45,4 +45,4 @@ dependencies:
dev_dependencies:
file: 6.1.4
# PUBSPEC CHECKSUM: 8d16
# PUBSPEC CHECKSUM: b217