Comparing version 0.2.1 to 0.2.2
@@ -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
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
20576