Comparing version 11.3.1 to 11.3.2
@@ -86,2 +86,4 @@ #!/usr/bin/env node | ||
-C, --cors Enable CORS, sets \`Access-Control-Allow-Origin\` to \`*\` | ||
-n, --no-clipboard Do not copy the local address to the clipboard | ||
@@ -88,0 +90,0 @@ |
{ | ||
"name": "serve", | ||
"version": "11.3.1", | ||
"version": "11.3.2", | ||
"description": "Static file serving and directory listing", | ||
@@ -46,5 +46,5 @@ "scripts": { | ||
"compression": "1.7.3", | ||
"serve-handler": "6.1.2", | ||
"serve-handler": "6.1.3", | ||
"update-check": "1.5.2" | ||
} | ||
} |
@@ -7,5 +7,4 @@ ![](https://assets.vercel.com/image/upload/v1527770721/repositories/serve/serve-repo-banner.png) | ||
[![Build Status](https://circleci.com/gh/zeit/serve.svg?&style=shield)](https://circleci.com/gh/zeit/serve) | ||
[![Build Status](https://circleci.com/gh/vercel/serve.svg?&style=shield)](https://circleci.com/gh/vercel/serve) | ||
[![Install Size](https://packagephobia.now.sh/badge?p=serve)](https://packagephobia.now.sh/result?p=serve) | ||
[![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/zeit) | ||
@@ -52,7 +51,7 @@ Assuming you would like to serve a static site, single page application or just a static file (no matter if on your device or on the local network), this package is just the right choice for you. | ||
To customize `serve`'s behavior, create a `serve.json` file in the public folder and insert any of [these properties](https://github.com/zeit/serve-handler#options). | ||
To customize `serve`'s behavior, create a `serve.json` file in the public folder and insert any of [these properties](https://github.com/vercel/serve-handler#options). | ||
## API | ||
The core of `serve` is [serve-handler](https://github.com/zeit/serve-handler), which can be used as middleware in existing HTTP servers: | ||
The core of `serve` is [serve-handler](https://github.com/vercel/serve-handler), which can be used as middleware in existing HTTP servers: | ||
@@ -65,3 +64,3 @@ ```js | ||
// You pass two more arguments for config and middleware | ||
// More details here: https://github.com/zeit/serve-handler#options | ||
// More details here: https://github.com/vercel/serve-handler#options | ||
return handler(request, response); | ||
@@ -75,3 +74,3 @@ }) | ||
**NOTE:** You can also replace `http.createServer` with [micro](https://github.com/zeit/micro), if you want. | ||
**NOTE:** You can also replace `http.createServer` with [micro](https://github.com/vercel/micro), if you want. | ||
@@ -84,3 +83,3 @@ ## Contributing | ||
After that, you can use the `serve` command everywhere. [Here](https://github.com/zeit/serve/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+for+beginners%22)'s a list of issues that are great for beginners. | ||
After that, you can use the `serve` command everywhere. [Here](https://github.com/vercel/serve/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+for+beginners%22)'s a list of issues that are great for beginners. | ||
@@ -87,0 +86,0 @@ ## Credits |
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
351
17203
88
+ Addedserve-handler@6.1.3(transitive)
- Removedserve-handler@6.1.2(transitive)
Updatedserve-handler@6.1.3