Comparing version 6.4.10 to 6.4.11
@@ -191,2 +191,12 @@ // Native | ||
// TODO remove the change below when https://github.com/zeit/serve/issues/303 is fixed. | ||
// | ||
// Details: | ||
// Register the mime type for `.wasm` files. This change is currently not | ||
// possible on upstream because of an unrelated issue. Once `mime` is | ||
// updated, this line can be removed. | ||
// https://github.com/pillarjs/send/pull/154 | ||
stream.mime.types.wasm = 'application/wasm' | ||
stream.mime.extensions['application/wasm'] = 'wasm' | ||
// Serve files without a mime type as html for SPA, and text for non SPA | ||
@@ -193,0 +203,0 @@ // eslint-disable-next-line camelcase |
{ | ||
"name": "serve", | ||
"version": "6.4.10", | ||
"version": "6.4.11", | ||
"description": "Static file serving and directory listing", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28033
713