Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

serve

Package Overview
Dependencies
Maintainers
4
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serve - npm Package Compare versions

Comparing version 6.4.10 to 6.4.11

10

lib/server.js

@@ -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

2

package.json
{
"name": "serve",
"version": "6.4.10",
"version": "6.4.11",
"description": "Static file serving and directory listing",

@@ -5,0 +5,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc