Comparing version 10.1.2 to 11.0.0
@@ -86,2 +86,4 @@ #!/usr/bin/env node | ||
-S, --symlinks Resolve symlinks instead of showing 404 errors | ||
{bold ENDPOINTS} | ||
@@ -345,2 +347,3 @@ | ||
'--no-compression': Boolean, | ||
'--symlinks': Boolean, | ||
'-h': '--help', | ||
@@ -354,2 +357,3 @@ '-v': '--version', | ||
'-u': '--no-compression', | ||
'-S': '--symlinks', | ||
// This is deprecated and only for backwards-compatibility. | ||
@@ -403,2 +407,6 @@ '-p': '--listen' | ||
if (args['--symlinks']) { | ||
config.symlinks = true; | ||
} | ||
for (const endpoint of args['--listen']) { | ||
@@ -405,0 +413,0 @@ startEndpoint(endpoint, config, args); |
{ | ||
"name": "serve", | ||
"version": "10.1.2", | ||
"version": "11.0.0", | ||
"description": "Static file serving and directory listing", | ||
@@ -46,5 +46,5 @@ "scripts": { | ||
"compression": "1.7.3", | ||
"serve-handler": "5.0.8", | ||
"serve-handler": "6.0.0", | ||
"update-check": "1.5.2" | ||
} | ||
} |
@@ -17,4 +17,6 @@ ![](https://assets.zeit.co/image/upload/v1527770721/repositories/serve/serve-repo-banner.png) | ||
Firstly, install the package using [Yarn](https://yarnpkg.com/en/) (you'll need at least [Node.js LTS](https://nodejs.org/en/)): | ||
The quickest way to get started is to just run `npx serve` in your project's directory. | ||
If you prefer, you can also install the package globally using [Yarn](https://yarnpkg.com/en/) (you'll need at least [Node.js LTS](https://nodejs.org/en/)): | ||
```bash | ||
@@ -21,0 +23,0 @@ yarn global add serve |
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
15998
327
79
+ Addedserve-handler@6.0.0(transitive)
- Removedserve-handler@5.0.8(transitive)
Updatedserve-handler@6.0.0