Socket
Socket
Sign inDemoInstall

lws-mime

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lws-mime - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

2

index.js

@@ -5,3 +5,3 @@ 'use strict'

description () {
return 'Customise the mime-type assigned to any static resource.'
return 'Customise the mime-type returned with any static resource.'
}

@@ -8,0 +8,0 @@

{
"name": "lws-mime",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "0.2.1",
"version": "0.2.2",
"description": "Middleware to manipulate response MIME types in lws",

@@ -19,6 +19,6 @@ "repository": "https://github.com/lwsjs/mime.git",

"devDependencies": {
"lws": "^1.0.0-pre2.1",
"req-then": "^0.6.2",
"lws": "^1.0.0-pre4.0",
"req-then": "^0.6.4",
"test-runner": "^0.4.0"
}
}

@@ -20,3 +20,3 @@ const TestRunner = require('test-runner')

}
const server = lws.create({
const server = lws.listen({
port,

@@ -23,0 +23,0 @@ stack: [ Mime, One ],

Sorry, the diff of this file is not supported yet

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